본문 바로가기
다운로드

gitbash_push

by 신방동불주먹 2022. 10. 19.



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

<새로운 저장소>
git init
git remote add origin https://github.com/yourim0/wordgame1012.git
git status

git add '올릴파일명'

git commit -m "first selectsummary"

git push origin master



<git bash>
1. cd 워크스페이스로 이동 

2. ls - 파일 확인 
3. git init --> 로컬 저장소 등록 : 해당 폴더에 .git 폴더 생김 
4. git config --global user.email :계정 확인 명령어  / git config --global user.name:
5. git status : commit 내용 확인


7. git add . ->전체 올릴거야
git add '올릴파일명'


8. 다시 git status
초록으로 바뀌면 올릴 수 이따


9. git commit -m "first selectsummary"
(m은 message의 약자 "는 메모"

 

10.  새 레파지토리면 내 git 주소 입력

git remote add origin https://github.com/yourim0/wordgame1012.git
git push -u origin main
연결확인 git remote -v

 

11. push

git push origin master

- 연결끊기 
git remote rm origin

 

 

<push>



'다운로드' 카테고리의 다른 글

Visual Studio Code  (0) 2022.10.31
Docker_Mysql  (0) 2022.10.20
Oracle db  (0) 2022.10.19
iTerm2  (0) 2022.10.01
홈브류(Homebrew)  (0) 2022.10.01