Fast save straight into the cloud for your solo projects
October 27, 2023Does it really matter to make beautiful commit messages while working on a project alone ? After seeing this tweet from @levelsio, it was a revelation for me.
After reading this tweet, I was questioning myself: while working on my solo projects, I don’t remember the last time I read my previous commit messages.
While CMD+Enter and commit/push 3 times per minute would be too brutal for me, I chose to make this alias:
> gx
gx
is an alias to add all + commit + push.
g
stands for git and x
for “directly”.
Wanna add this alias on your computer ? Here you are directly into your zsh terminal !
> echo 'alias gx="git add . && git commit -m '\''a new step further'\'' && git push"' >> ~/.zshrc && source ~/.zshrc
Of course, not for all use cases but quite handy when working solo on some projects. Save more time !