티스토리 뷰

반응형

가장 간단한 깃헙 프로젝트 올리기 정리!


1. 올리고 싶은 폴더에서 


git init

DESKTOP-K41OHIM MINGW64 ~/Desktop/electron/first_test/electron-taskbar/electr on-quick-start (master) $ git init Reinitialized existing Git repository in C:/Users/CP/Desktop/electron/first_test /electron-taskbar/electron-quick-start/.git/


2. 올리고 싶은 폴더 선택. 보통 있는거 전부 올리기때문에 


git add .


DESKTOP-K41OHIM MINGW64 ~/Desktop/electron/first_test/electron-taskbar/electr on-quick-start (master) $ git add . warning: LF will be replaced by CRLF in .idea/checkstyle-idea.xml. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in .idea/electron-quick-start.iml. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in .idea/modules.xml. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in .idea/vcs.xml. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in .idea/workspace.xml. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in dist/latest.yml. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in dist/win-ia32-unpacked/LICENSE.electron. txt. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in dist/win-ia32-unpacked/resources/app-upd ate.yml. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in dist/win-unpacked/LICENSE.electron.txt. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in dist/win-unpacked/resources/app-update.y ml. The file will have its original line endings in your working directory


3.   push를 할꺼라고 저장소에 알림


git commit -m "하고싶은말"


DESKTOP-K41OHIM MINGW64 ~/Desktop/electron/first_test/electron-taskbar/electr on-quick-start (master) $ git commit -m "Notification done" [master 8efb671] Notification done 176 files changed, 79735 insertions(+), 83 deletions(-)


4. 깃헙 저장소 추가


git remote add origin 깃헙주소


DESKTOP-K41OHIM MINGW64 ~/Desktop/electron/first_test/electron-taskbar/electron-quick-start (master) $ git remote add origin https://github.com/9aram/Electron_taskbar-tray.git


5. 깃헙에 올리기 <push>


git push -u origin master


DESKTOP-K41OHIM MINGW64 ~/Desktop/electron/first_test/electron-taskbar/electron-quick-start (master) $ git push -u origin master Enumerating objects: 7, done. Counting objects: 100% (7/7), done. Delta compression using up to 2 threads Compressing objects: 100% (4/4), done. Writing objects: 100% (4/4), 476 bytes | 158.00 KiB/s, done. Total 4 (delta 3), reused 0 (delta 0) remote: Resolving deltas: 100% (3/3), completed with 3 local objects. To https://github.com/9aram/Electron_taskbar-tray.git 8efb671..d3e6832 master -> master Branch 'master' set up to track remote branch 'master' from 'origin'.


반응형
댓글
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함