Managing Multiple Remotes with Git

On August 3, 2012, in Git, by Anuj Gakhar

Managing multiple remotes with Git is a pretty common thing, I would say. However, I never had the need to do it, until today. I think it’s a totally awesome thing that you can change code locally and push it to different remotes with one command and every one is happy. Since my particular requirement […]

Tagged with:  

Simplifying Git Commit Graph

On January 2, 2012, in Git, by Anuj Gakhar

Git is my favorite source control tool and I try to use it in pretty much all the projects I work on. Yesterday, I watched the Advanced Git Screencast from PeepCode and like all other screencasts from PeepCode, I liked it a lot and ended up with a much better understanding of Git branching/merging/reflog in […]

Tagged with:  

Tracking empty directories with Git

On November 13, 2011, in Git, by Anuj Gakhar

Those familiar with Git, will know that Git only tracks files and not folders. What that means is, if a folder is empty (does not have any files in it), Git will totally ignore it, as there is nothing to track as far as Git is concerned. Now, sometimes, we do run into situations where […]

Tagged with:  

Permission denied (publickey) with Git on Ubuntu

On December 28, 2010, in Git, by Anuj Gakhar

I’ve been working on a Ubuntu Server today (for a change) and had to clone a Git repository from github.com via ssh. Following are the steps I followed and the errors I got on the way and in the end is the solution :-

Tagged with:  

Setting up Subversion client on Mac

On October 16, 2008, in Subversion, Mac, by Anuj Gakhar

As the title says, I was trying to setup my Mac with a Subversion client. Althought I have been using Mac for a few months now, I always jump into my Windows VM to do certain things and this was one of them (purely because I like TortoiseSVN). However, today, I decided to setup Mac […]

Tagged with:  

How to upgrade WordPress using Subversion

On August 7, 2008, in Subversion, Miscellaneous, by Anuj Gakhar

I just spotted this interesting article on How to Upgrade your WordPress installation using Subversion . The article talks about how first timers can start using Subversion to download the latest version of WordPress, how you can switch your existing blog to start using Subversion for updates, how you can download the bleeding edge versions, […]

 

Forcing SVN Comments with TortoiseSVN

On July 22, 2008, in Subversion, by Anuj Gakhar

One of my earlier posts about forcing SVN comments talks about doing a pre-commit hook on SVN before every commit is made. The problem with that is, it needs to be done on the SVN server and not always you’ve got access to that. But as a developer you can force yourself to always comment […]

Tagged with:  

How to force Comments on SVN Commit

On February 14, 2008, in Subversion, by Anuj Gakhar

If you are using Subversion, you might have come across this issue. Multiple developers working on a set of files and committing them without any comments. If you decide to force comments on every commit, here is a little pre-commit hook script that will do the job. Just to be clear, a pre-commit script is […]

Tagged with:  

Nice SVN Book (thanks Jim Priest)

On January 3, 2008, in Subversion, by Anuj Gakhar

I just read on Jim Priest’s blog about this SVN related free book and I think its a great book. Being a regular SVN user for almost all my work, I think this book can be very useful for me or anyone else who uses SVN. Thanks Jim.

Tagged with:  
© 2011 Anuj Gakhar