Tag Archives: git

Couring GIT output

Published on: Author: dariusz.cieslak Leave a comment

Default git colour setup is not so good. On black terminal background it looks dark: However, with small change in ~/.git/config file: [color "diff"] meta = yellow bold frag = magenta bold old = red bold new = green bold you would get much better diff display on your terminal:

Categories: en Tags:

Git local stashes minimal browser

Published on: Author: dariusz.cieslak Leave a comment

Stash mechanism (sometimes it's called "shelve" – in bazaar for example) is responsible for holding your local changes aside from remote branch. You can save your current work state, switch to different version and restore it later. In order to quickly inspect list of local stashes content in your working copy you can use the… Continue reading Git local stashes minimal browser

Categories: en Tags:

GIT hooks: commit-msg to enforce commit rules

Published on: Author: dariusz.cieslak Leave a comment

Recently I forgot to add #reviewthis directive for modifications of codebase that belongs to team A. And a subtle bug was introduced that way. Ops! I agreed earlier that all changes done to moduleB should be passed to a reviewer that will do peer review for that particular change. What a shame (We are using… Continue reading GIT hooks: commit-msg to enforce commit rules

Bazaar to GIT migration

Published on: Author: dariusz.cieslak Leave a comment

Today I've moved using site-uptime.net development from Bazaar repository to GIT using elegant bzr2git script. The why: In-place branches (I used to use them heavily) Faster (no Python libs loading during "cold" start) Can't live without "git rebase -i" now