Dreamhunter Blog

你指尖跃动的电光,是我此生不变的信仰

vuePress-theme-reco Dreamhunter    2019 - 2022
Dreamhunter Blog

Choose mode

  • dark
  • auto
  • light
首页
分类
  • algorithm
  • database
  • devops
  • docker
  • front
  • git
  • hackintosh
  • http
  • java
  • linux
  • odoo
  • nginx
  • macos
  • mq
  • other
  • python
  • redis
  • router
标签
归档
GitHub (opens new window)
author-avatar

Dreamhunter

119

文章

40

标签

首页
分类
  • algorithm
  • database
  • devops
  • docker
  • front
  • git
  • hackintosh
  • http
  • java
  • linux
  • odoo
  • nginx
  • macos
  • mq
  • other
  • python
  • redis
  • router
标签
归档
GitHub (opens new window)
  • Git

    • Count code Lines by git log
    • Git-ignore-file-permission-changes
    • Git忽略SSL认证
    • git commit --amend --date
    • Git 切换默认编辑器
    • Use multi access token

git commit --amend --date

vuePress-theme-reco Dreamhunter    2019 - 2022

git commit --amend --date

Dreamhunter 2020/4/16 git

# git commit --amend --date=

添加 GIT_COMMITTER_DATE="Tue, 18 Jan 2022 19:07:14 +0800" 修改 commit 时间

# 修改上一次 commit 时间为当前
git commit --amend --date="$(date -R)"
# 修改上一次 commit 时间
git commit --amend --date="Thu, 16 Apr 2020 15:44:13 +0800"

Git忽略SSL认证 Git 切换默认编辑器

  • git commit --amend --date=