This is designed to helps to keep track of git branches and their azure devops work items.
- Extract the release zip file to any folder
- Add the "install" folder to your path environment variables
- Edit
appSettings.json
in the "install folder" and enter yourAzureDevopsOrgUri
(where your work items are stored) - Start
RepoCleaner.exe config
to enter config mode and enter an azure devops personal access token that has at least Work Items and Code read access - Configure you powershell to use UTF8 encoding, otherwise some icons will not be able to be displayed
# Start the tool
RepoCleaner.exe
This command will show all local branches and the related work item of this branch. The work item number is determined by the first number found in the branch name.
# Start the tool with delete parameter
RepoCleaner.exe -d
This commands shows the overview and a delete prompt for all branches that can be deleted.
Read the detailed documentation or start the tool with the help parameter.
# Start the tool with help parameter
RepoCleaner.exe -h
Read the documentation.