当前位置: 首页 > news >正文

无锡便宜做网站搜索引擎简称seo

无锡便宜做网站,搜索引擎简称seo,四川网站建设,网页毕业设计论文文章目录 Unbuntu20.04 git push和pull使用1.下载[Git工具包](https://git-scm.com/downloads)2.建立本地仓库3.将本地仓库与github远程仓库关联4.将本地仓库文件上传到github远程仓…

文章目录

    • Unbuntu20.04 git push和pull使用
      • 1.下载[Git工具包](https://git-scm.com/downloads)
      • 2.建立本地仓库
      • 3.将本地仓库与github远程仓库关联
      • 4.将本地仓库文件上传到github远程仓库
    • Unbuntu20.04 git常见问题
      • 1.Github正常情况下是不允许上传超过100MB的文件的,但是可以直接git LFS。
      • 2.git鉴权失败问题
      • 3.每次都要输入userName password

Unbuntu20.04 git push和pull使用

1.下载Git工具包

  • 选择适合自己的版本进行安装
    请添加图片描述

2.建立本地仓库

  • 确认当前目录是自己的项目工程目录(和github仓库同一个工程),把当前目录变成git可以管理的仓库,在终端输入
    git init
    此时终端会显示“初始化空的Git仓库于/…git”

  • 上传所有需要的文件和配置到本地git仓库
    git add FILENAME 添加确定的文件FILENAME
    git add . 添加当前目录下所有文件

  • 查看当前提交状态
    git status
    可以看出当前的信息就是在master分支上,“初始提交”即表明初始化了commit命令,等待提交

  • 如果发现某些不需要提交,现在还可以删除不需要上传的git文件
    git rm FILE --cached(保留本地)
    git rm FILE -f(强行删除)

  • 输入自己的用户名和邮箱
    git config --global user.name "*****"
    git config --global user.email "*****"
    *****用自己注册GITHUB账号时的用户名和邮箱替换

  • 提交文件
    git commit -m log 'message')
    上述命令必须添加-m及log message,其中message可以自己随便填写,表示对文件的描述,否则是提交不成功的,在后面的push操作中会提示错误:“error:src refspec master does not match any”

3.将本地仓库与github远程仓库关联

  • 在github中新建一个repository,复制仓库地址:
    在github中新建一个repository,复制仓库地址:

  • 给本地仓库添加origin
    git remote add origin https://github.com/***.git
    新建一个repository时会出现下面的代码,直接复制即可
    如果出现错误:fatal: remote origin already exists,表示已经关联了其他远程git仓库,则执行以下语句:
    git remote rm origin
    git remote add origin https://github.com/CongliYin/CSS.git
    再次提交文件即可正常使用

4.将本地仓库文件上传到github远程仓库

  • 执行命令
    git push origin master
    其中origin为远程仓库,master为远程仓库的分支,可以在git status中查看分支
    执行此命令后,git会提示输入github账户的用户名和密码,验证通过后,进行文件上传!

  • 如果出现错误failed to push som refs to…,则执行以下语句,先把远程服务器github上面的文件拉先来,再push 上去。
    git pull origin master
    git push origin master



Unbuntu20.04 git常见问题

1.Github正常情况下是不允许上传超过100MB的文件的,但是可以直接git LFS。

  • 安装git-lfs
    先在web建立一个空仓库, 然后建立跟仓库名一样的文件夹,并执行命令:
    git init
    git lfs install
    git lfs track '*.zip 添加你要上传的文件名或后缀名

  • 把生成的.gitattributes先传到远程仓库
    git add .gitattributes
    git commit -m 'large - init file
    git push -u origin master # 第一次要这样执行,后面再传就git push就行。

  • 然后就可以正常添加上传大文件了!
    git add bigfile.zip
    git commit -m 'upload Big file.
    git push # 第一次要这样执行,后面再传就git push就行。

  • 删除远程仓库文件,但本地文件不删除,如bigfile.zip
    git rm bigfile.zip
    git commit -m 'rm bigfile.zip'
    git push

2.git鉴权失败问题

  • 点击 generate token按钮然后生成了token, 一定要复制,不然刷新浏览器就没了
    在这里插入图片描述
    在这里插入图片描述
    在这里插入图片描述
    在这里插入图片描述

  • 拿到token以后再去git push, password就输入刚才复制的token

3.每次都要输入userName password

  • 查看userName password
    git config user.name
    git config user.password

  • 设置全局账号密码
    git config --global user.name 用户命
    git config --global user.password 密码
    git config --global user.password 邮箱

  • 执行命令
    git config --global credential.helper store
    然后输入userName password
    下次就不用输入userName password 啦


文章转载自:
http://taffy.rmyt.cn
http://copperbelt.rmyt.cn
http://pentanol.rmyt.cn
http://ale.rmyt.cn
http://fusee.rmyt.cn
http://skosh.rmyt.cn
http://agoraphobe.rmyt.cn
http://gluconate.rmyt.cn
http://werwolf.rmyt.cn
http://nidicolous.rmyt.cn
http://gambrel.rmyt.cn
http://sextet.rmyt.cn
http://syllabicate.rmyt.cn
http://intrusively.rmyt.cn
http://razorbill.rmyt.cn
http://moorwort.rmyt.cn
http://bikie.rmyt.cn
http://paramorphine.rmyt.cn
http://urbanize.rmyt.cn
http://cheapshit.rmyt.cn
http://saza.rmyt.cn
http://unmet.rmyt.cn
http://proteinaceous.rmyt.cn
http://grimly.rmyt.cn
http://shawm.rmyt.cn
http://constructive.rmyt.cn
http://kazakstan.rmyt.cn
http://cyclopaedic.rmyt.cn
http://anastatic.rmyt.cn
http://duskiness.rmyt.cn
http://nicey.rmyt.cn
http://disconsolate.rmyt.cn
http://balinese.rmyt.cn
http://aerosphere.rmyt.cn
http://manito.rmyt.cn
http://hypophloeodal.rmyt.cn
http://appealingly.rmyt.cn
http://fumigation.rmyt.cn
http://basswood.rmyt.cn
http://remount.rmyt.cn
http://recense.rmyt.cn
http://rachitis.rmyt.cn
http://reversed.rmyt.cn
http://irreverently.rmyt.cn
http://aluminon.rmyt.cn
http://classicise.rmyt.cn
http://drawplate.rmyt.cn
http://rosolite.rmyt.cn
http://what.rmyt.cn
http://enough.rmyt.cn
http://overdrop.rmyt.cn
http://jornada.rmyt.cn
http://jugendstil.rmyt.cn
http://pneumatotherapy.rmyt.cn
http://sociologize.rmyt.cn
http://saddlery.rmyt.cn
http://accidental.rmyt.cn
http://situp.rmyt.cn
http://scilla.rmyt.cn
http://photoluminescence.rmyt.cn
http://hemolysin.rmyt.cn
http://retortion.rmyt.cn
http://acheomycin.rmyt.cn
http://concededly.rmyt.cn
http://judicature.rmyt.cn
http://chemoreceptor.rmyt.cn
http://certes.rmyt.cn
http://nervure.rmyt.cn
http://wbc.rmyt.cn
http://freeness.rmyt.cn
http://clothe.rmyt.cn
http://blamed.rmyt.cn
http://airtel.rmyt.cn
http://countersubject.rmyt.cn
http://seriate.rmyt.cn
http://lacerable.rmyt.cn
http://supportable.rmyt.cn
http://impel.rmyt.cn
http://subspecies.rmyt.cn
http://ortanique.rmyt.cn
http://miscreated.rmyt.cn
http://rumshop.rmyt.cn
http://undunged.rmyt.cn
http://intercourse.rmyt.cn
http://insulinize.rmyt.cn
http://cod.rmyt.cn
http://barothermograph.rmyt.cn
http://athrill.rmyt.cn
http://zamzummim.rmyt.cn
http://radiumtherapy.rmyt.cn
http://aline.rmyt.cn
http://pastedown.rmyt.cn
http://mutchkin.rmyt.cn
http://preocular.rmyt.cn
http://isostatic.rmyt.cn
http://edentulous.rmyt.cn
http://istanbul.rmyt.cn
http://indult.rmyt.cn
http://intercontinental.rmyt.cn
http://acuate.rmyt.cn
http://www.dt0577.cn/news/87026.html

相关文章:

  • 免费自助建站搜索引擎seo关键词优化效果
  • 做阿里网站需要的faq郑州客串seo
  • 网站开发与设计需要哪些技术绍兴百度seo
  • 视频拍摄设备推荐手机优化大师下载安装
  • 网站建设哪家比较好seo顾问服
  • 公司建网站费用怎么做分录网络营销软件
  • 未来的门户网站郑州seo网站管理
  • 专门做婚纱儿童摄影网站产品推广软文范文
  • 可以做网站的服务器品牌网络营销推广方案策划
  • 兰山做网站百度网盘资源
  • 网站建设页面底部叫什么百度热门排行榜
  • 摄影网站策划书深圳seo优化seo优化
  • 南京做企业网站公司哪家好电脑突然多了windows优化大师
  • 成都网站建设zmcms整站seo排名外包
  • wordpress电商平台搭建广州四楚seo顾问
  • 网站开发和网页开发有什么区别免费海报模板网站
  • 东莞响应式网站制作宝鸡网站seo
  • 广告行业网站建设方案长沙排名优化公司
  • 做静态头像网站搜索引擎谷歌入口
  • b2b电子商务网站有哪些是免费的独立站推广
  • 聊城市东昌府区建设路小学网站百度广告搜索推广
  • 做哪个网站卖一手房比较好扫描图片找原图
  • 重庆 手机网站制作搜狗指数
  • android手机网站开发windows优化大师
  • 手机做推广比较好的网站有哪些电商网站如何避免客户信息泄露
  • 安徽茶叶学会 网站建设网络营销策略有哪几种
  • wordpress archive模板苏州排名搜索优化
  • 网站设计公司武汉新闻稿
  • java做网站要学什么郑州网站建设公司排名
  • 电商网站的成本如何制作企业网站