Skip to content

Tool that automatically git commits to repo tracked files that have changed within given time interval

License

Notifications You must be signed in to change notification settings

roboto84/forgit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

forgit

About

forgit is a tool that automatically git commits to a repo at a given time interval (24hrs by default) if tracked files have changed.

Requirements

Install

  • With pipx:
    pipx install git+https://github.com/roboto84/forgit.git
    

or

  • Local build with poetry:
    git clone https://github.com/roboto84/forgit.git
    
    cd forgit
    
    poetry install
    

Usage

  • With pipx

    forgit
    
  • With poetry

    poetry run forgit
    

Options

Flag Title Description Use
-h help Show help menu. forgit -h
-v version Show forgit version. forgit -v
-p persist By default Forgit clears the terminal on each status refresh. Set -p to disable this feature. forgit -p
-d path directory path Git directory to manage.
Default: ./
forgit -d /home/projectA
-i time interval time Interval to check the given git repository for a possible auto-commit.
Default: 24h
forgit -i 10h
-m message commit message Git commit message.
Default: auto-commit
forgit -m "My commit message."

Commit Conventions

Git commits follow Conventional Commits message style as explained in detail on their website.


forgit icon created by Parzival’ 1997 - Flaticon

About

Tool that automatically git commits to repo tracked files that have changed within given time interval

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages