博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
your local changes would be overwritten by merge. commit stash or revert them to proceed. view them
阅读量:7099 次
发布时间:2019-06-28

本文共 701 字,大约阅读时间需要 2 分钟。

error log:

 

your local changes would be overwritten by merge. commit stash or revert them to proceed. view them

  

 

You can't merge with local modifications. Git protects you from losing potentially important changes. You have three options. One is to commit the change using

git commit -m "My message"

  

The second is to stash it. stashing acts as a stack, where you can push changes, and you pop them in reverse order.

To stash type:

git stash

  

Do the merge, and than pull the stash:

git stash pop

  

The third options is to discard the local changes using git reset --hard.

 

 

http://stackoverflow.com/questions/15745045/how-do-i-resolve-git-saying-commit-your-changes-or-stash-them-before-you-can-me

 

转载地址:http://cheql.baihongyu.com/

你可能感兴趣的文章
总结2012展望2013
查看>>
Oracle入门必读
查看>>
Oracle实例和Oracle数据库
查看>>
MySQL群集,主从复制及双主模式
查看>>
SocketChannel / ServerSocketChannel / Selector
查看>>
grep 及正则表达式总结
查看>>
memcached安装配置
查看>>
redmine的本地升级与异地迁移升级
查看>>
我的友情链接
查看>>
我的友情链接
查看>>
Wav数据格式的44个字节头部信息汇总
查看>>
修改eclipse默认工作空间和删除工作空间
查看>>
Delphi下遍历文件夹下所有文件的递归算法
查看>>
liunx 中 find常见用法示例 / linux下递归删除目录下所有asp文件
查看>>
Java中创建对象的5种方式
查看>>
angularjs-currency 过滤器
查看>>
H3C-1000S 内部服务器映射
查看>>
Linux负载均衡软件LVS+keepalived
查看>>
世界500强某知名日企面试题库
查看>>
MySQL MyISAM 库转换为InnoDB的方法
查看>>