Last active
August 29, 2015 14:04
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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