Git 2.9

Git 2.9 is now available, which ends the development of Git 2.9 development branch. Some of the new features include the implementation of git-multimail for sending notification emails for pushes to a Git repository, a brand new “interactive.diffFilter” configuration which gives developers the ability to customize the diff displayed in “git add -i” sessions.

The following core commands have received improvements as part of the Git 2.9 release:

  • git p4
  • git tag
  • git merge
  • git pull
  • git apply -v
  • git worktree add
  • git mergetools
  • git pull –rebase
  • git send-email
  • git rerere
  • git clone
  • git commit

Install Git On Your Ubuntu Desktop

I’ve been using Subversion for years. Git has been picking up a lot of steam. So, it’s time for a version control refresh. I’ve been playing around with Git the last three weeks. I love it. If you’re interested in learning Git, or just want Git installed on your Ubuntu desktop, this is an article for you. For weeks, I have been looking for a really easy way to install Git, but I haven’t seen one to my liking, until tonight when I found this website.

I found this Git package that is ready for all the latest Ubuntu releases. It’s available for Ubuntu 10.04 LTS, which I am using at the moment, and all the way to the latest release, version 11.04. All you have to do is add the repository to your software source. To install Git, open up your Terminal and type in the following commands:

Add Repository

sudo add-apt-repository ppa:pdoes/ppa/ubuntu

Update

sudo apt-get update

Install Git

sudo apt-get install git

If you’re new to Git, start learning by reading the Git Tutorial online. It’s excellent documentation by the way. So, there you have it. An easy way to install Git on your Ubuntu desktop.

Creating Subversion Tags in Ubuntu

I just ran into an issue while creating tags in Subversion. I was using the example given from the documentation how to create Tags.

The example command given is:

svn copy http://svn.example.com/repos/calc/trunk \
http://svn.example.com/repos/calc/tags/release-1.0 \
-m "Tagging the 1.0 release of the 'calc' project."

Unfortunately, this command spits out an error saying:
svn: Cannot mix repository and working copy sources

Here’s the fix:

Removing the backslash seem to do the trick. Anyways, I’m not sure if the Subversion instructions need to be updated to reflect this finding, or if this command only works in Ubuntu, or just on my system. Nevertheless, it’s one way of creating Subversion Tags in Ubuntu.