All listsTechGit Commands

Git Commands

165 items
  • 01git init
  • 02git clone
  • 03git status
  • 04git add
  • 05git add .
  • 06git add -p
  • 07git commit
  • 08git commit -m
  • 09git commit --amend
  • 10git commit --amend --no-edit
  • 11git restore
  • 12git restore --staged
  • 13git reset
  • 14git reset HEAD
  • 15git reset --soft HEAD~1
  • 16git reset --hard HEAD~1
  • 17git revert
  • 18git revert HEAD
  • 19git rm
  • 20git mv
  • 21git log
  • 22git log --oneline
  • 23git log --graph --oneline --decorate --all
  • 24git log --stat
  • 25git log --since
  • 26git log --grep
  • 27git log --author
  • 28git log -p
  • 29git log --follow
  • 30git show
  • 31git diff
  • 32git diff --staged
  • 33git diff --cached
  • 34git diff HEAD
  • 35git diff main..feature
  • 36git diff --stat
  • 37git branch
  • 38git branch -a
  • 39git branch -d
  • 40git branch -D
  • 41git branch --merged
  • 42git branch --no-merged
  • 43git checkout
  • 44git checkout -b
  • 45git checkout main
  • 46git switch
  • 47git switch -c
  • 48git switch -
  • 49git merge
  • 50git merge --no-ff
  • 51git merge --squash
  • 52git merge --abort
  • 53git rebase
  • 54git rebase main
  • 55git rebase --onto
  • 56git rebase --continue
  • 57git rebase --abort
  • 58git rebase --skip
  • 59git cherry-pick
  • 60git cherry-pick --continue
  • 61git cherry-pick --abort
  • 62git stash
  • 63git stash push
  • 64git stash pop
  • 65git stash apply
  • 66git stash list
  • 67git stash drop
  • 68git stash clear
  • 69git stash show
  • 70git tag
  • 71git tag -a v1.0.0
  • 72git tag -l
  • 73git tag --sort
  • 74git push origin tags
  • 75git fetch
  • 76git fetch --all
  • 77git fetch --prune
  • 78git pull
  • 79git pull --rebase
  • 80git pull --ff-only
  • 81git push
  • 82git push -u origin main
  • 83git push --force-with-lease
  • 84git push --tags
  • 85git remote
  • 86git remote add
  • 87git remote remove
  • 88git remote rename
  • 89git remote -v
  • 90git remote set-url
  • 91git config
  • 92git config --global
  • 93git config --list
  • 94git config user.email
  • 95git config user.name
  • 96git config core.editor
  • 97git config core.autocrlf
  • 98git config pull.rebase
  • 99git submodule
  • 100git submodule add
  • 101git submodule init
  • 102git submodule update
  • 103git submodule update --init --recursive
  • 104git submodule deinit
  • 105git worktree add
  • 106git worktree list
  • 107git worktree remove
  • 108git bisect start
  • 109git bisect good
  • 110git bisect bad
  • 111git bisect reset
  • 112git blame
  • 113git blame -L
  • 114git annotate
  • 115git reflog
  • 116git reflog show
  • 117git reflog expire
  • 118git fsck
  • 119git gc
  • 120git gc --aggressive
  • 121git clean -n
  • 122git clean -fd
  • 123git clean -fdx
  • 124git archive
  • 125git bundle create
  • 126git bundle verify
  • 127git format-patch
  • 128git apply
  • 129git am
  • 130git request-pull
  • 131git describe
  • 132git describe --tags
  • 133git shortlog -sn
  • 134git ls-files
  • 135git ls-tree
  • 136git rev-parse HEAD
  • 137git rev-parse --abbrev-ref HEAD
  • 138git symbolic-ref HEAD
  • 139git hash-object
  • 140git cat-file -p
  • 141git update-ref
  • 142git mktree
  • 143git update-index
  • 144git filter-repo
  • 145git filter-branch
  • 146git mailsplit
  • 147git mailinfo
  • 148git for-each-ref
  • 149git pack-refs --all
  • 150gh pr create
  • 151gh pr view
  • 152gh pr checkout
  • 153gh pr merge
  • 154gh pr review
  • 155gh issue create
  • 156gh issue view
  • 157gh issue close
  • 158gh repo create
  • 159gh repo clone
  • 160gh repo fork
  • 161gh auth login
  • 162gh release create
  • 163gh workflow list
  • 164gh run watch
  • 165glab mr create
165
items
AVG LENGTH15.0
SIZE2.6 KB
Tip
Click any value to copy it. Use the search above to filter this list, or press ⌘K to jump anywhere.
⌘KSearchEscBack
165 items in Git Commands

Git Commands

Tech165 items