diff --git a/dots/.config/zsh/config/profile/profile/aliases.zsh b/dots/.config/zsh/config/profile/profile/aliases.zsh index 3a0a9a88..334e2c0d 100644 --- a/dots/.config/zsh/config/profile/profile/aliases.zsh +++ b/dots/.config/zsh/config/profile/profile/aliases.zsh @@ -29,6 +29,7 @@ if command -v git >/dev/null 2>&1; then alias gwa="git worktree add" alias gwr="git worktree remove" alias git-remote="git config --get remote.origin.url" + alias git-head-default="git rev-parse --abbrev-ref origin/HEAD | cut -d '/' -f2" alias gbc="git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'" fi