파이톨치

[github] intial setting github With VSCode (수정 중) 본문

프로젝트

[github] intial setting github With VSCode (수정 중)

파이톨치 2024. 8. 26. 17:22
728x90

first, open vscode 

 

and select clone git repo 

 

 

insert your git repo url  

 

 

then you can see thate repo cloned your computer. 

if you change your file, you can see that mark. 

 

setting git config 

 

git config --global user.name ~~~ 
git config --global user.email ~~~ 
git branch -M main

 

but if you committed, github remote repo doesn't changed. 

 

if you sync changes... or push your commit 

 

 

you can see like that... 

 

 

merge 

 

if you can see this error, you have a problem about sync. 

 

 

you have to pull.... 

git config pull.rebase false

 

 

728x90