Is there a “git touch” so I can push the same file with a new timestamp?

I think what you need is touch command if you are on unix operating system.

Git can however allow you to do a empty commit if you use --allow-empty option.

Eg. $ git commit --allow-empty -m "Trigger notification" would cause an empty commit which you can then push and do another deploy.

Leave a Comment