Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to commit to main branch in git

git checkout -b your-new-branch
git add <files>
git commit -m <message>
 
PREVIOUS NEXT
Tagged: #commit #main #branch #git
ADD COMMENT
Topic
Name
5+9 =