Skip to content

Repository files navigation

Installation

Sourcetree integration

Create a hardlink to the sourcetree customs commands file

  • navigate to sourcetree folder of this repo on your disk after cloning
  • delete %USERPROFILE%\AppData\Local\Atlassian\SourceTree
  • run following command with administrative rights
mklink %USERPROFILE%\AppData\Local\Atlassian\SourceTree  <rootpath>\customactions.xml

Additional git commands

Extend your global .gitconfig

git config --global include.path <rootpath>/gitflowhelp/githelper/.gitconfigalias

include to path

  • Add \gitflowhelper\gitflowhelper\ to your PATH environment variable OR
  • set hardlink to your tools folder whitch is already included in your PATH environment variable

Powershell (UpdateGitLabDirs.ps1)

Step 1

  • open the Powershell in elevated mode
  • copy the following line in the console and press enter
Find-Module -Name PSGitLab | Install-Module

Step 2

  • Navigate to Gitlab Preferences -> Access tokens
  • Create a Personal Access Token with "api Access the authenticated user's API" checkbox checked

Step 3

  • open the Powershell in elevated mode
  • copy the following line in the console and press enter
Save-GitLabAPIConfiguration -Domain https://ctd-sv01.XXXXXXXXX.de -Token "<insert token here>"
  • Create folder "GIT" on your disk
  • start UpdateGitLabDirs.ps1 in this folder als working directory

Configure _git clone <projectdir>---<projectname>.cmd

  • add \gitflowhelper\githelper to your path variable, or make \gitflowhelper\githelper\gg.cmd somehow accessable bei PATH, e.g. to make an hard-link run following command (elevated mode):
mklink c:\tools.cmd <rootdir>\gitflowhelper\githelper\gg.cmd

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages