github中未分类的变化是什么? [英] What's the unstaged changes in github?

查看:134
本文介绍了github中未分类的变化是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚更改了README文件,并希望在github中同步它,但它总是告诉我您无法与未分离的更改同步。有人可以告诉我它是什么,我该如何解决这个问题? 解决方案

),

  • git commit -m你的修改注释 ), 在推送它之前,
  • git push )。

    另请参阅使用遥控器


    UNS Taged changes没有链接到GitHub,而是在您本地的repo上进行本地修改,您尚未将其添加到索引(staged),以用于将来的提交。


    I just changed the README file and want to sync it in github, but it always tells me "You cannot sync with unstaged changes". Could someone tell me what it is and how should I fix this?

    解决方案

    Look at learn.github:

    You need to:

    So "unstaged changes" aren't linked to GitHub, but are local modifications on your local repo, which you haven't yet added to the index ("staged"), for a future commit.

    这篇关于github中未分类的变化是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    相关文章
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆