-
-
Notifications
You must be signed in to change notification settings - Fork 930
New issue
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
How to deal with the message about how to perform git pull
?
#843
Comments
Great point. I think a decent option here would be to add --no-rebase to the first mention of "git pull origin main", and then briefly discuss that this avoids a warning from recent version of git. The next line section can then add "git config --global pull.rebase false" to avoid the warning, so that subsequent uses do not require it. We can then provide a link to a document discussing rebasing, or perhaps add another segment discussing it in more detail. |
Cross-reference #767 |
Why not deal with this in |
This issue has technically been solved (by #873) but due to a switch of platform it never got merged. This would make a great beginner issue. If not I will look at re-submitting a PR for the new platform. |
Flagging this as it has recently come to my attention (though I haven't run into it yet, since my git version is older) |
@TomMelt would you still be willing to submit a PR for the new platform? |
Recent versions of git show this message after a
git pull
:The lesson does not yet seem to take this change into consideration. What would be a good choice for novices here? I tried to look this up, but am not sure. Many seem to suggest to use the ´fast-forward´ as default, but this may lead to unexpected problems in certain cases?
The text was updated successfully, but these errors were encountered: