V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
MajestySolor
V2EX  ›  问与答

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

  •  
  •   MajestySolor · May 16, 2021 · 1212 views
    This topic created in 1807 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
        1
    iBugOne  
       May 16, 2021
    自己写一个脚本用来 amend + push
    wukongkong
        2
    wukongkong  
       May 16, 2021 via Android
    filter 去修改?
    SoloCompany
        3
    SoloCompany  
       May 16, 2021
    rebase --ignore-date
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3394 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 12:29 · PVG 20:29 · LAX 05:29 · JFK 08:29
    ♥ Do have faith in what you're doing.