Skip to content

Instantly share code, notes, and snippets.

@L1ghtmann
L1ghtmann / common-git-cmds.md
Last active November 28, 2025 23:10
Common git commands I forget

Git Commands

Note: SSH url format

git@github.com:name/repo.git

Add contributor remote branch for edits

  1. git remote add contributor https://github.com/name/repo.git
  2. git fetch contributor
  3. git checkout -b update contributor/master
  4. git push contributor update:master