In this document we took a deep look at git clone. The most important takeaways are:
-
git clone is used to create a copy of a target repo
-
The target repo can be local or remote
-
Git supports a few network protocols to connect to remote repos
-
There are many different configuration options available that change the content of the clone
git clone https://github.com/Yonv1943/Python
git config --global user.email "[email protected]"
git config --global user.name "Yonv"
git init
git add README.md
git commit -m "first commit"
git remote add origin [email protected]:Yonv1943/Python.git
git push -u origin master