0
0

More than 1 year has passed since last update.

git管理下からはずす手順

Posted at

内容

git管理下にあるファイルを管理下からはずす手順

目次

ファイルを管理対象から除外する(ファイルは残す場合)

# ファイルを管理対象からはずす
git rm --cached <ファイル名>

※ ファイルを残した場合は.gitignoreに追記

ファイルごと削除する

# ファイルごと削除
git rm <ファイル名>

#ディレクトリごと削除
git rm -r <ディレクトリ名>
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