Cannot push to github repo

后端 未结 7 1333
生来不讨喜
生来不讨喜 2020-12-28 15:46

My repo: https://shadyabhi@github.com/shadyabhi/learnajax.git

shadyabhi@archlinux-N210 ~/github/learnajax $ cat .git/config 
[core]
    repositoryformatversi         


        
7条回答
  •  难免孤独
    2020-12-28 16:11

    if your username or password has special characters, you can replace it with the encoded for example, if your password is "test@2010", you will write it as "test%402010" and the config command will be like this git config remote.origin.url https://{username}:test%402010@github.com/{repo_username}/{repo_name}.git

提交回复
热议问题