Skip to content

`binary-conflict` improves git's binary merge behavior.

License

Notifications You must be signed in to change notification settings

black7375/binary-conflict

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binary Conflict

binary-conflict improves git's binary merge behavior. (It's for proof of concept)

Git only indicates that files have coflicted, and should be confirmed through git checkout --ours -- <path> or git checkout --theirs -- <path>.

image

This project makes it easy to select by showing files base branch and their branch.

image

Usage

After installing this, define merge behavior in .git/config file.

[merge "binary-merge"]
	name = Create base, ours, theirs file for conflict
	driver = ../target/release/binary-conflict %O %A %B %P

Then, You can apply it in .gitattributes file.

[attr]BINARY diff=binary merge=binary-merge -text

*.png BINARY

Sample

cd example && ./example.sh

Grapic source

About

`binary-conflict` improves git's binary merge behavior.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published