Featured image of post Git Add, Git Commit and Git Push

Git Add, Git Commit and Git Push

Adding selected files and committing them with a meaningful message, lastly pushing them to remote repository.

How to add and commit changes in the and then push the changes to a remote repository (here GitHub)

Outline of steps to be performed:

  • Change some files or create some
  • Issuegit add <name of files>command to add files to be committed
  • Then commit them using git commit -am <commit message>, here a is for all files, m is for message, and then you place your message for the changes
  • (optional) Finally, push the changes to a remote repository

Let’s see this in action

comments powered by Disqus