@@ -47,7 +47,7 @@ Recommended git workflow
4747For contributors
4848~~~~~~~~~~~~~~~~
4949
50- 0, You can do this step when you are on master , or feature_branch, anytime there are new commits in original project.
50+ 0, You can do this step when you are on main , or feature_branch, anytime there are new commits in original project.
5151
5252Just one-time add of remote:
5353
@@ -60,9 +60,9 @@ And rebase:
6060::
6161
6262 git fetch mushorg
63- git rebase mushorg/master feature_branch
63+ git rebase mushorg/main feature_branch
6464
65- This way, your feature_branch or master will be up-to-date.
65+ This way, your feature_branch or main will be up-to-date.
6666
67671, For every feature, create new branch:
6868
@@ -121,20 +121,20 @@ To avoid additional Merge commits, use cherry-pick:
121121
122122::
123123
124- git checkout master
124+ git checkout main
125125 git remote add user https://github.com/user/conpot.git
126126 git fetch user
127127 (look at 'git log user/feature_branch')
128128 git cherry-pick commit_hash
129- git push origin master
129+ git push origin main
130130 git remote rm user
131131
132- Comment on pull request that you added it to master , and close pull request.
132+ Comment on pull request that you added it to main , and close pull request.
133133
134134This approach is usefull for majority of pull requests (1-3 commits).
135135
136136If you expect conflicts (a lot of commits in feature branch with a lot of changes) you can use GitHub Merge button.
137137
138138Revert will be easier too.
139139
140- Conflicts should not happen, if feature branch is rebased on current master .
140+ Conflicts should not happen, if feature branch is rebased on current main .
0 commit comments