Reset2 [Git] window에서 이미 푸시된 커밋을 삭제하는 방법 os: window 11 (How to delete a pushed commit on Windows OS )git push를 했는데 저런.. 파일을 잘못 올려버렸다. 폴더 속 폴더를 올린 것이다.이미 push된 commit 기록은 웹사이트에서 제거할 수 없다.따라서 git을 설치하여 수정하도록 한다. Git - Downloadshttps://git-scm.com/downloads Git - DownloadsDownloads macOS Windows Linux/Unix Older releases are available and the Git source repository is on GitHub. Latest source Release 2.47.0 Release Notes (2024-10-06) Dow.. 2024. 11. 8. [Git] git add 되돌리기, git commit 되돌리기 1. git add 되돌리기 - git restoregit add 는 working directory에 있는 내용을 staging area로 옮기는 작업이다! - beforegit restore .vscode/settings.json 전체 staged area(repository)에 있는 모든 파일을 working directory로 git restore --staged . - after 2. git commit 되돌리기2-1. git log 확인 git log --oneline 2-2-1 git revert - 돌아가는 것 또한 commit 기록으로 남기고 싶을 때git revert 2-3 HEAD가 가리키는 지점부터 하나! 지우기 커밋에 대한 영향스테이지 영역에 대한 영향작업 디렉토리에 대한.. 2024. 7. 22. 이전 1 다음