Skip to content

Commit 4672458

Browse files
authored
Create README.md
1 parent 967c246 commit 4672458

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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

0 commit comments

Comments
 (0)