Skip to content

Young-mang/git-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

CLI를 이용한 Git 업로드


git init

깃 초기화

git status

깃 상태 보기

git add <파일이름>

해당 파일을 스테이징

git commit

커밋


문제발생 git push 입력후 오류발생 리모트 저장소에서 읽을수 없습니다.

문제원인: 프로젝트를 연결할 github 원격저장소를 설정하지 않았음

문제해결 github에 해당 프로젝트와 연결할 리포지토리 새로 생성 리포지토리 주소 확인

git remote add origin <리포지토리 주소>

현재 프로젝트와 githup 리포지토리 연결

git push origin main

main 브런치 업로드

완료

About

git을 cli 사용해 업로드하기

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages