You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
building with multiple build tools (maven, gradle, grunt, gulp)
utest: run unit tests
run: run application
go: pre-commit (clean build, run unit and functional tests)
build: build deployable artifact
working with git
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
other commands (tool specific)
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.
updating aliases (both team and individual)
ea: edit team aliases (do a git commit and push to share with team)
eb: edit bash_profile
Installing
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
To use git-smart (called by the gsp alias), install it with gem as follows:
sudo gem install git-smart
More git aliases
copy the aliases from gitconfig-aliases to your ~/.gitconfig file. Then these can be used such as "git co" instead of "git checkout".
Ideas for contributions
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.