Get the latest tech news

How I use git


From aliases, to commits, to commit messages, to reviews, to workflows.

In that case I might do interactive rebasing on my branch and squash my commits as needed into single units of works so that they in turn are easy to understand, revert, bisect. Previously I marked those PRs as “WIP” by putting that as a prefix in the PR title, but nowadays we have the draft status in GitHub. Again: the unit of work is the merged PR and I don’t care whether the commits inside my branch reflect what happened in real time.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Git

Git

Related news:

News photo

S3 as a Git remote and LFS server

News photo

Otter Wiki: A minimalistic wiki powered by Python, Markdown and git

News photo

Git 2.47 Released With Improvements & Encouraging More Positive Code Reviews