Skip to content

Git

Add | Commit | Push

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

Update Git Repo

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

List Git Repo

Bash
git remote -v

Use different ssh ptiv key

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