Git - Initial Setup

From EdWiki

Git - Config

  • Introduce yourself to Git
git config –global "jshankar"
git config –global ""
  • If you use proxy for internet access
git config --global http.proxy
  • Configure default Editor
git config --global core.editor vim
  • Configure default diff tool
git config --global merge.tool vimdiff
  • Checking your Settings
git config --list
  • Getting Help
git help <verb>
git <verb> --help
man git-<verb>

e.g., you can get the manpage help for the config command by running

git help config