From f8f27500047ca860fe1635aae310ea3771a1c2c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=ED=95=9C=EC=86=8C=EC=A7=84?= <jjaren746@ajou.ac.kr>
Date: Thu, 30 Mar 2023 16:27:21 +0900
Subject: [PATCH] remote summary

---
 history.txt | 50 +++++++++++++++++---------------------------------
 1 file changed, 17 insertions(+), 33 deletions(-)

diff --git a/history.txt b/history.txt
index 05636f3..2a4e166 100644
--- a/history.txt
+++ b/history.txt
@@ -1,50 +1,34 @@
-  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
   168  cd react-starter/
   169  npm i
-  170  npm start
-  171  git remote -v
-  172  git remote remove origin
+  // js 개발환경 다운 (boiler-plate)
+
+  170  npm start  
+  // 개발 모드 프로그램 실행 명령어 (^c to abort)
+
+
+  171  git remote -v            // 현재 연결 원격 레파지토리 확인
+  172  git remote remove origin // 교수님꺼 연결 끊기
   173  git remote
   174  git remote -v
   175  git remote add origin https://git.ajou.ac.kr/948/reactalone.git
   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
   184  git pull origin master --allow-unrelated-histories
+  // pull로 원격 저장소에 있는 작업물 끌어오기
+  // 이때 conflict 난것들 해결하고
   185  git add .
   186  git commit -m 'conflict solved'
-  187  npm start
-  188  git add .
-  189  git commit -m 'index.html change'
+
   190  npm start
+  // 제대로 돌아가는 지 확인한 후에
   191  npm run build
+  // 배포 환경에서 사용할 파일 생성
+
   192  git add .
   193  git commit m 'ready to push'
   194  git push
   195  git push origin master
-  196  npm start
-  197  npm run build
-  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
+  
\ No newline at end of file
-- 
GitLab