git pull from another repository 1

git pull from another repository

git fetch origin master:master

Here is what the above code is Doing:
1. git init
2. git add .
3. git commit -m “Initial commit”
4. git remote add origin https://github.com//.git
5. git push -u origin master
6. git fetch origin master:master

Similar Posts