git status 出现.orig文件解决办法


git status 出现.orig文件解决办法:

On branch develop

Your branch is ahead of ‘origin/develop’ by 199 commits.

(use “git push” to publish your local commits)

#

Changes to be committed:

(use “git reset HEAD …” to unstage)

#

modified: aa.php

#

Untracked files:

(use “git add …” to include in what will be committed)

#

bb.php.orig

  1. rm bb.php.orig

2.
git add bb.php
git add aa.php
git commit -m “解决冲突”

git status

On branch develop

Your branch is ahead of ‘origin/develop’ by 316 commits.

(use “git push” to publish your local commits)

#
nothing to commit, working directory clean


文章作者: Crazy Boy
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 Crazy Boy !
赏

留言

想法、疑问或勘误,都可以写在这里。留言会公开显示。

 上一篇
MySQL JSON 字段操作笔记 MySQL JSON 字段操作笔记
一、常用操作符与函数 操作符/函数 说明 示例 -> 提取 JSON 值,返回 JSON 类型 config->'$.conf_id' ->> 提取 JSON 值,返回文本类型 config->
2026-09-18
下一篇 
PHP 内存泄漏全解析:原因、场景与解决方案 PHP 内存泄漏全解析:原因、场景与解决方案
内存泄漏(Memory Leak)是程序开发中常见的隐患,指程序在运行过程中动态分配的内存未被正确释放,导致内存占用持续增加,最终可能引发性能下降、程序崩溃甚至系统资源耗尽。虽然 PHP 作为脚本语言具备自动垃圾回收(Garbage Col
2026-06-02