티스토리 뷰
1. git Pull Request
pull&request는 github에서 가능하고, git자체에서는 CLI로는 쉽지않습니다.
pull & request command line 구조 입니다.
$ git request-pull [-p] <start> <url> [<end>]
<start> : 커밋시작시점입니다.
<url> : pull한 래포지토리 url을 의미합니다.
<end> : 커밋의 end지점입니다.
터미널에서 pull request 명령어를 해봤더니 아래와 같은 메시지를 받았습니다.
git request-pull 로컬브랜치 래포지토리URL master
The following changes since commit 95cef53f59ef51ccddaac4f161de3b0ac2964f04:
Initial commit (2022-07-18 23:08:02 +0900)
are available in the Git repository at:
https://github.com/래포지토리URL
for you to fetch changes up to 95cef53f59ef51ccddaac4f161de3b0ac2964f04:
Initial commit (2022-07-18 23:08:02 +0900)
pull& request 는 CLI보다는 github에서 제공되는 기능이므로 github에서 하는게 더 빠릅니다.
2. git-fetch
원격저장소의 최신이력을 확인할 수 있습니다.
$ git fetch
[ git 공부하는데 유익한 git CLI 정리한 사이트 ]
CLI 환경에서 Git 사용하기(명령어 정리) #1
CLI 환경에서 Git 사용하기(명령어 정리) #1 📝 목록 status log add commit branch checkout push pull fetch status - 현재 git 상태를 보여줌 - 다음 4가지로 구분되어 출력됨 1) Untracked files 2) Changes t..
atoz-develop.tistory.com
[참고]
Git - git-request-pull Documentation
Generate a request asking your upstream project to pull changes into their tree. The request, printed to the standard output, begins with the branch description, summarizes the changes and indicates from where they can be pulled. The upstream project is ex
git-scm.com
Git - git-fetch Documentation
In general, URLs contain information about the transport protocol, the address of the remote server, and the path to the repository. Depending on the transport protocol, some of this information may be absent. Git supports ssh, git, http, and https protoco
git-scm.com
누구나 쉽게 이해할 수 있는 Git 입문~버전 관리를 완벽하게 이용해보자~ | Backlog
누구나 쉽게 알 수 있는 Git에 입문하신 것을 환영합니다. Git을 사용해 버전 관리를 할 수 있도록 함께 공부해봅시다!
backlog.com
'Backend > 꾸준히 TIL' 카테고리의 다른 글
좋은 git commit 메시지 작성하기 위한 7가지 약속 (0) | 2022.07.22 |
---|---|
Node.js - Nodemon (0) | 2022.07.21 |
git config --replace-all 옵션 (0) | 2022.07.18 |
Build Jekyll Site Error - No repo name found (0) | 2022.07.15 |
[Node.js] Node.JS 와 Vscode에서 사용하기 (0) | 2022.07.12 |
- Total
- Today
- Yesterday
- Nest.js
- nestjs jest
- 바이트디그리
- 갓생살자
- 클린아키텍쳐
- typeORM
- vscode
- Jekyll
- Mongoose
- 개발용어
- 미완
- jest
- MongoDB
- 한달어스
- TDD
- MySQL
- node.js
- git
- RDBMS
- gem
- IT용어
- 디지털디톡스
- 참고
- TypeScript
- nestjs
- 한달독서
- 나도 할 수 있다
- 습관개선
- 스마트폰중독
- OS
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |