~greenfoo/c_script

Quick & dirty script to view diffs between git revisions and/or folders
df002024 — Fernando Ramos 4 years ago
Add license
0da00b1b — Fernando 8 years ago
README.md in proper markdown
069dc166 — Fernando Ramos 8 years ago
Big bang

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~greenfoo/c_script
read/write
git@git.sr.ht:~greenfoo/c_script

You can also use your local clone with git send-email.

#Description

Text based tool to compare:

  • Two folders.
  • One folder with one version control system revision.
  • Two version control system revisions.
    NOTE:
      Right now the only supported version control system is "git"

Execute "c --help" for further info.

Examples:

$ c folder1 folder2
$ c origin/my_branch
$ c backup orign/some_branch
$ c origin/branch1^ origin/branch1

#Install procedure

Simply execute the provided ìnstall.sh script, which will:

  1. Copy "c" to "/usr/local/bin"

  2. Copy "meldgit.sh" to "/usr/local/bin"

  3. chmod +x /usr/local/bin/c

  4. chmod +x /usr/local/bin/meldgit.sh

  5. Copy folder "c_script_libs" (and its contents) into "/usr/local/bin"

  6. Add the following lines to your "~/.gitconfig" file:

        [diff]
          external = "meldgit.sh"