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使えないとbad③

Posted at

#はじめに
引き続き、少しずつ調べて実践しているけど、細かいところがわからないし、ミスったらどうしようという不安を感じながらコマンドを入力している、今日この頃です。

↓前回までの投稿
きっとgit使えないとbad
きっとgit使えないとbad②

##リモートの変更をローカルに反映させる

% git pull

##取り消す系
###addを取り消す


% git add reset

###特定のaddを取り消す


% git add reset ファイル名(pathで指定)

###直前のコミットメッセージを修正する

% git commit --amend "修正後のメッセージ"
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?