-
-
Notifications
You must be signed in to change notification settings - Fork 929
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Explain briefly how to write a good commit message #71
Comments
On Sun, Mar 15, 2015 at 06:19:13AM -0700, Ivan Gonzalez wrote:
Either from this sentence or from the glossary entry, I think we The main goal of a commit message is motivating the change, and I |
We could ask Pope and Hileman if we could incorporate their text into
our lesson (with attribution).
|
On Sun, Mar 15, 2015 at 09:31:06AM -0700, Greg Wilson wrote:
I don't think we actually want more than a sentence explaining that We probably can't embed Hileman's stuff, since it's a slide show. I |
I think 500-800 words would be a good fit for `discussion.md`.
|
I'm not sure that I agree that we need to spend time explaining best practices for commit messages. Really, if we're starting people with collaborating with themselves for their own future edification, all we need to teach is "write something that will make sense to future you" and then they should be able to figure it out from there. |
On Sun, Mar 15, 2015 at 03:26:18PM -0700, Daisie Huang wrote:
I think the only proposed change to the taught lessons here is a After the taught sentence (about which I think everyone agrees),
Just because they could figure it out on their own doesn't mean we |
I would really like to have a short example in our notes - it'll take
2-3 minutes of class time, and would add a lot of value.
|
On Mon, Mar 16, 2015 at 11:37:28AM -0700, Greg Wilson wrote:
I think the current preference for the one-line commit messages is I think spending a few minutes live-coding a good commit message and In any case, if we go with a longer-form discussion, I think we want |
I definitely agree that this is something very useful for the intermediate Git lesson. |
On Mon, Mar 16, 2015 at 1:23 PM, W. Trevor King notifications@github.com
@wking, do you mind if I send out an email to discuss to see if a new |
On Tue, Mar 17, 2015 at 08:12:51AM -0700, Ivan Gonzalez wrote:
Sounds good to me :). |
I'd be interested in doing this :) |
All yours, @janepipistrelle. Let us know if you need help. |
Okay, I've had a go. If it hasn't worked, I've done something wrong (first time doing a PR here!). |
Closed by #78. |
You're totally right! Thanks for catching this. Reopening. |
A picture to accompany the discussion will show students what bad messages look like and hopefully show them not to do it https://xkcd.com/1296/ |
I'm closing this in favor of #190. |
Currently, we don't explain much on how to write a commit message: what the contents should be, how long it should be, or what's the point of it. I think that, without going into much details, a good explanatory sentence in the part of the lesson where the first commit is created would be nice.
An entry for "commit message" could be also added to the lesson glossary in
reference.md
.See also the discussion in #70.
The text was updated successfully, but these errors were encountered: