Last active
October 20, 2021 10:18
-
-
Save WORMSS/97da6baac7ccbc6f29b7455792824a3f to your computer and use it in GitHub Desktop.
Revisions
-
WORMSS revised this gist
Oct 20, 2021 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,6 +4,7 @@ $ git fetch origin <sha> ``` ## Git Octopus merge staging: Make sure the staging area is how you want the commit to be ```sh $ git write-tree <staging sha> -
WORMSS revised this gist
Oct 20, 2021 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,15 @@ ## Git Get Remote Sha: ```sh $ git fetch origin <sha> ``` ## Git Octopus merge staging: ```sh $ git write-tree <staging sha> $ git commit-tree <staging sha> -p <parent1> -p <parent2> .... -m "Message" <commit sha> $ git reset --hard <commit sha> ``` -
WORMSS renamed this gist
Oct 20, 2021 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
WORMSS created this gist
Oct 20, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ ## Git Get Remote Sha: $ git fetch origin <sha> ## Git Octopus merge staging: $ git write-tree <staging sha> $ git commit-tree <staging sha> -p <parent1> -p <parent2> .... -m "Message" <commit sha> $ git reset --hard <commit sha>