|
|
- This is a place to collect some useful cheatsheets, with the view that I may
- eventually streamline accessing them in some way.
-
- git-commit.txt is a terse and evolving version of some of the things found in
- Vicky Lai's .gitmessage[0] and Tyler Cipriani's larger .git-commit-zomg[0].
- It's pointed at by my ~/.gitconfig's commit.template value. I found the longer
- version of these templates useful, but after a while realized that I was
- routinely scrolling to the bottom of the commit to see the list of staged
- files, and really only need a few of the prompts as general reminders most of
- the time.
-
- git-meta.txt includes a bunch of optional fields for commit messages, and is
- pointed at by git-commit.txt so I can quickly access it with ctrl-w f in vim
- while writing a commit.
-
- [0]. https://victoria.dev/verbose/git-commit-practices-your-future-self-will-thank-you-for/
- [1]. https://tylercipriani.com/blog/2019/03/11/of-git-commits-github-and-gerrit/
|