草庐IT

ls-remote

全部标签

【Git】Git报错:Branch ‘master‘ set up to track remote branch ‘master‘ from ‘orgin‘

前言:如果遇到将从git上拉取的代码,直接上传到新的git仓库地址,注意,需要修改git源,否则,会报错。报错信息如下:Git报错:Branch‘master’setuptotrackremotebranch‘master’from‘orgin’解决方案:①移除之前的git源:gitremotermorigin②再次连接新的git源:gitremoteaddorigin'仓库地址'

【连接】mac使用Microsoft Remote Desktop Beta 远程win Error code: 0x104

MicrosoftRemoteDesktopBeta变为Microsoft_Remote_Desktop_10.1.8_installer原因Wecouldn’tconnecttotheremotePCbecausethelicenseforthisdeviceisn’tvalid.Contactyournetworkadministratorforassistance.MicrosoftRemoteDesktopBeta连接失败连接失败Errorcode:0x10422.5.9连接成功172.31.139.189链接:https://pan.baidu.com/s/1_rKQ205o5eWZ

VSCode错误提示:“未能对 git remote 进行身份验证”,请更新git账号信息

异常描述    使用VisualStudioCode从gitee仓库拉取项目代码时,出现了错误提示:未能对gitremote进行身份验证:......(省略项目git地址信息)原因分析    无法验证身份,可以简单的理解为:账号密码错误。        以我本地的Windows系统为例,当我们通过账号密码登录某个系统时,通常会提示我们“是否记住账号信息”,GitLub登录过程也是这样。如果选择记住,这个信息会被记录在Windows凭据中,方便以后免密登录。        当我们在系统上修改了GitLub上密码,却未同步到本地Windows凭据管理器中,导致由于密码错误而无法拉取代码,就会出现“

CLI中nrm ls命令报错的两种情况(SyntaxError、Error [ERR_REQUIRE_ESM])

报错一:SyntaxError:Cannotuseimportstatementoutsideamodule报错原因:Node.js版本与nrm中使用的open模块版本不兼容。解决方式:重新安装其他版本的open模块(如:8.4.2)命令行中输入:npminstall-gnrmopen@8.4.2--save报错二:Error[ERR_REQUIRE_ESM]:MustuseimporttoloadESModule报错原因:Node.js版本过高。解决方式:重新安装其他版本的Node.js(如:12.13.0)命令行中输入:nvminstall12.13.0 (此处为nvm:node.js的版

成功解决:python爬虫http.client.RemoteDisconnected: Remote end closed connection without response

参考:Python爬虫:http.client.RemoteDisconnected:Remoteendclosedconnectionwithoutresponse问题解决使用python爬虫中的urllib或者requests库获取数据时出现报错:http.client.RemoteDisconnected:Remoteendclosedconnectionwithoutresponse原因:大多数网站都会对用户请求中的User-Agent进行检测,如果没有在请求头中设置User-Agent,那么就会抛出异常改进方法:在headers中添加:User-Agentimporturllib.r

Homebrew:Mac os 使用brew工具时报错No remote ‘origin‘

Homebrew:Macos使用brew工具时报错Noremote‘origin’使用brewupdate时报错:brewupdateWarning:Noremote'origin'in/opt/homebrew/Library/Taps/homebrew/homebrew-cask,skippingupdate!Warning:Noremote'origin'in/opt/homebrew/Library/Taps/homebrew/homebrew-core,skippingupdate!Warning:Noremote'origin'in/opt/homebrew/Library/Tap

git 报错:Updates were rejected because the remote contains work that you do问题

刚开始学习使用git,通过push命令:打算将本地仓库中的文件上传到远端仓库时,报了以下错误:hint:Updateswererejectedbecausetheremotecontainsworkthatyoudohint:nothavelocally.Thisisusuallycausedbyanotherrepositorypushinghint:tothesameref.Youmaywanttofirstintegratetheremotechangeshint:(e.g.,‘gitpull…’)beforepushingagain.hint:Seethe‘Noteaboutfast-

VSCode借助Remote-SSH扩展,远程调试linux系统的机器人

  本文主要介绍使用VSCode借助Remote-SSH扩展,远程调试linux系统的机器人的方法  在我之前的文章:  ROS主机搭建NFS服务器,虚拟机通过挂载访问及修改主机文件  中介绍了采用挂载到的方式进行远程调试的方法,本文将介绍另一种方法,即借助Remote-SSH扩展,在VSode中实现远程调试。  1、通过官网安装VScode(已安装的跳过此步)  https://code.visualstudio.com/  2、安装Remote-SSH扩展  点击VScode的扩展窗口,如下图中的①处所示,搜索Remote-SSH扩展,如下图中的②处所示,并安装,如下图中的③所示:–  3

git push提交代码到服务器报remote: [session-xx] Access denie The requested URL returned error: 403

操作:执行gitpush-uoriginmaster,我想把commit的代码直接提交到远程的仓库,哪知道直接给我一个报错:remote:[session-xxx]Accessdeniedfatal:unabletoaccess'https://gitee.com/xxx/xxx.git/':TherequestedURLreturnederror:403原因:这是账号不一致可以通过查询一下当前用户:cat~/.gitconfig 可以知道这是我当前的用户,再去对比一下window存储默认的账号密码,看看是不是一致;控制面板》用户账号》管理你的凭据》windows凭据》普通凭据,在里面找到gi

成功解决:http.client.RemoteDisconnected: Remote end closed connection without response

成功解决:http.client.RemoteDisconnected:Remoteendclosedconnectionwithoutresponse问题描述运行程序超时,有时可以正常运行,有时候显示如下错误:http.client.RemoteDisconnected:Remoteendclosedconnectionwithoutresponse。(virtual)lihuanyu@ubuntu-NF5468M5:~/code/03AdaBins$pythoninfer.pyLoadingbasemodel()...Traceback(mostrecentcalllast):File"i