diff --git a/README.markdown b/README.markdown index 44a7a7b..fe20707 100644 --- a/README.markdown +++ b/README.markdown @@ -51,7 +51,7 @@ $ ga 2 3 11 And if you want to add all unstaged changes (files 1 to 10): ```bash -$ ga 1..10 +$ ga 1-10 ``` (Note that `ga` will also remove deleted files, unlike the standard `git add` command. @@ -76,7 +76,7 @@ $ echo $e4 # => assets/git_breeze/git_breeze.sh $ ge echo 4 # => assets/git_breeze/git_breeze.sh -$ ge echo 1..3 +$ ge echo 1-3 # expands to echo $e1 $e2 $e3 # => _shared.sh assets/git_breeze/config.example.sh assets/git_breeze/config.sh ``` @@ -131,43 +131,45 @@ It's similar to [autojump](https://github.com/joelthelion/autojump), but it does and it can do SCM-specific stuff like: * Running a command for all of your repos (useful if you ever need to update a lot of remote URLs) -* Auto-updating a repo when you switch to it and it hasn't been updated for at least 5 hours. +* Update all of your repositories via a cron task -The default alias for `git_index` is 's', which could stand for 'source' or 'switch' :) +The default alias for `git_index` is 'c', which might stand for 'code' You will first need to configure your repository directory, and then build the index: ```bash -$ s --rebuild -# => == Scanning /home/ndbroadbent/src for git repos & submodules... -# => ===== Indexed 64 repos in /home/ndbroadbent/src/.git_index +$ c --rebuild +# => == Scanning /home/ndbroadbent/code for git repos & submodules... +# => ===== Indexed 64 repos in /home/ndbroadbent/code/.git_index ``` -Then you'll be able to switch between your projects, or show the list of indexed repos: - -
-