Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
reactAlone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
한소진
reactAlone
Commits
f8f27500
Commit
f8f27500
authored
2 years ago
by
한소진
Browse files
Options
Downloads
Patches
Plain Diff
remote summary
parent
343f0b77
No related branches found
No related tags found
No related merge requests found
Pipeline
#6241
passed
2 years ago
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
history.txt
+17
-33
17 additions, 33 deletions
history.txt
with
17 additions
and
33 deletions
history.txt
+
17
−
33
View file @
f8f27500
163 git clone https://git.ajou.ac.kr/JYCHOI/react starter.git
164 git clone https://git.ajou.ac.kr/JYCHOI/react-starter.git
165 cd react-starter/
166 npm i
167 git clone https://git.ajou.ac.kr/JYCHOI/react-starter.git
167 git clone https://git.ajou.ac.kr/JYCHOI/react-starter.git
168 cd react-starter/
168 cd react-starter/
169 npm i
169 npm i
// js 개발환경 다운 (boiler-plate)
170 npm start
170 npm start
171 git remote -v
// 개발 모드 프로그램 실행 명령어 (^c to abort)
172 git remote remove origin
171 git remote -v // 현재 연결 원격 레파지토리 확인
172 git remote remove origin // 교수님꺼 연결 끊기
173 git remote
173 git remote
174 git remote -v
174 git remote -v
175 git remote add origin https://git.ajou.ac.kr/948/reactalone.git
175 git remote add origin https://git.ajou.ac.kr/948/reactalone.git
176 git remote -v
176 git remote -v
177 git push
// 내꺼 연결하고, 연결됬는지 확인
178 git push --set-upstream origin master
179 git add .
180 git commit -m 'time code done'
181 git push --set-upstream origin master
182 git pull
183 git pull origin master
183 git pull origin master
184 git pull origin master --allow-unrelated-histories
184 git pull origin master --allow-unrelated-histories
// pull로 원격 저장소에 있는 작업물 끌어오기
// 이때 conflict 난것들 해결하고
185 git add .
185 git add .
186 git commit -m 'conflict solved'
186 git commit -m 'conflict solved'
187 npm start
188 git add .
189 git commit -m 'index.html change'
190 npm start
190 npm start
// 제대로 돌아가는 지 확인한 후에
191 npm run build
191 npm run build
// 배포 환경에서 사용할 파일 생성
192 git add .
192 git add .
193 git commit m 'ready to push'
193 git commit m 'ready to push'
194 git push
194 git push
195 git push origin master
195 git push origin master
196 npm start
197 npm run build
\ No newline at end of file
198 git commit -am 'done'
199 git push
200 git push --set-upstream origin master
201 git pull
202 git pull
203 git pull <remote> <branch>
204 git pull https://git.ajou.ac.kr/948/reactalone.git
205 git commit -am 'done'
206 git status
207 git push
208 git push --set-upstream origin master
209 cat history 50
210 cat history50
211 history
212 history 50 >> history.txt
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment