Skip to content
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

Add mention in Git 2.9 of config pull options #120

Merged
merged 1 commit into from Nov 7, 2017

Conversation

augbog
Copy link
Contributor

@augbog augbog commented Sep 5, 2017

I wanted to make a mention in the README that for git pull you can set this as a hard config. I know in the documentation mentions using the argument options for git pull for Git 2.9 and mentions how to create a Git alias appropriately to mimic the behavior of git-up, but I felt it was worth mentioning that there is a way to set it as a hard config for every git pull by doing

git config --global pull.rebase true
git config --global rebase.autoStash true

Feel free to close if you feel it's unnecessary

Copy link
Owner

@aanand aanand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for taking so long to get to this! One wording change, then I think it's good. Thanks for doing this ✨

README.md Outdated
@@ -16,6 +16,11 @@ Accordingly, if you update to Git 2.9 or later, you can use this alias instead o

git config --global alias.up 'pull --rebase --autostash'

If you wish you to make it so that this happens on every `git pull` in Git 2.9, you can also set that by doing:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this be reworded to:

If you'd rather this happened on every `git pull`, then you can do this if you're running Git 2.9 or later:

@augbog augbog force-pushed the task/update-alias-documentation branch from 355b92f to 9b9bd13 Compare November 7, 2017 19:30
@augbog
Copy link
Contributor Author

augbog commented Nov 7, 2017

Thanks for getting back to me and no worries! I just made the changes :) let me know if there's anything else I can do!

@aanand aanand merged commit 2bf0cae into aanand:master Nov 7, 2017
@augbog augbog deleted the task/update-alias-documentation branch November 7, 2017 23:09
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.

None yet

2 participants