If you just got a new computer or are using Git for the first time, you may find some of these commands useful. Note: these commands are from a Mac user
Global settings are stored in a system
.gitconfig file; view that file by using the command:
$ cat ~/.gitconfig
Single repo settings stored in the /.git/config in your project folder
$ git config --list $ git config <level> --list
# Single repo --local # Current user --global # All users --system
$ git config --global user.name "John Doe" $ git config --global user.email "email@example.com" $ git config --global core.editor <editor-symlink> $ git config --system color.ui true
$ git config core.ignorecase false
$ git config --global pull.rebase true
If you have any other useful commands to share, leave a comment below.
Thomas Deiler is a Bavarian, Mountaineering, Senior Agile Coach. In this Showcase, you will learn about his journey from software engineer to project manager, his freelance philosophy, and much more....
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot