The easiest way to use this is to clone this repo somewhere and then create a
symlink to the included .bash_profile file from your user directory (~).
Something like:
cd ~
ln -s /location/to/bash_profile/repo/.bash_profile .bash_profile
- Sets your default editor to vim
- Adds git auto completion
- Modifies the prompt to show git related information
- If rbenv is available, will initialize it
- Introduces many aliases (see below for a list)
bi- alias forbundle installbu- alias forbundle updatefs- alias forforeman startcd..- alias forcd ..cls- alias forclearls- alias forls -f1 -FGahpll- alias forls -lreload_profile- reloads the.bash_profilefileupdate_profile-git pullin the~/bash_profiledirectory and reloadstrash- moves a file (or anything matching a glob pattern) to the trashempty_trash- empties the trashhitch- an alias for using hitch.unhitch- the opposite ofhitch
t- clears the screen and runsrake spec
incoming- shows incoming commits from origin for the current branchoutgoing- shows outgoing commits to origin for the current branchdirty-branches- shows which branches are already merged into master and can be deletedclean-branches- deletes the dirty branchespush-branch- pushes the current branch to origin (git push --set-upstream...)gc- alias forgit checkoutgcm- alias forgit checkout mastergcd- alias forgit checkout developmentgp- alias forgit pullgs- alias forgit statusgr- undoes the latest local commit and stages the filesgrr- undoes all local commits and resets the branch toHEAD. Warning: hard reset.ci- alias forgit commit -agb- creates a new branch (first argument) and checks it outgd- deletes a branch (first argument)gl- lists all the local branches with their remotes and the last commit messagegla- lists all the branches (local + remote) with their remotes and the last commit messageglr- lists only remote branches with their last commit message