Add commit with specific date
This commit is contained in:
parent
eb833fe21a
commit
5b1d3880fb
|
@ -111,6 +111,11 @@ git commit -m "Summary" -m "Details." -m "Another line/paragraph of details."
|
|||
|
||||
# Add all changed files and commit. New files are not committed.
|
||||
git commit -am "Message"
|
||||
|
||||
# Commit with a date override.
|
||||
git commit -m "Initial back-dated commit" --date="20050703T07:18"
|
||||
# View the overridden author date and actual commit date.
|
||||
git show --format=fuller
|
||||
```
|
||||
|
||||
## More commit viewing
|
||||
|
|
Loading…
Reference in New Issue