Skip to content

Instantly share code, notes, and snippets.

View Sanne's full-sized avatar

Sanne Grinovero Sanne

View GitHub Profile
@Sanne
Sanne / jira
Last active September 26, 2015 10:57
Open JIRA from git branch
#!/bin/bash
# This script will look into the GIT commit log of the current directory, backwards since the branch
# from master, searching for references to JIRA issues of a set of known projects.
# It will then print URLs to all mentioned JIRA issues.
# Optionally (uncommnent one line) it could open all relevant issues in different tabs of a browser: this is useful
# in my workflow as I often want to comment and/or close the issues when merging work in upstream.
#
# Released under the WTFPL license version 2 http://sam.zoy.org/wtfpl/
#
# Copyright (c) 2011 Sanne Grinovero
@emmanuelbernard
emmanuelbernard / build.sh
Created January 20, 2011 09:28
build your project in the background while you can work on the next bug
#!/bin/bash
# Clones your existing repo and run the maven tests off this clone
# Tests are run on the the current branch at the time of cloning
#
# Note that you can work on the next bug while this is going on as
# tests are run off a cloned repo.
#
# $ build.sh
# runs 'maven clean install'
#