I have a project on github that I have been working on before. However, I wiped out my computer and I am wondering which git command should I invoke under my username to checkout my project again so that I can push my latest changes to github under my account.
+4
A:
Git clone is the command you're looking for:
git clone [email protected]:username/repo.git
Update: And this is the official guide: http://github.com/guides/getting-a-copy-of-your-github-repo
Take a look at: http://github.com/guides/home
It has really useful content
Santi
2009-09-11 03:15:34
+3
A:
First, you'll need to tell git about yourself. Get your username and token together from the account page.
Then run:
git config --global github.user YOUR_USERNAME
git config --global github.token YOURTOKEN
You need to generate a new key if you don't have a back-up of your key.
Then you should be able to run:
git clone [email protected]:YOUR_USERNAME/YOUR_PROJECT.git
seth
2009-09-11 03:17:39