git - How to set up a gitconfig file -
trying set aliases git config, know can through terminal setup git config file given here. http://gitimmersion.com/lab_11.html. dont understand need do, have tried saving exact text in file ".gitconfig" through sublime 2 not work. home directory of git? have used "which git" in terminal path "/usr/local/git/bin/git". placing file in /usr/local/git/bin nothing, ive tried several other directories no avail.
that post makes clear:
add following .gitconfig file in $home directory.
that means $home/.gitconfig
(e.g. /home/felipec/.gitconfig).
but precisely reason why --edit
option added:
git config --global --edit
now don't have know or care file, edit it.
Comments
Post a Comment