fish: conf.d/git-abbr: Use no recurse submodules option for reset
Since we set submodule.recurse = true by default, calling reset will automatically result in --recurse-submodules being passed as true to git reset which is not what we want. Also see, https://git-scm.com/docs/git-config#Documentation/git-config.txt-submodulerecurse
This commit is contained in:
parent
4b2b9910c2
commit
f725a4e354
1 changed files with 6 additions and 6 deletions
|
@ -109,12 +109,12 @@ abbr grbi 'git rebase -i'
|
|||
abbr grbo 'git rebase --onto'
|
||||
abbr grbs 'git rebase --skip'
|
||||
abbr grev 'git revert'
|
||||
abbr grs 'git reset'
|
||||
abbr grs! 'git reset --hard'
|
||||
abbr grsh 'git reset HEAD'
|
||||
abbr grsh! 'git reset HEAD --hard'
|
||||
abbr gpristine 'git reset --hard && git clean -dffx'
|
||||
abbr grs- 'git reset --'
|
||||
abbr grs 'git reset --no-recurse-submodules'
|
||||
abbr grs! 'git reset --no-recurse-submodules --hard'
|
||||
abbr grsh 'git reset --no-recurse-submodules HEAD'
|
||||
abbr grsh! 'git reset --no-recurse-submodules HEAD --hard'
|
||||
abbr gpristine 'git reset --no-recurse-submodules --hard && git clean -dffx'
|
||||
abbr grs- 'git reset --no-recurse-submodules --'
|
||||
abbr grm 'git rm'
|
||||
abbr grmc 'git rm --cached'
|
||||
abbr grst 'git restore'
|
||||
|
|
Loading…
Reference in a new issue