Skip to content

v0.2.0

Compare
Choose a tag to compare
@draperunner draperunner released this 08 May 21:12
· 48 commits to master since this release

Add a path for git reset HEAD~

So you have a mess on your hands. What sort of mess?

1: An uncommitted mess
2: I accidentally committed something
3: My Git history is ugly
4: I have a bunch of old branches I want gone
> 2

Has anyone else seen it?

1: Yes
2: Not yet
> 2

How long ago?

1: Last commit
2: It seems like forever ago
> 1

What would make this better?

1: I forgot to add a file
2: A better message
3: Remove the last commit, but keep the changes
4: Throw the last commit away, and delete its changes
> 3

Looks like this is what you are looking for:

git reset HEAD~