Last active
December 28, 2018 19:15
-
-
Save geekbass/a3c09ae8e5907b3c27d1168a46f745cb to your computer and use it in GitHub Desktop.
Revisions
-
Weston Bassler revised this gist
Dec 28, 2018 . 1 changed file with 4 additions and 4 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,12 +1,12 @@ ### Update Branch with Master if been updated since git pull origin master ### Check commit history for $N number of Commits git reset --soft HEAD~$N git commit -m "squashing commits" ### If preivous push(s) to repo, force push (+) git push origin +name-of-feature-branch ### else, if no previous pushes then just push without force git push origin name-of-feature-branch -
Weston Bassler revised this gist
Dec 28, 2018 . 1 changed file with 6 additions and 6 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,12 +1,12 @@ # Update Branch with Master if been updated since git pull origin master # Check commit history for $N number of Commits git reset --soft HEAD~$N git commit -m "squashing commits" # If preivous push(s) to repo, force push (+) git push origin +name-of-feature-branch # else, if no previous pushes then just push without force git push origin name-of-feature-branch -
Weston Bassler renamed this gist
Dec 28, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Weston Bassler created this gist
Dec 28, 2018 .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,12 @@ # Update Branch with Master if been updated since git pull origin master # Check commit history for $N number of Commits git reset --soft HEAD~$N git commit -m "squashing commits" # If preivous push(s) to repo, force push (+) git push origin +name-of-feature-branch # else, if no previous pushes then just push without force git push origin name-of-feature-branch