[git] 원격저장소 연결 설정 및 해제
1. 원격저장소 연결 정보 확인 # git remote -v origin https://github.com/[GitName]/[RepositoryName].git (fetch) origin https://github.com/[GitName]/[RepositoryName].git (push) 2. 원격저장소 연결 해제 # git remote remove origin 3. 원격저장소 연결 설정 # git remote add origin https://github.com/[GitName]/[RepositoryName].git * origin : 원격지
프로그래밍/Git
2021. 3. 23. 11:39
[git] branch표기
1) branch 표기 [test-dev@local ~](master) [test-dev@local ~](dev) 2) git이 관리되는 프로젝트로 이동하여, 아래 파일을 내려받자. # cd [프로젝트 경로] # wget https://raw.github.com/git/git/master/contrib/completion/git-completion.bash # wget https://raw.github.com/git/git/master/contrib/completion/git-prompt.sh # mv git-completion.bash .git-completion.bash # mv git-prompt.sh .git-prompt.sh 3) .bashrc 에 아래의 내용 추가 source ~/.git-pr..
프로그래밍/Git
2019. 9. 27. 11:35