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

Differentiate the three models of VCSs, stating their pros and cons

The Features Provided by jQuery

Discuss the key features of Object Oriented Programming