Source Control
Using GitLab
Step 1 - Create a repository
Select "Create Project" (top right)
Select Create Blank Project
To search for a project type in the box and press the Search button
Find the active branch
Adding a Folder
Open VS Code
Open the folder
Display the Source Code pane
Press Publish to GitHub
check the folder path
Select "Publish to GitHub private repository"
Tick the sub folders
Press OK
Pulling the Latest Files
When using multiple devices or sharing code with colleagues there will be times when you need to pull the latest changes.
The latest files in GitHub are not automatically pulled to your local folder.
This step must be done manually.
In VS Code display the Source Code pane
In the Changes panel press the three dots.
Select Pull
Main Branch
When you create a new project there will only be one branch called "main".
This branch cannot be used for day-to-day development
Making any direct commits on this branch is not allowed.
This branch can only be updated by merging the changes made on a different branch.
Develop Branch
Create a new branch called "develop"
Feature Branches
These are for very specific bugs or new features
These are either "bugfix/" or "feature/"
Create a new branch called "feature/version1"
Release Branches
These are prefixed with "release/version1"
Merge Requests
After a merge request the branch will be automatically removed.
To save the list of approvers for Merge Requests
Settings > Repository > Branch Rules
branch rule details, merge requests
Tracking Issues
The most common choices are:
Atlassian JIRA
Microsoft Azure Boards (part of Azure DevOps)
link - https://learn.microsoft.com/en-us/azure/devops/boards/?view=azure-devops
Using VS Code
If you are thinking about using VS Code to write and maintain your VBA code here are some extensions that could help.
link - marketplace.visualstudio.com/search?term=VBA&target=VSCode&category=All%20categories&sortBy=Relevance
link - marketplace.visualstudio.com/items?itemName=serkonda7.vscode-vba
link - marketplace.visualstudio.com/items?itemName=spences10.VBA
© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited TopPrevNext