1. To see git hitsory, run:
     $ git log --graph --oneline --decorate
  2. Set up user name/email address
     $ git config --global <username>
     $ git config --global <mailaddress>
  3. To save Git password
     $ git config --global credential.helper store


  • Setup proxy configurations for Git when using Git behind a corporate proxy, e.g.,
  • Assume you would like access all repositories via a corporate proxy, except certain repositories located at which needs to be accessed directly without going through a proxy.
  • To achieve this, create a .gitconfig file at ~/ such that ~/.gitconfig file contains the following.
          email =
          name = name
          proxy =
          proxy =
      [http ""]
          proxy = 	    

Leave a comment