summitech / gitexplorer

Find the right git commands without digging through the web.
MIT License
1.84k stars 160 forks source link

Corrected the git syntax for rebasing on local #67

Closed DominusKelvin closed 4 years ago

DominusKelvin commented 4 years ago

Using git pull --rebase would pull from an origin branch. This is incorrect for rebasing from a local branch. Instead, the correct syntax should be git rebase https://www.atlassian.com/git/tutorials/rewriting-history/git-rebase