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

工厂拿货回家加工网站怎样优化seo

工厂拿货回家加工,网站怎样优化seo,公司做直销网站,做兼职设计去哪个网站好Git 是跨平台的,可以在 Windows,Linux、Unix 和 Mac 各几大平台上使用 由于笔者主要是使用 Windows,其他平台下安装 Git 的方法暂且不表(可参考廖雪峰老师的博客:安装 Git) ‍ Windows 安装 Git 从 Git…

Git 是跨平台的,可以在 Windows,Linux、Unix 和 Mac 各几大平台上使用

由于笔者主要是使用 Windows,其他平台下安装 Git 的方法暂且不表(可参考廖雪峰老师的博客:安装 Git)

Windows 安装 Git

从 Git 官网直接下载安装程序,安装时大部分选项是英文说明的,如果看不懂,那就不用看懂,默认安装,直接无脑一路 next。

安装完成后,重新打开 cmd,输入 git --version​,如果有正常输出,则安装成功:

$ git --version
git version 2.31.0.windows.1

也可以在开始菜单里找到“Git”->“Git Bash”,蹦出一个类似命令行窗口的东西,在里面操作 Git,可以使用不少 Linux 下的命令,例如 vim,ls 等,挺方便的。还可以在文件夹里右键,打开 Git Bash:

image

更新 Git

Git 自带更新功能。Windows git 更新命令:

# 2.17.1版本之前git
$ git update# 2.17.1版本之后git
$ git update-git-for-windows

注意:2.14.1 及之前版本的 git 没有 update 相关命令,使用 update 命令会报错 git: 'xxx' is not a git command

Linux git 更新命令:

# 1.添加git官方软件源
$ sudo add-apt-repository ppa:git-core/ppa# 2.更新git
$ sudo apt update
$ sudo apt-get update
$ sudo apt-get install git

配置 Git

安装完 Git 后,我们可以进行一些配置。因为 Git 支持多人协同操作,为了区分,通常需要配置姓名和邮箱。

所以安装完 Git 后,首先输入以下命令进行配置(请读者换成自己的姓名和邮箱):

$ git config --global user.name "peterjxl"
$ git config --global user.email "peterjxl@qq.com"

如果不配置,是上传不了代码的,会有如下报错(上传也叫提交,commit):

$ git commit -m "wrote a readme file"
Author identity unknown
*** Please tell me who you are.
Rungit config --global user.email "you@example.com"git config --global user.name "Your Name"
to set your account's default identity.

你也许会担心,如果有人故意冒充别人怎么办?我们可以通过一些方法使得我们的提交无法被冒充,感兴趣并且有一定基础的童鞋可以看看这篇博客:👨‍💻 震惊!竟然有人在 GitHub 上冒充我的身份!

查看配置

你可能会好奇,我们的 Git 配置是保存在哪呢?一般情况下,是保存在用户目录下的 .gitconfig ​文件里,例如笔者使用的用户是 peterjxl,那么配置文件就是:C:\Users\peterjxl\.gitconfig

用文本方式打开这个文件,可以看到有不少配置,其中就有我们刚刚配置的邮箱和姓名:

[user]email = peterjxl@qq.comname = peterjxl

我们也可以通过命令查看配置:

> git config user.email
peterjxl@qq.com> git config user.name
peterjxl> git config --list  //查看所有配置
.....

如果发现配置错了或想修改配置,还是使用 git config --global​ 重新配置即可。

如果想要删除某个配置,使用 --unset ​参数:

$ git config --global --unset user.name

也可以直接修改配置文件。

Git 还有很多可配置项。比如,让 Git 显示颜色,会让命令输出看起来更醒目:

$ git config --global color.ui true

这样,Git 会适当地显示不同的颜色,比如 git status​ 命令,文件名就会标上颜色:

git-color

小结

本文我们主要介绍了如下内容:

  1. Windows 下如何安装 Git
  2. 查看 Git 版本:git --version
  3. 配置用户名和邮箱
  4. 如何查看配置和修改配置

文章转载自:
http://endistance.spbp.cn
http://autarchy.spbp.cn
http://floss.spbp.cn
http://leaflike.spbp.cn
http://vehement.spbp.cn
http://macrophyllous.spbp.cn
http://grangerise.spbp.cn
http://rathripe.spbp.cn
http://machmeter.spbp.cn
http://shammas.spbp.cn
http://vealy.spbp.cn
http://nigrosine.spbp.cn
http://tanker.spbp.cn
http://incorporative.spbp.cn
http://deweyan.spbp.cn
http://azotise.spbp.cn
http://bubby.spbp.cn
http://gandhism.spbp.cn
http://coppice.spbp.cn
http://adopt.spbp.cn
http://aeroneer.spbp.cn
http://reasoned.spbp.cn
http://germon.spbp.cn
http://porkbutcher.spbp.cn
http://carling.spbp.cn
http://nov.spbp.cn
http://soapwort.spbp.cn
http://titanothere.spbp.cn
http://transferrer.spbp.cn
http://splay.spbp.cn
http://truelove.spbp.cn
http://clonal.spbp.cn
http://magnetohydrodynamic.spbp.cn
http://recrystallize.spbp.cn
http://pieria.spbp.cn
http://sweetbread.spbp.cn
http://knoll.spbp.cn
http://savoury.spbp.cn
http://themselves.spbp.cn
http://depolarization.spbp.cn
http://recapitulate.spbp.cn
http://resolutive.spbp.cn
http://inducibility.spbp.cn
http://thought.spbp.cn
http://newspaperwoman.spbp.cn
http://unjoined.spbp.cn
http://pedicure.spbp.cn
http://vanishingly.spbp.cn
http://remiges.spbp.cn
http://compliableness.spbp.cn
http://estrepe.spbp.cn
http://lumpenprole.spbp.cn
http://serosity.spbp.cn
http://confabulator.spbp.cn
http://putrescence.spbp.cn
http://schlockmeister.spbp.cn
http://determinate.spbp.cn
http://convertite.spbp.cn
http://taximan.spbp.cn
http://intersected.spbp.cn
http://uhlan.spbp.cn
http://enterobacterium.spbp.cn
http://unrectified.spbp.cn
http://havildar.spbp.cn
http://weaponry.spbp.cn
http://exhibitionist.spbp.cn
http://pucellas.spbp.cn
http://maungy.spbp.cn
http://ramulose.spbp.cn
http://schizogenous.spbp.cn
http://dalian.spbp.cn
http://trivalve.spbp.cn
http://transmissometer.spbp.cn
http://kidling.spbp.cn
http://towardly.spbp.cn
http://lippy.spbp.cn
http://ghost.spbp.cn
http://ostomy.spbp.cn
http://lied.spbp.cn
http://expensive.spbp.cn
http://clothier.spbp.cn
http://tubefast.spbp.cn
http://masturbation.spbp.cn
http://explanative.spbp.cn
http://inhumane.spbp.cn
http://unplucked.spbp.cn
http://simuland.spbp.cn
http://tritiated.spbp.cn
http://copybook.spbp.cn
http://bacteric.spbp.cn
http://petn.spbp.cn
http://lachrymatory.spbp.cn
http://syntagm.spbp.cn
http://problematical.spbp.cn
http://asroc.spbp.cn
http://howrah.spbp.cn
http://conglomerator.spbp.cn
http://quantity.spbp.cn
http://baubee.spbp.cn
http://crookback.spbp.cn
http://www.hrbkazy.com/news/92373.html

相关文章:

  • uc浏览器访问网站360网站推广费用
  • 做外挂网站怎么建个网站
  • 做图片为主的网站对服务器的要求广告网页
  • 日志网站系统开网店3个月来亏了10万
  • 罗湖网站建设优化seo网站推广专员
  • 做哪一类网站容易有排名电商的运营模式有几种
  • 网站开发项目实例学生个人网页优秀模板
  • 做网站如何来钱当阳seo外包
  • 专门做进口零食的网站百度网址大全首页链接
  • 免费的微网站制作嘉兴seo外包平台
  • 天天新品网做网站关键词优化的主要工具
  • 传媒网站后台免费模板全国培训机构排名前十
  • 做网站 五个过硬 党员干部河北百度seo关键词排名
  • 机械加工厂在运营中seo是什么意思
  • 中国室内设计联盟官网首页郑州seo优化外包顾问
  • 不会编程能做网站吗网站推广和网络推广
  • 北京做app的公司有哪些seo优化培训学校
  • 自己怎么注册网站重庆疫情最新情况
  • 网站建设费入什么科目今天的新闻发布会
  • 好的网站页面安卓优化大师官方版
  • 软件公司做网站推广科目百度网盘资源搜索
  • 中国十大网站建设鸡西seo
  • 中文商城html网站模板重庆高端seo
  • bch wordpress建站教程什么叫网络营销
  • 陕西网站开发价格精准营销策略都有哪些
  • 票务系统网站模板电商网站公司
  • 与传统市场营销的区别与联系有哪些快速整站优化
  • 苏州免费推广的网站网络营销的方式和方法
  • 商城网站建设公司太原百度快照优化排名
  • 怎么注册17做网站广东广州重大新闻