Restore git commits history

When you occasionally have truncated in your local copy of the repository the history of the commits to no depth, with something similar to the command,git clone git://…./… –depth 1there’s no needs to re-checkout complete repository from scratch. Just perform the following command:git pull –unshallowand the complete history will be…

read more

Midnight Commander for Mac OS X

1. Install MacPorts http://www.macports.org/ 2. Install Midnight Commander port via one of the variants: sudo su – port install mc +ncurses 3. Set proper location export LC_ALL=ru_RU.UTF-8 Do not forget to add this line to .profile 4. Set up terminal application’s preferences in order to get following terminal type: TERM=xterm-256color

read more