# How to use Source Code Versioning?

**URL:** <https://forum.xojo.com/t/how-to-use-source-code-versioning/10069>\
**Category:** General\
**Created:** [August 4, 2013, 3:17pm UTC](https://forum.xojo.com/t/how-to-use-source-code-versioning/10069 "2013-08-04T15:17:01Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stefan\_Zilz](https://forum.xojo.com/letter_avatar_proxy/v4/letter/s/f07891/32.png) [@Stefan\_Zilz](https://forum.xojo.com/u/Stefan_Zilz)\
**Post date:** [August 4, 2013, 3:17pm UTC](https://forum.xojo.com/t/how-to-use-source-code-versioning/10069/1 "2013-08-04T15:17:01Z")

</div>

Hi,

First let me say, that I have no experience in using any versioning tool on the Mac. I also never used SVN etc.

At work, we have a very simple to use, self developed versioning tool. This tool is a bit like CVS. You start changing code in the IDE and the tool automatically checks out the required files (or inform you that someone else already did and blocks you from editing) into your workenvironment. Once you’ve finished work, a authorized user can view the diff between current checked in version and your workcopy. If satisfied, the user can check in the new version of the file and it becomes part of the product.

Previous Version is archived.

For my private joy I use Xojo

Is there a simple to use way to have versioning for my Xojo Projects?

As said I have no experience with SVN, Git or any of the others on MAc.

Is there a tutorial somewhere or can anyone give a brief explanation of how to use Versioning in Xojo?

Thanks in adcance

Beste regards  
Stefan

p.s. Im on a MacBook Air OS 10.8.4

I already installed Apples Command Line Tools to get SVN, but I have no idea how to use it 🙂

---

<div class="post-metadata">

**Author:** ![Andrew\_Lambert](https://forum.xojo.com/user_avatar/forum.xojo.com/andrew_lambert/32/215_2.png) [@Andrew\_Lambert](https://forum.xojo.com/u/Andrew_Lambert)\
**Post date:** [August 4, 2013, 10:47pm UTC](https://forum.xojo.com/t/how-to-use-source-code-versioning/10069/2 "2013-08-04T22:47:57Z")

</div>

I use GitHub for all my projects. Their git client ([Mac](http://mac.github.com/), [Win32](http://windows.github.com/)) is very nice and automatically integrates with their (free or paid) web service. Just save your projects in XML or xojo\_project format and point the git client app at the save folder.

---

<div class="post-metadata">

**Author:** ![Jason\_Cox](https://forum.xojo.com/letter_avatar_proxy/v4/letter/j/ed8c4c/32.png) [@Jason\_Cox](https://forum.xojo.com/u/Jason_Cox)\
**Post date:** [August 5, 2013, 1:45am UTC](https://forum.xojo.com/t/how-to-use-source-code-versioning/10069/3 "2013-08-05T01:45:45Z")

</div>

I recommend checking out Spolsky’s [http://hginit.com/](http://hginit.com/) general primer which focuses on Mercurial, but the same concepts apply to GIT.

I also love the free SouceTree Mac app for both GIT and Mercurial. (Personally prefer Mercurial, but SourceTree makes using both nearly identical).

---

<div class="post-metadata">

**Author:** ![Merv\_Pate](https://forum.xojo.com/letter_avatar_proxy/v4/letter/m/76d3ee/32.png) [@Merv\_Pate](https://forum.xojo.com/u/Merv_Pate)\
**Post date:** [August 5, 2013, 2:25am UTC](https://forum.xojo.com/t/how-to-use-source-code-versioning/10069/4 "2013-08-05T02:25:42Z")

</div>

Another really good one is: [http://www.ericsink.com/vcbe/](http://www.ericsink.com/vcbe/) If you are new to version control, learn distributed. Centralized like SVN certainly have their place and their following, but once I got over the slightly steeper learning curve of DVCS it is was worth the effort.

---

<div class="post-metadata">

**Author:** ![Jeremy\_Cowgar](https://forum.xojo.com/user_avatar/forum.xojo.com/jeremy_cowgar/32/4590_2.png) [@Jeremy\_Cowgar](https://forum.xojo.com/u/Jeremy_Cowgar)\
**Post date:** [August 5, 2013, 3:49am UTC](https://forum.xojo.com/t/how-to-use-source-code-versioning/10069/5 "2013-08-05T03:49:45Z")

</div>

There is also the [Git Book](http://git-scm.com/book) which is a pretty good book for using Git, both introductory and in-depth.

---

<div class="post-metadata">

**Author:** ![Paul\_Lefebvre](https://forum.xojo.com/user_avatar/forum.xojo.com/paul_lefebvre/32/3152_2.png) [@Paul\_Lefebvre](https://forum.xojo.com/u/Paul_Lefebvre)\
**Post date:** [August 5, 2013, 2:24pm UTC](https://forum.xojo.com/t/how-to-use-source-code-versioning/10069/6 "2013-08-05T14:24:10Z")

</div>

> [@24992:@Stefan Zilz](#):
>
> Is there a tutorial somewhere or can anyone give a brief explanation of how to use Versioning in Xojo?

Check out User Guide Book 4: Development, Chapter 5: Code Management, Section 2: Using Source Control.

It shows you how to get set up with both Subversion and Git.

---

<div class="post-metadata">

**Author:** ![Stefan\_Zilz](https://forum.xojo.com/letter_avatar_proxy/v4/letter/s/f07891/32.png) [@Stefan\_Zilz](https://forum.xojo.com/u/Stefan_Zilz)\
**Post date:** [August 5, 2013, 7:10pm UTC](https://forum.xojo.com/t/how-to-use-source-code-versioning/10069/7 "2013-08-05T19:10:34Z")

</div>

Thanks to all

---

<div class="post-metadata">

**Author:** ![Richard\_Duke](https://forum.xojo.com/user_avatar/forum.xojo.com/richard_duke/32/246_2.png) [@Richard\_Duke](https://forum.xojo.com/u/Richard_Duke)\
**Post date:** [August 5, 2013, 9:32pm UTC](https://forum.xojo.com/t/how-to-use-source-code-versioning/10069/8 "2013-08-05T21:32:40Z")

</div>

[quote=25111:@Jason Cox]  
I also love the free SouceTree Mac app for both GIT and Mercurial. (Personally prefer Mercurial, but SourceTree makes using both nearly identical).[/quote]

i used SourceTree too but with rbp instead of the text format. So far so good.

---

<div class="post-metadata">

**Author:** ![Merv\_Pate](https://forum.xojo.com/letter_avatar_proxy/v4/letter/m/76d3ee/32.png) [@Merv\_Pate](https://forum.xojo.com/u/Merv_Pate)\
**Post date:** [August 5, 2013, 11:11pm UTC](https://forum.xojo.com/t/how-to-use-source-code-versioning/10069/9 "2013-08-05T23:11:55Z")

</div>

Then you are using it as a glorified backup service. If you use the .rbvcp format, you can diff the files, merge branches, etc…

---

<div class="post-metadata">

**Author:** ![Richard\_Duke](https://forum.xojo.com/user_avatar/forum.xojo.com/richard_duke/32/246_2.png) [@Richard\_Duke](https://forum.xojo.com/u/Richard_Duke)\
**Post date:** [August 5, 2013, 11:14pm UTC](https://forum.xojo.com/t/how-to-use-source-code-versioning/10069/10 "2013-08-05T23:14:22Z")

</div>

i have arbed… and able to the diff with it. I was having problem with rbvcp on r1 where the backcolor change to white or green when i save it rbvcp from rbp.

---

<div class="post-metadata">

**Author:** ![Merv\_Pate](https://forum.xojo.com/letter_avatar_proxy/v4/letter/m/76d3ee/32.png) [@Merv\_Pate](https://forum.xojo.com/u/Merv_Pate)\
**Post date:** [August 5, 2013, 11:22pm UTC](https://forum.xojo.com/t/how-to-use-source-code-versioning/10069/11 "2013-08-05T23:22:49Z")

</div>

Forgot about that…again.

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 4:47pm UTC](https://forum.xojo.com/t/how-to-use-source-code-versioning/10069/12 "2020-10-29T16:47:24Z")

</div>


