You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following describes a step-by-step instruction for A, rebranding & B, cleaning the repository/organization:
Testing filter-repo in dummy repo pypsa-earth-test
Move all compiled jupyter notebooks, images, doc/images, hackathon material to a new repository called pypsa-earth-auxilium (auxilium is latin and stands for 'support')
Fix documentation (links to pypsa-earth-auxilium are required for images, renaming of links etc.)
Create empty organization pypsa-meets-africa with the repository pypsa-africa, pypsa-africa-hackathon & create a simple link to the new website/ repository
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The following describes a step-by-step instruction for A, rebranding & B, cleaning the repository/organization:
pypsa-earth-test
pypsa-earth-auxilium
(auxilium is latin and stands for 'support')pypsa-earth-auxilium
are required for images, renaming of links etc.)git clone --mirror https://github.com/pypsa-meets-africa/pypsa-africa.git
pypsa-meets-africa
with the repositorypypsa-africa
,pypsa-africa-hackathon
& create a simple link to the new website/ repositorypip install git-filter-repo
find . -type f > paths_i_want.txt
and some manual labour)<path>/pypsa-africa
the following command to clean the historygit filter-repo --paths-from-file ../paths_i_want.txt
du – sh . git
)git remote -v
git remote add origin https://github.com/pypsa-meets-africa/pypsa-earth.git
git push origin --mirror
(--mirror will make sure that the remote will be clean)Fixes:
Beta Was this translation helpful? Give feedback.
All reactions