User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
general:developer_faq [2012-11-02 17:21]
Carsten [Where are the Visual Studio project files?]
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 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. +
- +
-One way to achieve this is to use Git: +
-  * http://git-scm.com/ +
-  * http://progit.org/book/ch8-1.html +
- +
-Our plan is to provide an official Cafu Git repository at a later timeUntil then, you can use ''​git svn'',​ a very good bridge between Git and Subversion. This tool allows you to use Git for your own project and at the same time pull changes from the official Cafu Subversion repository. +
- +
-This set of commands imports the entire Cafu Subversion repository into a local Git repository:+
  
 +You can /*now*/ clone the Cafu source code repository like this:
 <code bash> <code bash>
-> git --version +> git clone --recursive ​https://bitbucket.org/cafu/cafu.git Cafu
-git version 1.7.9.msysgit.0 +
- +
-> type authors.txt ​   # You have to create this file in a text editor! +
-Carsten = Carsten Fuchs <​carsten.fuchs@cafu.de>​ +
- +
-> git svn clone "https://srv7.svn-repos.de/dev123/​projects/cafu" -s --authors-file=authors.txt cafu_git ​+
 </​code>​ </​code>​
-Please refer to the Git documentation for more details. 
-See [[http://​www.cafu.de/​forum/​viewtopic.php?​f=6&​t=1081|this forum post]] for Cafu on GitHub. 
  
 +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? =====
general/developer_faq.1351873312.txt.gz · Last modified: 2013-01-07 12:07 (external edit)