<commit_before># Use `hub` as our git wrapper:
#   http://defunkt.github.com/hub/
hub_path=$(which hub)
if (( $+commands[hub] ))
then
  alias git=$hub_path
fi

# The rest of my fun git aliases
alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
# these functions live in zsh/prompt.zsh
alias gp='git push $(has_tracking_branch || echo "-u origin $(git_branch)")'
alias gpr='$(has_tracking_branch) || git push -u origin $(git_branch) && hub pull-request -o -l wip -p -a conf'
alias gd='git diff'
alias go='git checkout'
alias gb='git branch'
alias gs='git status -sb'
alias ga='git add'
alias gau='ga -u'
alias gaa='ga -A'
alias gk='gitk --all &'
alias gcb='git copy-branch-name'<commit_msg>Use goc alias to avoid conflict with go executable<commit_after># Use `hub` as our git wrapper:
#   http://defunkt.github.com/hub/
hub_path=$(which hub)
if (( $+commands[hub] ))
then
  alias git=$hub_path
fi

# The rest of my fun git aliases
alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
# these functions live in zsh/prompt.zsh
alias gp='git push $(has_tracking_branch || echo "-u origin $(git_branch)")'
alias gpr='$(has_tracking_branch) || git push -u origin $(git_branch) && hub pull-request -o -l wip -p -a conf'
alias gd='git diff'
alias goc='git checkout'
alias gb='git branch'
alias gs='git status -sb'
alias ga='git add'
alias gau='ga -u'
alias gaa='ga -A'
alias gk='gitk --all &'
alias gcb='git copy-branch-name'
{'fraction_non_alphanumeric': 0.1681087762669963, 'fraction_numerical': 0.0, 'mean_word_length': 4.720848056537102, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1251453', 'n_tokens_mistral': 606, 'n_tokens_neox': 590, 'n_words': 189}