If you find yourself typing
git pr integratea lot, you might want to create the alias "integrate":
Code Block language bash
$ git config --global alias.integrate 'pr integrate'
You can then just run
git integrateto integrate a pull request.
Syncing a personal fork
To sync your personal fork with the upstream repository it was created from, run the command
$ git sync
- To sync your personal fork and your local repository, pass the flag
- To sync only a subset of branches, pass the flag