Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I want to generate a PR branch by removing my personal commits

is there ANY way to mark a list of commits to drop

I thought about :

  1. ALWAYS start personal commits with --p: or anything unique
  2. tag personal commits: but this would pollute my tag space: too many tags,
    also, you can't have 2 tags with the same name

    features I want: hidden tags, tags with same name

I could but idk where to feature request to git, to add a way to mark commits.

is there a better way to mark commits ? or generate a PR branch without my personal commits ?

question from:https://stackoverflow.com/questions/65877356/git-how-to-mark-commits-to-drop-for-generating-a-pr-branch

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.3k views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...