I searched a bit. I learnt what Fork, Clone, Merge and pull meant. The answer is here!
1. Create a folder: mkdir NewGitRepo
2. Go to your folder: cd NewGitRepo
3. If you have a repo names "RepoToGet" in "PersonName". Use the following commands.
git init
git remote add origin git@github.com:PersonName/RepoToGet
git pull origin master
4. Check if you have everything: ls
1. Create a folder: mkdir NewGitRepo
2. Go to your folder: cd NewGitRepo
3. If you have a repo names "RepoToGet" in "PersonName". Use the following commands.
git init
git remote add origin git@github.com:PersonName/RepoToGet
git pull origin master
4. Check if you have everything: ls
No comments:
Post a Comment