Every time I want to update a repository, for which I'm the owner and only contributor, it takes four often very redundant steps:
git add .
git commit -m "filename.html"
git push origin master
followed by entering the username and password.
I already set it such that it remembers the username and password (following steps like these: Git push requires username and password and others), but I still have to log in every first push, and it also times out so that if I don't do it for several minutes, I have to log in again.
And I know that if no new files have been created then I can remove the add
line and use git commit -am "filename.html"
instead. Still, it would be nice if git could just monitor the whole directory instead of needing to manually add every new file.
Is there any way to automate or eliminate some of this?