V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
git
Pro Git
Atlassian Git Tutorial
Pro Git 简体中文翻译
GitX
PepperEgg
V2EX  ›  git

如何快速提取修改文件并包含工程的全路径

  •  
  •   PepperEgg · 2022-03-01 14:08:57 +08:00 · 1186 次点击
    这是一个创建于 784 天前的主题,其中的信息可能已经有所发展或是发生改变。
    举例
    工程目录为 pro
    当前有文件 D:\pro\adir\A.cpp D:\pro\bdir\B.cpp 被修改了
    我要拷贝文件出来,并且要包含工程目录开始的路径 xxx\pro\adir\A.cpp xxx\pro\bdir\B.cpp 这样的
    求问大佬有无方法
    6 条回复    2022-03-02 21:49:11 +08:00
    wdssmq
        1
    wdssmq  
       2022-03-01 18:46:13 +08:00
    tortoisegit 可以,但是不知道命令行怎么操作。。
    PepperEgg
        2
    PepperEgg  
    OP
       2022-03-02 09:54:54 +08:00
    @wdssmq tortoisegit 请问如何操作呢
    wdssmq
        3
    wdssmq  
       2022-03-02 15:44:47 +08:00
    wdssmq
        4
    wdssmq  
       2022-03-02 15:45:00 +08:00
    PepperEgg
        5
    PepperEgg  
    OP
       2022-03-02 17:17:14 +08:00
    @wdssmq 感谢老哥
    initd
        6
    initd  
       2022-03-02 21:49:11 +08:00
    git status
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5389 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 08:28 · PVG 16:28 · LAX 01:28 · JFK 04:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.