Git笔记

目录

 

菜鸟教程

Git 教程 

Git 安装配置 

Git 工作流程 

Git 工作区、暂存区和版本库 

Git 创建仓库 

Git 基本操作 

Git 分支管理 

Git 查看提交历史 

Git 标签 

Git 远程仓库(Github) 

Git 服务器搭建 

常用命名


菜鸟教程

Git 教程 

    https://www.runoob.com/git/git-tutorial.html

Git 安装配置 

    https://www.runoob.com/git/git-install-setup.html

Git 工作流程 

    https://www.runoob.com/git/git-workflow.html

Git 工作区、暂存区和版本库 

    https://www.runoob.com/git/git-workspace-index-repo.html

Git 创建仓库 

    https://www.runoob.com/git/git-create-repository.html

Git 基本操作 

    https://www.runoob.com/git/git-basic-operations.html

Git 分支管理 

    https://www.runoob.com/git/git-branch.html

Git 查看提交历史 

    https://www.runoob.com/git/git-commit-history.html

Git 标签 

    https://www.runoob.com/git/git-tag.html

Git 远程仓库(Github) 

    https://www.runoob.com/git/git-remote-repo.html

Git 服务器搭建 

    https://www.runoob.com/git/git-server.html

常用命名

git commit、git push、git pull、 git fetch、git merge 的含义与区别

  •  git commit:是将本地修改过的文件提交到本地库中;
  •  git push:是将本地库中的最新信息发送给远程库;
  •  git pull:是从远程获取最新版本到本地,并自动merge;
  •  git fetch:是从远程获取最新版本到本地,不会自动merge;
  •  git merge:是用于从指定的commit(s)合并到当前分支,用来合并两个分支;
$ git merge -b  // 指将 b 分支合并到当前分支

git pull 相当于 git fetch + git merge。

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值