RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Back to master branch?

    Scheduled Pinned Locked Moved Ideas and Development
    fkmsrpi4masterbranch
    6 Posts 5 Posters 456 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SwampyS
      Swampy
      last edited by

      How can I switch from fkms_rpi4 to master branch?

      Linux is like wigwam: no Gates, no Windows and Apache inside.

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        Just run from the command line:

        cd  $HOME/RetroPie-Setup 
        git checkout master
        

        and that should be it.

        SwampyS A 2 Replies Last reply Reply Quote 1
        • SwampyS
          Swampy @mitu
          last edited by

          @mitu thank you very much.

          Linux is like wigwam: no Gates, no Windows and Apache inside.

          1 Reply Last reply Reply Quote 0
          • A
            AllGood65 @mitu
            last edited by

            @mitu This didn't work for me. I got the error "pathspec 'master' did not match any file(s) known to git". Sorry newbie here and just want to switch back to the main branch. Any help would be appreciated.

            1 Reply Last reply Reply Quote 0
            • P
              psyke83 Global Moderator
              last edited by

              It seems that when you make a shallow clone of a git repository, it causes problems when you want to change to a different remote branch.

              This should fix your problem:

              git remote set-branches origin '*'
              git pull
              git checkout master
              
              1 Reply Last reply Reply Quote 0
              • H
                homejib
                last edited by

                also a n00b here. trying to do this and i'm getting :
                "Your local changes to the following files would be overwritten by checkout: retropie_packages.sh
                Please commit your changes or stash them before you switch branches"

                No idea what to do here...please help. thx

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.