Skip to content

Instantly share code, notes, and snippets.

@ladislas
Last active August 21, 2017 13:24
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 ladislas/e2f8fca288669bccafb93bfa8104749a to your computer and use it in GitHub Desktop.
Save ladislas/e2f8fca288669bccafb93bfa8104749a to your computer and use it in GitHub Desktop.
printf "\nCloning weareleka/chibios to chibios\n"
git clone https://github.com/weareleka/chibios --depth=1
printf "\nChanging directory to chibios\n"
cd chibios
printf "\nChanhing the fetch origin config\n"
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
printf "\nFetching the stable branch\n"
git fetch origin stable_17.6.x --depth=1
printf "\nCheckingout stable\n"
git checkout stable_17.6.x
printf "\nCreating stable-slim"
git checkout -b stable_17.6.x-slim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment