- fork repo to personal repo (https://github.com/mozilla-iam/auth0-custom-lock ===fork===> https://github.com/gdestuynder/auth0-custom-lock)
git clone [email protected]:gdestuynder/auth0-custom-lock.git
cd auth0-custom-lock
git remote add upstream https://github.com/mozilla-iam/auth0-custom-lock
git branch -u master upstream/master
set tracking to the "true origin" so thatgit status
reports on it
git clone https://github.com/mozilla-iam/auth0-custom-lock
cd auth0-custom-lock
hub fork
this creates a local remote with your username and origin is now the "upstream". This tracks origin/master by default.
git checkout -b featurex
- work..work..work
git commit -a
git push origin featurex
hub pull-request
git checkout master
(if not already there)git pull -r upstream master
You could use my
fork-github-repo
tool for the Setup part.