Skip to content

A git difftool/mergetool wrapper

License

Notifications You must be signed in to change notification settings

Ben-Kaniobi/Versus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Versus

A git difftool/git mergetool wrapper

Features

  • Uses git difftool or

  • Uses git mergetool when merge conflicts were detected

  • Automatically uses --staged option when only cached files specified/available

  • Automatically uses --dir-diff option depending on number of files changed

  • Support for unversioned files

Installation

  1. Download or clone this repository

  2. Copy/move the script files to ~/bin or any other directory that is added to PATH.

  3. Make sure both are executable: chmod +x vs git-difftool-cmd

  4. Make sure you have a difftool and mergetool set in your git config.
    Recommended setup (example with BeyondCompare 3 → bc3 keyword):

    [diff]
    	tool = bc3
    [merge]
    	tool = bc3
    [difftool]
    	prompt = false
    [mergetool]
    	prompt = false

Usage

vs [OPTIONS]... [FILES]

OPTIONS: Same as for git difftool

About

A git difftool/mergetool wrapper

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages