250x250
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
- try catch
- upgrade
- JavaScript
- Effective Java 3/e
- 정규표현식
- REACT
- git
- npm
- 퀵소트
- Spring Batch
- Effective Java
- nodejs
- REACTJS
- log_bin
- eslint
- regex
- spring
- migration
- MySQL
- Node
- log4j2
- update
- Express
- Regular expression
- mysql 5.5
- spring cloud
- java
- expire_logs_days
- current_date
- Chunk
Archives
- Today
- Total
728x90
목록git (3)
728x90
내 세상
[Git] 특정 branch만 clone하는 명령어
git clone -b master --single-branch http://abc.com/test.git 위와 같은 형태로 사용함. git clone -b [branch_name] --single-branch [git_url]
Technical/etc
2022. 2. 25. 13:40
[GIT] Author/Commiter 정보 일괄 변경 (filter-branch)
git의 filter-branch를 통해서 아래의 명령어로 해결할 수 있다. git filter-branch --commit-filter " if [ "$GIT_COMMITTER_NAME" = "테스트/Test" ]; then GIT_COMMITTER_NAME="test2"; GIT_AUTHOR_NAME="test2"; GIT_COMMITTER_EMAIL="test2@naver.com"; GIT_AUTHOR_EMAIL="test2@naver.com"; git commit-tree "$@"; else git commit-tree "$@"; fi" HEAD
Technical/etc
2021. 2. 4. 13:35
[Git] 특정 Branch만 Clone하기, git clone 저장 폴더 변경
Git에서 특정 Branch만 Clone하기 ( --single-branch ) git clone -b 0.5-stable --single-branch https://github.com/facebook/react-native.git Git에서 clone을 저장할 폴더 변경하기 - git clone 명령을 실행한 path에서 other_clone 폴더 내에 clone이 된다. git clone https://github.com/facebook/react-native.git other_clone
Technical/etc
2020. 9. 4. 08:44