• 追加された行はこの色です。
  • 削除された行はこの色です。
#author("2020-09-01T06:53:36+09:00","default:ryuichi","ryuichi")
#author("2020-09-01T07:04:25+09:00","default:ryuichi","ryuichi")
* git rmの取消し [#k0634658]

*** git rmするまで [#w4be5d6c]

 > git ls-files   # (1)
 1.txt
 > git rm 1.txt   # (2)
 rm '1.txt'
 > git status
 ## master
 D  1.txt

- (1) ワーキングリポジトリにファイル1.txtが存在している
- (2) このファイルをgit rmする

*** git rmの取消し [#ha5119c1]

 > git checkout HEAD 1.txt


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS