git 客户端查看不同分支的文件
2019獨(dú)角獸企業(yè)重金招聘Python工程師標(biāo)準(zhǔn)>>>
?
git show branch:fileWhere?branch?can be any ref (branch, tag, HEAD, ...) and?file?is the full path of the file. To export it you could use
git show branch:file > exported_fileA simple, newbie friendly way for looking into a file:?git gui browser <branch>?which lets you explore the contents of any file.
It's also there in the File menu of?git gui. Most other -more advanced- GUI wrappers (Qgit, Egit, etc..) offer browsing/opening files as well.
參考博文
http://stackoverflow.com/questions/7856416/view-a-file-in-a-different-git-branch-without-changing-branches
?
轉(zhuǎn)載于:https://my.oschina.net/u/2308739/blog/833444
總結(jié)
以上是生活随笔為你收集整理的git 客户端查看不同分支的文件的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Unity3d 下websocket的使
- 下一篇: Zabbix+shell监控报警任意we