Skip to content

Instantly share code, notes, and snippets.

@marduk191
Last active August 29, 2015 14:04
Show Gist options
  • Save marduk191/7f06f390b634fc1b8cf3 to your computer and use it in GitHub Desktop.
Save marduk191/7f06f390b634fc1b8cf3 to your computer and use it in GitHub Desktop.
This is a script to add the PantechDevTeam cm11 kernel branch to your local kernel repository.
#!/bin/bash
###########
# This is a script to add the PantechDevTeam cm11 kernel branch to your local kernel repository.
# It will retain all history and remotely track.
###########
## Add PDT cm-11.0 kernel repo as a remote
git remote add pdt git://github.com/PantechDevTeam/android_kernel_pantech_msm8660-common.git
## Fetch the pdt remote to sync
git fetch pdt
## Check out the remote branch <with version history> to local branch cm-11.0
git checkout -b cm11.0 pdt/cm-11.0
# This will use githubs server bandwidth. Only requires around 10MB of upload.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment