To do git submitted

git stash backup contents of the current workspace is saved to the stack git

git pull pulling new code

git git stash pop from the stack to get the most recent stash into the content, restore the contents of the work area. . After the acquisition, the stack will delete the corresponding stash. Because many times could stash, git use the stack management, we can use git stash list stash View all

git stash list can display the contents of the work area to back up all git stack, such as using git stash apply stash @ {1}, the version number can stash @ {1} as a backup taken, does not delete the corresponding stash. . 0 to the latest version

 

 

git add 

git commit -m "xxxxx"

 

 

git commit --amend

This command can be used to undo the last operation and will be submitted to the staging area repository resubmitted to the repository. Simply means that can help us modify the contents of a recent submission to the repository

 

Esc + w + q save and exit

 

Guess you like

Origin www.cnblogs.com/sherrycat/p/11243356.html