From 6ce590f95b65e99fc8cf797739bfc3a009c94efa Mon Sep 17 00:00:00 2001 From: alemi Date: Mon, 4 Mar 2024 15:54:38 +0100 Subject: [PATCH] docs: added git alias to quickly run tci --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 4acb8d1..0efd6b6 100644 --- a/README.md +++ b/README.md @@ -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 ` alias, which you can use to quickly checkout, pull, merge and push on tci branch