Add commits before root commit in Git? [duplicate]
问题 This question already has answers here : Insert a commit before the root commit in Git? (15 answers) Closed 6 years ago . New Question Two questions: I'm trying to put a commit before ALL commits. The bottommost commit has 660fb2a76211f36ec9a67d0454a90eab469e9fd0 as SHA. When I type git rebase -i 660fb2a76211f36ec9a67d0454a90eab469e9fd0 every commit but the last one gets displayed in the list. I really need this commit to appear so I can put the very first commit as very last! When I put the