Programming/Git (7) 썸네일형 리스트형 Git을 이용하여 잔디심는 방법 https://guides.github.com/activities/hello-world/ https://backlog.com/git-tutorial/kr/stepup/stepup1_1.html Hello World · GitHub Guides The Hello World project is a time-honored tradition in computer programming. It is a simple exercise that gets you started when learning something new. Let’s get started with GitHub! You’ll learn how to: Create and use a repository Start and manage a new b guide.. 6. Git 선택적 commit 1) first.txt, second.txt 파일 모두 수정한다. git status commit이 되기전을 나타낸다. git add first.txt git에 파일을 추가한다. 2) git status git add한 파일만 commit수정되었다고 확인가능하다. 3) git log 수정사항 확인가능하다. 5. Git 복습 1) cp 복사할파일 새로만들파일 git status 복사된 파일은 git에 등록전이다. 2) git add git에추가할파일 git status git등록된 것 확인가능하다. 3) git commit git log 수정된 과정 확인가능하다. 4. Git 버전 만들기 1) git config --global user.name 이름 git config --global user.email 이메일 해당 파일 이름과 이메일 입력된다. 2) git commit commit시 오류 발생 git status No commits yet 오류 발생 git commit -m "This is the first version of file" git log 해당 파일 이름과 이메일 등록완료 2) first.txt 파일 수정된다면 git status : 변경사항을 여부 알 수 있음 git add 파일 3) git commit후 2 추가입력 git log시 업데이트완료! 3. Git add 1) cat first.txt first.txt 생성하여 cat명령어 이용시 txt파일 내 존재하는 내용을 plot해준다. 2) git status 아직 git이 해당경로에 있는 first.txt을 인식하고 있지 않다. 3) git add first.txt git아 first.txt파일 관리 해준다. git status git으로 해당 파일을 관리중이다. 2. Git init : 디렉토리 설정 1) 내가 작업할 디렉토리를 접속한다. 접속시 "pwd 설정경로" 2) git init 입력 1. Git 설치하기 1) 아래 사이트에 접속하여 git을 설치한다. https://git-scm.com/download/win Git - Downloading Package Downloading Git Now What? Now that you have downloaded Git, it's time to start using it. git-scm.com 2) 설치완료후 Git Bash를 클릭하면 리눅스기반 운영체제를 사용할 수 있다. 이전 1 다음