-
-
Save danielnolan/6cb0fe716cc7cf2774039b9f74647d9b to your computer and use it in GitHub Desktop.
Revisions
-
danielnolan revised this gist
Jan 28, 2019 . 1 changed file with 6 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 @@ -9,8 +9,13 @@ git checkout <branchname> git rebase origin/develop ### Squash Last N Commits Against Develop ### git rebase --interactive origin/develop ### Squash Last N Commits Locally Without Pulling In Upstream Changes From Develop ### git rebase -i HEAD~<n> or git rebase -i <after-this-commit-sha1> ### Conflicts ### 1. Resolve conflict my looking at the files in question. -
danielnolan revised this gist
Jan 15, 2019 . 1 changed file with 3 additions and 12 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 @@ -2,26 +2,17 @@ git checkout -b <branchname> ### Make Changes ### git add git commit ### Update branch ### git checkout <branchname> git rebase origin/develop ### Squash Last N Commits ### git rebase --interactive origin/develop ### Conflicts ### 1. Resolve conflict my looking at the files in question. 2. git add <resolved files> 3. git rebase --continue -
danielnolan revised this gist
Jan 15, 2019 . 1 changed file with 2 additions and 19 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 @@ -8,19 +8,13 @@ ### Sync with remote ### git checkout develop git pull --rebase ### Update branch ### git checkout <branchname> git rebase develop ### Squash Last N Commits ### @@ -31,14 +25,3 @@ 1. Resolve conflict my looking at the files in question. 2. git add <resolved files> 3. git rebase --continue -
tmcgilchrist revised this gist
Jun 7, 2012 . 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 @@ -34,7 +34,7 @@ ### Git Flow ### git flow init # setup project to use git-flow git flow feature start <feature_name> # creates a new feature branch called <feature_name> -
tmcgilchrist revised this gist
Jun 7, 2012 . 1 changed file with 10 additions 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 @@ -32,3 +32,13 @@ 2. git add <resolved files> 3. git rebase --continue ### Git Flow ### git flow init # Setup project to use git-flow git flow feature start <feature_name> # creates a new feature branch called <feature_name> git flow feature finish <feature_name> # merge feature back into develop branch git flow release start <version> # merge develop to release -
tmcgilchrist revised this gist
May 18, 2012 . 1 changed file with 4 additions 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 @@ -22,6 +22,10 @@ git merge <branchname> git push ### Squash Last N Commits ### git rebase --interactive HEAD~N ### Conflicts ### 1. Resolve conflict my looking at the files in question. -
tmcgilchrist revised this gist
Feb 10, 2012 . 1 changed file with 5 additions 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 @@ -1,18 +1,23 @@ ### Checkout a new working branch ### git checkout -b <branchname> ### Make Changes ### git add git commit -m "description of changes" ### Sync with remote ### git checkout master git pull --rebase ### Update branch ### git checkout <branchname> git rebase master ### Push Changes ### git checkout master git merge <branchname> git push -
tmcgilchrist revised this gist
Feb 10, 2012 . 1 changed file with 10 additions and 10 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,21 +1,21 @@ git checkout -b <branchname> ### Make Changes ### git add git commit -m "description of changes" ### Sync with remote ### git checkout master git pull --rebase ### Update branch ### git checkout <branchname> git rebase master ### Push Changes ### git checkout master git merge <branchname> git push ### Conflicts ### -
tmcgilchrist created this gist
Feb 10, 2012 .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,25 @@ git checkout -b <branchname> ### Make Changes ### git add git commit -m "description of changes" ### Sync with remote ### git checkout master git pull --rebase ### Update branch ### git checkout <branchname> git rebase master ### Push Changes ### git checkout master git merge <branchname> git push ### Conflicts ### 1. Resolve conflict my looking at the files in question. 2. git add <resolved files> 3. git rebase --continue