1. 원격 저장소 연결
git remote add origin 주소
2. 원격 저장소 연결 해제
git remote remove origin
3. 파일 업로드
git add .
git commit -m "메시지"
git push origin master
4. 현제 연결된 저장소 확인
git remote -v
참고!
왕초보! Github 사용법 (Mac os)
개발을 처음 배우면서 가장 어려웠던 건 소스코드를 관리하는 것이었다. 비 전공자였던 나는 구글에 올라와 있는 많은 Github 관련 블로그를 봤지만 도대체 개발자들은 쉬운 말도 왜 어렵게 하는
sin0824.tistory.com
https://ifuwanna.tistory.com/263
[Git] 원격 저장소 연결 및 끊기 ( git remote )
깃(GIt) 사용시 현재 로컬 저장소(local repository)에 연결되어 있는 원격 저장소(remote repository)를 연결을 끊고 다시 연결 하는 방법을 간단히 포스팅 합니다. 먼저 git remote -v 명령어를 사용하여 현재
ifuwanna.tistory.com
에러사항
[Git] Changes not staged for commit 문제해결
새로운내용추가! vs code에 새폴더를 만들고 커밋하려했는데 깃 경로설정해줘도 아무리안되길래(git log시 커밋은 확인되니 귀신이 곡할노릇) 다시생각해보니 상위폴더의 상위폴더를 연상태에서
dubaiyu.tistory.com
https://amkorousagi-money.tistory.com/entry/Git-personal-access-token
깃 토큰 인증(Git personal access token)
에러 내용 remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. remote: Please see https://github.blog/2020-12-15-token-authenticati..
amkorousagi-money.tistory.com
'mac 적응기 > 기초 정리' 카테고리의 다른 글
| git terminal 사용법(init부터 push까지..) (1) | 2023.05.16 |
|---|---|
| Xcode 자주쓰는 단축키 (0) | 2022.06.26 |
| iterm2로 github push 하기 (0) | 2022.05.11 |
| Xcode 사용법 정리 - C++ 프로젝트 생성/실행 (0) | 2022.02.09 |