1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

俺の.gitconfig

Posted at

こういった記事は世にあふれていますが、新しく環境構築する際、都度何らかの方法でテキストを送信するのも面倒なので、自分用のメモとしてalias部分だけ残しておきます。
とはいえ「こうした方がいい」などのご指摘は歓迎なので、何かありましたらコメントください。

.gitconfig
[alias]
    co = checkout
    cob = checkout -b
    b = branch
    unst = reset HEAD
    cancel = reset --soft HEAD^
    s = status
    cm = commit -m
    radd = remote add origin
    cp = cherry-pick
    rv = revert
    rvn = revert -n
    rb = rebase
    rbc = rebase --continue
    ps = push
    pl = pull
1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?