Tuesday, 13 April 2010
Bash prompt with Git branch and status
Based on Gunnar Wolf’s .bashrc, I have customized my .bash_profile to show exit status, bare repositories, and outside work tree cases:



Monday, 12 October 2009
Git instaweb using mongoose and msysGit
Requirements
- Git up and running (tested with 1.7.0.5, 1.6.6.2, 1.6.5.8, and 1.6.4.4)
- mongoose, current version is mongoose-2.8.exe
- CGI.pm, current version is CGI.pm-3.48.tar.gz
- perllib
- perllib (alternate location)
Mongoose setup
Rename mongoose-2.8.exe to mongoose4instagit.exe and place it in any folder at your choice, in my case: k:devtoolsmongoosemongoose4instagit.exe
Gitweb setup
In a msysGit shell run the following commands to build gitweb.cgi in case it’s not already present (like after running make clean in /git folder):
cd /git make gitweb/gitweb.cgi
Next, extract CGI.pm archive content, and copy the content of the lib subfolder to /lib/perl5/site_perl, keeping the folder structure:
[Read More…]
Sunday, 20 September 2009
Git on Windows with msysGit
The article is based on Install MSysGit wiki page from the msysGit website, and you could also read Updating MSysGit.
For best results use one of the following Git versions:
- Git 1.7.0.5 - recommended
- Git 1.6.6.2
- Git 1.6.5.8
- Git 1.6.4.4
Requirements
- Git source code, current version is git-1.7.0.5.tar.gz
- msysGit full install, current version is msysGit-fullinstall-1.6.4-preview20090729.exe
Setting up Git
First unpack msysGit installer to your desired location (7-Zip works just fine). In my case, the location is K:devtoolsmsysGit. Also, this folder is the root folder inside the msysGit shell, and would be the reference for the rest of the tutorial.
In the K:devtoolsmsysGitgit folder you will find the Git source code provided with the installer. Delete all the files and folders inside it, and then unpack in the same folder the source code of your desired git version.
Final step would be running K:devtoolsmsysGitmsys.bat, which will compile and install git, and leave you to a shell prompt.
Thursday, 27 August 2009
Git resources
Source code / binaries / GUI
Setting up Git server
- Git Server: Gitosis and Cygwin on Windows
- Hosting Git repositories, The Easy (and Secure) Way
- Installing Git on a server (Ubuntu or Debian)
- Remote Git Repos on Ubuntu: The Right Way
- From subversion to git (part3 - gitosis)
- Deploying a Git Repository Server in Ubuntu
- Adding a New Repository to Git/Gitosis
- Scripts for gitosis
- Installing a git server using gitosis
- Install (Set Up) Git and Gitosis on Ubuntu
- Gitosis - Git repository
- Setting up a new remote git repository
- 8 ways to share your git repository
- How to use HTTP Basic Authentication with git new
- Setting up a Msysgit Server with copSSH on Windows new
- Making git work properly from cygwin new
- Setting up a Git server with Windows Server 2008 new
- Setting up Gitosis with Windows Server 2008 new
- On git, gitosis, and python issues on Windows Vista new