最近,用Git进行代码管理,主要做代码下载、合并和提交。结合实际情况,不写空洞语法,总结实用技巧如下:
1选择一个目录E:\code,运行git bash here
2. git init //初始化
3. git clone git@git.......:/test.git //clone下载
4、进入E:\code\test
...编辑
git add . //增加
git commit -m 'new feature' //提交
git push //推送到远程服务器