📅  最后修改于: 2022-03-11 14:50:54.441000             🧑  作者: Mango
// Main/ master branch.
$ git add .
$ git status // to see what changes are going to be commited
$ git commit -m 'Some descriptive commit message'
$ git push origin
// Branch that you want to sync with main/ master branch.
$ git checkout // go to that is ment to be synced with
$ git rebase // bring up to date with
$ git push origin // commit the changes
$ git checkout // return to