mirror of
https://git.alemi.dev/tci.git
synced 2024-11-14 04:39:19 +01:00
docs: better tci git alias
&& instead of ; so that it will stop at first error, but always checkout back to source branch
This commit is contained in:
parent
e92baf174f
commit
e0e3041db7
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ and done! should enable tci for all repos (if they are configured to allow it)
|
|||
just run
|
||||
|
||||
```sh
|
||||
git config --global alias.tci '!func(){ git checkout tci; git pull; git merge $1; git push; git checkout $1; }; func'
|
||||
git config --global alias.tci '!func(){ git checkout tci && git pull && git merge $1 && git push; git checkout $1; }; func'
|
||||
```
|
||||
|
||||
it will add a `git tci <branch>` alias, which you can use to quickly checkout, pull, merge and push on tci branch
|
||||
|
|
Loading…
Reference in a new issue