IT数码 购物 网址 头条 软件 日历 阅读 图书馆
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
图片批量下载器
↓批量下载图片,美女图库↓
图片自动播放器
↓图片自动播放器↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁
 
   -> 开发工具 -> git 解决冲突 -> 正文阅读

[开发工具]git 解决冲突

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>

  开发工具 最新文章
Postman接口测试之Mock快速入门
ASCII码空格替换查表_最全ASCII码对照表0-2
如何使用 ssh 建立 socks 代理
Typora配合PicGo阿里云图床配置
SoapUI、Jmeter、Postman三种接口测试工具的
github用相对路径显示图片_GitHub 中 readm
Windows编译g2o及其g2o viewer
解决jupyter notebook无法连接/ jupyter连接
Git恢复到之前版本
VScode常用快捷键
上一篇文章      下一篇文章      查看所有文章
加:2021-10-01 17:06:00  更:2021-10-01 17:08:18 
 
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁

360图书馆 购物 三丰科技 阅读网 日历 万年历 2024年11日历 -2024/11/16 1:56:28-

图片自动播放器
↓图片自动播放器↓
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
图片批量下载器
↓批量下载图片,美女图库↓
  网站联系: qq:121756557 email:121756557@qq.com  IT数码