Home
Sign Up
Sign In
V2EX
›
问与答
私有 git 服务文件 push 过去的文件存储在哪?
oneisall
·
Aug 28, 2017
· 2511 views
This topic created in 3354 days ago, the information mentioned may be changed or developed.
学着在树莓派上搭建了 git 私有仓库 比如仓库是 /home/pi.git ,git push 没问题 git clone 到本地也 ok。但是在 /home 路径下我怎么也找不着 push 过去的东西。所以请教下各位。
Supplement 1 ·
Aug 28, 2017
感谢 五楼 六楼知道原因了。
git
Push
私有
home
8 replies
•
2017-08-28 23:00:40 +08:00
ysc3839
Aug 28, 2017 via Android
1
用的是什么协议通信的?
oneisall
OP
Aug 28, 2017
2
@
ysc3839
ssh
fashioncj
Aug 28, 2017 via iPhone
3
ls -al
oneisall
OP
Aug 28, 2017
4
@
fashioncj
ls -al 找不到的,我想问的是其实是 git 服务器是直接存储 push 过去的文件在那路径下?
chinvo
Aug 28, 2017
1
5
@
oneisall
#4 服务器端存的是未检出数据,比如:
$ ls abc.git
HEAD branches config description hooks index info objects refs
noe132
Aug 28, 2017
1
6
就是这样的。
服务端没有 working copy
noe132
Aug 28, 2017
7
如果你要提取里面的文件,可以在服务器新建个文件夹 git clone /home/pi.git
oneisall
OP
Aug 28, 2017
8
@
noe132
好的 感谢,我找半天没找到理解错了。应该服务端再 git clone 遍再写个 hooks 就可以了。
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
1500 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 102ms ·
UTC 19:09
·
PVG 03:09
·
LAX 11:09
·
JFK 14:09
♥ Do have faith in what you're doing.
❯