Skip to content
Snippets Groups Projects
Commit f8f27500 authored by 한소진's avatar 한소진
Browse files

remote summary

parent 343f0b77
No related branches found
No related tags found
No related merge requests found
Pipeline #6241 passed
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment