Skip to content

FedericoCeratto/git-split

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

git-split

Split an old commit in git using vimdiff or meld.

Installation:

Clone or copy git-split in your $PATH

Usage:

Create a backup copy of your work.

Run git split at the root of your repository.

$ git split <commitish> <filename>

git-split displays the previous contents of the file on the tab on left (.begin) and the future contents on the right (.end)

Edit the file in the central column and save it.

git-split then asks to commit the changes between the left and center column.

Later at asks to commit the changes between the center column and the right column.

To split a commit into more than two run git-split multiple times.

About

Split old commit in git using vimdiff or meld

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages