File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ # ghq
2
+
3
+ > Manage remote repository clones organized by hostname and path.
4
+ > More information: < https://github.com/x-motemen/ghq > .
5
+
6
+ - Clone a repository under the ` ghq ` root directory (default is ` ~/ghq ` ):
7
+
8
+ ` ghq get {{repository_url}} `
9
+
10
+ - Clone a repository from a user/project format (defaults to GitHub):
11
+
12
+ ` ghq get {{user}}/{{project}} `
13
+
14
+ - Clone a repository and ` cd ` into it:
15
+
16
+ ` ghq get {{repository_url}} --look `
17
+
18
+ - Clone a repository via SSH:
19
+
20
+ ` ghq get {{user}}/{{project}} -p `
21
+
22
+ - Update an existing repository to the latest version:
23
+
24
+ ` ghq get {{repository_url}} -u `
25
+
26
+ - List all locally cloned repositories:
27
+
28
+ ` ghq list `
29
+
30
+ - List locally cloned repositories with full paths:
31
+
32
+ ` ghq list --full-path `
33
+
34
+ - Remove a locally cloned repository:
35
+
36
+ ` ghq rm {{user}}/{{project}} `
You can’t perform that action at this time.
0 commit comments