Skip to content

Commit f78d954

Browse files
committed
rewriting git history - yuck
1 parent 3c25e47 commit f78d954

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

17_rewrite_git_history.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
I always forget how to back date, so here we go ...
2+
3+
> This is dangerous and should be signed off by the omniscience, omnipotence Git him/herself. Rewriting history is evil, in other words.
4+
5+
```bash
6+
$ git add <file_name>
7+
$ export GIT_COMMITER_DATE="Sun Jun 15 14:00 2014 +0100"
8+
$ export GIT_AUTHOR_DATE="Sun Jun 15 14:00 2014 +0100"
9+
$ git commit -m "so bad"
10+
$ git push
11+
```

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@
1616
1. **14_html_to_markdown.sh**: Convert all html files in a single directory to markdown
1717
1. **15_check_my_environment.py**: Pass in a config file based on your environment.
1818
1. **16_jinja_quick_load.py**: Render a quick Jinja2 template
19+
1. **17_rewrite_git_history.md**: Backdating/Rewriting Git history (use at your own risk)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy