# 克隆一个远程版本库
git clone http://gitlab.xinghaixu.com/test.git
# 修改git客户端的用户名和邮箱
git config --global user.name "xinghaixu"
git config --global user.email "xinghaixu@xinghaixu.com"
#查看文件状态
git status
#添加当前修改的文件到暂存区
git add .
#提交你的修改
git commit
# 抓取远程仓库所有分支更新并合并到本地
git pull
# push所有分支
git push
更多详细的命令请参考: Git 常用命令整理
谢谢博主,真是太好了
管理员 成长的企鹅 : 2015年11月23日10:40:19 地下1层
不客气,谢谢支持!
网站不错!
This is a really great site!A lot of helpful information and handy ideas, thanks =)