성욱입니다!
5월 29일 아침 기준 main에 지금까지 코드 push 해놨습니다.
<작업할 거 있으면 각자의 브랜치에 pull 받아서 작업하시고>
- 로컬에 새로운 폴더 생성
- visual studio code 로 해당폴더 열기
- git init
- git remote add origin https://github.com/Team-DaemonSet/diagnosis_repo.git
- git checkout -b {본인 branch명} --> Switched to a new branch '{본인 branch명}' 이라고 뜨는지 확인
- git pull origin main
<Terminal 2개 더 틀고>
[Terminal 1]
- cd front
- npm install (node_modules 문제가 해결이 안되었음)
- npm start
[Terminal 2]
- cd server
- python app.py
<작업 끝나고 각자 브랜치에 우선적으로 push 한 후에 팀장님한테 알려주시고 merge 작업 하시면 될 것 같습니다.>
[작업 종료]
- git add .
- git commit -m "{commit name}"
- git push origin {본인 branch명}
- fetch first ==> 웹 깃허브에서 내용을 수정하면 로컬 폴더가 그걸 못 읽어서 생기는 오류 같음
git fetch
- ! [rejected] (non-fast-forward) --> 이것도 비슷한류의 오류인 것 같음
git pull origin {본인 branch명}
후에 다시 git push origin {본인 branch명}