Git 基本命令

查看Git全局设置:

git config -l

从远程仓库克隆项目到本地:

git clone https://github.com/sunpengcheng/my_blog.git /d/Projects/my_blog

查看远程仓库的fetch和push地址:

git remote -v

查看本地分支:

git branch

删除本地分支:

git branch -d xxxxx

查看远程分支:

git branch -r

删除远程分支:

git push origin :dev