6
6

More than 1 year has passed since last update.

git コマンドの @ (アットマーク) って何? > HEAD と同じ意味

Last updated at Posted at 2018-09-01

コマンド例

  • git show @
  • git show @^^
  • git show @~3

上は以下と同じ。

  • git show HEAD
  • git show HEAD^^
  • git show HEAD~3

HEAD ってタイプするのが面倒じゃない?

HEAD

  • Shiftキーをあわせて5キー
  • 両手を使う

@

  • 1キー
  • 片手でOK

Link

versions

  • git version 2.8.1

チャットメンバー募集

何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

Twitter

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