================================================================================ Every time you edit the code, it's bothering that you should do "add, writing commit message, commit" Try to check help on "commit" by running git commit --help # ====================================================================== If you use -a[or -all] option on commit after you edit or remove a file, "add" is automatically performed git commit -a or If you even want to write commit message in inline, first edit your file, and run git commit -am "commit message"