- Currently supports maven/gradle (for Java/Groovy/Spring Boot) and grunt/gulp (for JavaScript/Angular)
- Developed by Brian Westrich ([email protected]) and Rob Danek ([email protected], [email protected])
utest: run unit tests
run: run application
go: pre-commit (clean build, run unit and functional tests)
build: build deployable artifact
git new-branch: create a branch
git addall: add all to git
gsp: git smart pull
git create-pull-request: create a (bitbucket) pull request
see gitconfig-aliases for complete list
refresh: run gradle refresh
rgo: run gradle refresh, then run 'go'
j{#} (where # = 6, 7, or 8): set Java version
gsp: git smart-pull that does a "smarter" pull (handles upstream branching and possibly stashes changes if needed)
gs: git status -sb, nicer git status display.
ea: edit team aliases (do a git commit and push to share with team)
eb: edit bash_profile
- optional: change the MY_TEAM environment variable in the team-aliases file to a variable name of your choice
- add commands in sample-include-in-bash-profile to .bash_profile (adjusting accordingly for any changes to the name of the MY_TEAM variable)
- source ~./bash_profile
- sudo gem install git-smart
- copy the aliases from gitconfig-aliases to your ~/.gitconfig file. Then these can be used such as "git co" instead of "git checkout".
- We're interested in ideas on how one might do the optional 1st step in the installation instructions (changing the name of the MY_TEAM env var) without having to make local changes to the team-aliases file, as this would make it easier to use the cloned git repo and provide pull requests back to it.