-
Notifications
You must be signed in to change notification settings - Fork 303
Helpful Git commands
aronasorman edited this page Oct 8, 2014
·
5 revisions
You should clone from your forked repo for this to work:
git remote add upstream [email protected]:learningequality/ka-lite.gitBRANCH = branch you want to update
git checkout $BRANCH
git fetch upstream
git merge upstream/$BRANCHgit push origin $BRANCHgit push origin $BRANCH:$DIFFERENT_BRANCHgit reset --hard HEADgit grep $STRING