Monthly Archives: February 2013

git undo

I was approached with question how can we undo changes we made using git pull –rebase I will answer the question. The solution as applicable not only for this scenario, but for different ones such as undo a normal rebase … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

git – fight with pull merges

Hi folks! I am a big hater of pull merges, i.e. commit with messages like Merge branch ‘mybranch’ of http://my-url:repo into mybranch It normally appears after git pull in scenario when you made some commits in your local branch, and … Continue reading

Posted in Uncategorized | Tagged | 2 Comments

git server-side hooks – maintenance

Hi folks. Server-side hooks that I wrote previously has one huge shortcoming – Maintenance How do I modify server-side hooks at the moment? I edit the hook on a client-side, then commit and push. After that I connect to a … Continue reading

Posted in Uncategorized | Tagged , , | 2 Comments

git checkout on bare repo

Hi folks In this blogpost I tell you how to checkout specific files and folders from a bare repo. If you cannot imagine a scenario when it may be required see my next blogpost 🙂 For non-bare repos, task is … Continue reading

Posted in Uncategorized | Tagged , | 4 Comments