깃허브 pull,, 접속..
PowerShell 7.3.4
PS C:\Users\bitcamp> cd git
PS C:\Users\bitcamp\git> git clone https://github.com/eomcs/eomcs-docs
Cloning into 'eomcs-docs'...
remote: Enumerating objects: 509, done.
remote: Counting objects: 100% (200/200), done.
remote: Compressing objects: 100% (142/142), done.
remote: Total 509 (delta 117), reused 131 (delta 56), pack-reused 309Receiving objects: 80% (408/509), 40.05 MiB | 20.02 MiB/s
Receiving objects: 100% (509/509), 47.67 MiB | 19.43 MiB/s, done.
Resolving deltas: 100% (266/266), done.
PS C:\Users\bitcamp\git> git clone https://github.com/eomcs/eomcs-java
Cloning into 'eomcs-java'...
remote: Enumerating objects: 25953, done.
remote: Counting objects: 100% (3853/3853), done.
remote: Compressing objects: 100% (1620/1620), done.
remote: Total 25953 (delta 2047), reused 3847 (delta 2042), pack-reused 22100
Receiving objects: 100% (25953/25953), 7.89 MiB | 23.00 MiB/s, done.
Resolving deltas: 100% (13517/13517), done.
Updating files: 100% (4207/4207), done.
PS C:\Users\bitcamp\git> ls
Directory: C:\Users\bitcamp\git
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 2023-05-23 오후 5:52 bitcamp-study
d---- 2023-05-24 오전 10:01 eomcs-docs
d---- 2023-05-24 오전 10:00 eomcs-java
PS C:\Users\bitcamp\git> git clone https://github.com/eomjinyoung/bitcamp-study bitcamp-teacher
Cloning into 'bitcamp-teacher'...
remote: Enumerating objects: 6, done.
remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 6 (delta 0), reused 3 (delta 0), pack-reused 0
Receiving objects: 100% (6/6), done.
PS C:\Users\bitcamp\git> ls
Directory: C:\Users\bitcamp\git
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 2023-05-23 오후 5:52 bitcamp-study
d---- 2023-05-24 오전 10:38 bitcamp-teacher
d---- 2023-05-24 오전 10:01 eomcs-docs
d---- 2023-05-24 오전 10:00 eomcs-java
PS C:\Users\bitcamp\git> cd bitcamp-teacher
PS C:\Users\bitcamp\git\bitcamp-teacher> git pull
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 0), reused 4 (delta 0), pack-reused 0
Unpacking objects: 100% (4/4), 20.99 MiB | 9.73 MiB/s, done.
From https://github.com/eomjinyoung/bitcamp-study
7459ef5..670edb3 main -> origin/main
Updating 7459ef5..670edb3
Fast-forward
...236\230\353\260\215_\352\260\234\353\241\240.pdf" | Bin 0 -> 22838407 bytes
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 "docs/\355\224\204\353\241\234\352\267\270\353\236\230\353\260\215_\352\260\234\353\241\240.pdf"
PS C:\Users\bitcamp\git\bitcamp-teacher> git pull
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 4 (delta 0), reused 4 (delta 0), pack-reused 0
Unpacking objects: 100% (4/4), 453 bytes | 15.00 KiB/s, done.
From https://github.com/eomjinyoung/bitcamp-study
670edb3..eabb139 main -> origin/main
Updating 670edb3..eabb139
Fast-forward
hello.c | 6 ++++++
hello.js | 1 +
2 files changed, 7 insertions(+)
create mode 100644 hello.c
create mode 100644 hello.js
PS C:\Users\bitcamp\git\bitcamp-teacher> ls
Directory: C:\Users\bitcamp\git\bitcamp-teacher
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 2023-05-24 오전 11:00 docs
-a--- 2023-05-24 오전 11:08 82 hello.c
-a--- 2023-05-24 오전 10:38 107 Hello.java
-a--- 2023-05-24 오전 11:08 33 hello.js
-a--- 2023-05-24 오전 10:38 75 README.md
gradle 설치
환경변수 추가
추가 후 powershell 재실행
source package = 회사이름
build
gradle 순서:
프로젝트 만들 java.lang 폴더 만들고
명령창에서 해당 폴더 들어가서,, gradle init
gradle 설정
(패키지명: bitcamp)
gradle build
폴더에서 gradle 관련 파일 확인 가능
app 밑에 distruibtion 폴더에서 zip 폴더 확인 가능
풀어서 열면 됨
최종결론: 소스파일과 클래스 블럭
1 소스 : 1 클래스 블럭 (/퍼블릭이든 아니든 )
(<= 유지 보수가 쉽다, 클래스가 있는 소스파일을 빠르게 찾을 수 있다, 소스파일명은 클래스 블럭이름으로 한다)
Test5.java - class Test5 {}
Test6.java - class Test6 {}
0110 해보기
'[네이버클라우드] 클라우드 기반의 개발자 과정 7기 > 웹프로그래밍' 카테고리의 다른 글
5/25 깃 사용법, gradle (0) | 2023.05.25 |
---|---|
[NC7기-22일차(5월24일)] - 웹프로그래밍 3일차 (0) | 2023.05.24 |
[NC7기-21일차(5월23일)] - 웹프로그래밍 2일차 (1) | 2023.05.23 |
5/23 powershell 설정 및 git 연결 (0) | 2023.05.23 |
[NC7기-20일차(5월22일)] - 웹프로그래밍 1일차 (0) | 2023.05.22 |