
git을 배우려고 합니다. juna.py
새 프로젝트에서 Github에 파일을 넣는 방법은 무엇입니까 ? 저는 우분투에서 일합니다. 나는 노력했다
git init
Reinitialized existing Git repository in /home/jaakko/juna/.git/
(base) jaakko@jaakko-Lenovo-IdeaPad-L340-17IWL:~/juna$ git add juna.py
(base) jaakko@jaakko-Lenovo-IdeaPad-L340-17IWL:~/juna$ git commit
On branch master
nothing to commit, working tree clean
답변1
로컬 브랜치에 파일을 추가하고 커밋할 수 있습니다.
$git remote add origin remote
$ git remote -v
이제 git push 명령을 통해 데이터를 푸시할 수 있습니다.