how do I manually install the sync and submit aliases? #1021
-
I had an existing git-related tool on my machine that had already squatted the aliases sync and submit. I no longer use it. However, when I ran branchless init for the first time, it skipped setting up its own aliases. I removed the old aliases, and would like to install the branchless aliases now, but I don't know how to do that. Rerunning branchless init again doesn't do it, and I don't want to go rooting around through the source code to find out what the right answer is. Can you advise? Thanks very much. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I could have sworn that Anyway, they are just regular git aliases, stored in the repo-local config file |
Beta Was this translation helpful? Give feedback.
I could have sworn that
branchless init
installed missing aliases when I've run it in the past, but maybe that was only for newly introduced aliases? 🤷Anyway, they are just regular git aliases, stored in the repo-local config file
.git/branchless/config
. You can either edit that file manually to add them, or run something likegit config -f .git/branchless/config alias.sync 'branchless sync'
etc. You'll have to do that in each affected repo. (You can also just install the aliases globally, w/ the risk being that you may run it in a repo that hasn't beeninit
ed.)