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 5 years have passed since last update.

Gitコマンドのメモ

Posted at

はじめに

いちいち調べるのが面倒なので調べてしまったコマンドや動作を残しておく場所として使っています。

本編

$ git commit --amend    直前のコミットの修正→上書きをしてくれる

$ git stash              作業中の内容を一時避難

$ git stash list         stashされている内容の確認

$ git stash pop          一時避難されているファイルの復元

$ git checkout -b 名前   ブランチの作成と作業ブランチの変更

$ git branch -m 古 新   ブランチの名前変更

参考サイト

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?