An article that takes the basic steps in order to set up a Git repository
When you want to set up a repository, you face generally two options:
In this case, you just have to clone the repository.
git clone https://github.com/gerardnico/myRepo.git
cd myProjectMap
git init
git remote add origin https://github.com/gerardnico/myRepo.git
git remote -v # Verification of the URL
git pull origin master
git status
git add -A
git commit -m "First Commit"
git push --set-upstream origin master
Counting objects: 16, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (13/13), done.
Writing objects: 100% (16/16), 10.06 KiB | 0 bytes/s, done.
Total 16 (delta 1), reused 0 (delta 0)
remote: Resolving deltas: 100% (1/1), completed with 1 local object.
To https://github.com/gerardnico/myRepo.git
82d4c6e..0822d6f master -> master
Branch master set up to track remote branch master from origin.