Tag: github上

Git推送:用户名,密码,如何避免?

我git push我的工作git push到一个远程的Git仓库。 每push都会提示我inputusername和password 。 我想避免它的每一个推,但如何configuration,以避免它?

Git总是问我的SSH密钥密码

我正在使用Linux,并按照github教程中的说明创build了密钥,使用github注册了这些密钥,并明确尝试了使用ssh-agent,但是每次我尝试执行pull或push时,git都会继续询问我的密码。 可能是什么原因?

远程原点已经存在于'git push'到一个新的仓库

我在GitHub的某个位置上有我的项目, git@github.com:myname/oldrep.git 。 现在我想把所有的代码都推送到一个新的仓库, git@github.com:newname/newrep.git 。 我用了这个命令: git remote add origin git@github.com:myname / oldrep.git 但我收到这个: 致命的:远程原点已经存在。

无法更改git帐户

我尝试推送到我的存储库,但我得到了下面的错误 git push origin master remote: Permission to PhanVanLinh/phanvanlinh.github.io.git denied to edgarphan. fatal: unable to access 'https://github.com/PhanVanLinh/phanvanlinh.github.io.git/': The requested URL returned error: 403 之前,我正在使用用户名edgarphan但我已经将其更改为PhanVanLinh但它仍然保持edgarphan 。 我试图删除项目并再次克隆,卸载混帐并重新安装,但它不会工作。 全局configuration文件 我该如何解决这个问题? 任何帮助或build议将不胜感激。

尝试下载nltk数据时出现405错误

当我尝试下面的代码 python -c "import nltk; nltk.download('punkt'); nltk.download('averaged_perceptron_tagger'); nltk.download('maxent_treebank_pos_tagger'); nltk.download('wordnet')" 控制台说 [nltk_data] Error loading punkt: HTTP Error 405: Not allowed. [nltk_data] Error loading averaged_perceptron_tagger: HTTP Error 405: [nltk_data] Not allowed. [nltk_data] Error loading maxent_treebank_pos_tagger: HTTP Error 405: [nltk_data] Not allowed. [nltk_data] Error loading wordnet: HTTP Error 405: Not allowed.

设置Jenkins时,权限被拒绝(publickey)

我在Win 2008服务器机器上设置Jenkins,并且在configurationJenkins连接到GitHub时遇到了一些麻烦。 我得到以下错误: Command "git.exe fetch -t git@github.com:USER/REPO.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: Permission denied (publickey). fatal: The remote end hung up unexpectedly ERROR: Could not fetch from any repository FATAL: Could not fetch from any repository hudson.plugins.git.GitException: Could not fetch from any repository at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:950) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:908) at hudson.FilePath.act(FilePath.java:758) at hudson.FilePath.act(FilePath.java:740) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:908) at […]

如何在github源浏览器中完成AJAX?

Github有一个非常好的源浏览器。 在repo中的不同path之间导航会生成ajax调用来加载内容(如在firebug日志中可以清楚地看到的那样)。 ajax调用返回要显示的新文件列表的html。 除了更改文件的视图列表之外,URL也会更改。 但是,它不使用像大多数Ajax深层链接网站(使用#)的片段。 在github整个url改变。 例如在Django回购在https://github.com/django/django去django文件夹将生成一个Ajax请求到https://github.com/django/django/tree/master/django?slide=1&_=1327709883334其中将返回该文件夹的HTML内容。 链接也将更改为https://github.com/django/django/tree/master/django 。 正如你可以看到这个新的链接不使用片段。 这是怎么做的? 我一直认为,基于AJAX的网站必须使用URL片段(#)来实现深层链接,但显然不是这样。

Github文件大小限制改变了6/18/13。 现在不能推

截至2013年6月18日这个变化如何影响我的现有仓库超过这个限制的文件? 我最后推了2个月前的一个大文件。 我有一个大的文件,我已经在本地删除,但我现在不能推任何东西。 我得到一个“远程错误”…远程:错误:文件cron_log.log是126.91 MB; 这超过了100 MB的GitHub的文件大小限制 我原来的推后,文件添加到.gitignore …但它仍然存在于远程(起源) 删除它在本地应该摆脱原点(Github)的权利? 但是…它不会让我推,因为Github上有一个超过限制的文件… https://github.com/blog/1533-new-file-size-limits 这些是我发出的命令加错误信息 git add。 git commit -m“delete cron_log.log” git推送起源大师 远程:错误代码:40bef1f6653fd2410fb2ab40242bc879 远程:警告:错误GH413:检测到大文件。 远程:警告:有关更多信息,请参阅http://git.io/iEPt8g。 远程:错误:文件cron_log.log是141.41 MB; 这超过了100 MB的GitHub的文件大小限制 远程:错误:文件cron_log.log是126.91 MB; 这超过了100 MB的GitHub的文件大小限制 https://github.com/slinds(omited_here)/linexxxx(omited_here).git ! [远程拒绝]主控 – >主控(预接收勾拒) 错误:未能推动一些裁判'https://github.com/slinds (omited_here) 然后我尝试了类似的东西 git rm cron_log.log git rm –cached cron_log.log 同样的错误。

我如何configurationGitHub使用不受支持的Jekyll站点插件?

我刚刚为我的Jekyll博客创build了一个很棒的画廊,它完美地构build在我的localhost:4000上。 但是,GitHub页面不支持我正在使用的Jekyll Gallery Generator插件: https : //github.com/ggreer/jekyll-gallery-generator 我读了关于使用FTP在传统主机上托pipeJekyll的替代方法(上传_site目录) http://jekyllrb.com/docs/deployment-methods/但是,而不是重新configuration我的整个网站和托pipe,这将是伟大的如果GitHub页面可以以某种方式使用,即使我使用的是不受支持的插件。 什么是这个解决方法?

推送提交与Github时出错:致命:无法读取用户名

由于很less的时候,我使用Github作为我的项目,当我想推送提交时,我遇到了一个问题。 开始,我已经分叉了一个存储库。 然后我克隆了fork(使用命令行git clone https://github.com/ … ),在修改之后,我已经成功地git commit -a ( git commit -a )。 在这之后,我试图用命令行git push来提交提交,但是我得到以下错误: fatal: could not read Username for 'https://github.com': No such file or directory 你有想法解决这个问题吗?