본문 바로가기

pull3

[Git] 내 코드 파일 배포 A to Z 1. repository 생성   2.Setting > Developer settings > Personal access tokens > Tokens (classic) > Generate new token repo 관련 접근 허용하고,,    3. 해당 폴더로 가서 git init- .git 디렉토리가 생성- 여기에 저장소의 모든 버전 관리 정보가 저장됩git remote add origin https://[token]@github.com/USERNAME/REPOSITORY.git  확인git remote -v # origin https://github.com/USERNAME/REPOSITORY.git (fetch)# origin https://github.com/USERNAME/REPOSITORY... 2024. 12. 8.
[Git] git commit하고 push 시 다른 팀원이 올렸을 경우 열심히 작업 중 commit 하고, 점검 중에 있는데!! 누가 push 해버렸다!?git push origin backup_branch To https://github.com/addinedu-ros-5th/ros-repo-5.git ! [rejected] backup_branch -> backup_branch (fetch first)error: failed to push some refs to 'https://github.com/addinedu-ros-5th/ros-repo-5.git'hint: Updates were rejected because the remote contains work that you dohint: not have locally. This is usually cause.. 2024. 8. 4.
Docker - car_plate_detection https://hub.docker.com/r/tshoons/car_plate_number_detect/tags https://hub.docker.com/r/tshoons/car_plate_number_detect/tags hub.docker.com1. image 가져오기docker pull tshoons/car_plate_number_detect:v1  2. docker image 확인 3. docker container 실행이때 추가 옵션으로 설정 - host의 카메라 디바이스가 /dev/video0에 위치해 있다고 알려주기!docker run -it --device /dev/video0:/dev/video0 tshoons/car_plate_number_detect:v0 home/tspoon/works.. 2024. 7. 21.