0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【git】gitのエイリアスの指定方法

Posted at

windowsの場合、

C:>Users>[ユーザー名]>.gitconfig

の最後に

[alias]

#エイリアス

という形式で記述。

例:

[alias]
al = !git archive HEAD `git diff --name-only master HEAD --diff-filter=ACMR` -o al.zip
dif = !git archive HEAD `git diff --name-only HEAD~1 HEAD --diff-filter=ACMR` -o dif.zip
0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?