Bash-it / bash-it

A community Bash framework.
MIT License
14.23k stars 2.29k forks source link

Add alias for `git reset --hard` and `grh` like OMZ #2221

Open bittner opened 1 year ago

bittner commented 1 year ago

Adds two aliases for git reset, which are inspired by OMZ.

Description

Motivation and Context

The existing Git alias for git reset is not immediately obvious, unless you are used to think in terms of "stage" and "unstage".

How Has This Been Tested?

I use this on a daily basis, having it integrated identically in a fresh installation of Bash-it on my developer laptop.

The new aliases don't clash with existing ones, as verified manually by a simple text search in the file and a grep over the repository HEAD.

Types of changes

Checklist:

bittner commented 1 year ago

The failing of the lint job is likely unrelated to the changes in this PR. – Go error: undefined: any

bittner commented 11 months ago

Anyone interested to merge this PR?