Programing/Git

[Git] 특정 File 업로드 방법

꾸압 2022. 6. 13. 13:13

# 작업 파일 목록 확인

git status 

 

# 기존 파일 변경 내역 확인

git diff

 

# 목록 재확인

git status

 

# 원하는 파일 업로드(1)

git add [경로 & 파일명]

 

# 업로드(2) 

git commit -m "[msg]" file1 file2

 


 

<참조> https://stackoverflow.com/questions/13479763/how-to-push-a-single-file-in-a-subdirectory-to-github-not-master

저작자표시 비영리 변경금지 (새창열림)