I've always been interested in Bash scripting and wanted to tackle small tasks to automate repetitive actions. One of the most tedious things I do regularly is type `git add . && git commit -m "" && git push`. To simplify this, I created a script that executes all of those commands in one go. While it's a basic script, it's my first experience with building something in Bash, and I felt a real sense of satisfaction when it worked. Although it might be simple, I'd really appreciate any feedback or suggestions for improvements! You can check out my script here: [GitRun](https://github.com/OgShadoww/GitRun)
2 Answers
That’s awesome! Starting with Bash scripts for your daily boring tasks is a great way to learn. I remember when I first got into it; it opens up a lot of possibilities! Keep experimenting!
Nice work! A couple of suggestions: consider adding error handling so it doesn't push if there are issues while adding or committing. Also, you might want to check if you're actually in a Git repo before executing those commands.

Totally agree! Also, maybe asking for confirmation before committing could avoid mistakes.