赞
踩
1.找到project项目根路径,右键git bash;
2.
g
i
t
c
o
n
f
i
g
;
3.
git config; 3.
gitconfig;3.git config -l;
4.git config user.name “你的名字”;//这时候会显示已更改的名字
//提交代码测试
5.touch test;
6.git add test;
7.git commit test;
8.git commit test -m ‘test’;
//检查是否更改成功;
9.git log;
//删除刚刚已提交的测试代码改动;
10.git rm test -f;
另外也可在IDEA中 控制台log里面undocommit。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。