We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup merge commits into feature branch
test-rebase
main
$ git checkout test-rebase; git merge main
git rebase -i
Use rebase to bring changes from main into a feature branch (assuming origin is your fork and upstream is the upstream repo)
origin
upstream
git fetch upstream
git checkout feature-branch
git rebase upstream/main
The text was updated successfully, but these errors were encountered:
No branches or pull requests
concepts
how to practice
Setup merge commits into feature branch
test-rebase
test-rebase
main
and add commits theretest-rebase
and mergemain
intotest-rebase
:$ git checkout test-rebase; git merge main
test-rebase
git rebase -i
to clean uptest-rebase
Use rebase to bring changes from main into a feature branch (assuming
origin
is your fork andupstream
is the upstream repo)git fetch upstream
git checkout feature-branch
git rebase upstream/main
- resolve conflicts if anyThe text was updated successfully, but these errors were encountered: