how to commit and push one file in git code example
Example 1: git add commit push one command
# The following command does not add new files, only updated pre-existing ones.
git commit -am "commit all the things" && git push
Example 2: push a single file in git
$ git commit -m "Message goes here" filename