Git Product home page Git Product logo

Comments (8)

buildbreaker avatar buildbreaker commented on July 20, 2024

I was running into this issue just now. The use case that I have is that I am working with another engineer on a project and we're working on independent tasks. For the integration step, I would like to pick some of the pending PRs from my teammate and pull it into my local git pile so I can start integration work ahead of the PR merge.

What this would be nice too is when I update the PR commit outside the context of my git pile. I'm usually making lint fixes on the GitHub web UI and it would also be nice to pull those changes back and remediate the differences in my git pile from my poor choices.

from git-pile.

keith avatar keith commented on July 20, 2024

Totally. If the PRs you want to pull in are single commits you can technically just cherry pick those changes, which isn't too bad. If they're multiple commits you can merge them into your branch and rebase -i to squash them all.

As far as updating the commit with remote changes that would definitely also be nice, right now pile does ask you if you want to update the underlying branch if it has been updated remotely, if you go to push a new commit, but that's only to help with making sure you can push new commits, not updating your pile state.

from git-pile.

keith avatar keith commented on July 20, 2024

I wrote my own script for this that seems to work, but I haven't thought if it would work in all cases or not https://github.com/keith/dotfiles/blob/7667eb94ef1682915a4622e86cad79f44a8ec3bd/bin/git-cp-pr

from git-pile.

Related Issues (15)

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.