git commit in future
githomebrew
Sep 30, 2022What?
A tiny utility to git commit
in the future.
Syntax
Below is the syntax to commit with future date. Just change both the dates:
GIT_AUTHOR_DATE='2022-09-30 21:03' GIT_COMMITTER_DATE='2022-09-30 21:03' git commit -m 'msg'
Install
Prefer to have it installed!
brew tap raevilman/tap
brew install future-commit
Demo
Source
Github: https://github.com/raevilman/future-commit
Learnings
Learnings from doing this project:
- How to package a node script into executable?
- How to brew your own formula?
- How to create and use your personal tap for homebrew?
Create your own formulae
Article 👉 https://www.therdnotes.com/packaging-homebrew-formula
Related Articles
How to Change the Default Git Branch Name to Main (Best Practices for Modern Repositories)
By default, git uses master as the default branch name.
Restrict commit to main git branch
Create a pre-commit hook to restrict commits to the main branch.
Multiple GitHub accounts on macOS
Configuring multiple GitHub accounts on same MacBook using ssh keys
Setup Git on Windows
Setting up Git on Windows machine