Answers for "git create new branch locally and then push it"

10

push a new branch

git push -u origin <branch-name>
Posted by: Guest on May-24-2020
0

push a new branch git

github@branch/c/remote/push  (new-branch)
git clone https://github.com/learn-git-fast/git-branch-examples.git
cd git*
git checkout -b new-branch

github@branch/c/remote/push (new-branch)
git branch -a
touch devolution.jpg
git add .
git commit -m "Are we not gender neutral people? We are Devo?"
git push --set-upstream origin new-branch

github@branch/c/remote/push (new-branch)
touch eden.html
git add .
git commit -m "Eden added"
git push origin
Posted by: Guest on April-25-2022

Code answers related to "git create new branch locally and then push it"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language