- From: Majid Valipour via GitHub <sysbot+gh@w3.org>
- Date: Thu, 19 Sep 2019 02:27:15 +0000
- To: public-css-archive@w3.org
I plan to migrate the repository without losing any of the history. Git supports merging two unrelated repositories in a single commit which ensure the final commit carries both histories. ## Merge Most merge commits have a diamond shape where one side is branch from the main branch at some earlier point but it is possible to merge to branches that don't share an ancestor. This is what I am proposing to do here. Here is the series of commands I will be using in csswg-drafts: ``` $ cd csswg-drafts $ git remote add wicg git@github.com:WICG/scroll-animations.git $ git fetch wicg $ git checkout -b wicg wicg/master $ mkdir scroll-animations-1 $ mv * scroll-animations-1/ $ git add . $ git commit -m "Move to sub-directory in preparation to repo migration" $ ... addition clean ups ... $ git checkout master $ git merge --allow-unrelated-histories wicg ``` ## Additional clean up Use correct name and URL in the spec and README Remove redundant files: - .gitattributes - .gitignore - scroll-animations-1/CONTRIBUTING.md - scroll-animations-1/LICENSE.md - scroll-animations-1/deploy_key.enc - scroll-animations-1/index.html - scroll-animations-1/install-bikeshed.sh - scroll-animations-1/travis.sh - scroll-animations-1/w3c.json -- GitHub Notification of comment by majido Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4334#issuecomment-532938165 using your GitHub account
Received on Thursday, 19 September 2019 02:27:16 UTC