23 septembrie 2016

Remember GIT

git config --global user.name "name"
git config --global user.email "email@intel.com"
git config --global http.proxy proxyAddress  # or "" to override computer proxies

git init
git clone <repo> <directory> # it will stay fixed on this repo
git remote add origin <server> # to make another repo

git add *
git commit -m "message"
git push origin master

git pull # update local repo to the newest commit
git remote -v # all the repos

Also check this

Niciun comentariu: