GIT 个人笔记

git个人操作步骤(hybris)
1.--git stash     你改过的代码将会存到零食空间中,工作空间的代码变成和你之前pull的代码一样(上一次git上的代码)
2.--git pull     从远程拉取git上最新代码,工作空间代码和git上最新代码一致
3.--git stash pop   将文件从临时空间pop下来:会有红色提示哪些文件不一样
4.--git add 你自己修改过代吗的每一个文件名,临时空间的代码将会add到工作空间,一个文件一个文件的add
5.ant clean all
6.启动程序
7.测试 :没有问题后在提交
8.--git status     查看状态,你自己修改过的代码并且add了的代码为绿色,其他代码为红色
9.--git commit -m "shaun.注释"  commit(一次)并添加注释 
10.--git push push(一次)

猜你喜欢

转载自blog.csdn.net/chinassj/article/details/79696338
今日推荐