【问题标题】:TFS command line check inTFS 命令行签入
【发布时间】:2011-06-04 02:26:36
【问题描述】:

我修改了一些 TFS 下的文件,保存了更改并尝试使用以下命令将其签入:

checkin "filename" /override:"1" /noprompt /comment:"some comment here"

并得到错误:

There is no pending change for "filename"

有人知道我应该怎么做才能成功签到吗?


解决方案: 如果您修改了不在 Visual Studio 中的文件,则需要在签入前进行签出以避免此问题。

【问题讨论】:

    标签: command-line tfs


    【解决方案1】:

    只是猜测,但听起来 tf.exe 不知道要在哪个工作区进行此签入操作。查看tf.exe workspacetf.exe workspaces 的文档

    【讨论】:

    • 谢谢。 checkin before checkin 帮助我避免了这个问题。
    猜你喜欢
    • 2014-12-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-04-25
    • 2016-06-09
    • 1970-01-01
    • 2023-03-27
    相关资源
    最近更新 更多