“Zsh git alias” Kode Jawaban

Alias ​​Zsh

# Create a custom file for aliases.zsh
touch $ZSH/custom/aliases.zsh
# write your zsh aliases in this file
vim $ZSH_CUSTOM/aliases.zsh
# Add the your alias
alias aliasName="command"
# source or simply restart your Terminal for updates
source ~/.zshrc
Inexpensive Impala

Zsh git alias

#https://kapeli.com/cheat_sheets/Oh-My-Zsh_Git.docset/Contents/Resources/Documents/index

> zsh
> alias | grep git  

g=git
ga='git add'
gaa='git add --all'
gam='git am'
gama='git am --abort'
gamc='git am --continue'
gams='git am --skip'
gamscp='git am --show-current-patch'
gap='git apply'
gapa='git add --patch'
gapt='git apply --3way'
gau='git add --update'
gav='git add --verbose'
gb='git branch'
gbD='git branch -D'
gba='git branch -a'
gbd='git branch -d'
gbda='git branch --no-color --merged | command grep -vE "^([+*]|\s*($(git_main_branch)|$(git_develop_branch))\s*$)" | command xargs git branch -d 2>/dev/null'
gbl='git blame -b -w'
gbnm='git branch --no-merged'
gbr='git branch --remote'
gbs='git bisect'
gbsb='git bisect bad'
gbsg='git bisect good'
gbsr='git bisect reset'
gbss='git bisect start'
...
DreamCoder

Jawaban yang mirip dengan “Zsh git alias”

Pertanyaan yang mirip dengan “Zsh git alias”

Lebih banyak jawaban terkait untuk “Zsh git alias” di Shell/Bash

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya