小乌龟 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
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分支
2020-09-30
git 忽略当前目录所有文件
建立文件1.gitignore 内容12*!.gitignore 忽略文件1git rm --cached readme1.txt
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-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
2016-04-03
sublime 使用方法
安装Package Controlhttps://packagecontrol.io/installation 123456789import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener(urllib.request.build_opener( urllib.request.ProxyHandler())); by = urllib.request.urlopen('http://packagecontrol.io/' + pf.replace(' ', '%20')).read()...
公告
This is my Blog