利用 IntelliJ IDEA 進行代碼對比的方法

  • 第 1 種:若是咱們是從 SVN 檢出的項目,而且想比較本地代碼與從 SVN 檢出時的代碼相比都有那些區別,能夠按以下步驟操做,

  

  如上圖所示,在代碼編輯區,右鍵喚出功能菜單,而後選擇Subversion,進而會展現出更多的可選項,例如:.net

  Compare with the Same Repository Version,與 SVN 倉庫相同版本作對比;3d

  Compare with Latest Repository Version,與 SVN 倉庫最新版本作對比;
  Compare with...,點擊後選擇本分支的不一樣版本作對比;
  Compare with Branch,點擊後須要先配置具體要對比的分支,而後與指定分支作比對;
  Show History,同Compare with...相似,只不過是先展現出此分支的版本歷史。
  經過上述方法,已經能夠知足咱們比較線上分支代碼的需求啦!
blog


  原文:https://blog.csdn.net/qq_35246620/article/details/78938672

it

相關文章
相關標籤/搜索