You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Almost every command in git fuzzy results in the following error when first installed:
fatal: ref refs/remotes/origin/HEAD is not a symbolic ref
Upon reviewing the README, I realized that this is configurable using an environment variable.
Using an environment variable requires this change to be made within the shell (or .bashrc, for example), and makes it very difficult to have it set differently for different repos.
I suggest instead using a git config value.
E.g.:
git config gf.remote upstream
git config gf.branch main
This allows you to have a single global value set, and then override it on a repo-specific basis. Additionaly, it keeps git configuration within git, rather than having it within the shell.
The text was updated successfully, but these errors were encountered:
goodevilgenius
changed the title
Don't assume remote is called origin
Make merge base more easily configurable per repo
Jun 1, 2020
Almost every command in
git fuzzy
results in the following error when first installed:Upon reviewing the README, I realized that this is configurable using an environment variable.
Using an environment variable requires this change to be made within the shell (or
.bashrc
, for example), and makes it very difficult to have it set differently for different repos.I suggest instead using a git config value.
E.g.:
This allows you to have a single global value set, and then override it on a repo-specific basis. Additionaly, it keeps
git
configuration withingit
, rather than having it within the shell.The text was updated successfully, but these errors were encountered: