Skip to content

Git General Prerequisites

Kenneth Kasajian edited this page Jul 8, 2014 · 33 revisions
  1. Install Git
  1. Introduce yourself:

     git config --global user.name "Your Name Comes Here"
     git config --global user.email [email protected]
    
  2. Set up Editor. Pick your favorite:

  • OS X:

    git config --global --add core.editor "open -W -e -n"

  • Windows:

    git config --global core.editor "'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"

      or
    

    git config --global core.editor "'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"

  • Generic:

     `git config --global core.editor 'vim'`
    
      or
    
     `git config --global core.editor emacs`
    
  1. Set up merge tool:

     git config --global merge.tool kdiff3
    
  2. Color Options:

     git config --global color.diff auto
     git config --global color.status auto
     git config --global color.branch auto
    
Clone this wiki locally