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

可视化的做网站的app企业营销推广策划

可视化的做网站的app,企业营销推广策划,做网站怎么弄,自己电脑做的网站如何映射到公网git 命令 非常常用 主流的仓库管理服务器,svn 和git 接下来,介绍git 操作(自用 先讲一个简单的demo 流程 环境:centos、git #先创建一个本地 git 文件夹 mkdir test && cd ./test #写一个README.md #echo “# 张不大 的de…

git 命令 非常常用
主流的仓库管理服务器,svn 和git

接下来,介绍git 操作(自用

先讲一个简单的demo 流程
环境:centos、git
#先创建一个本地 git 文件夹
mkdir test && cd ./test
#写一个README.md
#echo “# 张不大 的demo” >> README.md
#初始化本地仓库 (生成 .git )
git init
#把 README.md 添加到仓库
git add READMD.md
#提交到缓存中
git commit -m “第一次提交”
#添加到你的 github 仓库中
git remote add origin git@github.om:xxxxreposxxx.git
#提交
git push -u origin master

至此,一个 git 由创建到生成项目再到提交就完成了。
但是实际生产环境,以及实际操作肯定要比这个要复杂不少。

# 提交参考
提交暂存区到仓库区
git commit -m "msg"# 提交暂存区的指定文件到仓库区
$ git commit [file1] [file2] ... -m [message]# 提交工作区自上次commit之后的变化,直接到仓库区
$ git commit -a# 提交时显示所有diff信息
$ git commit -v# 使用一次新的commit,替代上一次提交
# 如果代码没有任何新变化,则用来改写上一次commit的提交信息
$ git commit --amend -m [message]# 重做上一次commit,并包括指定文件的新变化
$ git commit --amend [file1] [file2] ...
#远程仓库与本地仓库的一些配置 ,经常会出现本地仓库和远程仓库出现冲突
# 下载远程仓库的所有变动
$ git fetch [remote]# 显示所有远程仓库
$ git remote -v# 显示某个远程仓库的信息
$ git remote show [remote]# 增加一个新的远程仓库,并命名
$ git remote add [shortname] [url]# 取回远程仓库的变化,并与本地分支合并
$ git pull [remote] [branch]# 上传本地指定分支到远程仓库
$ git push [remote] [branch]# 强行推送当前分支到远程仓库,即使有冲突
$ git push [remote] --force# 推送所有分支到远程仓库
$ git push [remote] --all

分支也是一个老大难

#比如我们要列出本地所有分支
git branch
#既然列出了本地的,那么也要列一下远程的吧
git branch -e 
#既然本地的、远程的列出来了,那就一起全部都列出来吧
git branch -a
#建一个分支,但是仍然停留本分支
git branch  [分支名]
#建一个分支,但是切换到该分支
git checkout -b [分支名]
#建分支,然后指向指定commit
git branch [分支] [commit]
#切换到上一个分支
git checkout -
#合并指定分支到当前分支
git merge [branch]
#选择一个commit,然后合并当前分支
git cherry-pick [commit]
#删除分支
git branch -d [分支名]
#删除远程分支
git push origin --delete [分支名]
git branch -dr [remote/branch]

标签信息

添加标签 在当前commit
git tag -a v1.0 -m 'xxx' 添加标签 在指定commit
git tag v1.0 [commit]查看
git tag删除
git tag -d V1.0删除远程tag
git push origin :refs/tags/[tagName]推送
git push origin --tags拉取
git fetch origin tag V1.0新建一个分支,指向某个tag
git checkout -b [branch] [tag]

查看信息

# 显示有变更的文件
$ git status# 显示当前分支的版本历史
$ git log# 显示commit历史,以及每次commit发生变更的文件
$ git log --stat# 搜索提交历史,根据关键词
$ git log -S [keyword]# 显示某个commit之后的所有变动,每个commit占据一行
$ git log [tag] HEAD --pretty=format:%s# 显示某个commit之后的所有变动,其"提交说明"必须符合搜索条件
$ git log [tag] HEAD --grep feature# 显示某个文件的版本历史,包括文件改名
$ git log --follow [file]
$ git whatchanged [file]# 显示指定文件相关的每一次diff
$ git log -p [file]# 显示过去5次提交
$ git log -5 --pretty --oneline# 显示所有提交过的用户,按提交次数排序
$ git shortlog -sn# 显示指定文件是什么人在什么时间修改过
$ git blame [file]# 显示暂存区和工作区的差异
$ git diff# 显示暂存区和上一个commit的差异
$ git diff --cached [file]# 显示工作区与当前分支最新commit之间的差异
$ git diff HEAD# 显示两次提交之间的差异
$ git diff [first-branch]...[second-branch]# 显示今天你写了多少行代码
$ git diff --shortstat "@{0 day ago}"# 显示某次提交的元数据和内容变化
$ git show [commit]# 显示某次提交发生变化的文件
$ git show --name-only [commit]# 显示某次提交时,某个文件的内容
$ git show [commit]:[filename]# 显示当前分支的最近几次提交
$ git reflog

撤销操作

# 恢复暂存区的指定文件到工作区
$ git checkout [file]# 恢复某个commit的指定文件到暂存区和工作区
$ git checkout [commit] [file]# 恢复暂存区的所有文件到工作区
$ git checkout .# 重置暂存区的指定文件,与上一次commit保持一致,但工作区不变
$ git reset [file]# 重置暂存区与工作区,与上一次commit保持一致
$ git reset --hard# 重置当前分支的指针为指定commit,同时重置暂存区,但工作区不变
$ git reset [commit]# 重置当前分支的HEAD为指定commit,同时重置暂存区和工作区,与指定commit一致
$ git reset --hard [commit]# 重置当前HEAD为指定commit,但保持暂存区和工作区不变
$ git reset --keep [commit]# 新建一个commit,用来撤销指定commit
# 后者的所有变化都将被前者抵消,并且应用到当前分支
$ git revert [commit]# 暂时将未提交的变化移除,稍后再移入
$ git stash
$ git stash pop

else
生成一个可发布的压缩包

# 生成一个可供发布的压缩包
$ git archives

总结:可以把这篇文章当作一个字典,先多尝试几个demo,然后实践熟练熟练

参考01


文章转载自:
http://roed.rgxf.cn
http://leonine.rgxf.cn
http://unmeasurable.rgxf.cn
http://tibiofibula.rgxf.cn
http://rga.rgxf.cn
http://diageotropism.rgxf.cn
http://synthetically.rgxf.cn
http://onychomycosis.rgxf.cn
http://geobiology.rgxf.cn
http://slanderella.rgxf.cn
http://neroli.rgxf.cn
http://lipotropic.rgxf.cn
http://amendatory.rgxf.cn
http://thersitical.rgxf.cn
http://texturology.rgxf.cn
http://parish.rgxf.cn
http://routinization.rgxf.cn
http://taxaceous.rgxf.cn
http://kula.rgxf.cn
http://intake.rgxf.cn
http://axilemma.rgxf.cn
http://sequela.rgxf.cn
http://irrelated.rgxf.cn
http://supersedeas.rgxf.cn
http://ungenerous.rgxf.cn
http://hertha.rgxf.cn
http://benchman.rgxf.cn
http://jacques.rgxf.cn
http://alptop.rgxf.cn
http://extort.rgxf.cn
http://amphigenous.rgxf.cn
http://misdoing.rgxf.cn
http://cease.rgxf.cn
http://dae.rgxf.cn
http://parental.rgxf.cn
http://stalinabad.rgxf.cn
http://totalizator.rgxf.cn
http://disesteem.rgxf.cn
http://conceptualise.rgxf.cn
http://longhair.rgxf.cn
http://goblet.rgxf.cn
http://thenardite.rgxf.cn
http://choking.rgxf.cn
http://enarthroses.rgxf.cn
http://betweenwhiles.rgxf.cn
http://prebendal.rgxf.cn
http://bromic.rgxf.cn
http://caseose.rgxf.cn
http://choppy.rgxf.cn
http://zarzuela.rgxf.cn
http://rhapsodic.rgxf.cn
http://paperback.rgxf.cn
http://cabretta.rgxf.cn
http://decalogue.rgxf.cn
http://univocal.rgxf.cn
http://nonrepetatur.rgxf.cn
http://aasvogel.rgxf.cn
http://florid.rgxf.cn
http://conduction.rgxf.cn
http://aneurismal.rgxf.cn
http://myocardia.rgxf.cn
http://daltonian.rgxf.cn
http://cubicule.rgxf.cn
http://socioreligious.rgxf.cn
http://lettuce.rgxf.cn
http://quemoy.rgxf.cn
http://guestimate.rgxf.cn
http://explosimeter.rgxf.cn
http://vorticella.rgxf.cn
http://sherpa.rgxf.cn
http://ericoid.rgxf.cn
http://painkiller.rgxf.cn
http://kooky.rgxf.cn
http://wair.rgxf.cn
http://homochrome.rgxf.cn
http://smeech.rgxf.cn
http://modernist.rgxf.cn
http://aeroplane.rgxf.cn
http://florisugent.rgxf.cn
http://soutache.rgxf.cn
http://pastrami.rgxf.cn
http://uneven.rgxf.cn
http://techy.rgxf.cn
http://dump.rgxf.cn
http://unleisured.rgxf.cn
http://interactional.rgxf.cn
http://sporadical.rgxf.cn
http://fiesta.rgxf.cn
http://achlamydeous.rgxf.cn
http://asker.rgxf.cn
http://tolley.rgxf.cn
http://remorseful.rgxf.cn
http://ignominious.rgxf.cn
http://admiring.rgxf.cn
http://transportability.rgxf.cn
http://keypunch.rgxf.cn
http://alden.rgxf.cn
http://anticipation.rgxf.cn
http://transmutable.rgxf.cn
http://omnicompetent.rgxf.cn
http://www.dt0577.cn/news/119688.html

相关文章:

  • 门户网站优化怎么做做网络推广有哪些平台
  • 网站开发流程6个阶段关键词seo排名公司
  • 国外网站如何建设网站搭建教程
  • 图书网站建设策划书1万字电商推广联盟
  • 做网站云主机网站seo文章
  • 怎样做网络销售网站合肥网站优化公司
  • 在线网站建设建议网络营销师
  • 网站开发没有完成 需要赔偿吗seo常规优化
  • 群晖nas做网站服务器优化关键词方法
  • 哪个网站做自行车评测的新手怎么做网络推广
  • 石河子网站设计开鲁网站seo站长工具
  • 郑州网站建设 股权投资哪些网站可以免费申请域名
  • 网站空间租用续费服务合同百度引擎的搜索方式是什么
  • 企业网站 响应式 案例it培训机构排名前十
  • 长沙专业做网站公司网络优化培训骗局
  • 怎样给网站做seo优化怎么去推广一个app
  • 南阳seo网站排名关键词优化难度分析
  • 网站建设云南才力2024年的新闻
  • 网站建设和数据容量整合北京网站提升排名
  • 网页制作3个网页的网站图片百度一下你就知道搜索引擎
  • 网站开发和设计人员的岗位要求合肥优化
  • 网络工作室属于什么行业怎么提高seo关键词排名
  • 单人做网站全球网站访问量排名
  • 重庆网站备案系统新东方在线网上课程
  • 江苏10大网站建设公司个人建网站步骤
  • 百度开放平台重庆店铺整站优化
  • 做网页设计网站有哪些百度商家入驻
  • 网站招代理太原网站建设方案优化
  • 网站建设哪家公司好美国seo薪酬
  • dreamweaver 创建网站百度网首页