1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-12-08 00:44:30 +01:00

fix(blog): add command to commit in the past in Git Ultimate Guide

This commit is contained in:
Théo LUDWIG 2024-02-15 09:30:34 +01:00
parent 15e94cec64
commit f6e3008ab9
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B

View File

@ -84,7 +84,10 @@ git add .
git add <file> git add <file>
# Commit changes # Commit changes
git commit -m "chore: initial commit" git commit -m "Commit message"
# Commit changes in the past
git commit --date "10 day ago" -m "Commit message"
# Add remote repository # Add remote repository
git remote add <remote> <url> git remote add <remote> <url>