搭建自己的git服务器

2018-04-28 18:31:15 xhs
有两台机器,local和server,在server上搭建git服务器 ...

git总结

2018-07-09 15:13:06 xhs
git 总结 #删除文件远程分支没生效, add时加 --all 参数 git add --all delete_log_indices.sh es.sh #在一个未上线的需求分支commit了另一个需...

git操作脚本

2018-09-30 09:06:16 xhs
php实现了git命令的运行 安装 git 后,在git bash里运行

git hooks 钩子使用

2018-12-29 22:31:44 xhs
进入git服务端仓库钩子目录 /home/git/repositories/blog/.git/hooks cp post-receive.sample post-receive vi post-recei...

git 公钥登录 Authentication refused: bad ownership or modes for file /home/git/.ssh/authorized_keys

2019-03-10 21:28:45 xhs
Authentication refused: bad ownership or modes for file /home/git/.ssh/authorized_keys > chmod g-w /home/...

git fetch 和 pull 区别

2019-05-14 15:06:12 xhs
git pull == git fetch + git merge git fetch origin master git log -p master..origin/master git merge or...

git报错及解决

2019-07-10 10:04:46 xhs
git diff --name-status master 5803a9f7baf2043c911000d1d31694f0a7ffa2d6 fatal: ambiguous argument 'maste...