1. chmod a+x /usr/share/doc/git-core/contrib/hooks/post-receive-email
2. cd ~/your-project-repository/.git/hooks/
3. ln -s /usr/share/doc/git-core/contrib/hooks/post-receive-email post-receive
4. cd ~/your-project-repository/.git/
5....
0
migrate SVN with history to a new Git repository
a simple migration with all the history
git-svn clone svn://svn.url
...
0
Convert svn repository to hg
hgsvn is a third-party tool dedicated Subversion interoperability. Sources can be found at http://pypi.python.org/pypi/hgsvn/.
Let's say you want to contribute to CPython. You first import a recent...
0
Using Mercurial version control system
Here I found a very good article about using Mercurial from Amit Kumar Saha on November 20, 2007 (9:00:00 AM)
addthis_pub = 'linuxcom';
addthis_logo = 'http://c.fsdn.com/lc/images/lc_logo.png';
addthis_brand...
0
Setting up public key authentication over SSH
Generate key on local machinessh-keygen -t rsaIt will ask you for a password but you can leave it blank.
Note you could also pick -t dsa if you prefer.
Ensure that the remote server has a .ssh directoryMake sure the server your connecting to has a...
0
PostgreSQL Cheat Sheet (to be continued)
= DATABASE =CREATE DATABASECREATE DATABASE dbName;CREATE DATABASE (command line)Createdb dbName DROP DATABASE (command line)Dropdb dbName; Backup a database...
0
Indexed Linux Command
An A-Z Index of the Bash command line for Linux.a
adduser Add a user to the system
addgroup Add a group to the system
alias Create an alias •
apropos Search Help manual pages (man -k)
...