Eric Williams

Using VS Code as a git diff tool

As Visual Studio Code continues to evolve there are some command line switches that make it even more interesting to use.

By issuing /path/to/vscode sourcefile destinationfile --diff you can have VS Code display a visual file diff. On its own that is somewhat useful if you have to files in different locations you want to diff.

. . .

Read More

February 13, 2017

GitTip: Commit Message Lines

Silvrback blog imageThe other day I stumbled upon a neat little trick with the git commit message. You would normally git your commit flow starting with just a git commit command. This will start your default editor such as vim or another simple text editor. Another little shortcut for this is the -m switch. You can commit with a message with a git commit -m . . .

Read More

Posted in: commandlinegit

January 30, 2017