This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias gs="git status" | |
alias gpush="git push origin" | |
alias gpull="git pull origin" | |
alias glog="git log" | |
alias gaa="git add --all" | |
alias gcm="git commit -m" | |
alias gfap="git fetch --all --prune" | |
alias gclean="git branch --merged >/tmp/merged-branches && \ | |
vi /tmp/merged-branches && xargs git branch -d </tmp/merged-branches" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
name=$1 | |
if [[ -z $name ]]; then | |
echo "Please specify a name for the Ruby project" | |
exit | |
fi | |
# Setup directory structure | |
mkdir $name |