Compare and contrast the Git commands, commit and push




  • The "commitcommand is used to save your changes to the local repository. This store a new snapshot(latest status) of the project's state in the VCS history. You have to explicitly tell Git which changes you want to include in a commit before running the "git commitcommand. This means that a file won't be automatically included in the next commit just because it was changed.
  • The "push" command is used to transfer the last commit(s) to a remote server. 


Comments

Popular posts from this blog

Differences of Web Applications and Web Services

Tools to maintain the code quality.

The benefits of CDNs