Getting set up
To get started sign up for an account on Bitbucket
Fork the main repository
Now you can clone your fork using the https or ssh protocol e.g.
git clone https://YOUR_BB_USERNAME@bitbucket.org/YOUR_BB_USERNAME/librepilot.git
for https which is the easiest to set up.
Next add the main LibrePilot remote, you can use anything that makes sense instead of
upstream, I simply use
bb to keep the length down.
git remote add upstream https://bitbucket.org/librepilot/librepilot.git
You shouldn't need a
next branch in your fork so:
git fetch upstream
git branch --set-upstream-to=upstream/next next
git push origin --delete next