- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 Ubuntu打开cifs共享
echo passwd | sudo -S mount -t cifs -o username="xxx", password="xxx" //192.168.1.110/file /mnt 这条命令是把//192.168.1.110/file 挂载到/mnt目录下,然后就可以做你想做的事了 echo passwd 管道自动输入你的ubuntu密码 username: cifs指定的用户名...
2018-12-26 16:39:17
1261
原创 git and repo基本操作
repo取版本 repo init -u "服务器URL" -m xxx/.../manifest.xml; repo sync repo start topic project 创建话题 repo checkout topic 切换分支 repo status 查看分支 会例出每个版本/每个文件的状态 repo upload --re=jdoe --cbr -t . git conf...
2018-12-26 16:26:30
398
原创 备份git仓库
假设已有git仓库git@10.22.52.217:/srv/autoltp.git 1.进入备份的目的机器目录 cd /home/aouyang/work/autoltp 2. 备份 git clone --mirror git@10.22.52.217:/srv/autoltp.git 3. 如果已有备份,则更新备份 git remote update 4. 编写定时备份 a. ...
2018-12-26 16:23:54
2469
1
原创 创建repo server 仓库
1. 创建一个有意义git 仓库;例如 autoltp.git 2. sudo mkdir /srv/manifest.git 3. sudo git init --bare /srv/manifest.git 4. sudo chown -R git:git /srv/manifest.git ////////下面是在客户端PC上的操作 5. cd /home/aouyang/work/...
2018-12-26 16:11:19
865
原创 创建git server 仓库
1. 创建git用户 2. sudo mkdir /srv/autoltp.git 3. sudo git init --bare /srv/autoltp.git 4. chown -R git:git /srv/autoltp.git
2018-12-26 16:10:38
276
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人