Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Left over Hyperspy Folder #1

Closed
CSSFrancis opened this issue Jul 23, 2023 · 3 comments
Closed

Left over Hyperspy Folder #1

CSSFrancis opened this issue Jul 23, 2023 · 3 comments

Comments

@CSSFrancis
Copy link
Member

CSSFrancis commented Jul 23, 2023

We might need to delete this repo and try agin :/ Apparently I copied the history for hyperspy-extension.ymal file without knowing it...

@ericpre any advice here?

I think the right git filter is

git filter-repo --path holospy/ --path doc/user_guide/electron_holography.rst --path hyperspy/misc/holography/ --path hyperspy/_signals/hologram_image.py --path hyperspy/tests/signals/test_hologram_image.py --path hyperspy/tests/signals/test_hologram_image_statistics.py --path-rename holospy/: --force

We could also maybe just force push to the repo and clean things up that way....

@CSSFrancis
Copy link
Member Author

I think this is the right commit history https://github.com/CSSFrancis/holospy

@ericpre
Copy link
Member

ericpre commented Jul 24, 2023

Yeah, maybe it needed to exclude hyeprspy/misc/example_signals and hyperspy/hyperspy_extension.yaml and then force push. I would remove the last merge commit at the same time (reset head to the commit before the merge commit before reunning git filter-repo?).

@ericpre
Copy link
Member

ericpre commented Aug 26, 2023

Done in #2.

@ericpre ericpre closed this as completed Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants