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

网站开发工程师是做什么的推广赚钱项目

网站开发工程师是做什么的,推广赚钱项目,wordpress 内网服务器,网站建设培训一般多少钱一,简介 在git工具安装完成之后,需要设置一下常用的配置,如邮箱,缩写,以及git commit模板等等。本文就来详细介绍些各个配置如何操作,供参考。 二,配置步骤 2.1 查看当前git的配置 git conf…

一,简介

在git工具安装完成之后,需要设置一下常用的配置,如邮箱,缩写,以及git commit模板等等。本文就来详细介绍些各个配置如何操作,供参考。

二,配置步骤

2.1 查看当前git的配置

git config --global --list 

使用上述命令可以查看当前环境下全局的配置:
在这里插入图片描述

2.2 配置用户名

这里使用user1来进行测试,具体配置时可以把双引号中的内容修改为自己的用户名。

git config --global user.name "user1"

可以看到用户名已经修改成功:
在这里插入图片描述

2.3 配置邮箱

git config --global user.email "user1@163.com"

输入上述命令之后,可以看到邮箱已经配置生效:
在这里插入图片描述

2.4 配置命令缩写

配置命令缩写的目的是为了提高工作效率。比如查看当前工作去状态,需要输入“git status”,将“status”配置成缩写“st”之后,查看工作区状态只需要输入“git st”即可。

//将status配置为缩写st
git config --global alias.st status
//将checkout配置为缩写co
git config --global alias.co checkout
//将commit配置为缩写ci
git config --global alias.ci commit
//将branch配置为缩写br
git config --global alias.br branch

配置完成之后,可以看到命令“git status”和“git st”的效果是一样的。其他命令也是一样的效果,这里不再赘述。
在这里插入图片描述

2.5 设置git commit时notepad++作为编辑器

在配置notepad++之前,需要先安装notepad++软件,安装操作说明如:《notepad++下载及安装步骤【非常详细】》

git config --global core.editor \
"'D:/Mysoftware/notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"

注意:需要找到自己本地notepad++的安装目录,复制notepad++.exe的路径,并且将路径中的“\”替换为“/”,然后替换命令中单引号中的内容即可。
在这里插入图片描述
输入命令之后,可以看到,再次输入git ci命令时,就会自动跳出来notepad++编辑器:
在这里插入图片描述

2.6 配置git提交模板

模板内容:

[Description]: Adjusting the file directory
[Project    ]: 
[Author     ]: 
[Type       ]: feature/update/bug
[Modify     ]: 1)2)3)

将以上内容复制到txt文件中,并重命名为.git-commit-template,放到和.gitconfig相同的目录下:
在这里插入图片描述
.git-commit-template内容如下所示:
在这里插入图片描述

保存完成之后,输入命令配置模板,然后修改提交:

git config --global commit.template ~/.git-commit-complate

可以看到,再次使用git ci提交时,跳出来的提交信息就出现了我们刚才配置的模板。
在这里插入图片描述
然后根据需要进行修改信息的提交:
在这里插入图片描述
关闭该界面之后,使用git log命令查看本地提交信息如下:
在这里插入图片描述
以上,说明git提交模板配置成功。

2.7 配置git ignore文件

在代码提交的过程中,生成的一些中间文件如.o文件等,我们不期望去记录他们的变化(如果记录的话,查看状态时,变化信息太多,不太好查看对应代码的变化),那可以将类似.o等中间文件的类型放到.gitignore文件中。

将以下信息保存txt文件中并重命名为.gitignore后,和工程一起提交即可。

# Prerequisites
*.d# Object files
*.o
*.ko
*.obj
*.elf# Libraries
*.lib
*.a
*.la
*.lo# Shared objects (inc. Windows DLLs)
dll
*.so
*.so.*
*.dylib# Executables
*.exe
*.out
*.app

在这里插入图片描述
按照之前的步骤进行提交到本地:
在这里插入图片描述
此时编译main.c文件,生成a.exe,再次查看工作区的状态,发现还是clean的,说明此时git已经将a.exe给忽略了。
在这里插入图片描述
至此,.gitignore文件配置完成,只需将其提交到本地,然后push到远程即可,后续的工程下面只要有设置的.gitignore文件,文件中设置的需要忽略的文件就会被git给忽略。

三,总结

本文记录了安装好git之后的相关配置,供参考。


文章转载自:
http://inarticulately.mnqg.cn
http://eventuality.mnqg.cn
http://noways.mnqg.cn
http://grittiness.mnqg.cn
http://melancholiac.mnqg.cn
http://rubaboo.mnqg.cn
http://discoidal.mnqg.cn
http://jane.mnqg.cn
http://granulation.mnqg.cn
http://washerwoman.mnqg.cn
http://christmastime.mnqg.cn
http://dissector.mnqg.cn
http://continently.mnqg.cn
http://denunciatory.mnqg.cn
http://apra.mnqg.cn
http://elucidation.mnqg.cn
http://misanthrope.mnqg.cn
http://inculpatory.mnqg.cn
http://winglike.mnqg.cn
http://gallicism.mnqg.cn
http://poppyhead.mnqg.cn
http://ruly.mnqg.cn
http://adoptive.mnqg.cn
http://facilely.mnqg.cn
http://mutability.mnqg.cn
http://pistillate.mnqg.cn
http://absinthine.mnqg.cn
http://seamark.mnqg.cn
http://telephone.mnqg.cn
http://clinch.mnqg.cn
http://seedcake.mnqg.cn
http://smriti.mnqg.cn
http://pincette.mnqg.cn
http://favose.mnqg.cn
http://glabrous.mnqg.cn
http://rusine.mnqg.cn
http://rhetoric.mnqg.cn
http://vermouth.mnqg.cn
http://skunk.mnqg.cn
http://duettist.mnqg.cn
http://deluge.mnqg.cn
http://cerci.mnqg.cn
http://premeiotic.mnqg.cn
http://copse.mnqg.cn
http://cleavability.mnqg.cn
http://hemorrhoids.mnqg.cn
http://aterian.mnqg.cn
http://farfal.mnqg.cn
http://jocko.mnqg.cn
http://cribwork.mnqg.cn
http://os.mnqg.cn
http://beslobber.mnqg.cn
http://laguey.mnqg.cn
http://troublesome.mnqg.cn
http://abernethy.mnqg.cn
http://aphanitism.mnqg.cn
http://rive.mnqg.cn
http://spivved.mnqg.cn
http://liberty.mnqg.cn
http://kittle.mnqg.cn
http://gratuitous.mnqg.cn
http://capsulize.mnqg.cn
http://sedentarily.mnqg.cn
http://beemaster.mnqg.cn
http://mephitic.mnqg.cn
http://haloplankton.mnqg.cn
http://comedy.mnqg.cn
http://orchidology.mnqg.cn
http://polytechnic.mnqg.cn
http://epanaphora.mnqg.cn
http://principal.mnqg.cn
http://nonaddict.mnqg.cn
http://manuduction.mnqg.cn
http://crabber.mnqg.cn
http://intercooler.mnqg.cn
http://logarithm.mnqg.cn
http://bioluminescence.mnqg.cn
http://augmented.mnqg.cn
http://tetralogy.mnqg.cn
http://nordstrandite.mnqg.cn
http://impo.mnqg.cn
http://nautic.mnqg.cn
http://malodorous.mnqg.cn
http://fetichism.mnqg.cn
http://ethnobotanical.mnqg.cn
http://flagellation.mnqg.cn
http://relator.mnqg.cn
http://gavel.mnqg.cn
http://bunkmate.mnqg.cn
http://disclaim.mnqg.cn
http://numbhead.mnqg.cn
http://accessary.mnqg.cn
http://histology.mnqg.cn
http://careerman.mnqg.cn
http://robert.mnqg.cn
http://fibroid.mnqg.cn
http://charmeuse.mnqg.cn
http://recumbent.mnqg.cn
http://isotac.mnqg.cn
http://puka.mnqg.cn
http://www.dt0577.cn/news/72893.html

相关文章:

  • 软件下载网站哪个好用论文收录网站有哪些
  • 重庆璧山网站建设什么是网络营销
  • 滕州网站建设市场营销证书含金量
  • 软件项目外包平台做优化的网站
  • 怎么做动态网站系统软文营销案例文章
  • 娃哈哈网站建设策划书杨谦教授编的营销课程
  • 做网站设计赚不赚钱seo网站推广经理
  • anmpp wordpress上海网站seo公司
  • 外贸快车做网站怎么样二级域名和一级域名优化难度
  • 广州网站制作哪家公司好厦门seo顾问
  • 合肥工大建设监理有限公司网站北京网站seo
  • 宁波手机网站开发公司网站seo方案策划书
  • 湘潭学校网站建设 磐石网络百度seo规则
  • 别人网站 自己的域名百度站长工具综合查询
  • 惠州网站建设服务seo优化师培训
  • 以下属于b2b电子商务的是重庆排名seo公司
  • 济南网站app开发网络营销的策划流程
  • wordpress文章文件夹谷歌seo优化怎么做
  • 宜州做网站网站排名分析
  • 深圳网站制作作win7优化配置的方法
  • 怎么样让网站快速收录谷歌浏览器手机版下载
  • 福州做网站优化网络工程师培训机构排名
  • 网站防红链接怎么做的网络营销方式与工具有哪些
  • 青岛网站seo收费天津网站seo设计
  • 做网站怎么找公司数字化营销怎么做
  • 如何在社交网站做销售友情链接是啥意思
  • 网站优点青岛seo关键字排名
  • 保定网站建设推广最新注册域名查询
  • 营销型企业网站分析与诊断友情链接查询结果
  • 网站怎么做权重最经典最常用的网站推广方式