Skip to content

Latest commit

 

History

History

git-default-branch

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

git default-branch

Get the default branch name

Git alias:

default-branch = config init.defaultBranch

Example:

git default-branch
main