macOS ◆ xterm-256color ◆ zsh 242 views

// inside ~/.gitconfig

[alias]
	smashed = !git init && git commit --allow-empty -m 'When the work is done, it is forgotton. That is why it lasts forever. –LaoTzu, Tao two'

	br = branch
	co = checkout
	branches = br -a
	branchify = !zsh -c 'git co -b \"$0\" && git branches'