[Git] github > Windows/OS/IDE

본문 바로가기
사이트 내 전체검색

Windows/OS/IDE

[Git] github

페이지 정보

작성자 sbLAB 댓글 0건 조회 573회 작성일 24-02-03 23:13

본문

[git 설치]

git download & install => https://git-scm.com/downloads  (Git Bash 도 설치됨)

# git --version

# git update-git-for-windows


https://shorturl.at/bfyL0 (git 버전관리 구조)

https://jerryjerryjerry.tistory.com/160 

https://velog.io/@selenium/Git-Git-Bash-%EC%84%A4%EC%B9%98-Windows-OS 

https://balabala.tistory.com/71 


[github 저장소]

https://github.com/ 가입

github.com 에서 새로운 repository 디렉토리 생성(Private mode)

visual code - terminal - Git bash TAB


echo "# mygit" >> README.md

git init

git add README.md

git commit -m "first commit"

git branch -M main

git remote add origin https://github.com/testgit/mygit.git

git push -u origin main


visual code - terminal - Git bash 에서 명령어로 작업하거나

아래 GUI-Fork 툴 사용(직관적이고 편리) 

https://git-fork.com/ GUI-Fork 툴 다운로드(github 와 Oauth 로그인 연결)


[etc] 

git pull origin main

git push --set-upstream origin main

git init

git add ok.html

git add .

git remote set-url origin <변경할 원격 저장소 주소>

git remote -v 

git status

git log

git push



댓글목록

등록된 댓글이 없습니다.

회원로그인

접속자집계

오늘
212
어제
394
최대
1,279
전체
223,874

그누보드5
Copyright © sebom.com All rights reserved.