Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.56 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.56 KB

util

Random bash utils, some adapted from other peeps' stuff. Primarily

  • git-submodule-ext - Submodule extensions. See SUBMODULES.md for more info.
  • git-new-workdir - Modified from git/contrib to work for submodules
  • git-emeld - Editable version of git-meld using git-new-workdir
  • run-or-raise - Basic implementation (should use other one ??? )

Setup

sudo ./install /usr/local/bin
./aliases # Set some git aliases

If you wish to develop on them while keeping in your $PATH, then do

./install --link ~/local/bin
./aliases

To set up auto completion to link to your development version, add it to ~/.bash_completion:

#!/bin/bash
source /path/to/git-util/git-sube

Credits

  • Jens Lehmann, Junio Hamano, Heiko Voigt, Phil Hord - Design guidance and suggestions and for modifications to submodule foreach.
  • Julian Phillips, Shawn O. Pearce - Original git-new-workdir
  • Antonin Hildebrand - Discussion for git-new-workdir with submodules
  • wmanley - Original git-meld
  • Vicky Chijwani - run-or-raise blog post
  • David Mikalova - better run-or-raise implementation, brocket

Todo

  • Add git-submodule-ext dir-sync with two options:
    1. super - Will ensure that all submodule $GIT_DIR's are in the supermodule's $GIT_DIR/modules/$path
    2. repo - Will ensure that all submodule $GIT_DIR's are in the submodule's $path/.git