Difference between revisions of "Githandson"
From Gridkaschool
(Created page with "== Git Hands-on == '''All of these exercises should be followed on naf-school01 using your school account''' * cd ~/school/git * Configure git ** git config --global user.nam…") |
|||
Line 7: | Line 7: | ||
** git config --global user.name "Your Name" |
** git config --global user.name "Your Name" |
||
** git config --global user.email you.email@domain |
** git config --global user.email you.email@domain |
||
+ | |||
+ | * cat ~/.gitconfig |
||
+ | |||
+ | * optional extras |
||
+ | ** git config --global color.ui auto # If you like colours! |
||
+ | ** git config --global alias.co checkout |
||
+ | ** git config --global alias.st status |
||
+ | ** git config --global alias.ci commit |
||
+ | ** git config --global core.editor emacs # flame bait |
||
+ | ** git config --global core.edit vim |
Revision as of 09:37, 3 September 2014
Git Hands-on
All of these exercises should be followed on naf-school01 using your school account
- cd ~/school/git
- Configure git
- git config --global user.name "Your Name"
- git config --global user.email you.email@domain
- cat ~/.gitconfig
- optional extras
- git config --global color.ui auto # If you like colours!
- git config --global alias.co checkout
- git config --global alias.st status
- git config --global alias.ci commit
- git config --global core.editor emacs # flame bait
- git config --global core.edit vim