docs: added git alias to quickly run tci

This commit is contained in:
əlemi 2024-03-04 15:54:38 +01:00
parent 6e77f64f4d
commit 6ce590f95b
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -62,3 +62,12 @@ inside your `~/.gitconfig` just insert:
inside such directory, place `tci` and rename it to `post-update`
and done! should enable tci for all repos (if they are configured to allow it)
### making a git alias to quickly merge and push on tci branch
just run
```sh
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