Skip to content

Uploading Setting

DK Kang edited this page Nov 6, 2023 · 1 revision

Archive Uploading Setting

Repo를 계정에 Fork한 후, Pull Request 전송.

1. 빨간 박스와 같이 Fork 표시를 눌러 자신의 계정으로 Repo를 Fork한다.

image

2. Fork된 자신의 Repo에서 초록색 Code 부분을 누르고, git 링크를 복사한다.

image

3. 자신의 로컬 컴퓨터의 원하는 위치에서 git clone을 한다.

git clone https://github.com/<YOUR_USERNAME>/DeepSync.git

4. clone 한 후 해당 폴더에 들어가고, 자신의 이름으로 branch를 만든다. branch 이름은 (영어이름)으로 설정.

예시) 강동규 - DKKang

cd DeepSync.git
git branch DKKang main

5-1. 자료 업로드 방법 - 로컬 Git Repo에 pdf, md 파일 업로드 (VSCode로 예를 들어 설명)

a. VSCode로 로컬 DeepSync 폴더를 연다.

b. branch가 본인이 만든 이름의 branch인지를 확인하고, 자신의 branch로 이동한다.

// branch 리스트를 통해서 확인하기 *표시 있는 부분이 선택된 branch
git branch 

// branch switch로 설정
git switch DKKang

c. 파일을 추가하는 등 작업을 진행한다.

d. 작성을 마친 후 아래와 같이 commit을 진행한다. commit message는 docs: <이름> <Paper Keyword>로 작성한다. ex) docs: 강동규 VGGNet

git add Docs/<Paper>.pdf
git commit -m "docs: <이름> <Paper Keyword>"

e. commit message를 push한다.

// 처음 repo로 push할 시
$ git push --set-upstream origin week1/sunghwan

// 이전에 push한 적이 있을 때
$ git push

5-2. Github 에서 업로드

a. 페이지의 main을 눌러 자신의 branch로 이동한다.

image

b. Docs 폴더에 들어간다.

image

c. 오른쪽 위에 위치한 Add file을 누르고 Upload files를 누른다.

d. 파일을 업로드하고, 아래와 같이 commit을 진행한다. commit message는 docs: <이름> <Paper Keyword>로 작성한다. ex) docs: 강동규 VGGNet

git add Docs/<Paper>.pdf
git commit -m "docs: <이름> <Paper Keyword>"

6. 노란색 박스의 Compare & pull request를 클릭한다.

image

7. base를 main으로, compare을 자신의 branch로 설정하여 pull request를 전송한다.

image

Clone this wiki locally