일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- single cell
- scRNAseq analysis
- matplotlib
- CSS
- cellranger
- single cell rnaseq
- julia
- CUTandRUN
- DataFrame
- drug muggers
- PYTHON
- js
- CUT&RUN
- drug development
- 싱글셀 분석
- github
- pandas
- ChIPseq
- scRNAseq
- single cell analysis
- ngs
- Bioinformatics
- 비타민 C
- javascript
- MACS2
- Batch effect
- EdgeR
- HTML
- python matplotlib
- Git
Archives
- Today
- Total
바이오 대표
[Github] Rebase 본문
여러 개발자들과 함께 코드를 공유 및 병합을 할때 각자 branch에서 수정 후 master branch에 Three-way 로 병합되거나, fast-forward 로 병합된다. 보통 three way merge 는 error debug할때 어떤 branch 에서 발생했는지 찾기 어려움으로 rebase를 이용해서 하나를 base로 fast forward merge 가 가능하게 해서 debug를 좀더 쉽게 할수 있도록 한다.
=> commit history 를 linearly 확인 할 수 있다.
< Merge back to master >
$ git merge
$ git rebase
--> changing the base commit that's used for our branch
$ git checkout [branch name]
$ git rebase [master]
* history 를 linearly 보관하면 다른 다른 개발자랑 동시에 commit 을 했을 때 유용하게 사용된다
* 그냥 merge 해버리면 git이 three-way merge 로 자동 merge 해버릴수 있기 때문에
$ git fetch: put the lastest changes into the origin/master
$ git rebase origin/mastser