DEV Community

Cover image for Creating "Past" Commits in Git ⏳

Creating "Past" Commits in Git ⏳

Laura Grassi on February 14, 2024

"Always pass on what you have learned." - Yoda Have you ever wished you could turn back time in your version control system? With Git, you can! ...
Collapse
 
kanetu profile image
kanetu

it would be better if you show the git log after committing with the --date flag, I wonder if doing this, it would cause the conflict or not.

If it would cause conflict, I am not using it because of confusion, I will use this feature as you mention above, just like a notify commit to reorganize and no changes for sure.

anyway, thanks for the info :D, have a great day

Collapse
 
mhjwbymhmd profile image
محمد محجوبي

شكرا

Collapse
 
hjgonzalez06 profile image
Hiram Gonzalez

Hi Laura! I had no idea Git offered this functionality until I read your post. Definitely something to look into. Thanks for the info!

Collapse
 
im_surya_prakash profile image
Surya prakash Sharma

Thanks Laura, didn't know that before.