Skip to content

Instantly share code, notes, and snippets.

@diego-aslz
Last active December 19, 2015 04:59
Show Gist options
  • Save diego-aslz/5900853 to your computer and use it in GitHub Desktop.
Save diego-aslz/5900853 to your computer and use it in GitHub Desktop.
Some good aliases for SVN.
alias svnu='svn up'
alias sst='svn stat'
alias slog='svn log -l 10'
alias scm='svn commit -m'
alias sme='svn merge'
alias sdf='svn diff | vim -'
svs() {
svn stat | grep -v "classpath" | grep -v "/bin" | grep -v ".settings" | grep -v ".project" | grep -v "target"
}
alias sigaa='cd ~/svn/SIG/SIGAA'
alias sipac='cd ~/svn/SIG/SIPAC'
alias sigrh='cd ~/svn/SIG/SIGRH'
alias sigadmin='cd ~/svn/SIG/SIGAdmin'
function merge_sigaa {
sigaa
svnu
sme "https://version.info.ufrn.br/cooperacao/tags/homologacao/SIGAA $1/SIGAA/"
}
function merge_sigrh {
sigrh
svnu
sme "https://version.info.ufrn.br/cooperacao/tags/homologacao/SIGRH $1/SIGRH/"
}
function merge_sipac {
sipac
svnu
sme "https://version.info.ufrn.br/cooperacao/tags/homologacao/SIPAC $1/SIPAC/"
}
function merge_admin {
sigadmin
svnu
sme "https://version.info.ufrn.br/cooperacao/tags/homologacao/SIGAdmin $1/SIGAdmin/"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment