3학년 1학기 모바일 프로그래밍 기말 대체 프로젝트를 진행하면서, places api를 사용했는데 api key를 그대로 업로드 해버렸다 ㅠ_ㅠ
git filter-repo --path 'app/src/main/java/com/example/android_final_app/FrequencyFragment.java' --invert-paths
Aborting: Refusing to destructively overwrite repo history since
**this does not look like a fresh clone.
(expected freshly packed repo)
Please operate on a fresh clone instead.** If you want to proceed
anyway, use --force.
git remote rename origin inha-food-review-app
git remote -v (설정한 원격 저장소가 제대로 추가되었는지 확인)
git filter-repo --path 'app/src/main/java/com/example/android_final_app/FrequencyFragment.java' --invert-paths
Parsed 39 commits
New history written in 0.64 seconds; now repacking/cleaning...
Repacking your repo and cleaning out old unneeded objects
HEAD is now at b20d75e Update README.md
Enumerating objects: 568, done.
Counting objects: 100% (568/568), done.
Delta compression using up to 8 threads
Compressing objects: 100% (181/181), done.
Writing objects: 100% (568/568), done.
Total 568 (delta 327), reused 559 (delta 319), pack-reused 0
Completely finished after 1.08 seconds.
git push master --force --all
Enumerating objects: 568, done.
Counting objects: 100% (568/568), done.
Delta compression using up to 8 threads
Compressing objects: 100% (173/173), done.
Writing objects: 100% (568/568), 1.48 MiB | 2.72 MiB/s, done.
Total 568 (delta 327), reused 568 (delta 327), pack-reused 0
remote: Resolving deltas: 100% (327/327), done.
To https://github.com/taegyeong0225/inha-food-review-app.git
+ 2a601ad...6424836 editSignup -> editSignup (forced update)
+ 8e360d0...b20d75e master -> master (forced update)
프로젝트 할 때 관리를 잘 합시다 하하