Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to change git default branch name

$ git init
Initialised empty Git repository in /home/thomas/test-git-repo/.git/
$ git status
On branch main

No commits yet

nothing to commit (create/copy files and use "git add" to track)
Source by superuser.com #
 
PREVIOUS NEXT
Tagged: #change #git #default #branch
ADD COMMENT
Topic
Name
1+8 =