2024-01-03

git으로 받아놓은 소스를 submodule까지 다 아카이브하기

git archive하면 소스로 받지만 서브모듈은 받을수 없다.

그래서 스택오버플로우 에서 찾았다.

git ls-files --recurse-submodules | tar caf ../src.tar.gz --xform s:^:prog/: --verbatim-files-from -T-

댓글 없음:

댓글 쓰기

How to Convert EUC-KR Source Code to UTF-8

How to Convert EUC-KR Source Code to UTF-8 I found old STM32 firmware code. The files were in EUC-KR encoding. This is an old Korean text f...