Create and maintain a personal branch in Launchpad

Important

This document has been migrated from help.launchpad.net as is, and has not yet been revised. The content might be outdated, links and images could be broken. We are aware and will fix any issues as soon as possible.

Branches hosted by Launchpad are usually associated with a project.

If you’d prefer to upload a branch to Launchpad without it showing up in any project’s branch listings, you can use the +git pseudo-project. This can be useful if your branch is:

  • for a project not yet in Launchpad

  • not ready to be publicly associated with a project.

+git branches work in a similar way to normal branches: anyone can create their own branch and they show up in your own branch list.

However, there are some differences:

  • you can’t propose a +git branch for merging

  • they don’t show up in any project’s branch listing

  • you don’t earn karma from +git branches.

If you want to collaborate on a +git branch with someone else, you need to make the branch be owned by a team that both you and the other person are members of. Better still, when you are ready to collaborate, you should create a project and move the +git branch into the project.

Create a +git branch

Adding a +git branch to Launchpad is the same as creating any other hosted branch. Instead of using the project name in the branch URL, you use +git.

For instance:

user@host:~$
git push git.launchpad.net:~matthew.revell/+git/mybranch

Next steps

If you want to work on a project that uses an external git repository to host its main line of development, you can ask Launchpad to import it into a git branch.