git 원격 저장소 초기화 하기
github로 작업을 하다보니 중간에 commit도 지저분하고중간중간 파일 이력들에 보여지면 안되는 정보들까지 보이고 원격저장소를 삭제하긴 좀 그렇고마지막 commit상태로 원격 저장소를 초기화 하고 싶어졌다. 구글 검색신의 도움으로 정보를 찾아서 해결 참고 url http://stackoverflow.com/questions/2006172/how-to-reset-a-remote-git-repository-to-remove-all-commits 1.로컬 저장소의 .git 디렉토리를 삭제한다. 2.로컬 저장소에서 git init을 다시 수행하여 초기화 시킨다. 3. 초기화에 등록될 파일을 추가 및 커밋한다.git add .git commit -m 'Initial commit' 4.초기화 시킬 원격 저장소를..
개발 Story/Git & GitHub
2015. 11. 19. 10:47
최근에 올라온 글
최근에 달린 댓글
글 보관함
- Total
- Today
- Yesterday
TAG
- 인테리어 시뮬레이터
- springsecurity
- GitHub
- 중복 호출
- Git
- 스프링시큐리티
- sprign security
- errordocument
- mongoDB
- jquery
- Security
- cronexpression
- 2장요약
- git reflog
- array
- yyyy-MM-dd
- getaddrinfo ENOTFOUND localhost
- fullcalendar
- 몽고디비
- remember-me
- Spring
- 중복 실행
- javascript
- indexeddb
- intranet 설치방법
- git log
- java
- replaceWith
- 자료형
- xcrun