📅  最后修改于: 2022-03-11 14:58:00.481000             🧑  作者: Mango
$ git help
$ git help
$ git reset -- /** remove ADD*/
$ git reset --soft/hard /** reset COMMIT: preserve changes/ dischard changes */
$ git checkout -- /** DISCARD changes */
$ git checkout /** Jump between commits */
$ git checkout -- /** Revert file to previous commit */
$ git merge --abort /** cancel MERGE */
$ git reset --hard HEAD^ /** Git reset to choosedcommit **/