Automatic for the People
特定のファイルを元に戻す方法
git restore –source={commit-hash} {file-path}
特定のリビジョンのファイルを別名で保存する場合 git show : >
git show {commit-hash}:{file-path} > {new-file-path}
ひとつ上の階層に戻る cd..
git rm -r {フォルダ名}/ フォルダ内の(-r recursive)再帰的に削除する
メールアドレスが公開されることはありません。 ※ が付いている欄は必須項目です
コメント ※
名前
メール
サイト
次回のコメントで使用するためブラウザーに自分の名前、メールアドレス、サイトを保存する。
5件のフィードバック
git restore –source={commit-hash} {file-path}
特定のリビジョンのファイルを別名で保存する場合: >
git show
git show {commit-hash}:{file-path} > {new-file-path}
ひとつ上の階層に戻る cd..
git rm -r {フォルダ名}/
フォルダ内の(-r recursive)再帰的に削除する