Git 免密
输入这个命令 下次输入密码后不用再Git pull 的时候输入密码了
git config --global credential.helper store
git checkout . #本地所有修改的。没有的提交的,都返回到原来的状态
git stash #把所有没有提交的修改暂存到stash里面。可用git stash pop回复。
git reset --hard HASH #返回到某个节点,不保留修改。
git reset --soft HASH #返回到某个节点。保留修改
本文来自博客园,作者:迷茫的小白,转载请注明原文链接:https://www.cnblogs.com/cloudHui/p/15880492.html

浙公网安备 33010602011771号