My .gitconfig file
I recently updated to Mountain Lion, and had to install a few more things to get Git to work properly.
I also realized that Git GUI stopped working. A quick addition to my .gitconfig file did the trick, but I thought I’d take the opportunity to share my .gitconfig file with you; it could be useful to someone, and I will be able to come back to that post next time I change my computer :)
[user] name = Jeremy Herve email = my_email_address [github] user = jeherve token = my_token [color] branch = true ui = true diff = true status = true [alias] s = status ci = commit co = checkout ls = branch -a oops = reset --soft HEAD~1 rh = reset --hard save = stash save pop = stash pop --index gui = !sh -c '/usr/local/git/libexec/git-core/git-gui' [help] autocorrect = 1
That’s it. If you have any advices or remarks, let me know! I am always looking for more tips!