MajestySolor
V2EX  ›  问与答

有没有什么办法或者说工具能轻松快速的批量修改 commit 时间?

  •  
  •   MajestySolor · May 16, 2021 · 1531 views
    This topic created in 2015 days ago, the information mentioned may be changed or developed.
    比如说本地仓库我周一提交了 2 次,周四提交了 1 次,周五提交了 3 次
    我希望当我周日把这 6 个 commit push 到远程仓库的时候,所有 commit 全都使用这时候的时间
    我知道可以 amend 或者 rebase,但是很麻烦
    有没有什么办法或工具能方便自动化的使用来轻松快速的达成这样的目的
    3 replies  •  2021-05-16 13:25:30 +08:00
    iBugOne
    iBugOne
    May 16, 2021
    1
    自己写一个脚本用来 amend + push
    wukongkong
    wukongkong
    May 16, 2021 via Android
    2
    filter 去修改?
    SoloCompany
    SoloCompany
    May 16, 2021
    3
    rebase --ignore-date
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   894 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 20:46 · PVG 04:46 · LAX 12:46 · JFK 15:46
    ♥ Do have faith in what you're doing.