DEV Community

Discussion on: Git: Are you an over-committer? Squash those commits!

Collapse
 
jessekphillips profile image
Jesse Phillips

I recently put this cheatsheet together exactly to emphasize this type of workflow.

It is nice that you provide some of the vi commands as that would be the default editor.

One recommendation I have though is to consider branches as owned by a developer. These can be handed off or collaborated on but it should be expected that without explicit handoff the owner may rewrite history.

Vim tip, using ciw will "Change inside word" which is good to use for changing "pick"