git clone错误
Initialized empty Git repository in ***/.git/
error: The requested URL returned error: 401 while accessing http://gitlab***
fatal: HTTP request failed
错误原因:
git版本太低
git版本更新命令:
参考:http://blog.csdn.net/huangshaotian/article/details/40074635
wget -O git.zip https://github.com/git/git/archive/master.zip
unzip git.zip
cd git-master
sudo autoconf
sudo ./configure --prefix=/usr/local
sudo make && sudo make install
sudo mv /usr/bin/git /usr/bin/git-old
sudo ln -s /usr/local/bin/git /usr/bin/git
重新配置
git config --global user.name "**"
git config --global user.email "**@your_domain_name"
然后重新执行git clone,正确