Skip to content

Instantly share code, notes, and snippets.

@mkrentovskiy
Created August 15, 2011 17:35
Show Gist options
  • Select an option

  • Save mkrentovskiy/1147266 to your computer and use it in GitHub Desktop.

Select an option

Save mkrentovskiy/1147266 to your computer and use it in GitHub Desktop.
mkrentovskiy@mkrentovskiy-Inspiron-1470:~/tmp$ ls
linux-3.0.1 linux-3.0.1.tar.bz2
mkrentovskiy@mkrentovskiy-Inspiron-1470:~/tmp$ cd linux-3.0.1/
mkrentovskiy@mkrentovskiy-Inspiron-1470:~/tmp/linux-3.0.1$ git init
Initialized empty Git repository in /home/mkrentovskiy/tmp/linux-3.0.1/.git/
mkrentovskiy@mkrentovskiy-Inspiron-1470:~/tmp/linux-3.0.1$ time git add .
real 0m24.748s
user 0m20.520s
sys 0m3.470s
mkrentovskiy@mkrentovskiy-Inspiron-1470:~/tmp/linux-3.0.1$ time git commit -m 'New kernel'
...
real 0m12.407s
user 0m6.890s
sys 0m1.350s
mkrentovskiy@mkrentovskiy-Inspiron-1470:~/tmp/linux-3.0.1$ rm -rf .git
mkrentovskiy@mkrentovskiy-Inspiron-1470:~/tmp/linux-3.0.1$ hg init
mkrentovskiy@mkrentovskiy-Inspiron-1470:~/tmp/linux-3.0.1$ time hg add .
...
real 0m4.436s
user 0m2.320s
sys 0m0.560s
mkrentovskiy@mkrentovskiy-Inspiron-1470:~/tmp/linux-3.0.1$ time hg commit -u mkrentovskiy -m 'New kernel'
real 1m8.088s
user 0m58.760s
sys 0m8.030s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment