Last active
October 23, 2019 14:12
-
-
Save carloschulo/fbce2bcc7c2dd1e9880c5c4cc28eec08 to your computer and use it in GitHub Desktop.
How to rebase
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//make sure you have the most up-to-date version of the branch you're rebasing on. | |
git checkout develop | |
git pull | |
// go back to feature branch | |
git checkout updated-card | |
//rebase! | |
git rebase develop | |
// If you get conflicts, git will tell you | |
git status | |
//Once everything is fixed, add and commit the changes | |
//Then run the following so git can rebase | |
git rebase --continue | |
//push | |
git push --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment