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
If the script runs something like git remote show origin | awk '/HEAD branch/ {print $NF}' it could retrieve the default branch name. That could replace the need to have a --branchoption. Though the default branch might still not always be the right one to use, so the--branch` option may still be necessary.
The text was updated successfully, but these errors were encountered:
If the script runs something like
git remote show origin | awk '/HEAD branch/ {print $NF}' it could retrieve the default branch name. That could replace the need to have a
--branchoption. Though the default branch might still not always be the right one to use, so the
--branch` option may still be necessary.The text was updated successfully, but these errors were encountered: