14
14

More than 5 years have passed since last update.

自分のGithubの集団開発用の.gitconfigのalias

Last updated at Posted at 2015-04-22

メモ

マージ済みのブランチを全部削除

[alias]
delete-merged-branches = !git branch --merged | grep -v \\* | xargs -I % git branch -d %
$ git delete-merged-branches

origin/masterを基準にした新しいブランチの作成

[alias]
prbr = !git fetch origin master && git checkout -t origin/master -b
$ git prbr new-feature
14
14
1

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
14
14