Difference between revisions of "Git installation"

From relax wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
== Git setup commit information ==
 
== Git setup commit information ==
 
Write in terminal
 
Write in terminal
  git config --global user.name "Your Name"
+
  git config --add user.name "Your Name"
  git config --global user.email you@example.com
+
  git config --add user.email you@example.com
  git config --global github.user GIT_USER_NAME
+
  git config --add github.user GIT_USER_NAME
git config --global github.token 0123456789yourf0123456789token
 
 
 
See your information
 
cat ~/.gitconfig
 
git branch
 
git remote show origin
 

Revision as of 10:05, 24 June 2013

Git setup commit information

Write in terminal

git config --add user.name "Your Name"
git config --add user.email you@example.com
git config --add github.user GIT_USER_NAME