Skip to content

Instantly share code, notes, and snippets.

@graphicore
Created January 31, 2017 17:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save graphicore/7738ae5e0b8a4862c6e12d9f6ad72c01 to your computer and use it in GitHub Desktop.
Save graphicore/7738ae5e0b8a4862c6e12d9f6ad72c01 to your computer and use it in GitHub Desktop.
This are the commands used to update https://github.com/graphicore/googleFontsTools
# This are the commands used to update https://github.com/graphicore/googleFontsTools
# This file is stored externally, so we can run the commands like this without having to
# care for new commits from us in the forked repository.
# git remote add upstream git@github.com:google/fonts.git
git fetch -f upstream master
git checkout -b fonts upstream/master
git filter-branch -f --subdirectory-filter tools --prune-empty -- --all
git checkout master
git rebase fonts
git push
git branch -D fonts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment