You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aliases/available/git.aliases.bash
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -153,7 +153,9 @@ alias grma='GIT_SEQUENCE_EDITOR=: git rebase $(get_default_branch) -i --autosqu
153
153
alias gprom='git fetch origin $(get_default_branch) && git rebase origin/$(get_default_branch) && git update-ref refs/heads/$(get_default_branch) origin/$(get_default_branch)'# Rebase with latest remote
154
154
155
155
# reset
156
-
alias gus='git reset HEAD'
156
+
alias gus='git reset HEAD'# read as: 'git unstage'
157
+
alias grh='git reset'# equivalent to: git reset HEAD
158
+
alias grh!='git reset --hard'
157
159
alias gpristine='git reset --hard && git clean -dfx'
0 commit comments