Jump to content
  • We are looking for staff for the Wiki area!
    If interested please
    click here and select "Documentation Team"

  • Git - Switching between branches


    antz
     Share

    Sometimes you may want to switch between branches, i.e. between Release and Development branches

    To switch to a Development branch, for example develop21
    Type:
    git checkout develop21
    git pull --recurse-submodules
    git submodule init
    git submodule update
    To switch to a Release branch.
    Type:
    git checkout release20
    git pull --recurse-submodules
    git submodule init
    git submodule update

    The folders will then contain the updated contents of the repo for this branch.

    Edited by antz

     Share


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use