-
Notifications
You must be signed in to change notification settings - Fork 304
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.git
BRANCH = branch you want to update
git checkout $BRANCH
git fetch upstream
git merge upstream/$BRANCH
git push origin $BRANCH
git push origin $BRANCH:$DIFFERENT_BRANCH
git reset --hard HEAD
git grep $STRING