Skip to content

This repository includes a python script to automate fixing up files to commits.

Notifications You must be signed in to change notification settings

nuno-aac/git-fixupper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

git-fixupper

This repository includes a python script to automate fixing up files to commits.

Script dependencies

The following package dependecies must be installed before using this script.

  • termcolor

Usage

When the script is run in a git folder it prints to the console all the modified files in the repository grouped by the last commit they were present in.

--fixup flag

If the --fixup flag is passed to the script the user will be prompted to confirm if the commits should be fixed up automatically.

Example

Modify the following alias with the correct path and add it to your gitconfig:

fixupper = !sh -c 'python3 ~/Path/to/fixupper.py $1' -

Example usage:

Screen.Recording.2023-02-18.at.14.01.29.mov

About

This repository includes a python script to automate fixing up files to commits.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages