git

git 软件包
服务器git
基于WEB http gitweb
git 配置文件
vim /usr/lib/systemd/system/git@.service
vim +11 /etc/gitweb.conf

git命令
git status 查看工作区和当前的分支
git add . 将当前的工作上传缓存区
git commit -m '注释' 提交到本地厂库
git branch  对分支进行操作
git reflog 查看版本信息
git checkout 进入分支
git merge 进行合并分支
git push 上传到服务器
git init 路径+名字 -bare 创建空仓库
git --base 路径+名字      创建仓库

网站:www.Github.com

原文地址:https://www.cnblogs.com/liujiab/p/11411402.html