![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Git
HPUZ
人生闪光,绝非偶然
VX:KYG-1988
展开
-
使用git做版本控制
$ git config --global user.name "Your Name" $ git config --global user.email your.email@example.com初始化一个新仓库: $ git init $ git add -A $ git status $ git commit -m "Initialize repository" $ git log原创 2016-09-26 21:36:00 · 406 阅读 · 0 评论 -
Mac osx中使用gitk
Mac osx中使用gitkbrew updatebrew install git#出现图形界面 gitk 相关参考 gitk是跟随git一起安装的 http://blog.csdn.net/qdujunjie/article/details/49249569原创 2017-06-13 09:46:34 · 5468 阅读 · 0 评论 -
Mac git 下 tab 自动补全
Mac git 下 tab 自动补全curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash# 添加到 .bash_profile vim ~/.bash_profile # 添加内容 if [ -f ~/.git-c转载 2017-08-09 14:09:07 · 627 阅读 · 1 评论 -
Ubuntu Service 搭建 Git 服务器
Ubuntu Service 搭建 Git 服务器 1.服务器操作 安装git,apt-get install git 创建git用户和git用户组,分配目录/home/git,然后vim /etc/passwd文件夹 重启ssh服务,service ssh restart 2.客户端操作 配置git用户信息 git config –global user.name=username转载 2016-11-08 11:08:12 · 394 阅读 · 0 评论 -
学习Git
Git常用命令介绍 git init –初始化项目,刚开始初始化项目的时候使用 git clone –从服务器上克隆到本地,如果服务器上面已经有项目了,直接使用这个命令clone到本地进行使用。 git status –列出当前目录所有还没有被git管理的文件和被git管理且被修改但还未提交(git commit)的文件.。 git diff – 工作目录(Working原创 2016-07-05 10:57:29 · 838 阅读 · 0 评论