A collection of powershell scripts implementing a selection of Sourcetree custom actions to integrate with GitLab and Visual Studio Code.
- View commit in GitLab
- View file commit in GitLab
- View file in GitLab
- View repository in GitLab
- Open repository folder in Visual Studio Code
- Open file in Visual Studio Code
- Sourcetree pre-installed
- Visual Studio Code pre-installed
- Urls to Gitlab hosted code repositories
- Create a directory called c:\SourcetreeScripts and copy all .ps1 powershell script files included in this repo to that directory. Unblock each powershell script in file properties to make them runnable.
- Copy the customactions.xml file to the
%LOCALAPPDATA%\Atlassian\SourceTree
directory - In Sourcetree in each repository to be used with these scripts, add a new remote called 'gitlab' that points to the http url root of the repository in GitLab. This action saves the url to the remote in the repository local
.git/config
file.
Inspired by https://github.com/damieng/DamienGKit/tree/master/Powershell/SourceTree