随笔分类 - git
git
命令
摘要:```linux git config --global http.proxy socks5://127.0.0.1:端口 git config --global http.https://github.com.proxy socks5://127.0.0.1:端口 ``` 重置 ```linux
阅读全文
摘要:命令行指令Git 全局设置git config --global user.name ""git config --global user.email ""创建新版本库git clone 地址cd项目路径touch README.mdgit add README.mdgit commit -m "a
阅读全文
摘要:#首先把默认的源给禁用掉 composer config -g secure-http false #再修改镜像源 这里我使用阿里的源 composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ #修
阅读全文
摘要:D:\WWW\>git pullerror: bad signature 0x00000000fatal: index file corrupt 解决方案 : 删除旧的索引文件,它路径在项目的.git/index,Linux 执行rm -f .git/index,Windows 执行del .git
阅读全文
摘要:1、未添加至暂存区的 git checkout . 2、已添加至暂存区的 git reset HEAD . git checkout .
阅读全文