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:
əlemi 2024-05-09 19:29:38 +02:00
parent e92baf174f
commit e0e3041db7
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -67,7 +67,7 @@ and done! should enable tci for all repos (if they are configured to allow it)
just run just run
```sh ```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 it will add a `git tci <branch>` alias, which you can use to quickly checkout, pull, merge and push on tci branch