-
Notifications
You must be signed in to change notification settings - Fork 3
/
깃허브 github 메뉴얼.txt
51 lines (32 loc) · 1.6 KB
/
깃허브 github 메뉴얼.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
1. 깃허브 설치 GitBash 설치
https://gitforwindows.org/ Download 설치
https://github.com 회원가입
2. New Repository 생성
1) 연결할 폴더에서 우클릭
Git Bash Here 클릭 // git명령창이 열림.
명령창에서
git init // .git 폴더가 생성됨
git remote add origin https://github.com/gema0000/kerasStudy.git
아무런 말이 안뜨면 정상적으로 연결된거임
git config --global user.name "gema0000" // 아이디
git config --global user.email "gema0000@naver.com" //
----- 요까지는 한번만 하면 된다. ------
================ 한번 위에 설치가 완료된 뒤부터는 아래 명령어들만 하면 된다. =====================
git config --list // 깃 설정 목록 확인.
★ push 전엔 pull 이 있다. ★
git pull origin master // 모든 자료를 한번에 끌어옴
git status // 상태체크 - 로컬과 깃허브에 다른 파일을 확인해준다. 업로드 대상 파일.
git add . // 로컬폴더와 레퍼지토리사이에 변경된 것이 있을때 트래킹해달라는거.
git commit -m "메시지"
git push origin master // 실제로 깃에 push함.
참고 동영상
https://www.youtube.com/watch?v=tC8Xj_Bf8Fw
======= 2019.09.17 추가 ========
https://git-scm.com/download
여기서 다운로드 받고
커맨드창에서
git config --global user.name gema0000
git config --global user.email gema0000@naver.com
git clone https://github.com/gema0000/bit2019.git
ps. 버전오류일경우 재설치해주면서
path 선택창이 나오면 제일 마지막꺼로 체크해주면 된다.