Lately I started up a personal project (the one that will make rich). There is a control system I wanted to explore: Git. A bunch of free git hosting exist on the net but you basically have to open source your codes. So I searched around the net for some private hosting, which allows to hide the codes from public access. It might be helpful for you guys.
Here’s the list.
1. http://www.gitcentral.com
2. http://www.projectlocker.com
3. http://gitfarm.appspot.com
I chose the gitcentral option. It works like a charm. Here's how to create a repository :
$ cd (project-directory)
$ git init
$ (add some files)
$ git add .
$ git commit -m 'Initial commit'
You basically create a new account and project in gitCentral. It's quite straighforward. DOn't forget to add your SSH keys. It must be your public RSA key (usually id_rsa.pub in ~/.ssh/).
Wait for a minute
In the "Repositories" tab you'll found out the push url of your project.
$git remote add origin git@www.gitcentral.com:2dqhbXXXXXvm2z/mainline.git (the push url)
$git push origin master
Then after a commit, I just need to push this way :
$git push
Just play with Git now for free!
Aucun commentaire:
Enregistrer un commentaire