Skip to content

thenesterov/elgit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

elgit

The simplest tool for deferred commits

Download

git clone https://github.com/thenesterov/elgit.git

or

wget https://github.com/thenesterov/elgit/raw/master/elgit.py

Then make it executable:

chmod +x elgit.py

How to use?

To print help, use the -h or --help flag:

./elgit.py -h

To commit right now:

git add .
./elgit.py -m "Commit message"

To commit later, you can use the following flags:

  • --minutes
  • --absminutes
  • --hours
  • --abshours
  • --days
  • --absdays
  • --months
  • --absmonths
  • --randtime

Examples

Commit in N (e.g. 3) minutes/hours/days/months:

./elgit.py -m "Elgit commit" --minutes 3
./elgit.py -m "Elgit commit" --hours 3
./elgit.py -m "Elgit commit" --days 3
./elgit.py -m "Elgit commit" --months 3

Commit to a specific (absolute) value of minutes/hours/days/months:

./elgit.py -m "Elgit commit" --absminutes 3
./elgit.py -m "Elgit commit" --abshours 3
./elgit.py -m "Elgit commit" --absdays 3
./elgit.py -m "Elgit commit" --absmonths 3

You can combine flags:

./elgit.py -m "Elgit commit" --hours 1 --absminutes 30

You can also specify a random time value:

./elgit.py -m "Elgit commit" --days 1 --randtime

About

The simplest tool for deferred commits

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages