我有这个命令:
git diff -w remotes/origin/dev:"$file" HEAD:"$file"
我想知道如何用工作树而不是 HEAD 来区分它,如下所示:
git diff -w remotes/origin/dev:"$file" WORKTREE:"$file"
也许这样做的方法就是这样?
git diff -w remotes/origin/dev:"$file" "$file"
有人知道吗?
我有这个命令:
git diff -w remotes/origin/dev:"$file" HEAD:"$file"
我想知道如何用工作树而不是 HEAD 来区分它,如下所示:
git diff -w remotes/origin/dev:"$file" WORKTREE:"$file"
也许这样做的方法就是这样?
git diff -w remotes/origin/dev:"$file" "$file"
有人知道吗?