Skip to content

Helpful Git commands

aronasorman edited this page Oct 8, 2014 · 5 revisions

You should clone from your forked repo for this to work:

Set up your upstream remote

git remote add upstream git@github.com:learningequality/ka-lite.git

Update your repo with changes from upstream

BRANCH = branch you want to update

git checkout $BRANCH
git fetch upstream
git merge upstream/$BRANCH

Push your branch to your remote repo on GitHub

git push origin $BRANCH
Clone this wiki locally