Synching a fork to main #158
Replies: 8 comments 11 replies
-
Thanks, very helpful |
Beta Was this translation helpful? Give feedback.
-
We need to setup a common way we could all work with for ALL VFPX repos. One need to discuss in more detail, only I fear this is the complex for such messages like this. |
Beta Was this translation helpful? Give feedback.
-
Working with ALL VFPX projects is overkill, as so few of them active. Most have been dormant for a long long time. And I would hope we could find the simplest way possible in attempting to resolve this relatively rare occurrence. And by simplest, I want to keep in mind those of us who are not as proficient in git as you. |
Beta Was this translation helpful? Give feedback.
-
Me, proficient in git? LOL. I guess I just have two benefits: I using git on command line, aka bash, and I'm willing to google it up (for that, the bash not cmd, there is more information on the LINUX side). The rest is the knowledge that one simply can backup a directory with CTRL+C CTRL+V and try it. It's hard to destroy anyway. I would think one could set up a project (a duplicate of something we use or some text files) and simply try it. Learning branches and merges is valuable in itself, so I recommend this way. |
Beta Was this translation helpful? Give feedback.
-
@Jimrnelson Possibly a way out of the problem in VFPX/GoFish#121 (comment):
Anyway, aside low level download, I see no way around branches. |
Beta Was this translation helpful? Give feedback.
-
@Jimrnelson If you like, we can try with Thor itself, and my update for the un-packing. You don't need to be afraid to destroy something git side, this is all made to be resistant. The chance to loose something is near 0. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
There is nothing more to say or to learn here. I do not see why a question like VFPX/GoFish#121 (comment) is posted the first hand, when all response to the answer is that somebody is unwilling to learn. This time was wasted. |
Beta Was this translation helpful? Give feedback.
-
disclaimer:
I use the simplified forms like .git folder, master branch and assumptions the like. I know better, but let's keep it short.
@Jimrnelson
As we found in VFPX/GoFish#121 (comment), it is not very simple to merge code to the VFPX projects.
Those are the ways I would try to solve it:
The common way
The primary idea to solve this is branches. One set up a branch here on github and forces everybody to pull request to this branch.
It might be possible to force github to auto-create a new branch on pull request each time. Only from my POV github is a numb back-end to have common remote repos, so do not ask me.
It might also be possible that a contributor pushes directly to the main github repo, just not to master branch. I have no idea how to control this on github.
The on-foot way.
Download the files / the repo from the fork to a temp folder, work it into your code using file explorer, copy'n'paste or the like.
Just like what you do if a solution is posted as a snippet or file attached.
The tricky branch / merge
git remote add ..
on bash, however a GUI will work) to the contributors github repo.The brute force
Conclusio
All of that is not straight forward and needs some setup or learning branches and merge. The first solution is the simplest way, since one have to learn and setup just once, it's just pull - merge (and rework) - push after.
For the stuff I contribute to, I have one local repo, that talks to my private git server (iow local), pulls from VFPX/xyz/master and pushes to myfork_of_xyz/mybranch, and from there I start the pull request. I do a lot of intermediate commits one will not see in that what I finally push, but this is a different story.
Update:
All this is without the havoc of binary sources, what complicate merges like hell or, from my POV, not practicable with git's common tools without recreating the binaries. (but then they are even more bloat.)
Beta Was this translation helpful? Give feedback.
All reactions