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
In the Git Rebase example the user is on the feature branch and wants to rebase master on top.
feature
master
Given that - the example of
$ git checkout --ours codefile.js
With the label
to select the changes done in master
Is incorrect. In this context --ours refers to the version of codefile.js thats ON our current branch which is actually feature.
--ours
codefile.js
So that label should really say
to select changes done in feature
Maybe I'm crazy too.
The text was updated successfully, but these errors were encountered:
Hi ruckus,
The user is on feature branch and wants to rebase feature on top of master That's why --ours will select the "base branch" (master in this case)
It is VERY confusing
Sorry, something went wrong.
According to my understanding, when we are on feature and we do git rebase master, git will do the following:
git rebase master
So during the rebase process, HEAD is our temporary branch made from master. 'Ours' is always HEAD, so we can consider 'ours' to be master.
No branches or pull requests
In the Git Rebase example the user is on the
feature
branch and wants to rebasemaster
on top.Given that - the example of
With the label
Is incorrect. In this context
--ours
refers to the version ofcodefile.js
thats ON our current branch which is actuallyfeature
.So that label should really say
Maybe I'm crazy too.
The text was updated successfully, but these errors were encountered: