gohack icon indicating copy to clipboard operation
gohack copied to clipboard

Ran gohack get github.com/user/somerepo and it is missing the .git directory

Open chmorgan opened this issue 6 years ago • 1 comments

Hello.

Thought gohack was a great idea but my gohack'ed directory is missing .git. This makes it quite a bit less useful for hacking on things as I'd have to manually transfer the changes back to a version controlled directory.

Am I missing something in terms of usage? go 1.12.1 here, macOS.

chmorgan avatar Mar 30 '19 18:03 chmorgan

Looks like a -vcs option was introduced but not mentioned in the README, submitted, https://github.com/rogpeppe/gohack/pull/47

chmorgan avatar Mar 30 '19 19:03 chmorgan