repository2 [Git] git push 하지 않고 작업 사항을 공유하는 방법 목적은 이렇다. 그냥 git push 하지 않아서 드러내지 않고, 로컬이 아닌 내 작업을 집에서도 할 수 있도록 코드를 가져오려고 했지만, 방법은 딱히 없다. 새로운 사적인 repo를 만드는 방법이다! 그떄 유용하게 쓰이는 포장방법(?!)을 소개한다. 1. git bundle 이용 - 배포- 지금까지 작업한 모든 것들을 번들 파일로 만듦git bundle create my_repo.bundle --all - 특정 브랜치만 포함할 수도 있음git bundle create my_repo.bundle [branch name] - 사용 - 어느 branch를 가리키고 있는 지 확인하고, git bundle list-heads my_repo.bundle - 번들 파일을 받고 새 디렉토리에서 복원git cl.. 2024. 8. 18. anaconda에서 git 설치 및 git clone 세부사항 환경 :window 10git : 2.40.1ananconda :24.02.01 pip install git conda install git git --version Local 저장소 만들기git init Remote 저장소 주소 추가 git remote add [저장소명] [github repo URL] ( 저장소 이름은 origin으로 하자!)git remote rename [기존 이름] [변경할 이름] Remote 저장소 헤제 원하는 파일을 Git Repo에 올리고 싶음 mkdir [파일이름]git initgit remote- v git remote set-url origin [token]@[repo URL]git add .git commit -m "[커밋 메시지]"git push ori.. 2024. 7. 7. 이전 1 다음