07 2021 档案

摘要:Ubuntu中安装Docker 更新ubuntu的apt源索引 sudo apt-get update 2.安装包允许apt通过HTTPS使用仓库 sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ softwa 阅读全文
posted @ 2021-07-19 13:47 季风时节 阅读(1145) 评论(0) 推荐(0) 编辑
摘要:Linux中chown和chmod的区别和用法 chown用法: 用来更改某个目录或文件的用户名和用户组。 chown 用户名:组名 文件路径(可以是绝对路径也可以是相对路径) 例1:chown root:root /tmp/tmp1 就是把tmp下的tmp1的用户名和用户组改成root和root( 阅读全文
posted @ 2021-07-15 13:51 季风时节 阅读(626) 评论(0) 推荐(0) 编辑
摘要:这种情况下,如何保留本地的修改同时又把远程的合并过来呢? 首先取决于你是否想要保存本地修改。(是 /否) 是 git stash git pull origin master git stash pop git stash的时候会把你本地快照,然后git pull 就不会阻止你了,pull完之后这时 阅读全文
posted @ 2021-07-15 13:48 季风时节 阅读(168) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示