Git init initialization of git.
Git status view into its own file to the staging area well;
Git add. Introduced to the staging area;
Git config - global user. Email "XXXXXX @ email format" send mail repository address (only the first, write email address, can be introduced into repository).
Git commit -m "annotation as far as possible this is clear, clear to others" sent to the repository can let others see;
Git diff in the terminal check whether to add or remove to modify the content;
The git log (plus - p more detailed) check the modify details;
The git log - pretty=oneline version number before view;
Git reset - hard version (version rollback, roll to the specified here enter the version number);
Study together, communicate with each other, there is insufficient place not spray, just learning,
CodePudding user response:
