📅  最后修改于: 2022-03-11 14:49:56.587000             🧑  作者: 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