首页 > 技术文章 > Git的使用

zhaoyihao 2016-11-19 19:50 原文

1、记住密码功能

  

   打开config文件,加入下面一行

  [credential]
    helper = store

2、已存在的项目想提交到git上

  如果存在Readme.md,要先获取一下再推送,否则会出现推送失败。

3、使用代理出现的无法上传到git

  原因:可能使用了代理。

  

 4、fatal: Authentication failed for

  出现这种错误,验证错误,需要重置凭据。

  git config --system --unset credential.helper

5、Android Studio使用SVN

  

推荐阅读