디자인-일러스트

일러스트레이터 기본기

강사: 이디자인 · 작성자: 이종춘 · 작성일: 2026-05-19 12:30:27 · 조회수: 16

깃과 깃허브 설명
목록으로
GitHub Desktop 새 저장소 생성 순서
File → New repository 선택
옵션 입력
Name: 저장소 이름
Description: 설명, 생략 가능
Local path: 저장 위치
Create repository 버튼 클릭
지정한 경로에 생성된 폴더 안에 프로젝트 파일 추가
코드 작업 후 변경 내용을 Commit
작업이 끝나면 Push origin으로 GitHub에 업로드
GitHub 저장소 페이지를 새로고침해서 업로드 확인

참고로 Fetch Origin은 가져오기, Push origin은 업로드입니다.

클론 가져오기 방법 확인 필요
배포하기
기본 배포 순서
프로젝트를 GitHub 저장소에 업로드
저장소(Settings) 들어가기
왼쪽 메뉴에서 Pages 선택
Source 설정
Branch : main
Folder : /root
Save 클릭
잠시 기다리면 배포 주소 생성

예시 주소:

https://아이디.github.io/저장소이름
HTML 사이트 배포 조건

보통 아래 파일이 있어야 정상적으로 보임.

index.html / style.css / script.js
특히 index.html 파일이 가장 중요함.

예)
https://github.com/pn-coding/web_2_04_20

https://cursaman.github.io/git-first/


…or create a new repository on the command line
echo "# bjgolf" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/cursaman/bjgolf.git
git push -u origin main

…or push an existing repository from the command line
git remote add origin https://github.com/cursaman/bjgolf.git
git branch -M main
git push -u origin main
#깃과 깃허브

첨부 파일

0개
첨부된 파일이 없습니다.

댓글 / 답글

0개
댓글을 작성하려면 로그인하세요.
아직 댓글이 없습니다.