git基本使用命令

  最近开始学习git,常用的命令在这里记录一下。

  git branch 查看

 git chekout 要切换的目录

 git log  查看日志

 git pull 拉取

 git branch <分支名>创建分支

 git branch -d <分支名>删除分支  

 git status 命令可以列出当前目录所有还没有被git管理的文件和被git管理且被修改但还未提交(git commit)的文件.

 git配置用户名邮箱命令


  git config --global user.name "Name"
  git config --global user.email [email protected]

猜你喜欢

转载自blog.csdn.net/zhaoxiangpeng16/article/details/50998525