I recently stumbled over a nice code snippet for my .zshrc which shows the current branch in a git repository on the right prompt:
git_prompt_info() {
ref=$(git-symbolic-ref HEAD 2> /dev/null) || echo “”
echo ” (${ref#refs/heads/})”
}
setopt prompt_subst
RPROMPT=’$(git_prompt_info)’
Johannes finally imported the PHP CVS repository into one big GIT repository. This makes working with branches in the PHP repository much easier and you have not to mess around with git-submodules. Thanks a lot for that job.
A few month ago Johannes Schlüter and I started discussing about GIT and other decentralized version control systems. During our exploration of GIT we thought about importing the PHP CVS tree into git. A few weeks later and a lot of wasted cpu time, we finally managed to provide an inofficial GIT mirror of …
People reading my blog (I don’t know if there are some. If you read my blog, just drop me a comment!) must think that I’m somewhat a GIT zealot. Well I like git sometimes and sometimes I hate it by passion. Why I hate it:
/> git …
A lot of people have to deal with CVS in their companies or in Open Source projects. Therefore they all know an annoying problem:
You are working on a huge change, introducing a complete new authentification mechanism. Therefore you have to touch a lot of classes. In the meantime, other developers have to change also …
CVS is probably the most used version control system. A lot of companies and open source projects use it daily. In fact most of the companies prefer to switch over to subversion instead of an decentralized VCS like GIT or mercurial.
Why? They often argue in that way
I don’t want to have all …
GIT is pretty powerful. I use it on a daily base at the moment. Furthermore I watch the mailinglist. Therefore I discovered a simple workflow that is not yet implemented nicely in GIT: cloning of a particular branches.I wanted to clone the cvs-imported PHP_5_3 branch of PHP, which is provided by Johannes Schlüter. But …
After using CVS and SVN for years now, I finally stumbled over distributed version control systems (DVCS). Beside the commercial BitKeeper there are various Open Source projects around. The most famous is probably GIT which was initially developed by Linus Torvalds and is now maintained by Junio C. Hamano. An other approach is Mercurial …