Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
AlmondSauce845441dI always delete forks - they're just clutter otherwise. Forks only exist when I'm working on a PR.
As for other projects - no need to necessarily combine them unless they sensibly fit under one repo (I combined all my trivial Alexa apps for example, but wouldn't combine stuff that doesn't fit.) You can still keep the got history if you want when you do that.
If you're concerned about potential employers being able to find the "good stuff" though, just pin the repositories you want them to find, and make sure any that you're not working on are archived to show they're inactive. Having said that, most employers don't look at GitHub anywhere near as much as you might think.
hey i want to combine all my android apps to single repo. i was thinking of cloning them, then nuking them all on github, then removing their .git folder and then pushing them to a single new repository.
But i guess in this way i would loose both my github and git history. So what are the other options?
I am guessing if i *don't* remove the individual .git folder then i could possibly save their local history, but the github repo will show only 1 major commit ? I have never maintained a nested git repo. you got some tips here?
AlmondSauce845440d@StopWastingTime I think i just used this guide here (or something similar) https://saintgimp.org/2013/01/... - basically you add new origins, merge, move commit then go again for the next repo. Been ages since I did it, but it worked for me.
Also worth mentioning that GitHub has unlimited free private repos now - so if there's projects you want to keep but don't want employers seeing, just make them private.
olback1169740dRemove forks, keep your projects as they are. Gotta keep them commits. Also merging a bunch of repos makes it harder to find stuff.
@AlmondSauce this script is best! thankyou for this. but i have got like 40 projects that needs to be merged to single. and this is still taking a very long time.
But the bright side is that commit history is being saved flawlessly. guess i had to, as my gym instructor says, bear the pain to achieve the gains