Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
831089a3
Unverified
Commit
831089a3
authored
Mar 03, 2020
by
Jean-Yves Rivallan
Committed by
GitHub
Mar 03, 2020
Browse files
git: make the gpristine alias remove untracked git repos (#8697)
parent
bbe54e4e
Changes
2
Show whitespace changes
Inline
Side-by-side
plugins/git/README.md
View file @
831089a3
...
@@ -45,7 +45,7 @@ plugins=(... git)
...
@@ -45,7 +45,7 @@ plugins=(... git)
| gcf | git config --list |
| gcf | git config --list |
| gcl | git clone --recurse-submodules |
| gcl | git clone --recurse-submodules |
| gclean | git clean -id |
| gclean | git clean -id |
| gpristine | git reset --hard && git clean -dfx
|
| gpristine | git reset --hard && git clean -df
f
x |
| gcm | git checkout master |
| gcm | git checkout master |
| gcd | git checkout develop |
| gcd | git checkout develop |
| gcmsg | git commit -m |
| gcmsg | git commit -m |
...
...
plugins/git/git.plugin.zsh
View file @
831089a3
...
@@ -66,7 +66,7 @@ alias gcb='git checkout -b'
...
@@ -66,7 +66,7 @@ alias gcb='git checkout -b'
alias
gcf
=
'git config --list'
alias
gcf
=
'git config --list'
alias
gcl
=
'git clone --recurse-submodules'
alias
gcl
=
'git clone --recurse-submodules'
alias
gclean
=
'git clean -id'
alias
gclean
=
'git clean -id'
alias
gpristine
=
'git reset --hard && git clean -dfx'
alias
gpristine
=
'git reset --hard && git clean -df
f
x'
alias
gcm
=
'git checkout master'
alias
gcm
=
'git checkout master'
alias
gcd
=
'git checkout develop'
alias
gcd
=
'git checkout develop'
alias
gcmsg
=
'git commit -m'
alias
gcmsg
=
'git commit -m'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment