Commit graph

141 commits

Author SHA1 Message Date
Zhizhen He 7dff4b0aa8 Update urfave/cli/v2 to v3 2026-03-19 14:16:12 +08:00
copilot-swe-agent[bot] 4010026f51 Format code with goimports and go fmt
Co-authored-by: Songmu <177122+Songmu@users.noreply.github.com>
2026-02-13 17:01:03 +00:00
copilot-swe-agent[bot] 9503ad3620 Add migrate subcommand implementation
Co-authored-by: Songmu <177122+Songmu@users.noreply.github.com>
2026-02-13 16:48:07 +00:00
Zhizhen He 4b56f98e01
fix: accept bare flag to remove bare repositories 2025-10-14 22:38:19 +08:00
Ray Shirohara ed4b406086
feat: add partial flag definition to ghq get 2025-03-26 00:23:48 +09:00
Masayuki Matsuki 8ab8ffe1bb
Merge pull request #368 from dochang/bare
Append ".git" to directory name for bare git repositories
2024-04-04 11:04:39 +09:00
Junya Okabe 79b560513e feat: add alias for ghq get 2024-03-24 01:37:33 +09:00
Junya Okabe 6296da685a feat: impl cmd_rm.go 2024-01-26 09:45:07 +09:00
Wade Zhang e883e7d4d6 Append ".git" to directory name for bare git repositories 2023-04-04 16:01:11 +08:00
Zhizhen He 050c32d894
de-capitalize errors to make staticcheck happy 2023-02-23 16:01:00 +08:00
Zhizhen He 97a47d32b3
Add spell check workflow 2023-02-22 15:35:22 +08:00
Nathan Baulch 4316194dc6 Minor linting 2022-08-18 16:02:06 +10:00
Jakob Helmecke d114440efb feat: do a bare clone 2022-01-05 19:02:04 +01:00
Yoichi Nakayama fd4fa97782 Fix typo in ghq get --help 2020-06-27 08:26:01 +09:00
Songmu b9d402ff60 fix docs 2019-12-31 04:02:11 +09:00
Songmu 3a57890187 update documents 2019-12-30 22:02:50 +09:00
Songmu b41935d35c drop import subcommand 2019-12-27 01:10:00 +09:00
Songmu 194ef6016b ghq get now has the same function as ghq import. 2019-12-27 00:59:51 +09:00
Songmu 729a884f2c drop look subcommand 2019-12-27 00:23:33 +09:00
Songmu ce22e22275 The parallel option is now an official feature 2019-12-25 23:51:46 +09:00
Songmu 905fb65763 define flag aliases 2019-12-25 23:44:33 +09:00
Songmu c3c8062413 fix test 2019-12-25 23:37:20 +09:00
Songmu 74c7c65f6c update urfave/cli deps to v2 2019-12-25 23:26:37 +09:00
Songmu 9d53b278d9 refine create subcommand 2019-12-24 11:53:05 +09:00
Songmu 379281c44a add create subcommand 2019-12-24 02:54:00 +09:00
Songmu a56dc2c903 clone and update recursively by default 2019-12-22 01:31:56 +09:00
moajo a4e9027425 add --recursive option to ghq get 2019-12-20 18:48:33 +09:00
Songmu 80fa054105 adjust file structure 2019-12-18 23:50:35 +09:00
Songmu 7adb168837 the import subcommand should not accept the --branch option 2019-12-17 11:14:55 +09:00
autopp 8aef9ad23e optimize --vcs option of list 2019-12-01 23:00:11 +09:00
rhysd 44bbec4edf add --branch option to ghq get to specify branch
this option implies --single-branch on Git. It reduces the clone time
and amount of transferred objects maintaining a history of specific
branch.

this option is useful when you fork a large repository and want to
checkout only your PR branch.
2019-12-01 12:54:10 +09:00
Songmu 96602239ee perl -i -pe 's/(cli\..+Flag)/&$1/g' commands.go 2019-11-20 15:07:36 +09:00
Songmu c949d25a5d lock in walk 2019-11-05 16:03:32 +09:00
Yasuhiro Matsumoto c949164eac
Do not use filepath.ToSlash for local 2019-10-25 16:10:14 +09:00
Songmu 1e0eca2e2e separate getter.go from commands.go 2019-05-06 23:37:24 +09:00
Songmu 1df955fec3 define LocalRepository.RepoPath and change repo.VCS() interface 2019-05-06 03:45:38 +09:00
Masayuki Matsuki db074605f1
Merge pull request #155 from msh5/list-vcs-option
List vcs option
2019-05-05 23:54:33 +09:00
Songmu dad2b4ba65 separate import.go from commands.go 2019-05-05 23:07:06 +09:00
Sho Minagawa 689cb820d7 support "vcs" option for list command 2019-05-05 22:49:57 +09:00
Songmu a716c9dd55 separate list.go and list_test.go from commands*.go 2019-05-05 19:30:18 +09:00
Songmu 9cdacb4356 some adjustment 2019-05-05 18:30:23 +09:00
Songmu 6d2563c476 add more tests in TestDoLook 2019-05-05 18:02:52 +09:00
Songmu 07a398912e add TestDoLook 2019-05-05 16:33:40 +09:00
Songmu 395b656e00 use getter in doImport 2019-05-05 02:57:23 +09:00
Songmu ff1dd8c1b5 define type getter struct and use it in doGet 2019-05-05 02:44:17 +09:00
Songmu 074a444f06 use c.App.Writer and fmt.Fprintln instead of using fmt.Println directly 2019-05-03 23:18:26 +09:00
Songmu c9eeabd030 s/ NewURL/ newURL/g 2019-05-01 14:05:29 +09:00
Songmu 11867e6177 s/ ConvertGitURLHTTPToSSH/ convertGitURLHTTPToSSH/g 2019-05-01 14:04:31 +09:00
Songmu cefe4044ce s/scpLikeUrlPattern/scpLikeURLPattern/g 2019-05-01 14:01:10 +09:00
Songmu a8b384f13b s/Commands/commands/ 2019-05-01 13:56:20 +09:00