Add support for submodules.
[git-scripts.git] / README
blob2b1ea14121c814ca1341dcea0888b0025f17a655
1 This project aims at providing some scripts and hooks for Git.
3 A first script (git-svn-create-dirs) can be used to create empty
4 directories for a git-svn repository.
6 A second script (git-branch-status) is to display a global status
7 (merge, rebase, date) about all branches. This helps managing
8 repositories with a lot of topic branches.
10 Add support for completion for git-branch-status :
12  - Add git-branch-status in your $PATH
13  - Edit git-completion.bash :
15 --- a/contrib/completion/git-completion.bash
16 +++ b/contrib/completion/git-completion.bash
17 @@ -1144,6 +1144,7 @@ _git ()
18         bisect)      _git_bisect ;;
19         bundle)      _git_bundle ;;
20         branch)      _git_branch ;;
21 +       branch-status) _git_branch ;;
22         checkout)    _git_checkout ;;
23         cherry)      _git_cherry ;;
24         cherry-pick) _git_cherry_pick ;;
25 @@ -1194,6 +1195,7 @@ complete -o default -o nospace -F _git_am git-am
26  complete -o default -o nospace -F _git_apply git-apply
27  complete -o default -o nospace -F _git_bisect git-bisect
28  complete -o default -o nospace -F _git_branch git-branch
29 +complete -o default -o nospace -F _git_branch git-branch-status
30  complete -o default -o nospace -F _git_bundle git-bundle
31  complete -o default -o nospace -F _git_checkout git-checkout
32  complete -o default -o nospace -F _git_cherry git-cherry
34   - Then git branch-status <TAB> should display branches