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

Categories

0 votes
1.5k views
in Technique[技术] by (71.8m points)

vscode extensions - git how to mark commits to drop for generating a PR branch

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...