Skip to content

Instantly share code, notes, and snippets.

@ricard-inho
Last active February 6, 2019 02:01
Show Gist options
  • Save ricard-inho/cc6454f2bb4014e7d058b7baf3ffeb4a to your computer and use it in GitHub Desktop.
Save ricard-inho/cc6454f2bb4014e7d058b7baf3ffeb4a to your computer and use it in GitHub Desktop.

Usefull configuration commands for Git.

The following commands set up credidentials and a login timeout for git in the Cloud9 IDE environment.

  • git config --global user.name "${C9_FULLNAME}"
  • git config --global user.email $C9_EMAIL
  • git config --global credential.helper 'cache --timeout 5400'
  • git config --global core.editor '/mnt/shared/sbin/c9 open --wait'
  • git config --global credential.https://github.com.username $C9_EMAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment