Re:Four rules for effective collaboration – Guidelines for b...
by chiefalchemist on Saturday March 10, 2018 @11:14PM
(#16561670)
A form would allow a team to define what gets entered, just like a checkout form defines a sellers needs. As it is, it's left up to human memory. That's flawed. I thought we knew and agreed on this.
There is also pulling commit messages from a file. The commit -F /path/to/file switch allows you to specify a file that Git will pull text from. I try to write my commit messages before I make a change, because it helps me ensure that everything I'm working on satisfies the single-thing-per-commit rule. I always update the same file, so I made it an alias:
Edit: If you're unfamiliar with how aliases work, you create one with the above invocation. The portion after alias. is the command you define and want to type. The portion in single-quotes is the actual git command. Thus, you'd type to use the above command. What the command line sees is