Actions

EmSys

Git - Initial Setup

From EdWiki

Git - Config

  • Introduce yourself to Git
git config –global user.name "jshankar"
git config –global user.email "jshankar@cedt.iisc.ernet.in"
  • If you use proxy for internet access
git config --global http.proxy http://noauthproxy.iisc.ernet.in:3128/
  • 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