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

Skip to content

Conversation

@Ignacy-s
Copy link
Contributor

At the end of the next sub-chapter of the tutorial (Getting-Started-First-Time-Git-Setup) we are presented with code example:
$ git config --show-origin rerere.autoUpdate file:/home/johndoe/.gitconfig false
but that function was implemented in 2.8.0 and doesn't work with git 2.0.0.
I've installed git from Ubuntu repos, git ver 2.7.0, and was surprised that something didn't work, even though version used was far more up to date than 2.0.0.

An alternative would be to add a warning for the reader in Getting-Started-First-Time-Git-Setup, that git config --show-origin works only in 2.8.0 and later.

At the end of the next sub-chapter of the tutorial (Getting-Started-First-Time-Git-Setup) we are presented with code example:
`$ git config --show-origin rerere.autoUpdate
file:/home/johndoe/.gitconfig	false`
but that function was implemented in 2.8.0 and doesn't work with git 2.0.0.
I've installed git from Ubuntu repos, git ver 2.7.0, and was surprised that something didn't work, even though version used was far more up to date than 2.0.0. 

An alternative would be to add a warning for the reader in  Getting-Started-First-Time-Git-Setup, that `git config --show-origin` works only in 2.8.0 and later.
@ben
Copy link
Member

ben commented Nov 12, 2018

Good point, we've definitely added content about features that came after 2.0.0. Thanks!

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