Replies: 2 comments
|
Yeah I think I could use something like this to keep certain Docker Mongo volumes static instead of anonymous aross branches. |
0 replies
|
Out of curiosity what would you describe as persistent patch series? Alternatively you can set up a branch hierarchy in your repo: You can do this via: git clone $URL $DIR
cd $DIR
git branch proxy_branch --set-upstream origin/main origin/main
<this can have stg stack on it>
git branch your_feature_1 --set-upstream proxy_branch proxy_branch
git checkout your_feature_1
< develop here >
git branch your_feature_2 --set-upstream proxy_branch proxy_branch
git checkout your_feature_2
< develop here >
git checkout proxy_branch
<make changes here when needed or when rebasing>
stg pull -m # will pull changes from upstream (origin/main)
git checkout your_feature_1
stg pull -m # will pull change from upstrea (proxy_branch: your local one you just updated)As long as you remember to do this recursive pull every now and then and basing all your local work off of proxy_branch, you effectively have the global patch list. If you want to open source / contribute (say your_feature_1) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello there!
A problem I face all too often:
Thing is, I still need that functionality. For instance,
gem 'ricecream'is super helpful in my day-to-day.Forking isn't really an option - I need to stay close to upstream.
For smaller projects, I keep patches on my
masterand clean them up before contributing. But in branch-heavy workflows, that gets unmanageable quickly.I've looked into https://gitbutler.com/ - too heavy and slow, weird branches.
stgsounds promising, butstg initis per-branch, and I need something cross-cutting.What I really want:
git pull --rebase --autostash-styleOTPS/before-big-bang) and revisit it later (e.g. when developing for an maintenance version)Does such tooling or workflow exist?
Thanks for reading - I appreciate any tips or experiences shared 🌟🌟🌟
All reactions