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

Move ~/.gitconfig from copy/ to link/ . Use include for user.name #26

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Move ~/.gitconfig from copy/ to link/ . Use include for user.name #26

wants to merge 2 commits into from

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
huygn added a commit to huygn/dotfiles that referenced this pull request May 20, 2016
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.

None yet

1 participant