Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- lsof
- ssh
- Windows
- maVen
- GIT
- Quartz
- xargs
- context
- profile
- web.xml
- Eclipse
- bash
- vscode
- Mac
- netsh
- grep
- Source
- 네트워크
- VirtualBox
- IntelliJ
- Windows 10
- 단축키
- tomcat
- import
- port
- 줄바꿈 문자
- find
- resource
- plugin
- JavaScript
Archives
- Today
- Total
목록2024/05/07 (2)
develog
[bash] 연관 배열
declare -A map=([source]='git@github.com:userA/repo10' [target]='git@github.com:userB/repo20')echo $mapecho ${map[source]}echo ${map[target]}
카테고리 없음
2024. 5. 7. 11:58
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/dLILfi/btsHbvd6uQw/ZltDQEckTJ4QujDeR8Yc40/img.png)
복제할 리포지토리를 mirror clone 한다## --mirror 대신에 --bare 를 사용한다$ git clone --mirror git@github.com:userA/mirror-source-proj$ git clone --bare git@github.com:userA/mirror-source-proj 복제한 리포지토리를 신규 리포지토리로 mirror push 한다- push 하기 전에 신규 리포지토리를 먼저 생성한다$ cd mirror-source-proj$ git fetch$ git push --mirror git@github.com:userB/mirror-target-proj `git clone --mirror` 를 사용할 경우 아래 오류가 발생할 수 있음 ! [remote rejected..
카테고리 없음
2024. 5. 7. 09:58