【问题标题】:How to hide unmodified files while check in Github签入 Github 时如何隐藏未修改的文件
【发布时间】:2014-08-21 15:16:00
【问题描述】:

我在我们的项目中使用 Github。

当我在 Github 中检查以从原始 master 中提取数据时,它会显示所有文件,但我需要由我更改的文件。

【问题讨论】:

    标签: github


    【解决方案1】:

    您可以使用git log 按作者显示更新的文件。
    参见例如“Can I get git to tell me all the files one user has modified?

    git log --pretty="%H" --author="authorname"
    

    (用你自己的替换authorname,正如你在git config user.name中指定的那样)

    After a pull,你可以在master@{1}master之间登录。

    【讨论】:

      猜你喜欢
      • 2011-02-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-08-12
      • 1970-01-01
      • 2011-01-15
      • 1970-01-01
      相关资源
      最近更新 更多