Javascript 常用命令
生成UUID
const id = window.crypto.randomUUID()
console.log(id)
// bd4d099b-3d39-4aad-a59c-c45dfac8eaf0
https://stackoverflow.com/questions/1349404/generate-random-string-characters-in-javascript
生成UUID
const id = window.crypto.randomUUID()
console.log(id)
// bd4d099b-3d39-4aad-a59c-c45dfac8eaf0
https://stackoverflow.com/questions/1349404/generate-random-string-characters-in-javascript
按年月日与消息内容的格式显示相关提交记录,通过--grep筛选
git log --pretty=format:"%cd %s" --grep="筛选消息内容"