File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -67,19 +67,19 @@ See the Github guide on creating forks for more details.
67
67
Git branches are “cheap.” Creating branches in Git is incredibly easy and its an ideal way to isolate a specific set
68
68
of changes. You may be fixing several things at one time but by keeping your changes isolated it will help us to
69
69
find and apply only the changes we’re interested in. You should create a clean branch based on the latest
70
- save_queue/master when doing this. It is important you follow these steps exactly,
70
+ save_queue/develop when doing this. It is important you follow these steps exactly,
71
71
it will prevent you from accidentally including unrelated changes from your local repository into the branch.
72
72
73
73
For example, if we were submitting a patch to fix an issue with the CSS in the flash error message you could create
74
74
a branch as follows:
75
75
76
76
$ git remote add upstream git://github.com/AlexParamonov/save_queue.git
77
77
$ git fetch upstream
78
- $ git checkout -b fix-css-for-error-flash --track upstream/master
78
+ $ git checkout -b fix-css-for-error-flash --track upstream/develop
79
79
80
- The fetch command will grab all of the latest commits from the Save Queue master branch. Don’t worry,
80
+ The fetch command will grab all of the latest commits from the Save Queue develop branch. Don’t worry,
81
81
it doesn’t alter your working repository in a harmful way. The track part of the command will tell git that this
82
- branch should track with the remote version of the upstream master . This is another way of saying that the branch
82
+ branch should track with the remote version of the upstream develop . This is another way of saying that the branch
83
83
should be based on a clean copy of the latest official source code (without any of your unrelated local changes.)
84
84
85
85
You can then do work locally on this topic branch and push it up to your Github fork when you are done. So in our
You can’t perform that action at this time.
0 commit comments