• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

Git Remove Files From Repo After Commit

October 4, 2022

If you need to remove files from a repo after committing, use …

Remove file

git rm --cached file.ext

git rm --cached file.ext

Push to repo

git push

git push

Filed Under: Linux Tagged With: cache, commit, git, push, rm

Search This Website

Subscribe Via Email

  • Home
  • About
  • Archives

Copyright © 2023