chaseruskin / legoHDL

An experimental package manager and development tool for Hardware Description Languages (HDL).
https://c-rus.github.io/legoHDL
MIT License
14 stars 2 forks source link

Copy/fork a remote repository into a block #26

Closed chaseruskin closed 3 years ago

chaseruskin commented 3 years ago

If a set of HDL files exists publicly available, yet to avoid syncing with the remote and trying to push personal changes to the repository, it can be beneficial to "fork"/"copy" the repository through initializing the project as a block and then detaching the remote url from the git repository.

Example: legohdl init myLibrary.myDesign -https://git/some/repository.git -fork This will clone the repository to the current working directory, initialize that current git repository into a valid block format, and then detach the remote url from the repository. This means the valid block format changes won't get pushed to the remote repository.