티스토리 뷰

공부

[Git] rm *.xxx files

seunggabi 승가비 2020. 5. 30. 04:17
git rm -f *.xxx
git commit -a -m 'al xxx files removed'
git push

https://stackoverflow.com/questions/26021040/remove-pyc-files-from-git-remote-repository

 

Remove .pyc files from Git remote repository

Accidentally, I have pushed the .pyc files to the master repository. Now I want to delete them but I can´t do it. Is there any way to remove them directly from the Bitbucket site?

stackoverflow.com

 

'공부' 카테고리의 다른 글

[Spring] filter logger by MDC (get IP & UserAgent)  (0) 2020.05.30
[SpringBoot] multiple filter  (0) 2020.05.30
[Git] rm *.xxx files  (0) 2020.05.30
[Sh] kill $(pgrep xxx)  (0) 2020.05.30
[MySQL] the server quit without updating PID file  (0) 2020.05.30
[Hive] drop partition  (0) 2020.05.24
댓글
댓글쓰기 폼