File tree Expand file tree Collapse file tree 1 file changed +23
-5
lines changed Expand file tree Collapse file tree 1 file changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -21,25 +21,43 @@ go install github.com/dsxack/gitfs/cmd/gitfs@latest
21
21
22
22
### Usage
23
23
24
- Mount with local repository clone or
25
- remote repository url (in this case repository will be cloned into temporary directory)
24
+ Mount
25
+ ``` sh
26
+ gitfs mount < repository url> < mountpoint>
27
+ ```
26
28
29
+ Mounting local repository
27
30
``` sh
28
- gitfs mount < local repository url > < mountpoint >
31
+ gitfs mount /home/dsxack/work/project /mnt/project
29
32
```
30
33
31
- Mount in daemon mode
34
+ Mounting remote repository (repository will be cloned into memory)
35
+ ``` sh
36
+ gitfs mount https://github.com/dsxack/go /mnt/go
37
+ ```
32
38
39
+ Mount in daemon mode
33
40
``` sh
34
41
gitfs mount -d < repository> < mountpoint>
35
42
```
36
43
37
44
Umount previously mounted in daemon mode filesystem
38
-
39
45
``` sh
40
46
gitfs umount < mountpoint>
41
47
```
42
48
49
+ Mount with verbose logging for debugging reasons
50
+ ``` sh
51
+ # Info
52
+ gitfs mount https://github.com/dsxack/go /mnt/go -v
53
+
54
+ # Debug
55
+ gitfs mount https://github.com/dsxack/go /mnt/go -vv
56
+
57
+ # Trace
58
+ gitfs mount https://github.com/dsxack/go /mnt/go -vvv
59
+ ```
60
+
43
61
### License
44
62
45
63
[ MIT] ( LICENSE )
You can’t perform that action at this time.
0 commit comments