Dev./Git
[Git] Github에 프로젝트 업로드
hotamul
2021. 11. 10. 19:41
1. Git 설치
Git - Downloads
Downloads macOS Windows Linux/Unix Older releases are available and the Git source repository is on GitHub. GUI Clients Git comes with built-in GUI tools (git-gui, gitk), but there are several third-party tools for users looking for a platform-specific exp
git-scm.com
2. Github에 새로운 폴더 생성
3. Repository 이름 정해주기, 생성 (README 파일은 프로젝트 내용을 적는다, 안적어도 됨)
4. Repository 주소 복사
5. 깃 허브에 업로드할 파일 우클릭, git bash here 클릭 (git bash 로 실행)
6. 명령어 입력
git config --global user.name "내 이름"
git config --gloabl user.email "내 이메일"
git init
git add
git status
git commit -m "주석"
git remote add origin "깃허브 repository 주소(복사한 것)"
git push -u origin master