Git-maus » History » Revision 2

« Previous | Revision 2/44 (diff) | Next »
Dobbs, Adam, 21 December 2016 14:08


Besides Launchpad and bazaar MAUS has beta level support for git and github. At the moment code updates for the trunk cannot be accepted from github however, only via Launchpad and bazaar.

Obtaining MAUS

  • Optional: set up an account on github and add an ssh key
  • Clone the MAUS repository using:
    git clone
  • Move into the maus directory and check the branches present with:
    git branch -av

    The following branches should be present master (the release branch), merge, release-candidate
  • Switch to the branch desired using e.g. for the release:
    git checkout master
  • Build MAUS as usual


  • Set up an account on github and add an ssh key
  • Clone the MAUS repository as described above
  • Fork the MAUS repository on github
    • Go to MAUS github page and login into github
    • Click "Fork" in the top right of the screen, selecting the option to fork to your own account
  • Add your fork as a new remote in your local MAUS git repository
    • Copy the address of your new fork from github (something like, where jbloggs is your github username)
    • Return to the terminal and navigate to the MAUS git repository created earlier
    • Add your new forked repository using:
      git remote add my-fork

      where jbloggs is your github username.
  • Fork the merge branch locally:
    git checkout merge
    git checkout -b my-feature-branch
  • Push your local fork of the merge branch to your remote repository:
    git push my-fork my-feature-branch
  • Do some coding
  • When ready add the files you have modified or created ready for committing:
    git add <files>
  • Commit your changes:
    git commit -m 'Some informative message about the changes'

Updated by Dobbs, Adam over 7 years ago · 2 revisions