% git-reset(1) Version 0.1.1 | git-reset
NAME
Reset as if it was a clean git clone
Cancel all modifications and start fresh
HOW
This function performs:
- a reset hard
- and a clean
SYNOPSIS
Reset as if it was a clean: git clone (git reset Hard and git clean)
git-reset
TIP
You can add it as alias
- in your
~.gitconfig
[alias]
gr = "!git-reset"
- in your
~.bashrc
alias gr = git-reset