Category: Git

6-30-12_Git1 0

Git useful commands

Beauty brief commits listing $ git log –oneline | nl -v0 | sed ‘s/^ \+/&HEAD~/’ That command will render a listing with the latest commits first and original commit last: 0 b0d9243 Merge pull...

6-30-12_Git1 0

Rebase-based simple Git workflow

The simple workflow I want to describe has two guiding principles: develop is always production-like and deployable rebase during feature development, explicit (non fast-forward) merge when done Pulling change-sets using rebase rewrites the history of the branch you’re working on...