From e0e3041db78d45c04bfd5ca295e6ff98672b4ba1 Mon Sep 17 00:00:00 2001 From: alemi Date: Thu, 9 May 2024 19:29:38 +0200 Subject: [PATCH] docs: better tci git alias && instead of ; so that it will stop at first error, but always checkout back to source branch --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0efd6b6..9c90d31 100644 --- a/README.md +++ b/README.md @@ -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 ` alias, which you can use to quickly checkout, pull, merge and push on tci branch