Skip to content

Instantly share code, notes, and snippets.

Juan Pablo Royo jproyo

Block or report user

Report or block jproyo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jproyo / get-branch
Created May 7, 2012
Git SVN Get and Configure Remote Branch/Tag
View get-branch
echo "This script get a specific branch/tag from SVN through git-svn and config in your .git/config ref."
echo "OPTIONS:"
echo " -h Show help"
echo " -t Tag Name that we want to label our branch localy"
echo " -u SVN Tag URL"
jproyo / git_bash
Created May 7, 2012
Git Bash prompt improvement
View git_bash
#function parse_git_branch {
# ref=$(git-symbolic-ref HEAD 2> /dev/null) || return
# echo "("${ref#refs/heads/}")"
function parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
jproyo / mvn-release-batch-mode
Created May 7, 2012
Maven Release Silent Mode
View mvn-release-batch-mode
mvn -B release:prepare -DdryRun=true -Dchas-support-api-version=22.0.0 -Dchas-support-version=22.0.0 -Dtag=chas-flight-23.0.0 -DreleaseVersion=23.0.0 -DdevelopmentVersion=23.0.1-SNAPSHOT
You can’t perform that action at this time.