ParsaLabs | Blog

A publication about the web and more.

A Git Tip

| Comments

This will be a mini post to share with you all a quick Git tip. The following command is very useful if, for some reason, you need to view the changes to a single file over time. Basically change history log, but for a single file, presented in a visual manner.

1
gitk [insert file name here]

It’s worth mentioning that I use SourceTree (from Atlassian) which is an awesome GUI for git. It has enabled me to gain a better insight into the evolution of my projects over time through an excellent graphical view. There is rarely any need for me to use the command line anymore. Give it a try.

Comments