Learn or Die

生涯勉強。Macです。

2021-02-26から1日間の記事一覧

git add / git commit / git pushを取り消す

git addを取り消す $ git reset HEAD ファイル名 #すべてのaddを取り消す $ git reset HEAD . 覚えなくても、git statusでコマンドを確認できます。 $ git status On branch main Your branch is up to date with 'origin/main'. Changes to be committed: (…