
笔记
运维小菜
加油
展开
-
java--日期与时间(Date/SimpleDateFormat/Calendar/LocalDateTime/Instant/DateTimeFormatter)
时间戳与Date类class JavaStudy { static StringBuffer stringBuffer = new StringBuffer("I am a good boy"); static String str2 = ", are you?"; public static void main(String[] args) { System.out.println("************************获取时间戳**********原创 2021-05-29 10:51:20 · 531 阅读 · 0 评论 -
git核心命令详解
1、本地创建代码库# git 初始化$ git init# 查看状态$ git status# 添加暂存区(二选一)$ git add filename$ git add *# 从暂存区移除(二选一)$ git rm --cached filename$ git rm --cached *# 提交本地库$ git commit -m "message"# 查看log$ git reflog # 简易版$ git log # 详细版# 本地回到之前的版本,f2e0原创 2021-04-29 10:42:33 · 165 阅读 · 0 评论