GIT: Re-basing Explained with Git Pull

preview_player
Показать описание
Git rebase in standard operation mode will automatically take the commits in your current working branch and apply them to the head of the passed branch.
git pull --rebase [origin/master] - This will pull down from remote and rebase to the checkout branch

"git pull --rebase" is same as "git fetch + git rebase"

Rebase operation will put your changes above all new remote changes, and rewrite commit history, so your commit history will be much cleaner than git merge.

Please go thru the full video to learn more about git pull with rebase.
Thanks and subscribe for more such videos.

Take the complete Git course at Udemy using the link below:
Рекомендации по теме