Skip to content

Commit

Permalink
Formatting the README.
Browse files Browse the repository at this point in the history
  • Loading branch information
YtvwlD committed Aug 2, 2015
1 parent 9cfe9ae commit 84aad13
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ Do you regret your changes to a GIT repository sometimes? That's when `git regre

Simply run

sudo make install
sudo make install

to install and

sudo make uninstall
sudo make uninstall

to remove it.
The requirements are GIT and Python 3.
Expand All @@ -23,16 +23,16 @@ You have to be in a GIT repository to use `git-regret`.

If you want to delete all changes you have made since the last commit, you would usually execute:

git reset --hard HEAD
git reset --hard HEAD

`git regret` improves this:

git regret --soft
git regret --soft

If you want to delete the last commit, but retain all changes, you would usually run:

git reset --soft HEAD^
git reset --soft HEAD^

Or you can use `git regret`:

git regret --hard
git regret --hard

0 comments on commit 84aad13

Please sign in to comment.