如果我用另一个分支来打开tig:
tig otherBranch是否可以导航到树视图,找到我想要的文件并将其签出到我的当前分支?
发布于 2014-02-19 02:05:11
是的,您必须在~/.tigrc中添加一个用户定义的命令,例如:
bind generic ^F !?git checkout %(commit) %(file)然后打开tig otherBranch,按t转到树视图,导航到文件,然后按Ctrl-F。
https://stackoverflow.com/questions/21770998
复制相似问题