git 解决冲突

2023-11-07

Windows PowerShell
版权所有 (C) Microsoft Corporation。保留所有权利。

尝试新的跨平台 PowerShell https://aka.ms/pscore6

PS C:\Users\PV\Desktop\workplace\powervision-shopify-store> git status
On branch index-page
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   theme/assets/theme.scss.liquid
        modified:   theme/layout/theme.liquid
        modified:   theme/sections/collection-template.liquid
        modified:   theme/sections/collection.liquid
        modified:   theme/sections/h-feature-new-arrival.liquid
        modified:   theme/sections/h-footer.liquid
        modified:   theme/sections/slideshow.liquid

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        theme/assets/swiper-bundle.min.css
        theme/assets/swiper-bundle.min.js

no changes added to commit (use "git add" and/or "git commit -a")
PS C:\Users\PV\Desktop\workplace\powervision-shopify-store> git add .
warning: LF will be replaced by CRLF in theme/assets/swiper-bundle.min.css.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in theme/assets/swiper-bundle.min.js.
The file will have its original line endings in your working directory
PS C:\Users\PV\Desktop\workplace\powervision-shopify-store> git commit -m '新增pc首页配置和页面'
[index-page 0c34677] 新增pc首页配置和页面
 10 files changed, 918 insertions(+), 123 deletions(-)
 create mode 100644 theme/assets/swiper-bundle.min.css
 create mode 100644 theme/assets/swiper-bundle.min.js
 create mode 100644 theme/sections/h-slideshow.liquid
PS C:\Users\PV\Desktop\workplace\powervision-shopify-store> git fetch
remote: Enumerating objects: 48, done.
remote: Counting objects: 100% (48/48), done.
remote: Compressing objects: 100% (31/31), done.
Unpacking objects: 100% (36/36), 9.41 KiB | 105.00 KiB/s, done.
From http://172.16.1.100:8888/jiawei.li/powervision-shopify-store
   fb81ad1..6d3bc70  featuar-0001-mengli -> origin/featuar-0001-mengli
   365f5dd..0a05d6a  master              -> origin/master
PS C:\Users\PV\Desktop\workplace\powervision-shopify-store> git merge origin/master
Auto-merging theme/sections/collection-template.liquid
CONFLICT (content): Merge conflict in theme/sections/collection-template.liquid
Auto-merging theme/assets/theme.scss.liquid
Automatic merge failed; fix conflicts and then commit the result.
PS C:\Users\PV\Desktop\workplace\powervision-shopify-store> git status
On branch index-page
You have unmerged paths.
  (fix conflicts and run "git commit")
  (use "git merge --abort" to abort the merge)

Changes to be committed:
        modified:   theme/assets/theme.js
        modified:   theme/assets/theme.scss.liquid
        modified:   theme/sections/header_new.liquid
        modified:   theme/sections/product-template-s1.liquid
        modified:   theme/sections/product-template.liquid
        modified:   theme/sections/s1-in-the-box.liquid
        modified:   theme/templates/collection.liquid
        modified:   theme/templates/product.product-template-s1.liquid

Unmerged paths:
  (use "git add <file>..." to mark resolution)
        both modified:   theme/sections/collection-template.liquid

PS C:\Users\PV\Desktop\workplace\powervision-shopify-store> git add .
PS C:\Users\PV\Desktop\workplace\powervision-shopify-store> git status
On branch index-page
All conflicts fixed but you are still merging.
  (use "git commit" to conclude merge)        

Changes to be committed:
        modified:   theme/assets/theme.js
        modified:   theme/assets/theme.scss.liquid
        modified:   theme/sections/collection-template.liquid
        modified:   theme/sections/header_new.liquid
        modified:   theme/sections/product-template-s1.liquid
        modified:   theme/sections/product-template.liquid   
        modified:   theme/sections/s1-in-the-box.liquid
        modified:   theme/templates/collection.liquid
        modified:   theme/templates/product.product-template-s1.liquid

PS C:\Users\PV\Desktop\workplace\powervision-shopify-store> git log         
commit 0c34677c764a49e1db970fcf58325b30a035d652 (HEAD -> index-page)
Date:   Thu Sep 30 16:15:05 2021 +0800

    新增pc首页配置和页面

commit 0e76af484cb882de619ffb9abc0b2d05a8881da7
Merge: ad1ee31 365f5dd
Author: zhanghuanhuan <huanhuan.zhang@powervision.me>
Date:   Wed Sep 29 16:56:51 2021 +0800

    Merge remote-tracking branch 'origin/master' into index-page

commit ad1ee318366812987d31ffb322e4acad99cc86ca
Author: zhanghuanhuan <huanhuan.zhang@powervision.me>
Date:   Wed Sep 29 16:55:24 2021 +0800


Author: jiawei li <jiawei.li@powervision.me>
Date:   Wed Sep 29 16:53:07 2021 +0800

PS C:\Users\PV\Desktop\workplace\powervision-shopify-store> git status
On branch index-page
  (use "git commit" to conclude merge)

Changes to be committed:
        modified:   theme/assets/theme.js
        modified:   theme/assets/theme.scss.liquid
        modified:   theme/sections/collection-template.liquid
        modified:   theme/sections/header_new.liquid
        modified:   theme/sections/product-template-s1.liquid
        modified:   theme/sections/product-template.liquid
        modified:   theme/sections/s1-in-the-box.liquid
        modified:   theme/templates/collection.liquid
        modified:   theme/templates/product.product-template-s1.liquid

PS C:\Users\PV\Desktop\workplace\powervision-shopify-store> git commit -m '修改collection-template冲突'
[index-page 8ddf164] 修改collection-template冲突
PS C:\Users\PV\Desktop\workplace\powervision-shopify-store> git push
fatal: The current branch index-page has no upstream branch.
To push the current branch and set the remote as upstream, use

    git push --set-upstream origin index-page

PS C:\Users\PV\Desktop\workplace\powervision-shopify-store> git push --set-upstream origin index-page
Enumerating objects: 96, done.
Counting objects: 100% (83/83), done.
Delta compression using up to 12 threads
Compressing objects: 100% (51/51), done.
Writing objects: 100% (52/52), 60.11 KiB | 5.01 MiB/s, done.
Total 52 (delta 31), reused 0 (delta 0), pack-reused 0
remote:
remote: To create a merge request for index-page, visit:
remote:   http://172.16.1.100:8888/jiawei.li/powervision-shopify-store/-/merge_requests/new?merge_request%5Bsource_branch%5D=index-page
remote:
To http://172.16.1.100:8888/jiawei.li/powervision-shopify-store.git
 * [new branch]      index-page -> index-page
Branch 'index-page' set up to track remote branch 'index-page' from 'origin'.
PS C:\Users\PV\Desktop\workplace\powervision-shopify-store>

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

git 解决冲突 的相关文章

  • 匿名行内框是否包含空格?

    我阅读了 CSS2 1 规范 并在 匿名内嵌框 https www w3 org TR CSS22 visuren html anonymous部分 它显示了一个匿名内联框的示例 如下所示 p Some em emphasized em t
  • 在 CSS 中创建背景图案

    我有以下图片 其中有这个有角度的条纹图案 我想知道如何使用 CSS 作为背景图案来创建这个图案 干杯 英语 编辑 我在代码笔中添加了第二个示例 与已经给出的答案类似 但添加了避免梯度的内容 http codepen io anon pen
  • 根据输入字段的字符数动态扩展输入类型“文本”的高度

    与下面的 JSFiddle 类似 我将其添加为书签 但不知道原始问题从哪里出现 http jsfiddle net mJMpw 6 http jsfiddle net mJMpw 6
  • git filter-branch - 放弃对一系列提交中的一组文件的更改

    说我有一个分支dev我想要discard所做的所有更改到一组文件在提交的愤怒中dev分支 因为它偏离了master 如果提交在此范围内只触及那些文件我喜欢把它修剪一下 我得到的最接近的是 git checkout dev git filte
  • 如何使用 AOS 触发向上滚动动画

    我正在使用 AOS 库 css 和 js 它可以帮助我创建每次用户向下滚动页面时触发的动画 我有一个问题 页面的顶部元素仅运行一次 因为 AOS 仅在向下滚动时触发它 我希望我的所有动画在每次用户向下和向上滚动时运行 我怎样才能做到呢 这是
  • 如何使用javascript将div从左向右移动

    I have div named movingImage每次单击按钮时我都想向右移动 50px 这是我的 JavaScript function moving Image document getElementById movingImag
  • webkit-font-smoothing:chrome 和 safari 中的结果突然不同

    我曾经在两个 webkit 浏览器 Chrome 和 Safari 中都有相同的输出 但突然之间 我不知道我可以改变什么 Chrome 中的渲染看起来很糟糕 这是我的html li class cat item term term work
  • 在 uiwebview 中使用 javascript 将样式应用于文本范围

    我在 iPhone 上的 UIWebView 中将一些简单样式的文本显示为 html 它基本上是一系列段落 偶尔有强烈或强调的短语 在运行时 我需要将样式应用于文本范围 有一些类似的场景 其中之一是突出显示搜索结果 如果用户搜索了 某事 我
  • git 压缩并保留上次提交的时间戳

    考虑我有提交 A B C 如果我使用git rebase i将所有三个提交压缩为一个 我们可以 pick A squash B squash C 我看到结果提交A有其原始时间戳 如何让它继承提交的时间戳C 最后一个 我能想到的是git co
  • Databricks Repos 分支的程序化签出

    我有一个集成测试 它比较从两个不同分支 即主分支和功能分支 运行相同脚本的输出 目前 此测试从我的本地计算机开始 但我想将其迁移到 Databricks 作业 并完全从工作流界面运行它 我能够使用笔记本重新创建大部分现有的集成测试 用 Py
  • 如何在不修改 git 历史记录的情况下在我的源代码上运行代码格式化程序?

    我正在尝试使用代码格式化工具格式化整个存储库 这样做时 我想保留有关谁提交了哪一行的信息 以便像这样的命令git blame仍然显示正确的信息 我的意思是它应该显示作者之前编辑过每一行 在格式化之前 git filter branch 命令
  • SSL_connect:SSL_ERROR_SYSCALL 连接到 github.com:443

    几天后 我遇到了 Mac OS High Sierra 10 13 3 的问题 当我运行git clone like git clone github com xxx git failed它打印 LibreSSL SSL connect S
  • 在画布中心写入 (0,0)-HTML5

    I m currently developing a drawing app which allows the user to click and drag to determine the size of the shape and al
  • 更改打开的下拉菜单上向上箭头的颜色

    我正在使用 twitter bootstrap 2 0 1 我正在尝试更改下拉菜单的颜色 我已经设法改变了本身掉落的容器的颜色 但是我似乎找不到箭头来自哪里 有人知道我在哪里可以找到箭头来自的代码 以及如何更改它的颜色 箭头代码可以在lin
  • 如何替换 CSS 表达式

    我有一个用于时间表条目的旧 ASP Web 应用程序 其中充满了 CSS 表达式 它们出现在 CSS 文件中 ApptPage position relative height expression Math max document bo
  • html/js 中从右到左和/或从上到下的文本?

    如何在浏览器中为用户输入创建从右到左和从上到下的文本字段 有没有本地方法可以做到这一点 或者也许有解决方法 从上到下可能像日语或象形文字 对于 RTL 文本字段 您可以使用 HTMLdir属性 如 ime Vidas 已经提到的 或 wit
  • git rebase -i --retain-empty-commits

    默认情况下 当您使用git rebase i它注释掉了空提交 我必须取消注释它们 它们对我有帮助 rebase 命令是否有一个选项可以防止这种我不想保留它们的不必要的假设 好吧 这比预期的要容易 git rebase i keep empt
  • JQuery mouseover 函数多次触发

    我很长时间以来一直使用这种方法来为整个类 按钮等 设置事件 div bigButton mouseover function this style backgroundColor dfdfdf 然而 在进行一些测试时 我刚刚注意到 当将鼠标
  • css bootstrap 下拉菜单在 IE 中看起来不同

    我正在使用CSS引导程序3 2 0 http getbootstrap com css 然而 当在 IE 中查看该网站时 菜单选项周围有一个黑色边框 而且下拉菜单按钮看起来也有所不同 如果您查看该网站http getbootstrap co
  • 字符串比较在 PowerShell 函数中不起作用 - 我做错了什么?

    我正在尝试创建一个别名git commit它还将消息记录到单独的文本文件中 然而 如果git commit回报 nothing to commit working directory clean 它不应该将任何内容记录到单独的文件中 这是我

随机推荐

  • STM32:配置定时器为PWM输出模式以及编码器接口模式

    一 STM32的高级定时器TIM8配置为PWM输出模式 最近在工程项目中 需要用stm32的定时器 以高级定时器TIM8为例 产生两路PWM输出 作为电机的pwm输入 方法如下 初始化电机控制所需IO口 void Motor Init vo
  • Linux——(管道练习)C实现父子进程通信、兄弟进程通信、多个读写端操作管道及管道缓冲区大小、fifo实现非血缘间进程通信

    一 父子进程通信 lswc l 父进程ls写到管道 子进程wc管道的内容 父进程创建管道 拥有读写两端 父进程fork子进程 父进程要将原本输出到屏幕上的内容输出到管道中 用dup实现 然后execlp去进行ls操作 子进程同理 将原本从标
  • 毕业设计-基于轨道的扣件状态检测- YOLO

    目录 前言 课题背景和意义 实现技术思路 一 YOLO 网络结构 二 模型建立 三 实验结果 实现效果图样例 最后 前言 大四是整个大学期间最忙碌的时光 一边要忙着备考或实习为毕业后面临的就业升学做准备 一边要为毕业设计耗费大量精力 近几年
  • BUG收割机之解决eureka的Application显示为UNKNOWN

    BUG收割机之解决eureka的Application显示为UNKNOWN 初学spring cloud的小伙伴们 肯定会遇到eureka服务的application显示为UNKNOWN的情况 如果不幸和下图中的BUG类似 那么就请继续阅读
  • Metasploit超详细安装及使用教程(图文版)

    通过本篇文章 我们将会学习以下内容 1 在Windows上安装Metasploit 2 在Linux和MacOS上安装Metasploit 3 在Kali Linux中使用 Metasploit 4 升级Kali Linux 5 使用虚拟化
  • Python Pandas –数据输入和输出

    Pandas as a library can read and write data to a wide variety of sources In this article we would concentrate on the fol
  • 【衍射光栅】用于Matlab的交互式衍射光栅模型研究

    欢迎来到本博客 博主优势 博客内容尽量做到思维缜密 逻辑清晰 为了方便读者 座右铭 行百里者 半于九十 本文目录如下 目录 1 概述 2 运行结果 2 1 干涉和衍射的交互式仿真 2 2 衍射光栅光谱 2 3 一阶衍射的扩展视图 2 4 用
  • Linux修改文件句柄数及vm.max_map_count、stack size

    一 修改文件句柄数 1 1 查看当前大小 ulimit a 1 2 临时修改 ulimit n 4096 1 3 永久修改 vim etc security limits conf soft nofile 65536 hard nofile
  • Python爬虫完整代码,一人一份,随便拿~

    对于新手做Python爬虫来说是有点难处的 前期练习的时候可以直接套用模板 这样省时省力还很方便 使用Python爬取某网站的相关数据 并保存到同目录下Excel 直接上代码 import re import urllib error im
  • 达梦数据库-锁表

    查询锁表语句 select from v sessions where trx id in select trx id from V LOCK and user name 用户名称 order by create time desc 关闭会
  • Aspose_Diagram_ for Java 2020.X.最先进的全新版

    Java 20 4的Aspose Diagram Java的Aspose Diagram是强大的Microsoft Visio文档处理API 它提供了常见的功能 例如创建 解析和转换本机Visio格式 并支持一些常用的图像和固定布局格式 应
  • 机器学习K-均值——nonzero(clusterAssment[冒号,0].A==cent

    先准备测试数据 如下 上面都是准备数据 下面才是一步步的告诉你怎么生成我们要的数据 矩阵 A是把矩阵转换为数组numpy nonzero 返回哪些元素不是False或者0 第一个array描述行 第二个array描述列
  • 敏捷虽好勿盲从

    原文作者 MARK LEVISON 很多公司正在往陷阱里掉 常常表现为 我们的合作伙伴 或竞争对手 采用了敏捷 因此我们也需要采用敏捷 如果没有正当的理由就向敏捷转型 组织将会受到伤害 就这么简单 多说无益 在20世纪80 90年代 制造商
  • 2022-05-08 Unity核心5——Tilemap

    文章目录 一 瓦片资源 二 瓦片调色板窗口 三 瓦片地图关键脚本和碰撞器 四 导入瓦片官方拓展包 五 新增瓦片类型 六 新增笔刷类型 七 代码管理 Tilemap Tilemap 一般称之为瓦片地图或者平铺地图 是 Unity2017 中新
  • java.lang.RuntimeException: com.mysql.cj.exceptions.CJException: Unknown database ‘test‘

    后端小白在进行IDEA数据库连接的时候会进行以下报错 这是没有mysql驱动的问题 填错了就会报以下的错误哦 解决方法 在URL后面添加 serverTimezone GMT
  • java读取zip/jar包中的文件

    1 jar vs zip jar 文件和 zip 文件都是归档文件 并且都经过压缩 事实上 jar 文件使用与 zip 文件相同的存档和压缩技术 所以 jar 文件实际上是一种特定类型的 zip 文件 JAR 文件本质上是一个包含可选 ME
  • SWUST OJ#77计算员工周工资

    SWUST OJ77 题目描述 如果时间小于0或大于一周的总时间 输出 input is wrong 若雇员周工作小时超过40 小时 则超过部分按原工资的1 5 倍的加班工资来计算 若雇员每周工作小时超过60 小时 则超过60 的部分按原工
  • 【华为OD统一考试A卷

    华为OD统一考试A卷 B卷 新题库说明 2023年5月份 华为官方已经将的 2022 0223Q 1 2 3 4 统一修改为OD统一考试 A卷 和OD统一考试 B卷 你收到的链接上面会标注A卷还是B卷 请注意 根据反馈 目前大部分收到的都是
  • ON-LSTM介绍

    融入层级信息 在常见的神经网络中 神经元通常都是无序的 比如遗忘门 f t f t ft 是一个向量 向量的各个元素的位置没有什么规律 ON LSTM则试图把这些神经元排个序 并且用这个序来表示一些特定的结构 从而把神经元的序信息利用起来
  • git 解决冲突

    Windows PowerShell 版权所有 C Microsoft Corporation 保留所有权利 尝试新的跨平台 PowerShell https aka ms pscore6 PS C Users PV Desktop wor