Git으로 리포지토리 생성하고 업로드하는 순서(다시 정리)
- 웹상에서 Repository 생성
git clone ${URL}git add *.jsgit statusgit commit -m "message"git push origin master(origin: 대상, master: 브랜치 이름)
실수했을 시
git commit --amend: 커밋 메시지를 잘못 입력했을 시
그 밖의 Git 명령어
git log --oneline --graphgit config --list
push와 pull
- push: (리포지토리에) 밀어올리다
- pull: (리포지토리에서) 땡겨오다, merge + fetch