Launch Sublime Text from the command line on OSX

Sublime Text includes a command line tool, subl, to work with files on the command line. This can be used to open files and projects in Sublime Text, as well working as an EDITOR for unix tools, such as git and subversion. Requirements Sublime text 2 or 3...

Git always asks for my ssh-key passphrase

It’s because your key is encrypted with a passphrase to prevent others from reading it. The most convenient way of using passphrased keys is by using ssh-agent to start an authentication agent (which runs in the background): $ eval “$(ssh-agent)”...

Launch Sublime Text 2 or 3 from the Mac OSX Terminal

As I’m working in the OSX Terminal more and more these days, I’m always on the lookout for time saving shortcuts. A really useful tip that I picked up recently from Zander Martineau is how to open up Sublime Text straight from the Terminal. This is...

How do I show my global Git configuration?

You can use: git config –list or look at your ~/.gitconfig file. The local configuration will be in your repository’s .git/config file. Use: git config –list –show-origin to see where that setting is defined (global, user,...