How to commit git with the previous date? #1
-
I just faced one problem that I have to commit to a specific date but forget and remember later. |
Beta Was this translation helpful? Give feedback.
Answered by
sh1n3sh1n3
May 25, 2024
Replies: 1 comment
-
To solve this problem. Following those steps,
Easy and Simple way to manage your work and cover your work. Thank you. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
v08nike
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To solve this problem. Following those steps,
add the files or everything in the git local repo
git add .
Add the past date where you want to show the commit.
git commit --date="YYYY-MM-DD HH:MM:SS" -m "Your commit message"
Push the local git commits to the remote repository.
git push
Easy and Simple way to manage your work and cover your work.
Thank you.