Skip to content

Git

Add | Commit | Push

git add . && git commit -m "comment" && git push

Update Git Repo

 git remote set-url origin [email protected]:user/repository2.git

List Git Repo

git remote -v

Use different ssh ptiv key

git clone -c "core.sshCommand=ssh -i ~/.ssh/id_rsa_work" [email protected]:corporateA/webapp.git