SPATIUM Mobile
주소복사
About Operating System Languages Tools Favorites Notice Visit TEST  
     Android (3)
     Linux (1)
     MacOS (1)
     OS (1)
     Solaris10 (15)
     Windows (1)
     Windows Server (2)
     Windows XP (3)
   ID  
   Password  
  |  
  Location United States
  IP Address 18.217.208.72
2024. 04
123456
78910111213
14151617181920
212223
24
252627
282930
Category  Tools, Util
Writer 김태우 Date 2016-03-09 09:15:41 Visit 5532
Use the Git

 

GIT 사용

 

기본 명령어

- 현재 git의 버전을 확인

git --version

- 현재 디렉토리에 git 저장소 생성

git init

 

- 원격저장소에서 로컬 저장소로 Overwrite 

    git reset 명령은 바로전의 Commit 된 스냅샷으로 브랜치를 이동

   git clean 명령은 untracked 파일 제거이며, 옵션 -f 는 파일 -d 는 디렉토리

git fetch origin master
git reset --hard FETCH_HEAD
git clean -df

 

괜찮은 사이트  http://backlogtool.com/git-guide/kr/intro/intro1_1.html

 

 

 

 

Tags  git
  Relation Articles
[Tools-Util] Use the Git (2016-03-09 09:15:41)
[Languages-JAVA] New Project(Java Spring) (2016-01-04 13:19:00)
[Languages-SQL] 두 위치(위도,경도)간의 거리 구하는 쿼리 (2012-07-23 17:07:52)
  Your Opinion
Member ID
150 letters
Copyright (C) SPATIUM. All rights reserved.
[SPATIUM]WebMaster Mail