Git
文章平均质量分 64
good007boy
慢慢整理
展开
-
Git实操记录
配置 $ git config --global user.name "[name]" $ git config --global user.email "[email address]" $ git config --global color.ui auto 创建仓库 $ git init [project-name] $ git clone [url] 更改 $ git status $ git diff $ git add [file] $ git diff --staged .原创 2021-02-24 15:27:39 · 86 阅读 · 0 评论 -
Git 简述&安装
简介:这篇文章是mac版git安装,Git自我理解(教科书式翻译请百那个度) 俗话Git 什么是Git:Git就是程序员用来管理程序代码和文件的,为什么需要他来管理呢,举个例子,你创建了一个文件A,里面写入了12345,保存。第二次你更改这个文件A,变为1234567890,第三次你更改文件A,变为24680,一共进行了三次修改。如果你每次修改的时候都怕以后会再使用前面的版本(比如文件为246...原创 2019-06-21 13:45:17 · 329 阅读 · 0 评论 -
Git 配置
Git配置 安装完成后,需要进行设置,在命令行输入以下代码: $ git config --global user.name "Your Name" $ git config --global user.email "email@example.com" 顾名思义,这是设置你的名字和Email地址。 我们可以查看一下用户名和密码: $ git config user.name $...原创 2019-06-21 14:03:11 · 902 阅读 · 1 评论