tlwiki
: mode_init broken #6
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For some reason, I had it in my head that hugo was going to need more file structure than I was willing to keep track of, so I paired the repo way down and wrote
mode_init
to generate the site usinghugo new site . --force
Turns out that not only was this horribly broken due to existing files, but it was never necessary in the first place. hugo will generate any additional files/dirs at build time, and I don't really have to fuck with it.
So, modify
mode_init
to rungit submodule update --init --recursive
insteadAlso modify
mode_updeps
to rungit pull --recurse-submodules
Also maybe rename
mode_updeps
to something more familiar likemode_pull
? Since it's not exclusive to deps (read: submodules), and will pull the top-level repo as well.