DEV Community

Discussion on: GIT Quick Course

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

Just a few nitpicks from someone who spends way too much time bikeshedding about VCS:

  1. Regarding "Hosting", it's often overlooked that any old linux server with SSH and Git installed can be used to host repositories.

  2. Using --message or -m is a 98% guarantee that your commit messages suck. Don't do this, it's just lazy, unhelpful and leads to much frustration when hunting bugs.

  3. "git clone <link>" Not so much a link, actually. You can clone from a local directory, over SSH, etc.

  4. Using Vim as the default editor might not be the best advise for a "quick course". Chances are, most people familiar with Vim will just read the git documentation. Setting it to something like VSCode might be more helpful to beginners.

  5. Git used block-chain technology before it was cool.

Collapse
 
zilti_500 profile image
Daniel Ziltener

Using --message or -m is a 98% guarantee that your commit messages suck.

Are you trying to sell some tool, or what exactly is your point?

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️ • Edited

My point is that using --message leads to commit messages that are both too short and poorly formatted. Having a proper editor makes it easier to write a proper commit message, while people who are used to -m tend to just write unhelpful one-liners all the time.


Edit: Also, if I was trying to sell some tool, I'd be doing a very bad job at that by not even mentioning said tool in my comment lol.

Collapse
 
walternascimentobarroso profile image
Walter Nascimento

thanks for the comment. I appreciate the suggestions, especially about using vscode as an editor for beginners, great idea, I'll add in the post.