Skip to content

Conversation

@oskarwiksten
Copy link

  • Move user.name and user.email to ~/.gitconfig.local
  • [include] the file ~/.gitconfig.local from ~/.gitconfig
  • Move ~/.gitconfig from copy to link

As of git 1.7.10+, it's possible to specify the following syntax in ~/.gitconfig:

[include]
     path = /path/to/file

The benefit of having .gitconfig in link/ instead of copy/ is that updates to git aliases can be kept up to date by just running git pull on the dotfiles repo.

 As of git 1.7.10+, it's possible to specify the following syntax in ~/.gitconfig:
[include]
    path = /path/to/file
This changeset moves the gitconfig from copy/ to link/ .
The benefit of having gitconfig in link/ instead of copy/ is that updates to git aliases can be kept up to date by just running git pull on the dotfiles repo.
@cowboy cowboy force-pushed the master branch 5 times, most recently from 208862a to 45688f9 Compare October 26, 2014 21:52
rgardner added a commit to rgardner/dotfiles that referenced this pull request Mar 21, 2016
This puts gitconfig into link, which facilitates version control and
machine specific variables.

See cowboy/dotfiles#26
rgardner added a commit to rgardner/dotfiles that referenced this pull request Mar 21, 2016
This puts gitconfig into link, which facilitates version control and
machine specific variables.

See cowboy/dotfiles#26
rgardner added a commit to rgardner/dotfiles that referenced this pull request Apr 8, 2016
This puts gitconfig into link, which facilitates version control and
machine specific variables.

See cowboy/dotfiles#26
HarrisonMc555 pushed a commit to HarrisonMc555/dotfiles that referenced this pull request Jul 18, 2019
HarrisonMc555 added a commit to HarrisonMc555/dotfiles that referenced this pull request Oct 6, 2019
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.

1 participant