zoukankan      html  css  js  c++  java
  • how to fix git always asking username and password.

       1. using SSH instead of https

          git remote set-url origin git@github.com:username/repo.git

    2.storing the username and password 
         git config --global
    credential.helper store
    or save them for just one session
         git config --global credential.helper cache
      or set a timer for them
    git config -- global credential.helper 'cache --timeout=600'

  • 相关阅读:
    jQuery基础一
    JavaScript基础三
    JavaScript基础二
    JavaScript基础一
    POJ
    UVA
    HDU
    Gym
    POJ
    HDU
  • 原文地址:https://www.cnblogs.com/zjhangia/p/14994249.html
Copyright © 2011-2022 走看看