Skip to content

Random bash utils, some adapted from other people's utilities

Notifications You must be signed in to change notification settings

eacousineau/util

Repository files navigation

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

About

Random bash utils, some adapted from other people's utilities

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published