summaryrefslogtreecommitdiffstats
path: root/prompt.zsh
diff options
context:
space:
mode:
authorMatthias Baumgarten <matthias.baumgarten@web.de>2020-01-29 19:43:00 +0100
committerMatthias Baumgarten <matthias.baumgarten@web.de>2020-01-29 19:52:41 +0100
commit5c0970c9781a8770b9371a05e484d2334675a9d9 (patch)
tree4912b6b021e09ac71bb1eb50eaead224b13a352f /prompt.zsh
parent2ac25e3d1047cdf19f15bc894ff39449b83d65d4 (diff)
downloadgit-sonar-5c0970c9781a8770b9371a05e484d2334675a9d9.tar.gz
git-sonar-5c0970c9781a8770b9371a05e484d2334675a9d9.zip
Let the remote tracking branch be configurable
This commit allows the user to define a per repository or per branch specific configuration of which branch git-radar compares the current branch to. If no branch is configured explicitly "origin/master" will be used (being backwards compatible with the current behaviour). A branch specific remote tracking branch may be configured by executing git config --local branch."$(git rev-parse --abbrev-ref HEAD)".git-radar-tracked-remote origin/my-branch-to-compare-to A repository specific remote tracking may be configured by executing git config --local git-radar.tracked-remote origin/my-branch-to-compare-to A branch specific setting will overwrite a repository specific configuration (which will overwrite the default, i.e origin/master).
Diffstat (limited to 'prompt.zsh')
0 files changed, 0 insertions, 0 deletions