Last active
March 10, 2016 11:45
-
-
Save greyltc/0fbdd69532e1276e69f6 to your computer and use it in GitHub Desktop.
script to keep aur repos up to date with github branches
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
#!/usr/bin/env bash | |
cd /tmp | |
git clone [email protected]:greyltc/pi-kernel-hacking.git | |
cd pi-kernel-hacking | |
git remote add pi2-default ssh+git://[email protected]/linux-rpi2-default-git.git | |
git remote add pi2-latest ssh+git://[email protected]/linux-rpi2-latest-git.git | |
git remote add pi3-default ssh+git://[email protected]/linux-rpi3-default-git.git | |
git remote add pi3-latest ssh+git://[email protected]/linux-rpi3-latest-git.git | |
git checkout pi2-default | |
#updpkgsums | |
#mksrcinfo | |
#git add . | |
#git commit -m "update checksums and srcinfo" | |
git push pi2-default +pi2-default:master | |
git checkout pi3-default | |
#updpkgsums | |
#mksrcinfo | |
#git add . | |
#git commit -m "update checksums and srcinfo" | |
git push pi3-default +pi3-default:master | |
git checkout pi2-latest | |
#updpkgsums | |
#mksrcinfo | |
#git add . | |
#git commit -m "update checksums and srcinfo" | |
git push pi2-latest +pi2-latest:master | |
git checkout pi3-latest | |
#updpkgsums | |
#mksrcinfo | |
#git add . | |
#git commit -m "update checksums and srcinfo" | |
git push pi3-latest +pi3-latest:master | |
#git push --all origin | |
cd | |
rm -rf /tmp/pi-kernel-hacking |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment