git add app.txtgit commit -m 'message'git add를 해서 올릴 파일을 선택하는 장소 : staging areagit commit으로 파일을 저장소에 올리는 곳 : repository작업폴더에서 → staging area로 파일을 선택해서
git fetch --allPS C:\\Dev\\CSI\\testCSI> git reset --hard origin/main
https://junjunrecord.tistory.com/131
branch 생성https://codingapple.com/unit/git-3-branch-and-switch/branch naming 규칙https://junjunrecord.tistory.com/131branch 로컬/원격 삭제 https:
git reset HEAD^로 평소에 커밋을 되돌리는데 git reset HEAD^ 를 두 번 사용하는 바람에 그 동안의 커밋목록이 모두 날아감git reflog해도 그간의 커밋목록이 없어지고 ....... git log도 없구.... 전에 어쩌다가 .git파일을 지운
git rm --cached 서브모듈을 삭제할 폴더명그리고 git add commit push
Quick setup — if you’ve done this kind of thing before …or create a new repository on the command line …or push an existing repository from the command line
특정커밋삭제https://velog.io/@ddowoo/Git-%ED%8A%B9%EC%A0%95-%EC%BB%A4%EB%B0%8B-%EC%82%AD%EC%A0%9C%ED%95%98%EA%B8%B0-rebase되돌리기https://americanopeo
https://github.com/z1zon/z1zon-WIL/issues/3
https://velog.io/@4_21ee/TIL-27-Git%EC%B0%AE%EC%95%84%EB%8F%84-%EC%95%8C%EC%95%84%EB%91%AC%EC%95%BC%ED%95%A0-Git%EB%AA%85%EB%A0%B9%EC%96%B4
예, 변경 사항을 저장한 후 스태시를 사용하여 다른 브랜치로 이동한 다음 변경 사항을 적용할 수 있습니다. 다음은 단계별로 진행하는 방법입니다.현재 변경 사항 스태시에 저장:bashCopy codegit stash다른 브랜치로 이동 (예: dev 브랜치):bashCop
https://brownbears.tistory.com/606
https://www.robotstory.co.kr/raspberry/?vid=95
https://velog.io/@dev2820/Git-%EC%A0%95%EB%A6%AC-%EB%B3%91%ED%95%A9-%EC%B7%A8%EC%86%8C%ED%95%98%EA%B8%B0
git merge --abort