Last active
August 2, 2016 18:25
-
-
Save daredrum/7b3a0dbaea35463bb2227ac88fd78e30 to your computer and use it in GitHub Desktop.
Revisions
-
daredrum revised this gist
Aug 2, 2016 . 1 changed file with 1 addition 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 @@ -8,7 +8,7 @@ git branch -D feature_branch ### Edit old commits git rebase --i 'bbc643cd^' # change 'pick' on 'edit' and after edit code # git commit --all --amend --no-edit git rebase --continue git push -f origin branch -
daredrum revised this gist
Aug 2, 2016 . 1 changed file with 10 additions and 3 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 @@ -1,7 +1,14 @@ ### Override local branch from remote git fetch origin feature_branch git reset --hard origin/feature_branch ### Remove branch remotely and locally git push origin feature_branch git branch -D feature_branch ### Edit old commits git rebase --i 'bbc643cd^' # edit code # git commit --all --amend --no-edit git rebase --continue git push -f origin branch -
daredrum revised this gist
Jul 29, 2016 . 1 changed file with 6 additions and 2 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 @@ -1,3 +1,7 @@ # Override local branch from remote git fetch origin feature_branch git reset --hard origin/feature_branch # Remove branch remotely and locally git push origin feature_branch git branch -D feature_branch -
daredrum renamed this gist
Jul 29, 2016 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
daredrum renamed this gist
Jul 29, 2016 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
daredrum created this gist
Jul 29, 2016 .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,3 @@ # Override local branch from remote git fetch origin master git reset --hard origin/master