변경 없이 PR 만들기

1 개요[ | ]

How to create an empty PR without changes
변경 없이 PR 만들기
변경사항 없이 빈 PR 만들기
  • 변경 없는 PR을 만드려면, 변경 없는 커밋을 만들어야 한다.
  • 변경 없는 커밋을 만드려면, git commit --allow-empty 명령어를 사용하면 된다.
git commit --allow-empty -m "메시지"
git push
testuser@localhost:~$ git commit --allow-empty -m "make pull request"
[mybranch1 a449329] make pull request
testuser@localhost:~$ git push
Enumerating objects: 1, done.
Counting objects: 100% (1/1), done.
Writing objects: 100% (1/1), 175 bytes | 175.00 KiB/s, done.
Total 1 (delta 0), reused 0 (delta 0), pack-reused 0
To https://github.com/kuoss/myip
   56279e0..a449329  mybranch1 -> mybranch1

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}