한바다
깃허브 폴더삭제 후 새로생성 본문
☑️ 금일 수업에서 배운 내용을 확인하다 폴더 명이 오타난 것을 알게되었다.
폴더명 수정후 아래와 같이 에러천국이 되었다
☑️ 깃허브 내 폴더 삭제
[프론트엔드 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