I have seen all the questions about configuring a username / password for 'git pull', but when the problem is remote The repository is 404.
I have git a repository cloned from github in the past for some time in the past. For whatever reason, the repository owner has removed the repo, and the git bridge fails. Although it fails before, git asks for username and password.
This is because I have a clone github directory of GIT repo, and I am trying to update them all by a shell script which does every directory and 'GIT bridge'
$ Git ksshaskpass: Can not connect to X server error: Unable to read query response from '/ usr / lib / ssh / ssh-askpass' for 'https://github.com' Username ': Ksshaskpass: X not connected to server error Defense could: '/ usr / lib / ssh / ssh-askpass unable to "read Pucepas response' https://github.com 'password: Remote not found in the repository. Fatal: Authentication 'https://github.com/ [...]
I made this script to test url before making a bridge. At the time of updating, I do not get any signal for username / password.
#! / Bin / bash find-type F | Egrep '\ .git / config' | | While read fn; Do \ nn = $ {Fn% / /} Git / config} url = $ (git-c $ dn remote show -n original | awk '/ get URL: / {print $ 3}') wiki = $ {url% .wiki} .git} if ["$ Url "! = "$ Wiki"]; Then url = "$ {wiki} / wiki" fi url = $ (echo $ url | sed -e 's / git: / https: /') wget -o / dev / null $ url & gt; / Dev / null 2 & gt; 1 and if [0! = $? ]; Then resonate $ dn $ url and popd f
No comments:
Post a Comment