查看所有配置,用户信息和文件位置 git config --list --show-origin 用户信息配置 git config --global user.name "user_name" git config --global user.email "user_email@qq.com" 本 ...
分类:
其他好文 时间:
2021-04-13 12:23:36
阅读次数:
0
时间工具类 import java.time.*; import java.time.format.DateTimeFormatter; import java.util.Date; public class TimeUtil { /** * 北京时间 */ private static final ...
分类:
编程语言 时间:
2021-04-13 12:01:10
阅读次数:
0
环境 Android Studio 4.1.3华为Mate9 (Android 9) 崩溃堆栈 2020-08-14 10:27:28.844 13108-13108/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** ...
分类:
移动开发 时间:
2021-04-13 11:55:18
阅读次数:
0
git出现问题时,将自己的代码全部替换成git库中的最新代码 ***在IDEA底部打开 terminal 输入语句 git fetch --all && git reset --hard origin/master && git pull ...
分类:
其他好文 时间:
2021-04-10 13:28:52
阅读次数:
0
使用git-pylint-commit-hook工具 pre-commit脚本 配置文件放在仓库根目录/hooks下面 git-pylint-commit-hook --limit=9.0 --pylintrc=hooks/.pylintrc 配置 [BASIC] # Regular express ...
分类:
其他好文 时间:
2021-04-10 13:26:17
阅读次数:
0
text.1 x1, y1=1.2, 3.57 x2, y2=2.26, 8.7 print('{:-^40}'.format('输出1')) print('x1={}, y1 ={}'.format(x1, y1)) print('x2={}, y2 ={}'.format(x2,y2)) pri ...
分类:
其他好文 时间:
2021-04-09 13:25:16
阅读次数:
0
参考链接:https://cloud.tencent.com/developer/article/1572090 目的:使用git工具、通过命令行拉取gitee远程仓库代码到本地。 报错信息:Please make sure you have the correct access rights an ...
分类:
数据库 时间:
2021-04-09 12:51:18
阅读次数:
0
搭建springboot项目,我们都是采用的Restful接口,那么问题来了,当前端调用接口或者是其他项目调用时,我们不能单一靠调用方来控制参数的准确性,自己也要对一些非空的值进行判定。 按照我们以往的做法,都是对request中的参数一个一个进行非空判定。 Model: public class ...
分类:
编程语言 时间:
2021-04-08 13:23:08
阅读次数:
0
部署nginx #1.先去查看仓库有没有镜像 root@fanwd-virtual-machine:/home# docker search nginx NAME DESCRIPTION STARS OFFICIAL AUTOMATED nginx Official build of Nginx. ...
分类:
其他好文 时间:
2021-04-08 13:07:20
阅读次数:
0
下载 官网地址:https://git-scm.com/downloads 下载完成后,一路next,傻瓜式操作安装即可。 安装成功后,会出现三个git窗口。 Git GUI:是图形界面的Git,不建议初学者使用,尽量先熟悉常用命令。 Git CMD:WIndows命令行的风格 Git Bash:U ...
分类:
其他好文 时间:
2021-04-08 12:57:25
阅读次数:
0