Notice
Recent Posts
Recent Comments
Link
«   2024/10   »
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
Archives
Today
Total
관리 메뉴

한바다

깃허브 폴더삭제 후 새로생성 본문

카테고리 없음

깃허브 폴더삭제 후 새로생성

한바다진화 2024. 7. 17. 21:59

☑️ 금일 수업에서 배운 내용을 확인하다 폴더 명이 오타난 것을 알게되었다.

폴더명 수정후 아래와 같이 에러천국이 되었다

프로튼와 백을 연결하는 것인데. 프론트도 엉망 이었다. 어쩔수 없이 폴더 삭제 후 다시 시작 해보기로 한다!!

 

☑️ 깃허브 내 폴더 삭제

 

[프론트엔드 cmd 명령어 창]

Microsoft Windows [Version 10.0.19045.4651]
(c) Microsoft Corporation. All rights reserved.

C:\Users\user1\Spring-React-Workspace>npx create-react-app todolist-frontend

Creating a new React app in C:\Users\user1\Spring-React-Workspace\todolist-frontend.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...


added 1483 packages in 56s

261 packages are looking for funding
  run `npm fund` for details

Installing template dependencies using npm...

added 63 packages, and changed 1 package in 5s

261 packages are looking for funding
  run `npm fund` for details
Removing template package using npm...


removed 1 package, and audited 1546 packages in 2s

261 packages are looking for funding
  run `npm fund` for details

8 vulnerabilities (2 moderate, 6 high)

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

Success! Created todolist-frontend at C:\Users\user1\Spring-React-Workspace\todolist-frontend
Inside that directory, you can run several commands:

  npm start
    Starts the development server.

  npm run build
    Bundles the app into static files for production.

  npm test
    Starts the test runner.

  npm run eject
    Removes this tool and copies build dependencies, configuration files
    and scripts into the app directory. If you do this, you can’t go back!

We suggest that you begin by typing:

  cd todolist-frontend
  npm start

Happy hacking!

C:\Users\user1\Spring-React-Workspace>
-----------------------------------------------------------------------------------------------------------
그리고나서 VSC에 폴더 불러와서 로그인 세션 프로트에 작성 중


1.폴더생성
2.깃레포지토리생성
3.폴더생성경로에 cmd입력하고
4.깃 명령어 git init
->폴더 생성

5.레포지토리에 생성된 주소 gti remote add orgin
->원본이 나라는 걸 config라는 걸
=>여기까지

자바에 작성한게 있을때
(commit은 push할때)
6.git commit -m ""
7.git push
8.깃 주소창에 뜨는 git push --set-upstream