Fix git hard reset to origin branch alias (groh) (#654)

An extra '$' was preventing the command from working.
This commit is contained in:
fnuttens 2023-10-31 18:09:51 +01:00 committed by GitHub
parent 8add04deb8
commit c2bb125a67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,7 +138,7 @@ export alias grbs = git rebase --skip
export alias grev = git revert
export alias grh = git reset
export alias grhh = git reset --hard
export alias groh = git reset $"origin/$(git_current_branch)" --hard
export alias groh = git reset $"origin/(git_current_branch)" --hard
export alias grm = git rm
export alias grmc = git rm --cached
export alias grmv = git remote rename