Last active
December 17, 2015 22:49
-
-
Save michaelklapper/5685099 to your computer and use it in GitHub Desktop.
Create a mirror including some notes about how to manage custom branches additionally.
This file contains 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
git clone --mirror git://git.typo3.org/Packages/TYPO3.CMS.git | |
git remote add github [email protected]:michaelklapper/TYPO3.CMS.git | |
git push [email protected]:michaelklapper/TYPO3.CMS.git | |
git remote update | |
git push [email protected]:michaelklapper/TYPO3.CMS.git | |
git checkout -b morphodo/TYPO3_4-7/4-7-12 TYPO3_4-7-12 | |
// add changes | |
git push origin morphodo/TYPO3_4-7/4-7-12 | |
// how to bring your changes to the next stable tag? | |
git checkout -b morphodo/TYPO3_4-7/4-7-13 origin/morphodo/TYPO3_4-7/4-7-12 | |
git rebase TYPO3_4-7-13 | |
// add changes | |
git push origin morphodo/TYPO3_4-7/4-7-13 | |
// let jenkins do the regular pushes | |
su jenkins -c "cd /git remote update && git push [email protected]:michaelklapper/TYPO3.CMS.git" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
GIT