Discussion about this post

User's avatar
Mateusz Zaremba's avatar

Nice! Thanks for the article!

I do my commits like this:

`$ c feat: your commit message`

c being my bash function which looks like this:

`c() { git add --all; git commit -m "$*"; }`

This let's me stage and commit without having to put the message in quotes.

Don't mean to hog the light here as it's your article so feel free to remove my link, but if you're interested this is the list of my git alises/functions I use: https://gist.github.com/matzar/3a8e8b4d28429d62420689a894583247

Expand full comment
Matt Roy Lloyd's avatar

Thank you for sharing! It’s given me the inspiration to revisit my aliases. I avoided them for some time whilst working with devs who were new git, but there’s probably a happy medium that echos out the actual command being run, and maybe it even runs a ‘gst‘ afterwards.

I’ve always found consistent implementation of Co-authoring across our teams tricky, possibly due to remembering the format, and found that when we leant on tools such as GitHub desktop, we were better at keeping this up (it’s a couple of button clicks). Would you any have any tips to getting this working well and consistently with others?

Expand full comment
12 more comments...

No posts