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