본문 바로가기

Back-end (Spring Boot , JPA, JSP)/필기일지

240118 [Back-end] git / github / Source Tree 소스트리

반응형

[24.01.18]  109차

 

<<진도>>

[Back-end]

 / git 

 / github

 / Source Tree 소스트리

 

github

gitbash에서 로컬 git폴더의 원격remote를 바꾸기

git remote set-url origin <repository 주소>

 

<>해당 주소의 원격 repository로 바뀌고 push가능

 

[ fork 와 pull request ]

 

다른 계정의 repository를 fork

 

fork한 원격 repository를 clone 해서 수정후 소스트리에서 commit & push

 

푸쉬 후 open pull request

 

 

Create pull request

 

 

pull request 요청을 보내면

 

first repository 

 

 

커밋에 대한 코드리뷰도 가능

 

first에서 merge confirm 시 병합완료

 

SpringBoot사이트에도 빌드가 있어 포크해서 공부가 가능

 

https://github.com/spring-guides/gs-spring-boot

 

GitHub - spring-guides/gs-spring-boot: Building an Application with Spring Boot :: Learn how to build an application with minima

Building an Application with Spring Boot :: Learn how to build an application with minimal configuration. - GitHub - spring-guides/gs-spring-boot: Building an Application with Spring Boot :: Learn ...

github.com

 

반응형