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】エイリアスを付けてコマンド入力を楽にする

Last updated at Posted at 2021-05-24

題名の通り、エイリアスを付けることでコマンド入力が楽になる方法を学んだので、アウトプットさせていただきます。

git config --global alias.ci commit
git config --global alias.st status
git config --global alias.br branch
git config --global alias.co checkout

alias.の後に、自分が分かりやすいエイリアスを設定します。
例)commit → ci

--globalを付けることで、pc全体に設定を反映させることができます。

簡単ではありますが、参考になったら嬉しいです。

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?