“GitHub Show Current Branch” Réponses codées

GitHub Show Current Branch

git branch --show-current
Average Ant

Obtenez le nom de branche actuel Git

git rev-parse --abbrev-ref HEAD
Average Ant

Vérifiez la branche actuelle github

git branch
# should show all the local branches of your repo. The starred branch is your current branch.

# If you want to retrieve only the name of the branch you are on, you can do:

git rev-parse --abbrev-ref HEAD
# or with Git 2.22 and above:

git branch --show-current
Mobile Star

GitHub Show Current Branch

git branch --show-current
Owl Coder

Réponses similaires à “GitHub Show Current Branch”

Questions similaires à “GitHub Show Current Branch”

Plus de réponses similaires à “GitHub Show Current Branch” dans Shell/Bash

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code