We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
for example this is how I update default branch without switching to it:
git fetch -f . "$REMOTE_AND_BRANCH":"$BRANCH"
or with the script git fm
git fm
Source https://github.com/rofrol/dotfiles/blob/master/bin/git-fm
The text was updated successfully, but these errors were encountered:
Hi @rofrol ,
thanks for taking the time to report a possible improvement.
Thanks for the suggestion to use git fetch to get the default branch!
I'd like to avoid a remote call for the git operation. But maybe I can cache this information.
I'll think about it and come back to this.
Best regards, Christoph
Sorry, something went wrong.
but this is local call git fetch -f . when using dot .
git fetch -f .
.
eb2a11e
Use 'git branch -rl' to identify where */HEAD points to.
b2edd4e
Closes #11
siedentop
No branches or pull requests
for example this is how I update default branch without switching to it:
git fetch -f . "$REMOTE_AND_BRANCH":"$BRANCH"
or with the script
git fm
Source https://github.com/rofrol/dotfiles/blob/master/bin/git-fm
The text was updated successfully, but these errors were encountered: