This is more for me than you, however if you need Git on Ubuntu 10.04 (LTS) try this. The commands I ran get the pre-packaged PPA Git working on Ubuntu 10.04:
sudo apt-get install python-software-properties<br /> sudo add-apt-repository ppa:git-core/ppa<br /> sudo aptitude update<br /> sudo aptitude safe-upgrade<br /> sudo aptitude install git
Category: git
I was trying to clone my wordpress plugin from the wordpress svn repo using git-svn. I had no luck for about the past 8 weeks, with this problem:
<br /> Initialized empty Git repository in /Users/lantrix/tweet/.git/<br /> Using higher level of URL: http://plugins.svn.wordpress.org/tweet => http://plugins.svn.wordpress.org<br /> And it would proceed to hit up the entire wordpress repo.
After reading a possible solution on Charlie’s Old blog, I stubmled across a newer way to do this.
Here is a quick way to show the current git branch when you are in a repository directory. Place this in your .bashrc or .bash_profile:
I’ve also customised the PS1 to show user/host/path.
You should probably setup git bash completion as well. This can be done by sourcing the bash completion script that is available in the git source code as shown (change path to where you place script):
Have fun.