Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
samatman
on Aug 15, 2022
|
parent
|
context
|
favorite
| on:
Ask HN: Can I see your scripts?
Here's a shell script for moving files in git between repos, preserving the history, and following that history through the file being renamed:
git-move src/afile.c src/bfile.c src/cfile.c ../destination/repo
https://gist.github.com/mnemnion/87b51dc8f15af3242204472391f...
__del__
on Aug 15, 2022
[–]
simpler than i expected. what was your original use case?
samatman
on Aug 15, 2022
|
parent
[–]
Same as the ongoing use case: breaking submodules of a project out into its own namespace, while preserving the edit history.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: