[英]Git: Create a branch. Commits a bunch. Go back to master branch, only wants to merge certain commits
[英]Which git command give me only merge commits for the master branch?
我剛剛將 PR 合並到 master。
我想記錄所有的合並提交。
那么哪個git command
只給我合並master 分支的提交?
使用合並標志
$ git log --merges
使用 grep
$ git log | grep '^Merge:' -B 1 -A 5
這將向您顯示合並提交的列表
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.