Git and Cogito on Ubuntu

In Synaptic I installed cogito (and therefore git), and gitk (gui).

I'm going to follow the advice on the Git Cogito page:

If you want to start to use Git and are considering Cogito, the best way to go about it is to first learn Cogito, then pick up Git commands if you need to do something extraordinary.

For quick introduction to Cogito, follow the Git Crash Courses – they are presenting Cogito commands.

So I cd'd to my project dir and did:

cg init 

This is the equivalent in svn to both creating the repository (which is now local!!! although I can "push" my stuff to a centralized directory somewhere) and doing the initial import. I make the initial comment, save the file and exit).

Then I made a change in a binary document file, and did:

cg commit

Typed in "modifiqué sección 3.6 Ambientes del Usuario" and saved and exited. Then saw my changes:

Subversion Version Control System on Ubuntu Desktop

The objective is to install subversion on my Ubuntu Dapper desktop in order to support version control for day to day projects.

Will use Apache 2 as uniform access control for security reasons, and in order to make this box a subversion server in my home office network.

Installation with Synaptic

  • subversion package
  • libapache2-svn package

Create repository

victorkane@mentor:~$ sudo mkdir /var/lib/svn
victorkane@mentor:~$ sudo svnadmin create --fs-type fsfs /var/lib/svn

Create password file

victorkane@mentor:~$ sudo htpasswd2 -cm /etc/apache2/dav_svn.passwd victor
New password:
Re-type new password:
Adding password for user victor

Apache 2 HTTP Server configuration