git push origin master什么都不做,提示用户然后传递,没什么

时间:2018-01-11 07:30:51

标签: git push

我已经尝试过,重置git url,它在几个小时前工作,我不知道发生了什么,我可以更改,提交,但是当我按下它时会提示我输入用户并传递,然后什么都没有

redklouds@RedKloudsCenter:~/docker/dockertutorial$ vim app.py
redklouds@RedKloudsCenter:~/docker/dockertutorial$ git add .
redklouds@RedKloudsCenter:~/docker/dockertutorial$ git commit -m 'daf'
[master aa7ba15] daf
 1 file changed, 1 insertion(+), 1 deletion(-)
redklouds@RedKloudsCenter:~/docker/dockertutorial$ git push -f origin master  

Username for 'https://github.com': redklouds
Password for 'https://redklouds@github.com':
redklouds@RedKloudsCenter:~/docker/dockertutorial$

这是我的配置文件

eredklouds@RedKloudsCenter:~/docker/dockertutorial$ cat .git/config
[core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
[remote "origin"]
    url = https://github.com/redklouds/cicd-flaskapp.git
    fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
    remote = origin
    merge = refs/heads/master
redklouds@RedKloudsCenter:~/docker/dockertutorial$

0 个答案:

没有答案