Please add the ability to sync a fork when doing a clone or pull...
I have a somewhat unconventional workflow where I create forks of projects so they show up in my repositories and I don't forget about them. I might want to make a change at some point sure, so I want my own repo so I can do whatever I want. But I also want all my repos to be local so they can be indexed with desktop search.
Having the ability to automatically update a fork with the upstream when there are no merge conflicts would save a lot of time when I want to update and pull them (210+) all.
Nice! One of my other projects may be just what you're looking for then?
https://github.com/Justintime50/forks-sync
Let me know if this is what you're after?
That's exactly what I was looking for! Maybe consider merging the functionality together with github-archive now that forks-sync is archived? Thanks for suggesting forks-sync that will work great!
Wish I could reopen this.. After playing with it, I guess that's mostly what I was after. I wish it worked more like github-archive where I could provide a user name and omit the token. If you merged forks-sync with github-archive so I could run a command like github-archive --users pbrubaker --clone --forks --pull --https and it would update all the forks it found in the current directory that would be ideal.
The reason one needs to provide the token is GitHub has a pretty aggressive rate limit. Without providing the token, the rate limit can be hit rather quickly. Additionally, any private git repos couldn't be interacted with since they need authentication.
I'll consider consolidating the functionality of forks-sync into this tool though I'm not sold on it. Will reopen till I make my decision.
After thinking on it more, I don't think merging the two tools makes a lot of sense because they differ in function. If this is still something you need, my recommendation would be to fork the forks-sync tool linked above and make the changes you need. If you'd like to toss up a PR to forks-sync to make it work similar to this tool, I'd be open to reopening the project so we could merge in your changes. Let me know!