Last active
July 7, 2019 11:05
-
-
Save riscait/5f5ea074463c883b102d4bbe601dce3e to your computer and use it in GitHub Desktop.
ホームディレクトリ用のMy .bashrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .bashrcを編集する | |
alias vibash='vi ~/.bashrc' | |
# .bashrcを更新する | |
alias rebash='source ~/.bashrc' | |
# Git | |
alias gst='git status' | |
alias gdf='git diff --staged' | |
alias gcm='git commit -m' | |
alias gcma='git commit --amend' | |
alias gad='git add' | |
alias gco='git checkout' | |
alias gcob='git checkout -b' | |
# 同名のリモートブランチにpush | |
alias gps='git push origin `git symbolic-ref --short HEAD`' | |
alias gpl='git pull origin' | |
alias glg='git log --graph' | |
alias grs='git reset --hard' | |
alias grb='git rebase -i' | |
alias gbr='git branch' | |
#Carthage | |
alias cartup='carthage update --platform ios' | |
# Xcode | |
# DerivedDataを削除する | |
alias delderi='rm -rf ~/Library/Developer/Xcode/DerivedData/*' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment