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 alias登録[自分用忘備録]

Last updated at Posted at 2019-08-23

どこで設定していたか忘れるので記事にします。
おすすめのエイリアスなどあればぜひ教えて下さい。(stashとstatusなど...)

登録する場所

~/.gitconfig

エイリアスの登録

以下のように追加します

[alias]
	st = status
	cm = commit
	co = checkout
	br = branch
	pl = pull
	ps = push
	df = diff
	lg = log
	graph = log --graph --date=short --pretty=\"format:%C(yellow)%h %C(cyan)%ad %C(green)%an%Creset%x09%s %C(red)%d%Creset\"
	alias = !git config --list | grep ^alias\\.
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?