* You are viewing the archive for the ‘Git’ Category

Removing a remote git branch

I was showing someone how great git is using the new version of MSYSgit (version 1.6.2.2.1669.g7eaf8) and found out that calling git push –all will push ALL branches, even if they don’t exist on the remote server. So I ended up pushing a development branch that was very unstable and wanted to remove it. Luckily a quick google search pointed me to this great blog post: .liferc.
Reading this, very to the point, post I was a little confused on what is my repository. So I figured I’d clearify a bit by what you need to do.
Say you … Continue Reading

Git branch and status info in prompt (on Windows)

Git Bash with Git Branch and Status

Git Bash with Branch and Status Info

I found this great article on Intridea Development Blog on how to put git status in your prompt window. It’s an amazingly useful addon as I often forget what branch I’m on in my project or if I changed anything. The problem is that it’s written for OSX/Linux users. So I’d like to show you what you need to do to get this same functionality in Git … Continue Reading