GIT 命令

//退出命令:
Ctrl+z
//删除文件夹无需确认
rm -rf test
//进入Git目录
cd /app/nginx/html/www/
//提交项目
cd /app/nginx/html/mydemo/
git clone git@127.0.0.1:username/mydemo.git

git status
git add 
git commit -m '内容'
git pull origin master
git push origin master

git log

git commit -m '测试项目:....'
git commit -m '测试项目:.......'

 

posted @ 2018-07-23 16:43  亚特凯瑟琳  阅读(104)  评论(0)    收藏  举报