File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ # ※ 중요
2+ master에 push하지 마시고 각자 branch를 만드신 후에 branch로 push 해주세요.
3+ master는 공지사항 및 공통사항만 올려놓으려고 합니다.!!
4+
5+
6+ ## 원격 저장소를 지역 저장소로 설정하기
7+ 1 . git clone [ URL] [ USED_DIRECTORY]
8+ ex ) $ git clone [ https://github.com/RH0001/javaStudy ] ( https://github.com/RH0001/javaStudy ) hardTest
9+ 2 . cd [ USED_DIRECTORY]
10+ ex ) $ cd hardTest
11+ 3 . git remote -v
12+ ex ) $ git remote -v
13+ origin [ https://github.com/RH0001/javaStudy ] ( https://github.com/RH0001/javaStudy ) (fetch)
14+ origin [ https://github.com/RH0001/javaStudy ] ( https://github.com/RH0001/javaStudy ) (push)
15+
16+ ## Branch 생성 및 Branch파일 업로드
17+ 1 . git pull
18+ ex ) $ git pull
19+ 2 . git checkout -b [ brenchName]
20+ ex ) $ git checkout -b hard
21+ 3 . git add [ FILE]
22+ git commit -m "[ commit message] "
23+ ex ) $ git add test.txt
24+ $ git commit -m "처음 올리는 파일"
25+ 4 . git push origin [ brenchName]
26+ ex ) $ git push origin hard
You can’t perform that action at this time.
0 commit comments