LoginSignup
5
2

More than 5 years have passed since last update.

git pull origin <現在のブランチ> を楽にする

Posted at

git pull origin <現在のブランチ> を楽にする

.bashrc とか .bash_profile
下記のaliasを貼っておくと
git pull origin <現在のブランチ> とか長い文字を
毎回打たなくて便利

bashrc
alias gp='git pull origin $(git rev-parse --abbrev-ref HEAD)'
5
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
2