Comments (8)
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.
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.
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)
- Move config to gitconfig? HOT 2
- Onto flag not working HOT 3
- Onto flag yields: unknown flag HOT 1
- Make rebasepr support multiple rebases at once
- Make submitpr support submitting a stack
- Make updatepr allow fuzzy finding commits to update
- Chained PR submission HOT 3
- brew install fails with SHA256 mismatch HOT 2
- Make commit -> branch name work with commit messages containing a leading `.` period HOT 1
- Changing other files during conflict resolution doesn't get reflected on PRs
- Bad state when ctrl-c'ing out of deleted file conflict HOT 1
- `git-pilereset` doesn't cover if the worktree has been detached from the repo
- rebasepr doesn't respect --onto
- Stale worktree causes PR failures
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-pile.