随笔分类 - Git
摘要:git config --global color.status auto git config --global color.diff auto git config --global color.branch auto git config --global color.interactive
阅读全文
摘要:1. 安装expect sudo apt-get install expect 2. 创建.sh脚本,并编写一下内容: #!/usr/bin/expectspawn git pull origin masterexpect "Username"send "username\n"expect "Pas
阅读全文
摘要:1. 生成自己的SSH秘钥 ssh-keygen -t rsa -C "xxx@qq.com" 2. cd .ssh 3. cat id_rsa.pub ,然后就可以看到自己的秘钥了 4. 登录git, 找到SSH Keys配置,将自己的秘钥复制上去就好了
阅读全文
摘要:1. 首先现在https://site.ip138.com上输入github.com,查询对应的IP地址 2. 修改C:\Windows\System32\drivers\etc\host 文件, 添加140.82.114.4(通过1查询到的IP地址) github.com
阅读全文
摘要:1、打开网站 IPAddress.com ,输入github.com和github.global.ssl.fastly.net,获取他们的域名对应的ip地址 2、sudo vi /etc/hosts 3、在vi打开的hosts文件中添加如下格式: 192.30.253.112 github.com
阅读全文

浙公网安备 33010602011771号