LoginSignup
2
2

More than 5 years have passed since last update.

Mac で git の commit 履歴を昨日に変更する

Posted at
git commit --amend --date "`date -v -1d -R`"
  • GitHub で芝が途切れてしまった時に
    • そもそも芝を生やすことではなく、毎日コードを書く習慣をつけるのが目的ということを忘れてはならない(戒め)
  • Linux だと date コマンドのオプションが違うので注意

EOF

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2