Git常用命令

来源:互联网 发布:oracle sql if else 编辑:程序博客网 时间:2024/06/05 11:51

克隆

git clone -o coding https://git.coding.net/kindenough/MyTest.git

查看远程

git remote -v

查看状态

git status

添加当前目录下所有文件

git add .

提交

git commit -m message

推送到远程仓库

git push -o coding master

查看配置

 git config --list