Skip to content

Recover recently staged files in git, even if you forgot to commit them

Notifications You must be signed in to change notification settings

fredoverflow/pangit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pangit

Background

Have you ever staged some files in git, forgot to commit them and then messed something up? Fear not, staged files are usually recoverable within a certain time frame!

pangit lets you browse all recently staged files, even uncommitted ones, sorted by most recently staged. (Doing this manually with git plumbing commands is possible, but tedious.)

Does the name mean anything?

"pangit" is an amalgamation of "panic" and "git". I pronounce it like "dangit", but with the first letter rotated 180° ;)

Apparently, "pangit" means "ugly" in Tagalog. I wasn't aware of that when I picked the name, but given git's own etymology, I'm fine with it.

How do I compile pangit into an executable jar?

git clone https://github.com/fredoverflow/pangit
cd pangit
mvn package

The executable pangit.jar will be located inside the target folder.

About

Recover recently staged files in git, even if you forgot to commit them

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages