小乌龟 git 使用方法 常用命令
发表于|更新于|others
- 推送标签
1 | git push origin master --tags |
文章作者: developer
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 Dev!
相关推荐
2018-02-18
iptables 使用方法 常用命令
删除注意要点:iptables 是按照规则工作的,一旦清除规则,则出入都会被禁止,所以要先执行 1iptables -P INPUT ACCEPT 然后执行部分删除操作 123iptables -F iptables -X iptables -Z
2020-03-06
git 过滤目录和子目录下 指定 拓展名 文件
添加.gitignore文件 1/assets/**/*.css
2026-02-27
统计代码行数
1git ls-files "lib/*.dart" | xargs wc -l 还有专用工具 12sudo apt install cloccloc application/
2018-01-31
Supervisor 配置 使用 常见问题 thinkphp 队列 使用方法
安装安装方法很多,这里给出最简便的 123wget --no-check-certificate https://bootstrap.pypa.io/ez_setup.py -O - | sudo pythoneasy_install supervisor 然后 1find / -name supervisord.conf 找到supervisord.conf路径 1echo_supervisord_conf > /etc/supervisord.conf 在找到的空配置中生成示例配置 详细方法http://blog.csdn.net/xyang81/article/details/51555473 配置最后一行 123;包含其它配置文件[include]files = relative/directory/*.ini ;可以指定一个或多个以.ini结束的配置文件 这里注意!!!*[include]*前的 ; 要去掉,否则不会加载 ini 配置!!! 使用在你inclue的目录中加一个ini 1234567891011[program:thinkphp]command...
2019-06-01
小乌龟 git 使用 方法 fetch 获取 pull 拉取 差别
fetch和pull区别https://www.cnblogs.com/qiu-Ann/p/7902855.html 12git fetch 相当于是从远程获取最新到本地,不会自动mergegit pull 相当于是从远程获取最新版本并merge到本地 checkouthttps://www.jianshu.com/p/e52e4ba1cd84 1实际上是修改HEAD位置 fetch远端代码后本地无分支 1234567方法1:可以紧接着执行check out FETCH_HEAD然后git branch -M newName 进行改名这样本地就会多一个分支方法2:可以直接合并FETCH_HEAD分支
2019-11-19
linux 常用命令
lsofhttps://www.jianshu.com/p/a3aa6b01b2e1list openfiles 1lsof -i :22 创建用户https://blog.csdn.net/taolusi/article/details/81304057 12adduser:会自动为创建的用户指定主目录、系统shell版本,会在创建时输入用户密码。useradd:需要使用参数选项指定上述基本设置,如果不使用任何参数,则创建的用户无密码、无主目录、没有指定shell版本。 time获取命令执行时间 1234time python3 Oreal.pyreal 0m12.471suser 0m9.756ssys 0m0.251s dnf软件源列表12345# 当前启用的dnf repolist# 全部源dnf repolist all dnf禁用软件源1sudo dnf config-manager --set-disable sublime-text
公告
This is my Blog