$ sudo apt-get -y install git-coreThere are 2 options to host the code: On your own system or on Github. I recommend the second choice. The infrastructure is already existing and Github furthermore includes simple ticketing to assist your development process. In the end it is free (Github is THE spot for social coding). Github is a real cool cat. So go on by setting the default name for GIT to use when you commit:
$ git config --global user.name "Your Name Here"Set the default email for GIT to use when you commit:
$ git config --global user.email "your_email@youremail.com"... your email address for Git should be the same one associated with your GitHub account. The last option we need to set will tell git that you don't want to type your username and password every time you talk to a remote server. To use this option, you need to turn on the credential helper so that git will save your password in memory for some time:
$ git config --global credential.helper cacheBy default git will cache your password for 15 minutes. You can change this if you like. You can set the cache to timeout after 1 hour (setting is in seconds):
$ git config --global credential.helper 'cache --timeout=3600'That's all. Now call on Github and launch your repository.
If you need further information go to: https://help.github.com/articles/set-up-git or sign up your Github account directly: https://github.com/signup/free
Keine Kommentare:
Kommentar veröffentlichen