Thursday, November 11, 2021

SVN Short Note

 

SVN Note 

  • Install TortoiseSVN https://tortoisesvn.net/ 
    • Commit – push code base to SVN
    • Update – update repo from SVN
  • Repository checkout 
    • TortoiseSVN Repo browser 
    • Browse to the repository 
    • Copy link 
    • TortoiseSVN checkout 
    • Checkout paste link 
  • Revert to a previous revision  
    • Revert to update 
    • Revert to this revision 
    • Update to this revision 
  • Show log 
    • Double click logs, will show changed codebase files 
    • TortoiseSVN Diff 
    • This will show changes from the previous revision, current revision, and current working copy 
  • Show diff 
    • Differences from the latest update
    • Use Winmerge tool for code comparison
  • Local modifications
    • When the local codebase is updated to remote then project versioned files will be ticked in GREEN
    • When the local codebase has new modifications then project versioned files will be ticked in RED
  • Other notes
    • .svn should be in the project directory - these the files used in svn t track the versioned codebase
      • if this file is deleted accidentally then take new checkout from the svn
    • If need to delete a codebase file in svn then get update delete the file in local then commit to svn
      • tick the red color missing files and commit so it will be removed from the svn

No comments:

Post a Comment

LeetCode C++ Cheat Sheet June

🎯 Core Patterns & Representative Questions 1. Arrays & Hashing Two Sum – hash map → O(n) Contains Duplicate , Product of A...