mirror of
https://git.alemi.dev/tci.git
synced 2024-11-23 16:44:48 +01:00
docs: added git alias to quickly run tci
This commit is contained in:
parent
6e77f64f4d
commit
6ce590f95b
1 changed files with 9 additions and 0 deletions
|
@ -62,3 +62,12 @@ inside your `~/.gitconfig` just insert:
|
||||||
inside such directory, place `tci` and rename it to `post-update`
|
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)
|
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
|
||||||
|
|
Loading…
Reference in a new issue