<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.vega-strike.org/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Breese</id>
		<title>VsWiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.vega-strike.org/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Breese"/>
		<link rel="alternate" type="text/html" href="https://wiki.vega-strike.org/Special:Contributions/Breese"/>
		<updated>2026-05-13T13:28:07Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.2</generator>

	<entry>
		<id>https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Checkout_GIT&amp;diff=17962</id>
		<title>HowTo:Checkout GIT</title>
		<link rel="alternate" type="text/html" href="https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Checkout_GIT&amp;diff=17962"/>
				<updated>2010-12-25T14:30:28Z</updated>
		
		<summary type="html">&lt;p&gt;Breese: Removed boost 1.28&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page describes how to use GIT with the Vega Strike SVN repository.&lt;br /&gt;
&lt;br /&gt;
[http://git-scm.com/ GIT] is a distributed sourcecode revision control system, which allows you to commit changes to a local repository and from there commit the changes to the remove Vega Strike SVN repository.&lt;br /&gt;
This is useful if you want to experiment with the codebase, or if you do not have commit privileges to the Vega Strike SVN repository.&lt;br /&gt;
&lt;br /&gt;
If you are unfamiliar with GIT, the you should start by reading the [https://git.wiki.kernel.org/index.php/GitSvnCrashCourse GIT SVN Crash Course].&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
First you need to install the GIT and GIT-SVN packages. How you do this, depends on your system.&lt;br /&gt;
&lt;br /&gt;
See the [http://book.git-scm.com/2_installing_git.html chapter 2] in the GIT Book.&lt;br /&gt;
&lt;br /&gt;
== Set up ==&lt;br /&gt;
After installing the two packages above, you have to set up a local git repository for the Vega Strike codebase.&lt;br /&gt;
&lt;br /&gt;
Normally git-svn will copy the full svn repository, that is all revisions of all files.&lt;br /&gt;
This takes takes a long time, and as you seldomly need the full history, you can instead copy from a given revision onwards.&lt;br /&gt;
&lt;br /&gt;
This command will only copy the most recent revision. If you want the full history, remove the &amp;quot;-rHEAD&amp;quot; option:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git svn clone -rHEAD https://vegastrike.svn.sourceforge.net/svnroot/vegastrike/trunk/vegastrike/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next you need to handle svn:externals. You can find them with &amp;quot;git svn show-externals&amp;quot;. There may be a better way using git submodules, but this works.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git svn clone -rHEAD http://svn.boost.org/svn/boost/tags/release/Boost_1_35_0/boost/ boost/1_35/boost&lt;br /&gt;
git svn clone -rHEAD http://svn.boost.org/svn/boost/tags/release/Boost_1_35_0/libs/python/src/ boost/1_35/src&lt;br /&gt;
git svn clone -rHEAD http://svn.boost.org/svn/boost/tags/release/Boost_1_45_0/boost/ boost/1_45/boost&lt;br /&gt;
git svn clone -rHEAD http://svn.boost.org/svn/boost/tags/release/Boost_1_45_0/libs/python/src/ boost/1_45/src&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We recommend that you add the following lines to your .gitignore file, which should be created in the same directory as the .git directory is located.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
boost/1_35&lt;br /&gt;
boost/1_45&lt;br /&gt;
boost_patched_gcc44&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You may also want to add auto-generated files to .gitignore.&lt;br /&gt;
&lt;br /&gt;
Now you are almost ready to work on the codebase. You just need to create a branch to work on. This will make it easier to keep your local GIT repository synchonized with the remote SVN repository.&lt;br /&gt;
&lt;br /&gt;
 git branch ''insert-your-branch-name''&lt;br /&gt;
 git checkout ''insert-your-branch-name''&lt;br /&gt;
&lt;br /&gt;
Replace ''insert-your-branch-name'' with the name that you want to call your branch.&lt;br /&gt;
&lt;br /&gt;
From here on, you can follow the normal build instructions.&lt;br /&gt;
&lt;br /&gt;
== Synchonize with SVN ==&lt;br /&gt;
If others commit changes to the remote SVN repository, you can update your local GIT repository as follows.&lt;br /&gt;
&lt;br /&gt;
Make sure that you have committed all your changes to the local GIT repository before you start synchronizing.&lt;br /&gt;
&lt;br /&gt;
First you need to update the trunk of your local GIT repository with the changes from the remote SVN repository.&lt;br /&gt;
&lt;br /&gt;
 git checkout master&lt;br /&gt;
 git svn rebase&lt;br /&gt;
&lt;br /&gt;
Next you can synchronize your branch with the trunk.&lt;br /&gt;
&lt;br /&gt;
 git checkout ''insert-your-branch-name''&lt;br /&gt;
 git pull . master&lt;br /&gt;
&lt;br /&gt;
== Submit your changes ==&lt;br /&gt;
The &amp;quot;git commit&amp;quot; operation only commits your changes to your local GIT repository. When you want to submit your changes to the remote SVN repository, then you have two options.&lt;br /&gt;
If you have commit privileges to the Vega Strike SVN repository, then you can use the &amp;quot;git svn dcommit&amp;quot; command. Otherwise you have to submit a patch to the Vega Strike forums.&lt;br /&gt;
&lt;br /&gt;
You can either use&lt;br /&gt;
&lt;br /&gt;
 git diff --no-prefix master..''insert-your-branch-name'' &amp;gt; mypatch.diff&lt;br /&gt;
&lt;br /&gt;
Better yet, you can use the following bash script, which will make sure that the output looks like an SVN patch.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
#&lt;br /&gt;
# git-svn-diff&lt;br /&gt;
# Generate an SVN-compatible diff against the tip of the tracking branch&lt;br /&gt;
TRACKING_BRANCH=`git config --get svn-remote.svn.fetch | sed -e 's/.*:refs\/remotes\///'`&lt;br /&gt;
REV=`git svn find-rev $(git rev-list --date-order --max-count=1 $TRACKING_BRANCH)`&lt;br /&gt;
git diff --no-prefix $(git rev-list --date-order --max-count=1 $TRACKING_BRANCH) $* |&lt;br /&gt;
sed -e &amp;quot;s/^+++ .*/&amp;amp;    (working copy)/&amp;quot; -e &amp;quot;s/^--- .*/&amp;amp;    (revision $REV)/&amp;quot; \&lt;br /&gt;
-e &amp;quot;s/^diff --git [^[:space:]]*/Index:/&amp;quot; \&lt;br /&gt;
-e &amp;quot;s/^index.*/===================================================================/&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For a more complete script see [https://gist.github.com/710219 git-svn-diff.sh].&lt;/div&gt;</summary>
		<author><name>Breese</name></author>	</entry>

	<entry>
		<id>https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Checkout_GIT&amp;diff=17961</id>
		<title>HowTo:Checkout GIT</title>
		<link rel="alternate" type="text/html" href="https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Checkout_GIT&amp;diff=17961"/>
				<updated>2010-12-25T12:36:56Z</updated>
		
		<summary type="html">&lt;p&gt;Breese: Upgraded to boost 1.45&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page describes how to use GIT with the Vega Strike SVN repository.&lt;br /&gt;
&lt;br /&gt;
[http://git-scm.com/ GIT] is a distributed sourcecode revision control system, which allows you to commit changes to a local repository and from there commit the changes to the remove Vega Strike SVN repository.&lt;br /&gt;
This is useful if you want to experiment with the codebase, or if you do not have commit privileges to the Vega Strike SVN repository.&lt;br /&gt;
&lt;br /&gt;
If you are unfamiliar with GIT, the you should start by reading the [https://git.wiki.kernel.org/index.php/GitSvnCrashCourse GIT SVN Crash Course].&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
First you need to install the GIT and GIT-SVN packages. How you do this, depends on your system.&lt;br /&gt;
&lt;br /&gt;
See the [http://book.git-scm.com/2_installing_git.html chapter 2] in the GIT Book.&lt;br /&gt;
&lt;br /&gt;
== Set up ==&lt;br /&gt;
After installing the two packages above, you have to set up a local git repository for the Vega Strike codebase.&lt;br /&gt;
&lt;br /&gt;
Normally git-svn will copy the full svn repository, that is all revisions of all files.&lt;br /&gt;
This takes takes a long time, and as you seldomly need the full history, you can instead copy from a given revision onwards.&lt;br /&gt;
&lt;br /&gt;
This command will only copy the most recent revision. If you want the full history, remove the &amp;quot;-rHEAD&amp;quot; option:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git svn clone -rHEAD https://vegastrike.svn.sourceforge.net/svnroot/vegastrike/trunk/vegastrike/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next you need to handle svn:externals. You can find them with &amp;quot;git svn show-externals&amp;quot;. There may be a better way using git submodules, but this works.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git svn clone -rHEAD http://svn.boost.org/svn/boost/tags/release/Boost_1_28_0/boost/boost/ boost/1_28/boost&lt;br /&gt;
git svn clone -rHEAD http://svn.boost.org/svn/boost/tags/release/Boost_1_28_0/boost/libs/python/src/ boost/1_28/src&lt;br /&gt;
git svn clone -rHEAD http://svn.boost.org/svn/boost/tags/release/Boost_1_35_0/boost/ boost/1_35/boost&lt;br /&gt;
git svn clone -rHEAD http://svn.boost.org/svn/boost/tags/release/Boost_1_35_0/libs/python/src/ boost/1_35/src&lt;br /&gt;
git svn clone -rHEAD http://svn.boost.org/svn/boost/tags/release/Boost_1_45_0/boost/ boost/1_45/boost&lt;br /&gt;
git svn clone -rHEAD http://svn.boost.org/svn/boost/tags/release/Boost_1_45_0/libs/python/src/ boost/1_45/src&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We recommend that you add the following lines to your .gitignore file, which should be created in the same directory as the .git directory is located.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
boost/1_28&lt;br /&gt;
boost/1_35&lt;br /&gt;
boost/1_45&lt;br /&gt;
boost_patched_gcc44&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You may also want to add auto-generated files to .gitignore.&lt;br /&gt;
&lt;br /&gt;
Now you are almost ready to work on the codebase. You just need to create a branch to work on. This will make it easier to keep your local GIT repository synchonized with the remote SVN repository.&lt;br /&gt;
&lt;br /&gt;
 git branch ''insert-your-branch-name''&lt;br /&gt;
 git checkout ''insert-your-branch-name''&lt;br /&gt;
&lt;br /&gt;
Replace ''insert-your-branch-name'' with the name that you want to call your branch.&lt;br /&gt;
&lt;br /&gt;
From here on, you can follow the normal build instructions.&lt;br /&gt;
&lt;br /&gt;
== Synchonize with SVN ==&lt;br /&gt;
If others commit changes to the remote SVN repository, you can update your local GIT repository as follows.&lt;br /&gt;
&lt;br /&gt;
Make sure that you have committed all your changes to the local GIT repository before you start synchronizing.&lt;br /&gt;
&lt;br /&gt;
First you need to update the trunk of your local GIT repository with the changes from the remote SVN repository.&lt;br /&gt;
&lt;br /&gt;
 git checkout master&lt;br /&gt;
 git svn rebase&lt;br /&gt;
&lt;br /&gt;
Next you can synchronize your branch with the trunk.&lt;br /&gt;
&lt;br /&gt;
 git checkout ''insert-your-branch-name''&lt;br /&gt;
 git pull . master&lt;br /&gt;
&lt;br /&gt;
== Submit your changes ==&lt;br /&gt;
The &amp;quot;git commit&amp;quot; operation only commits your changes to your local GIT repository. When you want to submit your changes to the remote SVN repository, then you have two options.&lt;br /&gt;
If you have commit privileges to the Vega Strike SVN repository, then you can use the &amp;quot;git svn dcommit&amp;quot; command. Otherwise you have to submit a patch to the Vega Strike forums.&lt;br /&gt;
&lt;br /&gt;
You can either use&lt;br /&gt;
&lt;br /&gt;
 git diff --no-prefix master..''insert-your-branch-name'' &amp;gt; mypatch.diff&lt;br /&gt;
&lt;br /&gt;
Better yet, you can use the following bash script, which will make sure that the output looks like an SVN patch.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
#&lt;br /&gt;
# git-svn-diff&lt;br /&gt;
# Generate an SVN-compatible diff against the tip of the tracking branch&lt;br /&gt;
TRACKING_BRANCH=`git config --get svn-remote.svn.fetch | sed -e 's/.*:refs\/remotes\///'`&lt;br /&gt;
REV=`git svn find-rev $(git rev-list --date-order --max-count=1 $TRACKING_BRANCH)`&lt;br /&gt;
git diff --no-prefix $(git rev-list --date-order --max-count=1 $TRACKING_BRANCH) $* |&lt;br /&gt;
sed -e &amp;quot;s/^+++ .*/&amp;amp;    (working copy)/&amp;quot; -e &amp;quot;s/^--- .*/&amp;amp;    (revision $REV)/&amp;quot; \&lt;br /&gt;
-e &amp;quot;s/^diff --git [^[:space:]]*/Index:/&amp;quot; \&lt;br /&gt;
-e &amp;quot;s/^index.*/===================================================================/&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For a more complete script see [https://gist.github.com/710219 git-svn-diff.sh].&lt;/div&gt;</summary>
		<author><name>Breese</name></author>	</entry>

	<entry>
		<id>https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Checkout_GIT&amp;diff=17960</id>
		<title>HowTo:Checkout GIT</title>
		<link rel="alternate" type="text/html" href="https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Checkout_GIT&amp;diff=17960"/>
				<updated>2010-12-24T12:01:49Z</updated>
		
		<summary type="html">&lt;p&gt;Breese: Submit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page describes how to use GIT with the Vega Strike SVN repository.&lt;br /&gt;
&lt;br /&gt;
[http://git-scm.com/ GIT] is a distributed sourcecode revision control system, which allows you to commit changes to a local repository and from there commit the changes to the remove Vega Strike SVN repository.&lt;br /&gt;
This is useful if you want to experiment with the codebase, or if you do not have commit privileges to the Vega Strike SVN repository.&lt;br /&gt;
&lt;br /&gt;
If you are unfamiliar with GIT, the you should start by reading the [https://git.wiki.kernel.org/index.php/GitSvnCrashCourse GIT SVN Crash Course].&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
First you need to install the GIT and GIT-SVN packages. How you do this, depends on your system.&lt;br /&gt;
&lt;br /&gt;
See the [http://book.git-scm.com/2_installing_git.html chapter 2] in the GIT Book.&lt;br /&gt;
&lt;br /&gt;
== Set up ==&lt;br /&gt;
After installing the two packages above, you have to set up a local git repository for the Vega Strike codebase.&lt;br /&gt;
&lt;br /&gt;
Normally git-svn will copy the full svn repository, that is all revisions of all files.&lt;br /&gt;
This takes takes a long time, and as you seldomly need the full history, you can instead copy from a given revision onwards.&lt;br /&gt;
&lt;br /&gt;
This command will only copy the most recent revision. If you want the full history, remove the &amp;quot;-rHEAD&amp;quot; option:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git svn clone -rHEAD https://vegastrike.svn.sourceforge.net/svnroot/vegastrike/trunk/vegastrike/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next you need to handle svn:externals. You can find them with &amp;quot;git svn show-externals&amp;quot;. There may be a better way using git submodules, but this works.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git svn clone -rHEAD http://svn.boost.org/svn/boost/tags/release/Boost_1_28_0/boost/boost/ boost/1_28/boost&lt;br /&gt;
git svn clone -rHEAD http://svn.boost.org/svn/boost/tags/release/Boost_1_28_0/boost/libs/python/src/ boost/1_28/src&lt;br /&gt;
git svn clone -rHEAD http://svn.boost.org/svn/boost/tags/release/Boost_1_35_0/boost/ boost/1_35/boost&lt;br /&gt;
git svn clone -rHEAD http://svn.boost.org/svn/boost/tags/release/Boost_1_35_0/libs/python/src/ boost/1_35/src&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We recommend that you add the following lines to your .gitignore file, which should be created in the same directory as the .git directory is located.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
boost/1_28&lt;br /&gt;
boost/1_35&lt;br /&gt;
boost_patched_gcc44&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You may also want to add auto-generated files to .gitignore.&lt;br /&gt;
&lt;br /&gt;
Now you are almost ready to work on the codebase. You just need to create a branch to work on. This will make it easier to keep your local GIT repository synchonized with the remote SVN repository.&lt;br /&gt;
&lt;br /&gt;
 git branch ''insert-your-branch-name''&lt;br /&gt;
 git checkout ''insert-your-branch-name''&lt;br /&gt;
&lt;br /&gt;
Replace ''insert-your-branch-name'' with the name that you want to call your branch.&lt;br /&gt;
&lt;br /&gt;
From here on, you can follow the normal build instructions.&lt;br /&gt;
&lt;br /&gt;
== Synchonize with SVN ==&lt;br /&gt;
If others commit changes to the remote SVN repository, you can update your local GIT repository as follows.&lt;br /&gt;
&lt;br /&gt;
Make sure that you have committed all your changes to the local GIT repository before you start synchronizing.&lt;br /&gt;
&lt;br /&gt;
First you need to update the trunk of your local GIT repository with the changes from the remote SVN repository.&lt;br /&gt;
&lt;br /&gt;
 git checkout master&lt;br /&gt;
 git svn rebase&lt;br /&gt;
&lt;br /&gt;
Next you can synchronize your branch with the trunk.&lt;br /&gt;
&lt;br /&gt;
 git checkout ''insert-your-branch-name''&lt;br /&gt;
 git pull . master&lt;br /&gt;
&lt;br /&gt;
== Submit your changes ==&lt;br /&gt;
The &amp;quot;git commit&amp;quot; operation only commits your changes to your local GIT repository. When you want to submit your changes to the remote SVN repository, then you have two options.&lt;br /&gt;
If you have commit privileges to the Vega Strike SVN repository, then you can use the &amp;quot;git svn dcommit&amp;quot; command. Otherwise you have to submit a patch to the Vega Strike forums.&lt;br /&gt;
&lt;br /&gt;
You can either use&lt;br /&gt;
&lt;br /&gt;
 git diff --no-prefix master..''insert-your-branch-name'' &amp;gt; mypatch.diff&lt;br /&gt;
&lt;br /&gt;
Better yet, you can use the following bash script, which will make sure that the output looks like an SVN patch.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
#&lt;br /&gt;
# git-svn-diff&lt;br /&gt;
# Generate an SVN-compatible diff against the tip of the tracking branch&lt;br /&gt;
TRACKING_BRANCH=`git config --get svn-remote.svn.fetch | sed -e 's/.*:refs\/remotes\///'`&lt;br /&gt;
REV=`git svn find-rev $(git rev-list --date-order --max-count=1 $TRACKING_BRANCH)`&lt;br /&gt;
git diff --no-prefix $(git rev-list --date-order --max-count=1 $TRACKING_BRANCH) $* |&lt;br /&gt;
sed -e &amp;quot;s/^+++ .*/&amp;amp;    (working copy)/&amp;quot; -e &amp;quot;s/^--- .*/&amp;amp;    (revision $REV)/&amp;quot; \&lt;br /&gt;
-e &amp;quot;s/^diff --git [^[:space:]]*/Index:/&amp;quot; \&lt;br /&gt;
-e &amp;quot;s/^index.*/===================================================================/&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For a more complete script see [https://gist.github.com/710219 git-svn-diff.sh].&lt;/div&gt;</summary>
		<author><name>Breese</name></author>	</entry>

	<entry>
		<id>https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Checkout_GIT&amp;diff=17959</id>
		<title>HowTo:Checkout GIT</title>
		<link rel="alternate" type="text/html" href="https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Checkout_GIT&amp;diff=17959"/>
				<updated>2010-12-24T11:43:58Z</updated>
		
		<summary type="html">&lt;p&gt;Breese: Synchronize&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page describes how to use GIT with the Vega Strike SVN repository.&lt;br /&gt;
&lt;br /&gt;
[http://git-scm.com/ GIT] is a distributed sourcecode revision control system, which allows you to commit changes to a local repository and from there commit the changes to the remove Vega Strike SVN repository.&lt;br /&gt;
This is useful if you want to experiment with the codebase, or if you do not have commit privileges to the Vega Strike SVN repository.&lt;br /&gt;
&lt;br /&gt;
If you are unfamiliar with GIT, the you should start by reading the [https://git.wiki.kernel.org/index.php/GitSvnCrashCourse GIT SVN Crash Course].&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
First you need to install the GIT and GIT-SVN packages. How you do this, depends on your system.&lt;br /&gt;
&lt;br /&gt;
See the [http://book.git-scm.com/2_installing_git.html chapter 2] in the GIT Book.&lt;br /&gt;
&lt;br /&gt;
== Set up ==&lt;br /&gt;
After installing the two packages above, you have to set up a local git repository for the Vega Strike codebase.&lt;br /&gt;
&lt;br /&gt;
Normally git-svn will copy the full svn repository, that is all revisions of all files.&lt;br /&gt;
This takes takes a long time, and as you seldomly need the full history, you can instead copy from a given revision onwards.&lt;br /&gt;
&lt;br /&gt;
This command will only copy the most recent revision. If you want the full history, remove the &amp;quot;-rHEAD&amp;quot; option:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git svn clone -rHEAD https://vegastrike.svn.sourceforge.net/svnroot/vegastrike/trunk/vegastrike/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next you need to handle svn:externals. You can find them with &amp;quot;git svn show-externals&amp;quot;. There may be a better way using git submodules, but this works.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git svn clone -rHEAD http://svn.boost.org/svn/boost/tags/release/Boost_1_28_0/boost/boost/ boost/1_28/boost&lt;br /&gt;
git svn clone -rHEAD http://svn.boost.org/svn/boost/tags/release/Boost_1_28_0/boost/libs/python/src/ boost/1_28/src&lt;br /&gt;
git svn clone -rHEAD http://svn.boost.org/svn/boost/tags/release/Boost_1_35_0/boost/ boost/1_35/boost&lt;br /&gt;
git svn clone -rHEAD http://svn.boost.org/svn/boost/tags/release/Boost_1_35_0/libs/python/src/ boost/1_35/src&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We recommend that you add the following lines to your .gitignore file, which should be created in the same directory as the .git directory is located.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
boost/1_28&lt;br /&gt;
boost/1_35&lt;br /&gt;
boost_patched_gcc44&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You may also want to add auto-generated files to .gitignore.&lt;br /&gt;
&lt;br /&gt;
Now you are almost ready to work on the codebase. You just need to create a branch to work on. This will make it easier to keep your local GIT repository synchonized with the remote SVN repository.&lt;br /&gt;
&lt;br /&gt;
 git branch ''insert-your-branch-name''&lt;br /&gt;
 git checkout ''insert-your-branch-name''&lt;br /&gt;
&lt;br /&gt;
Replace ''insert-your-branch-name'' with the name that you want to call your branch.&lt;br /&gt;
&lt;br /&gt;
From here on, you can follow the normal build instructions.&lt;br /&gt;
&lt;br /&gt;
== Synchonize with SVN ==&lt;br /&gt;
If others commit changes to the remote SVN repository, you can update your local GIT repository as follows.&lt;br /&gt;
&lt;br /&gt;
Make sure that you have committed all your changes to the local GIT repository before you start synchronizing.&lt;br /&gt;
&lt;br /&gt;
First you need to update the trunk of your local GIT repository with the changes from the remote SVN repository.&lt;br /&gt;
&lt;br /&gt;
 git checkout master&lt;br /&gt;
 git svn rebase&lt;br /&gt;
&lt;br /&gt;
Next you can synchronize your branch with the trunk.&lt;br /&gt;
&lt;br /&gt;
 git checkout ''insert-your-branch-name''&lt;br /&gt;
 git pull . master&lt;/div&gt;</summary>
		<author><name>Breese</name></author>	</entry>

	<entry>
		<id>https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Checkout_GIT&amp;diff=17958</id>
		<title>HowTo:Checkout GIT</title>
		<link rel="alternate" type="text/html" href="https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Checkout_GIT&amp;diff=17958"/>
				<updated>2010-12-24T11:29:33Z</updated>
		
		<summary type="html">&lt;p&gt;Breese: Initial version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page describes how to use GIT with the Vega Strike SVN repository.&lt;br /&gt;
&lt;br /&gt;
[http://git-scm.com/ GIT] is a distributed sourcecode revision control system, which allows you to commit changes to a local repository and from there commit the changes to the remove Vega Strike SVN repository.&lt;br /&gt;
This is useful if you want to experiment with the codebase, or if you do not have commit privileges to the Vega Strike SVN repository.&lt;br /&gt;
&lt;br /&gt;
If you are unfamiliar with GIT, the you should start by reading the [https://git.wiki.kernel.org/index.php/GitSvnCrashCourse GIT SVN Crash Course].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
First you need to install the GIT and GIT-SVN packages. How you do this, depends on your system.&lt;br /&gt;
&lt;br /&gt;
See the [http://book.git-scm.com/2_installing_git.html chapter 2] in the GIT Book.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Set up ==&lt;br /&gt;
After installing the two packages above, you have to set up a local git repository for the Vega Strike codebase.&lt;br /&gt;
&lt;br /&gt;
Normally git-svn will copy the full svn repository, that is all revisions of all files.&lt;br /&gt;
This takes takes a long time, and as you seldomly need the full history, you can instead copy from a given revision onwards.&lt;br /&gt;
&lt;br /&gt;
This command will only copy the most recent revision. If you want the full history, remove the &amp;quot;-rHEAD&amp;quot; option:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git svn clone -rHEAD https://vegastrike.svn.sourceforge.net/svnroot/vegastrike/trunk/vegastrike/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next you need to handle svn:externals. You can find them with &amp;quot;git svn show-externals&amp;quot;. There may be a better way using git submodules, but this works:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git svn clone -rHEAD http://svn.boost.org/svn/boost/tags/release/Boost_1_28_0/boost/boost/ boost/1_28/boost&lt;br /&gt;
git svn clone -rHEAD http://svn.boost.org/svn/boost/tags/release/Boost_1_28_0/boost/libs/python/src/ boost/1_28/src&lt;br /&gt;
git svn clone -rHEAD http://svn.boost.org/svn/boost/tags/release/Boost_1_35_0/boost/ boost/1_35/boost&lt;br /&gt;
git svn clone -rHEAD http://svn.boost.org/svn/boost/tags/release/Boost_1_35_0/libs/python/src/ boost/1_35/src&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are almost ready to work on the codebase. You just need to create a branch to work on. This will make it easier to keep your local GIT repository synchonized with the remote SVN repository.&lt;br /&gt;
&lt;br /&gt;
 git branch ''insert-your-branch-name''&lt;br /&gt;
 git checkout ''insert-your-branch-name''&lt;br /&gt;
&lt;br /&gt;
Replace ''insert-your-branch-name'' with the name that you want to call your branch.&lt;br /&gt;
&lt;br /&gt;
From here on, you can follow the normal build instructions.&lt;/div&gt;</summary>
		<author><name>Breese</name></author>	</entry>

	<entry>
		<id>https://wiki.vega-strike.org/mediawiki/index.php?title=HowTos&amp;diff=17957</id>
		<title>HowTos</title>
		<link rel="alternate" type="text/html" href="https://wiki.vega-strike.org/mediawiki/index.php?title=HowTos&amp;diff=17957"/>
				<updated>2010-12-24T11:04:47Z</updated>
		
		<summary type="html">&lt;p&gt;Breese: Added git&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|En|HowTos}}&lt;br /&gt;
{{Wiki_Nav_Index}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
= Game HowTos =&lt;br /&gt;
== Modeling ==&lt;br /&gt;
''This series of How-to articles is intended to take you through the full process of creating a model and adding it to Vega Strike.''&lt;br /&gt;
* [[HowTo:Add Ships|Adding your ship to Vega Strike]] - An overview of how to create and add ships to the game&lt;br /&gt;
** [[HowTo:Create Models]] - A summary on how to create a new model for Vega Strike&lt;br /&gt;
*** [[HowTo:Model a Ship|Brad Mick's video tutorial on ship modelling]] - using Lightwave, but the concept is general: ''Rapid Prototyping''&lt;br /&gt;
*** [[HowTo:Create Ships in Wings3D|Creating a 3D-model using Wings3D]] - includes general guidance for other modeling programs&lt;br /&gt;
*** [[HowTo:Basic Blender Tutorial|A basic Blender3D tutorial]] - not specific to ships, though...&lt;br /&gt;
** [[HowTo:Smooth Groups|Understanding &amp;quot;Smooth Groups&amp;quot;]] - a Blender tutorial on splitting smooth groups...&lt;br /&gt;
** [[HowTo:Bevel|Getting bevels to look good]] - a Blender tutorial on smooth shading and beveling...&lt;br /&gt;
** [[HowTo:Weld|Smoothly Welding complex shapes]] - a Blender tutorial on smooth welding...&lt;br /&gt;
** [[HowTo:Unwrap|Unwrapping your model]] - How to UV-map your ship so it can be textured&lt;br /&gt;
*** [[HowTo:Unwrap in Blender|Using Blender to unwrap your model]] - A blender UV-mapping tutorial&lt;br /&gt;
*** [[HowTo:FullUnwrapBlender|Full ship unwrap tutorial (Blender)]] - Full ship UV unwrap, from A to Z&lt;br /&gt;
** [[HowTo:Texture|Creating your own textures]] - A summary on how to make texture maps&lt;br /&gt;
*** [[HowTo:Texture in Wings3d|Texturing your model in Wings 3d]]&lt;br /&gt;
*** [http://web.archive.org/web/20040310195543/http://netzwelt.gaming-hut.de/vegatexturing/ WIP VegaStrike texturing page by Major] (web archive)&lt;br /&gt;
*** [http://edice.netfirms.com/tuts/texturetut.htm Texturing tutorial by Duality]&lt;br /&gt;
*** [[HowTo:SuperrealisticTexturing|Tips for realistic-looking textures]]&lt;br /&gt;
*** [[HowTo:Make Animated Textures|Using animated textures on a model]]&lt;br /&gt;
** [[HowTo:Edit BFXM files|Editing BFXM files (format spec)]]&lt;br /&gt;
*** [[HowTo:Edit XMESH files|Editing the xmesh file of a ship]]&lt;br /&gt;
*** [[HowTo:Add LODs|Adding Levels of Detail]]&lt;br /&gt;
*** [[HowTo:Add Engine Glow|Adding an engine glow to your 3D model]]&lt;br /&gt;
*** [[HowTo:Add Per Pixel Lighting|Adding per-pixel lighting to your 3D model]]&lt;br /&gt;
** [[HowTo:Edit units.csv|Editing units.csv]]&lt;br /&gt;
*** [[HowTo:Edit Unit Files|Editing the xunit file of a ship]] - Deprecated, but can be converted easily to .csv format&lt;br /&gt;
=== Advanced Topics ===&lt;br /&gt;
* [[HowTo:Edit HUDs|Editing HUDs, placing radars, ...]]&lt;br /&gt;
* [[HowTo:Create Cockpit in Wings3d|Creating a 3D cockpit for your ship.]]&lt;br /&gt;
=== New Stuff (The Shaders Age begins...) ===&lt;br /&gt;
* [[HowTo:IntroToShaders|Introduction to shaders, and what they mean for you]] --Bumpmaps, Normalmaps, Shininess maps ...&lt;br /&gt;
&lt;br /&gt;
==Artwork ==&lt;br /&gt;
''Artwork related Howtos''&lt;br /&gt;
* [[HowTo:Radiosity baking in Blender|Radiosity baking in Blender]]&lt;br /&gt;
&lt;br /&gt;
== MODs ==&lt;br /&gt;
* [[HowTo:MOD|You want to create your own mod for VS? Start here.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Sourcecode HowTos =&lt;br /&gt;
== Obtain a copy of the development-version files ==&lt;br /&gt;
* [[HowTo:Checkout SVN|Checkout Vega Strike's Subversion (SVN) modules.]]&lt;br /&gt;
* [[HowTo:Checkout SVN (Ubuntu Linux)|Checkout Vega Strike's Subversion (SVN) modules in Ubuntu.]]&lt;br /&gt;
* [[HowTo:Checkout SVNMac|Checkout Vega Strike's Subversion (SVN) modules on Mac OSX.]]&lt;br /&gt;
* [[HowTo:Checkout GIT|Use GIT to work on the Vega Strike Subversion (SVN) modules.]]&lt;br /&gt;
* [[HowTo:Checkout CVS|Checkout Vegastrike CVS modules with various programs.]] - '''Deprecated'''&lt;br /&gt;
'''NOTE: Vegastrike development has moved to SVN. CVS is still theoretically accessible, but the repository is months out of date and will never be updated again. There is no reason not to use Subversion instead.'''&lt;br /&gt;
* [[Moving data4.x to data]] - We recently (on May 1, 2008) moved the data4.x repository to &amp;quot;data&amp;quot;.  This has instructions on how to update your repository without checking out everything again.&lt;br /&gt;
&lt;br /&gt;
== Compile the Vega Strike sourcecode ==&lt;br /&gt;
* [[HowTo:VCPP Compiling|Compiling from SVN under Visual C++]]&lt;br /&gt;
* [[HowTo:Cygwin Compiling|Compiling from SVN under Cygwin]] (may not work--enter at your own risk)&lt;br /&gt;
* [[HowTo:Compile from CVS|Compiling from SVN under your favourite Unixlike OS]]&lt;br /&gt;
* [[HowTo:Compile on OSX|Compiling from SVN on Mac OSX]]&lt;br /&gt;
* [[HowTo:Compile_from_released_source|Compiling from the released source]]&lt;br /&gt;
* Debug a Vega Strike Compilation &lt;br /&gt;
** [[HowTo:Use GDB|Debugging on your Unixlike OS using GDB]]&lt;br /&gt;
** [[HowTo:Use Dr Watson|Debugging on Windows using Dr Watson]]&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous HowTos =&lt;br /&gt;
*[[HowTo:Contribute|The Vega Strike Contributor's Guide]]&lt;br /&gt;
* [[HowTo:Install Wings3d|Installing Wings 3D and the Xmesh Plugin]] (deprecated)&lt;br /&gt;
&lt;br /&gt;
=See Also=&lt;br /&gt;
* [[FAQ:Installing|Installing]]&lt;br /&gt;
* [[Development]]&lt;br /&gt;
* For related tools see the [[Links]] section.&lt;br /&gt;
[[Category:HowTos]]&lt;/div&gt;</summary>
		<author><name>Breese</name></author>	</entry>

	</feed>