Github2 Git 설치 방법 1. 구글에 "Git 설치" 검색 https://git-scm.com/downloads 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. 맞는 운영체제 선택 후 파일 선택하기 3. 옵션 선택하기 다른 설정들은 기본값으로 Next만 클릭했고, 나는 .. 2024. 4. 10. github 사용법 컴퓨터에 git이 설치되어 있다는 전제하에 진행 1. github에 새 repository 생성 2. Code의 HTTPS 주소[원격저장소 주소] 복사 3. github에 올릴 코드가 있는 폴더로 이동하여 마우스 오른쪽 버튼을 누르고 Git Bash Here 클릭 4. 명령어 입력 # 로컬 저장소와 원격 저장소 연결 $ git init $ git remote add origin [원격 저장소 주소] -> master에서 main으로 바뀜 $ git branch -m master main (main으로 변경되면 생략 가능) # 원격 저장소에 파일 업로드 $ git pull origin [브랜치명] $ git add . 혹은 git add 추가할 파일.파일형식 ex) $ git add python.py ab.. 2024. 1. 2. 이전 1 다음