... | ... | @@ -21,21 +21,3 @@ PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ ' |
|
|
|
|
|
These make using git so much easier!
|
|
|
|
|
|
**3) If [developing on multiple git repositories](???) install and setup the usage of `gitdist`**:
|
|
|
|
|
|
**3.a) Install gitdist into your env**, for example, after cloning Trilinos, set in your `~/.bash_profile` file:
|
|
|
|
|
|
```
|
|
|
alias gitdist=$TRILINOS_HOME/cmake/tribits/python_utils/gitdist
|
|
|
```
|
|
|
|
|
|
**3.b) Set up useful `gitdist` alias commands**, for example, in your `~/.bash_profile` file:
|
|
|
|
|
|
```
|
|
|
# Show compact table of repo stauts
|
|
|
alias gitdist-status="gitdist dist-repo-status"
|
|
|
# Run git command only on repos with changes w.r.t. tracking branch
|
|
|
alias gitdist-mod="gitdist --dist-mod-only"`
|
|
|
# Show compact table of repos status only for repos with changes w.r.t. tracking branch
|
|
|
alias gitdist-mod-status="gitdist dist-repo-status --dist-mod-only"
|
|
|
``` |