Commit Messages: <Difficult to follow for the extreme-noob>
Checks
- This is not a duplicate of an existing issue (please have a look through our open issues list to make sure)
- I have thoroughly read and understand The Odin Project Contributing Guide
- Would you like to work on this issue?
Describe your suggestion
TLDR: Maybe set up an assignment where a file(s) is ready to be staged, or committed, and make it crystal clear exactly where the git commit message is being typed so that we can practice what the module describes and see it work the way it's meant to work.
OR... Jude, this is the point where you accept coding isn't your bag and you tap out (also valid).
I'm extremely new to this, but this module was particularly difficult for me to follow. I was at the point where I was copying sentences from the module into google with the prompt: Explain this sentence to me as though I don't understand the phrase..."
Up to this point, I've been practising the directions in Terminal or VS Code as I read through each module to make sure I understand and can apply them. This module required quite a bit of additional googling to understand how to do the things being explained.
Things I had to look up (in no particular order, because I had to look up some of these more than once, and some I'm likely to google again!)
- Should I be writing commit messages in Terminal? or in the main window of VS Code where I've been writing all the other html stuff I've been learning? (I think we've shifted to the Command Line window in VS Code, when up till now, I'd been adding html to the content window in VS Code..?)
- When I type the stated prompt into the command line, why does it give me a message that starts "fatal..." (eek, that's not good...maybe I should have a particular file open and be doing this in VS Code?)
- Is my commit message going to attach to every single file in my root directory... (gah! Epic confusion setting in)
- What are the error messages that the command line is giving me? What is it trying to tell me? If I 'add' the thing it's telling me to add, will my laptop explode?
- Am I writing these messages on individual files? or on everything that's currently in draft, or in staging, or...wait, I should be doing atomic commits, adding a new commit message to each file that I change... (this last one took a long time to figure out!)
I'd probably spent an additional two hours googling around to figure out how to write a commit message in VS Code before I figured out:
- This module is about a thing that I want to do during the process of moving files from Staging to Commit (I think...)
- I probably want to stick with Atomic Commits at this stage, so that I can just do a new Commit Message on each file when I change the code
- We have moved from working on the content of the file in the main window of VS Code (where all the other html stuff was getting inputted) to the Command Line window in VS Code
To be honest? I still don't think I can confidently add a sensible commit message because I've now done it 3 times, each time in a completely different way, and on none of those occasions did I pull it off the way the module suggested!
Path
Foundations
Lesson Url
https://www.theodinproject.com/lessons/foundations-commit-messages
(Optional) Discord Name
No response
(Optional) Additional Comments
No response
Source: TheOdinProject/curriculum