Skip to content

Commit 625ac7b

Browse files
committed
git server
1 parent 74ba58f commit 625ac7b

File tree

3 files changed

+37
-1
lines changed

3 files changed

+37
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
## 笔记文档
2222

23+
* [0027_git_server.md](docs/0027_git_server.md)
2324
* [0026_libdrm_modetest.md](docs/0026_libdrm_modetest.md)
2425
* [0025_Vim_Support_Mouse_Paste.md](docs/0025_Vim_Support_Mouse_Paste.md)
2526
* [0024_Kernel_Modules.md](docs/0024_Kernel_Modules.md)

docs/0013_dtoverlay.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,4 +193,16 @@ https://github.com/raspberrypi/userland/tree/master/host_applications/linux/apps
193193
* [configfs-overlays.txt](https://github.com/Xilinx/linux-xlnx/blob/master/Documentation/devicetree/configfs-overlays.txt)
194194
* [rpi-sense-overlay](https://github.com/ZengjfOS/RaspberryPi/tree/rpi-sense-overlay)
195195
* `make`
196-
* `sudo ./run.sh`
196+
* `sudo ./run.sh`
197+
198+
## Device Tree Blob Overlay Configuration File System
199+
200+
* 如果你想知道`configfs`中`overlay`是怎么工作的,可以参考: https://github.com/ikwzm/dtbocfg
201+
* `git clone https://github.com/ikwzm/dtbocfg.git`
202+
* `cd dtbocfg`
203+
* `make`
204+
```
205+
pi@raspberrypi:~/zengjf/dtbocfg $ ls
206+
dtbocfg.c dtbocfg.ko dtbocfg.mod.c dtbocfg.mod.o dtbocfg.o dtbocfg.rb LICENSE
207+
Makefile modules.order Module.symvers Readme.ja.md Readme.md
208+
```

docs/0027_git_server.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# git server
2+
3+
## 参考文档
4+
5+
* [Setting up Your Raspberry Pi as a Git Server](https://www.sitepoint.com/setting-up-your-raspberry-pi-as-a-git-server/)
6+
7+
## steps
8+
9+
* `sudo adduser git`
10+
* `su git`
11+
* `mkdir helloworld.git`
12+
* `cd helloworld.git`
13+
* `git init --bare`
14+
* `git clone [email protected]:/home/git/helloworld.git`
15+
```
16+
Cloning into 'helloworld'...
17+
The authenticity of host '192.168.31.189 (192.168.31.189)' can't be established.
18+
ECDSA key fingerprint is SHA256:8RCzBU02hBV/GA7E9tJpgvpKRDbauZ1dlfQg9FVmOUs.
19+
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
20+
Warning: Permanently added '192.168.31.189' (ECDSA) to the list of known hosts.
21+
[email protected]'s password:
22+
warning: You appear to have cloned an empty repository.
23+
```

0 commit comments

Comments
 (0)