TFS shortcut to compare a modified file with the latest version

前端 未结 4 1420
星月不相逢
星月不相逢 2021-02-03 21:53

Right now I have to pull up Pending Changes window, right-click on the file and select Compare->With Latest Version... Is there a faster way to look at my modifications?

4条回答
  •  再見小時候
    2021-02-03 22:40

    Another alternative could be to set up an alias in Command Window and use it. To bring up the compare window: Open Command Window (ctrl + alt + A) Set alias for File.TfsCompare

    alias diff File.TfsCompare
    

    Next time you need to do the compare, type 'diff' and hit enter in the command window. 'diff' is an alias name, could be set to whatever of your choice. If you want to delete alias, use

    alias aliasName /d
    

提交回复
热议问题