Welcome, Guest! Registration

loc2log

Sunday, 2024-12-22
Main » 2022 » August » 27 » Easy git rebase
1:38 AM
Easy git rebase

So we want our feature branch to have all the latest and greatest changes from the master (main).

If our feature branch is cloned like this:

git clone <repo> -b feature feature

Then one shot rebase would be:

git pull --rebase origin master

If you used checkout, then try without the origin keyword.

Views: 289 | Added by: ep | Tags: Git | Rating: 0.0/0
Total comments: 0
Only registered users can add comments.
[ Registration | Login ]