Skip to content

Instantly share code, notes, and snippets.

View andrei-dragusanu's full-sized avatar

Andrei Valentin Drăgușanu andrei-dragusanu

View GitHub Profile
@andrei-dragusanu
andrei-dragusanu / prepare-commit-msg
Created March 1, 2018 13:46
Get Jira Id from git branch name
#!/bin/sh
# Jira ID Extraction
# =================================
# Extract Jira ID from branch name and prepend to commit message.
#
# Takes a commit message like: "A commit comment" for branch "feature/SUM-1234-hello"
# and changes it to: "[SUM-1234] A commit comment" for easier commit updates.
#
# Installation
@andrei-dragusanu
andrei-dragusanu / gist:f1df25f3ae51fffe12f712db58237ffa
Last active January 11, 2018 13:24
Copy all dlls from all subfolders into a single folder
get-Childitem -recurse -filter *.dll | Copy-Item -Destination ..\3rdparties.lib