Share Share on Facebook Share on Twitter Pinterest Email create the branch using Github. git checkout -b new-branch-name old-branch-name; push files in GitHub. git push -origin branch-name; Switch branch using Github. git checkout branch_name; 0 Siddharth Shukla Website Related Posts The following untracked working tree files would be overwritten by merge, but I don’t care December 6, 2021 Ways to fix “-bash: ng: command not found” April 22, 2021 failed to update ref ./HEAD.lock Permission denied April 1, 2021 Use a git repository on /var/www/html/ November 4, 2020 Write A Comment Cancel Reply Save my name, email, and website in this browser for the next time I comment.
The following untracked working tree files would be overwritten by merge, but I don’t care December 6, 2021