Document

SUBSCRIBE TO GET FULL ACCESS TO THE E-BOOKS FOR FREE 🎁SUBSCRIBE NOW

Professional Dropdown with Icon

SUBSCRIBE NOW TO GET FREE ACCESS TO EBOOKS

Git - Create Remote branches

 Once you are having different branches on the local Repository then you can push the code changes to respective branches on Github so that developers can download/upload the code into their respective branches.

Step 1: Push the changes of the main branch to Github Repo

          git status  

          git push origin main

       There will be the main branch and the latest code of the local main branch should be on Github’s main branch.

Step 2: Create a branch (consider sdev1 has a local branch) on Github using the local Repository.

         git push origin sdev1

         git push origin jdev1

        git push origin jdev2

Step 3: Check on the github.com repository all the branches should be created.

Share your love

Leave a Reply

Your email address will not be published. Required fields are marked *