Omg! Unity GetHub Plugin

OMG!! Love the Unity github plug in and adding comments to changed files!! Whoever thought of that surely has been told how awesome that feature is!!!

It was the first thing that stand out to me and I truly love the feature too. I’m sure there is a way to do that through the terminal, too.

EDIT: Yes, just had a quick look at git commit -help in the terminal and the command to commit to include both a message and a description is as follows:
git commit -m "Include your commit message here" --message "Include your commit description here"

Hoped this helped!

1 Like

Strictly speaking, -m and --message are identical. Just different ways of expressing the same parameter.

You could also have done:

git commit -m "Include your commit message here" -m "Include your commit description here"

Or:

git commit --message "Include your commit message here" --message "Include your commit description here"

The result would be the same. You can also add more, each occurrence of the parameter becomes a new “paragraph” in the commit message.

Not saying the way stated was wrong, just clarifying that the names of the parameters is not significant - it’s the order of the messages in the line that is significant. First is the title line, the rest (if the title doesn’t also overflow into it) are the body.

2 Likes

That’s interesting, I had no idea. Thanks for the explanation.

Privacy & Terms