git init

git status -> 상태보기

git add .

git commit -m "first commit" 커밋 메시지

푸쉬하기!
git remote add origin https://github.com/jeonhoonlee/beamin.git
git push -u origin master
깃헙에서 확인해보면 푸쉬가 잘된것을 확인할수있다!
#######
7/10일 추가

깃에 리포짓토리만들고나서 약간 중복?생기면 이러는것같은데
git push -f origin master 이걸로 덮어씌울수있다 강제로 근데 파일 손실의 위험이있다하니 조심하길.
'git' 카테고리의 다른 글
| 브랜치 작업하고나서 푸쉬하기. (0) | 2020.07.28 |
|---|---|
| 풀리퀘스트 , 머지까지 다하고나서 브렌치 삭제하는법 (0) | 2020.07.28 |
| [에러]git@github.com: Permission denied (publickey).fatal: Could not read from remote repository. (0) | 2020.07.28 |
| 깃허브(Github) Remote origin already exists 에러 (0) | 2020.06.03 |