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
Just wondering if you would consider this behaviour (maybe configurable by an option setting) to be inside of the scope of this project?
I often have the case that there are new branches on the remote that I would like to automatically checkout and track, so this would be nice.
FWIW, the following bash snippet seemed to work for me (although it may be dependent on the exact git version), see this SO answer:
for b in `git branch -r | grep -v -- '->'`; do git branch --track ${b##origin/} $b; done
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Just wondering if you would consider this behaviour (maybe configurable by an option setting) to be inside of the scope of this project?
I often have the case that there are new branches on the remote that I would like to automatically checkout and track, so this would be nice.
FWIW, the following bash snippet seemed to work for me (although it may be dependent on the exact git version), see this SO answer:
The text was updated successfully, but these errors were encountered: