commands used in git
-
after rechecking the deposit details, jerry realizes that the string length cannot be negative, so he decides to change the type of my_strlen function.
-
jerry commits (deposits) the changes and he wants to correct them for his recent commits. in this case, the function git commit -a will help do this. this function changes the last commit including your commit message; it creates a new commit id.
-
jerry modifies the previous commits using the git commit -a operation (signing changes) and he is ready to push the changes. push operation saves permanent data to git repository. after a successful push operation, other programmers can observe jerry's changes.