zoukankan      html  css  js  c++  java
  • your local changes would be overwritten by merge. commit stash or revert them to proceed. view them

    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

  • 相关阅读:
    Lucky Permutation Triple 构造
    HDU4283:You Are the One(区间DP)
    D. Match & Catch 后缀数组
    数学选讲 orz
    D
    一步一步线段树
    湖科大校赛第三题
    最大流部分
    bfs题目集锦
    hdu1429 bfs+状态压缩
  • 原文地址:https://www.cnblogs.com/spring87/p/4860428.html
Copyright © 2011-2022 走看看