Skip to content

Getting started with Git and GitHub

esouthren edited this page Apr 3, 2018 · 16 revisions

Wiki > Project tools > Working with git and github > Getting started with git and github

(if asked, Choose Checkout-as-is; commit unix style line-endings)

During setup ensure you have selected "Use Git from the Windows Command Prompt". Checking the others will lead to IOC Make errors later down the line.

  • Set you username and email address via the command line:
git config --global user.name "YOUR NAME"
git config --global user.email "YOUR EMAIL ADDRESS"

Or from TortoiseGit, select "Setting->Git" and select "global" and enter your details.

  • Set a default commit editor (not needed for TortoiseGit):
git config --global core.editor "start notepad++"
  • Set line-handling and passwords (Windows):
git config --global core.autocrlf true
git config --global credential.helper wincred
  • Set line-handling and passwords (Linux):
git config --global core.autocrlf input
  • Check submodules have been pushed before allowing an update of the master index
git config --global push.recurseSubmodules check
Clone this wiki locally