Quantcast
Channel: Version Control How To » Catherine Sea
Viewing all articles
Browse latest Browse all 20

2.1.1 Basic Operations: Add to source control

$
0
0

The basic actions in Baibulo kulamulira software include Add, Get, Onani, and Check In.

Add: add local files/folders to gwero kulamulira data center / server
Get: retrieve files/folders from data center / server to local
Onani: retrieve files to local for editing, with local copy writable and server copy being marked as “under modification”
Lembetsani: after local modifications, commit the newest changes to server

Add

Before we start working with a version control system, we need to add local files from working folder to a repository for the first time. This will constitute the baseline, so that we can begin tracking these items (files and folders) with Version Control.

  • How to perform Add from Windows Explorer

Add is the most basic and easy operation in version control. Take SourceAnywhere for example, you can add several files and/or folders with a simple drag-and-drop from Windows Explorer to Client file list or project tree. Or, you can use menu File -> Add Files or the Add Files icon in the menu bar.

add files and folders from Windows Explorer to version control

On adding a folder, we can choose a recursive or non-recursive operation. With the Recursive box checked, all the subfolders and files in the subfolders are added into version control. These items will be organized on server at the same structure as they are in the local working folder.

add a folder to version control recursively

  • Add to source control in Visual Studio and IDE

Version control systems can be integrated with IDEs for ease of use by software developers. E.g. in Visual Studio, we go to menu Tools->Options->Source Control to choose which version control system to use in the Current source control plug-in combo box. And then we can directly add a solution/project to source control by right clicking the solution file in Solution Explorer and selecting menu Add to Source Control.


Viewing all articles
Browse latest Browse all 20

Trending Articles