Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Some of aliases in my bash profile

#Git Aliases alias gc="git checkout" alias gp="git pull" alias gp="git pull --rebase" alias gb="git branch" alias gs="git status" alias gd="git diff" alias gl="git log --oneline" alias gu="git ls-files --others --exclude-standard"

#HDFS Alias alias hls="hdfs dfs -ls" alias hcat="hdfs dfs -cat" alias hrm="hdfs dfs -rm" alias hrmf="hdfs dfs -rm -r -f" alias hmd="hdfs dfs -mkdir"



I also have aliases for git, only I noticed gs starts Ghostscript on places where I don't have these set, so I changed all my git aliases to gg:

  ggs -> git status
  ggco -> git checkout
  ggd -> git diff
  ggap -> git add --patch




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: