본문 바로가기

전체 글

(188)
Git - 4 (git 에서 github로) 이전 까지 git에 Algorithm이라는 repository를 만들어 파일을 커밋하는 방법을 배웠다면 이제는 협업을 위하여 github에 해당내용을 올리는 방법을 살펴보자 Github - git을 다양한 사람들과 협업을 하기 위해 외장하드(개념)을 제공해주는 서비스 업체이다. - https://github.com/ Build software better, together GitHub is where people build software. More than 50 million people use GitHub to discover, fork, and contribute to over 100 million projects. github.com git을 github에 올린다는 말은 git의 repositor..
Git - 3 git 과 관련된 명령어를 보고 싶을 때 git help [command] git [command] --help ->공식 브라우저 git [command] -h git add . - working directory에 변경된 모든파일들을 staging area에 올린다.
Git - 2 Git안에서 파일들은 4가지 상태로 항상 표기 된다. Untracked _ 1 : git안에서 추적되지 않는 상태 Tracked : git안에서 추적이 되는 상태 - Staged _ 2 - Unmodified _ 3 - Modified _ 4 1. Untracked : Git 안에서 추적되지 않는 상태로 add를 한번도 하지 않은 파일은 위와 같다. 2. Staged : git안에서 add를 하면 staging area로 들어가게 된다. 현상태는 add를 한 상태가 된다. 3. Unmodified : commit을 한 직후이거나 파일이 최신 commit한 파일과 비교했을때 변경사항이 없는 경우 4. Modified : commit을 하고 최신 파일과 변경사항이 있을경우 위 사항을 그림으로 보면 다음과 같..
Git - 1 Git 과 Github은 다르다. git은 버전관리, 협업을 도와주는 일종의 도구이며 Github은 이러한 서비스를 클라우드 해주는 업체이다. git은 아래 사이트에서 자신의 운영체제에 맞게 설치가 가능하다. https://git-scm.com/downloads Git - Downloads Downloads Mac OS X Windows Linux/Unix Older releases are available and the Git source repository is on GitHub. GUI Clients Git comes with built-in GUI tools (git-gui, gitk), but there are several third-party tools for users looking for..