Skip to content

Commit

Permalink
nhs alias - now accepts command line args
Browse files Browse the repository at this point in the history
created a branch alias for git and a sneaky, hacky way to view stats on
a git repo
  • Loading branch information
swmcc committed Nov 19, 2013
1 parent eec37f9 commit b364962
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions git/.aliases
Expand Up @@ -8,4 +8,7 @@ alias gcm='git commit -m'
alias gco='git checkout' alias gco='git checkout'
alias gb='git branch' alias gb='git branch'
alias gs='git status -sb' alias gs='git status -sb'
alias gsb="git branch -a"
alias grm="git status | grep deleted | awk '{print \$3}' | xargs git rm" alias grm="git status | grep deleted | awk '{print \$3}' | xargs git rm"
alias gwho="git shortlog -s | sort -nr"

2 changes: 1 addition & 1 deletion pippin.swm.cc/.bashrc
Expand Up @@ -18,7 +18,7 @@ NO_COLOUR="\[\033[0m\]"
PS1="\[${RED}\]\t \[${GREEN}\]pippin:\[ ${GREEN}\]\W\[${NC}\]\[${YELLOW}\]\$(parse_git_branch) $NO_COLOUR\$ " PS1="\[${RED}\]\t \[${GREEN}\]pippin:\[ ${GREEN}\]\W\[${NC}\]\[${YELLOW}\]\$(parse_git_branch) $NO_COLOUR\$ "
alias annoyances='ghi list' alias annoyances='ghi list'
alias phs="python -m SimpleHTTPServer" alias phs="python -m SimpleHTTPServer"
alias nhs="http-server" alias nhs='http-server -p $@'
alias dev='cd ~/Development/' alias dev='cd ~/Development/'
alias gdev='cd ~/Development/github/' alias gdev='cd ~/Development/github/'
alias copy_ssh_key="cat ~/.ssh/id_rsa.pub | pbcopy | echo 'It be in your clipboard sonny!!'" alias copy_ssh_key="cat ~/.ssh/id_rsa.pub | pbcopy | echo 'It be in your clipboard sonny!!'"
Expand Down

0 comments on commit b364962

Please sign in to comment.