This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
general:developer_faq [2012-11-03 22:10] Carsten [How do I locally clone the Cafu source code repository?] |
general:developer_faq [2017-02-06 11:43] (current) Carsten [How can I clone the Cafu source code repository?] |
||
---|---|---|---|
Line 52: | Line 52: | ||
- | ===== How do I locally clone the Cafu source code repository? ===== | + | ===== How can I clone the Cafu source code repository? ===== |
- | When you start working with Cafu, picking up the source code from a compressed archive or from the Subversion repository is sometimes not enough: | + | /* We have recently completed our migration from Subversion to Git (detailed report: [[http://forum.cafu.de/viewtopic.php?f=14&t=1090|Part 1]], [[http://forum.cafu.de/viewtopic.php?f=14&t=1092|Part 2]]). */ |
- | + | ||
- | Many developers prefer to manage their project in their own version control system, but also wish to integrate the latest changes (e.g. bug-fixes and new features) from the official Cafu repository into theirs from time to time. The synchronization of the projects code with the original Cafu source code should be as convenient and automatic as possible. | + | |
- | + | ||
- | You can achieve this with Git: | + | |
- | * http://git-scm.com/ | + | |
- | * http://progit.org/book/ch8-1.html | + | |
- | + | ||
- | We have almost completed our migration from Subversion to Git (detailed report: [[http://www.cafu.de/forum/viewtopic.php?f=14&t=1090|Part 1]], [[http://www.cafu.de/forum/viewtopic.php?f=14&t=1092|Part 2]]), and you can now obtain a clone of the official Cafu Git repository like this: | + | |
+ | You can /*now*/ clone the Cafu source code repository like this: | ||
<code bash> | <code bash> | ||
- | > git clone https://CarstenF@bitbucket.org/cafu/cafu.git Cafu | + | > git clone --recursive https://bitbucket.org/cafu/cafu.git Cafu |
</code> | </code> | ||
- | The related Git project page is at https://bitbucket.org/cafu/cafu, where you can post pull requests and find very good help texts regarding Git. | + | Also see [[cppdev:gettingstarted]] for more details and https://bitbucket.org/cafu/cafu, where you can browse the repository online, create forks, submit pull requests, and find additional help texts. |
===== How do I start a new game (MOD) project? ===== | ===== How do I start a new game (MOD) project? ===== |