Giter Site home page Giter Site logo

Comments (7)

akioogawa avatar akioogawa commented on July 17, 2024

I have fixes on StFcsMIPMaker, StFcsPi0ReconstructionMaker and a change in StTriggerFIlterMaker, all under StSpinPool at my repo (akioogawa/star-sw), total 6 files modified. But the repo also has past 5 commits & 10 other changes. Some of them already merged to main STAR repo (or at least I thought so for StRoot/StFcsFastSimulatorMaker/macro/README.MC), some are on those MC filters at other branch. I'm not sure what to do. Just make another PR with them? Create a branch?

from star-sw.

akioogawa avatar akioogawa commented on July 17, 2024

On my GitHub webpage, I feel like I should be able to click "contribute -> Open pull request" and then click in or out commits to pick and choose which commist to be included or not in the PR.

from star-sw.

veprbl avatar veprbl commented on July 17, 2024

I have fixes on StFcsMIPMaker, StFcsPi0ReconstructionMaker and a change in StTriggerFIlterMaker, all under StSpinPool at my repo (akioogawa/star-sw), total 6 files modified. But the repo also has past 5 commits & 10 other changes. Some of them already merged to main STAR repo (or at least I thought so for StRoot/StFcsFastSimulatorMaker/macro/README.MC), some are on those MC filters at other branch. I'm not sure what to do. Just make another PR with them? Create a branch?

I would go for a new branch. Should be something along the lines of

git fetch upstream
git checkout upstream/master
git branch pr/StFcsDb_fixes
git cherry-pick 1d2b69e067e95986a53380ce06dc609f225c7911
git push -u origin pr/StFcsDb_fixes

from star-sw.

veprbl avatar veprbl commented on July 17, 2024

On my GitHub webpage, I feel like I should be able to click "contribute -> Open pull request" and then click in or out commits to pick and choose which commist to be included or not in the PR.

You can only choose a single branch to create a GitHub PR. That branch has to be prepared using git itself – there are no tools to pick out commits in GitHub.

from star-sw.

akioogawa avatar akioogawa commented on July 17, 2024

I did follow the suggestion and end up with a new branch which has all 6 commits/16files modified.

from star-sw.

veprbl avatar veprbl commented on July 17, 2024

My bad, the second step should have been git checkout upstream/main, the git checkout upstream/master should have printed an error for you, as there is no branch with the name "master".

New steps to correct this:

git checkout pr/StFcsDb_fixes
git reset --hard upstream/main
git cherry-pick 1d2b69e067e95986a53380ce06dc609f225c7911
git push -f origin pr/StFcsDb_fixes

from star-sw.

akioogawa avatar akioogawa commented on July 17, 2024

Thanks. This time I think it was successful. I made PR. Thanks!

from star-sw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.