Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@HonkingGoose
Copy link
Contributor

@HonkingGoose HonkingGoose commented Jul 14, 2020

From git version 2.27 onward git pull will give a warning if the pull.rebase variable is not set.
You can stop git complaining on every pull by setting the variable.
This pull-request adds a note with help on how to set the variable.

This new behavior for git is documented in the release notes for git 2.27:
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.27.0.txt


I checked the book for the first occurrence of git pull and put the note there.
If there's a better place for the note, please say so, and I'll move the note to that place instead. 😄

From version 2.27 onward, git will give a warning when the pull.rebase variable is not set.
This commit adds a note detailing how to configure the pull.rebase variable to get rid of this warning.
@HonkingGoose HonkingGoose changed the title Add note: how set the pull.rebase variable Add note: how to set the pull.rebase variable Jul 14, 2020
Co-authored-by: Ben Straub <[email protected]>
@HonkingGoose
Copy link
Contributor Author

I've made the changes you wanted, I could just do that right from the GitHub interface, that was easy! 😄

@ben
Copy link
Member

ben commented Jul 16, 2020

Yeah that feature is pretty great. Thanks!

@ben ben merged commit ad7ce55 into progit:master Jul 16, 2020
@HonkingGoose HonkingGoose deleted the feature/add-note-how-to-get-rid-of-warnings-on-git-pull branch July 16, 2020 17:36
@HonkingGoose
Copy link
Contributor Author

Thanks for merging it in! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants