1. 깃 설치
GitHub: Let’s build from here
GitHub is where over 100 million developers shape the future of software, together. Contribute to the open source community, manage your Git repositories, review code like a pro, track bugs and fea...
github.com
2. 터미널에서, git 작업할 디렉토리로 이동
3. git 커맨드 입력
git clone {url}
4. username과 password 입력
username : 로그인시 사용하는 아이디 or 이메일
password : token
- 토큰이 없거나 생성 방법을 모른다면 아래 url 참조 (매우 쉬움)
https://growingsaja.tistory.com/1000
git에서 토큰 생성하는 방법 (password 칸에 들어가는 token)
1. git 로그인 후 아래 url 누르고 4번 문항으로 이동하거나 아래 2~3번 문항의 스크린샷에 따라 이동하기 https://github.com/settings/tokens/new GitHub: Let’s build from here GitHub is where over 100 million developers shape
growingsaja.tistory.com
5. pull 정상 완료 확인
git pull origin main
6. push 방법 예제
git add .
git commit -m "commit message"
git push origin main
'Development > Git' 카테고리의 다른 글
[Github] README.md에서 자주 사용하는 문법 예제 15가지 총정리 (26) | 2023.11.16 |
---|---|
[Github] 컨벤션 초간단 예시 (0) | 2023.11.03 |
git에서 토큰 생성하는 방법 (password 칸에 들어가는 token) (31) | 2023.10.21 |
[Solved][Git] fatal: Not a git repository (or any of the parent directories): .gitfatal: Not a git repository (or any of the parent directories): .git (0) | 2020.01.12 |
[Centos][Git] How to yum install git (0) | 2019.11.17 |