Git GUI Clients (4-1), SVN and TortoiseSVN

Note: this article is published on 04/18/2024.

This is a series of articles related to Git GUI Clients.

Note. Although Git is very popular in the software development process, there is no category defined in this C # Corner site. So, we put the articles under the DevOps category.

When we discuss these Client GUI for Git, we consentrate on these following features assiacted with the specific Client GUI::

  • Visual StudioVS Code
    • Repos Management (Local):
      • Create a Repository, Branch
      • Clone a Repository
      • Merge, Rebase, Reset, Revert a Branch...
    • Interaction between Local Repos and Remote
      • Fetch
      • Pull
      • Push
      • Sync
    • Editor (+ the original environment funcitonalities, such as compiling, debugging and so on)
  • GitHub DesktopTortoiseGitSmartGit
    • Repos Management (Local)
    • Interaction between Local Repos and Remote
  • GitHub Server
    • Repos Management (Remote)
    • Interaction between Repos and Server automation (pipeline)

A - Introduction

In this article, we will describe What the SVN is and its major features. The content of this article:

  • A: Introduction
  • B: What SVN (TortoiseSVN) is
  • C: Most Popular Functionalities of SVN
    • C-1: Get Latest Version
    • C-2: Clone Files/Folder from SVN to Local
    • C-3: Commit Code into SVN
    • C-4: Check Difference
    • C-5: Create a Patch
    • C-6: Check Owner

B - What SVN (TortoiseSVN) is 

Apache Subversion (often abbreviated SVN, after its command name svn) is a software versioning and revision control system distributed as open source under the Apache License. Its goal is to be a mostly compatible successor to the widely used Concurrent Versions System (CVS).

Subversion was created by CollabNet Inc. in 2000, and is now a top-level Apache project being built and used by a global community of contributors.

While SVN is the Server side app, with offered online service, TortoiseSVN is its Client Side GUI tool.

SVN --- Server side:

TortoiseSVN --- Client Side App

C - Most Popular Functionalities of SVN

I will list the most popular features here, but not all.

C-1. Get Latest Version:

1, Right Click at the root of Local SVN in File Explorer => SVN Checkout

2, Choose URL of repository as [business line]/snapshots:

3, Click Hamburger Button to Get:

C-2. Clone Files/Folder from SVN to Local

1, Right Click at the root of Local SVN in File Explorer => SVN Checkout

2, Set URL of repository as the link chosed:

3, Click OK button above, you got

4, Click OK button again, you got the Folder cloned locally:

C-3. Commit Code into SVN

1, Right Click at the root of the LOD in File Explorer => SVN Update first:

You got confirmation:

2, Commit the code into SVN:

Choose the files you want to commit:

Click OK, you got the confirmation:

C-4. Check Diff

Right Click the File you want to check in the Local SVN in File Explorer => TortoiseSVN => (such as) Diff with previous version

You got the result:

C-5. Create a Patch

Right Click the File or Folder you want to Create a Patch File in the Local SVN in File Explorer => TortoiseSVN =>  Create patch

You got the Patch file:

C-6. Check Owner

Check Owner

Server Side

Client Side 1 --- From SVN Repository Browser

Client 2 --- from Windows File Browser:

References


Similar Articles