User Tools

Site Tools


git

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
git [2011/09/21 05:02] 147.46.167.37git [2018/07/18 14:10] (current) – external edit 127.0.0.1
Line 11: Line 11:
 ^git checkout -f 커멋번호 ^현재 작업하던 것을 완전히 버리고, 커밋번호로 돌아간다.^ ^git checkout -f 커멋번호 ^현재 작업하던 것을 완전히 버리고, 커밋번호로 돌아간다.^
 ^git reset --hard HEAD ^현재 작업하던 것을 완전히 버리고, 마지막 커밋 상태로 돌아간다.^ ^git reset --hard HEAD ^현재 작업하던 것을 완전히 버리고, 마지막 커밋 상태로 돌아간다.^
 +^git clean -df ^ 트랙되지 않은 파일 지우기 ^
  
 +
 +실험하고 싶을떄 git flow
 +
 +gitk 에서 해당 지점의 태그 만들기
 +
 +git checkout 태그이름
 +
 +git checkout -b 실험을적용하는새로운브랜치.
git.1316581343.txt.gz · Last modified: 2018/07/18 14:09 (external edit)