Skip to content

Instantly share code, notes, and snippets.

View zhuyuncheng's full-sized avatar

Ivan zhuyuncheng

  • kuaishou
  • Beijing
View GitHub Profile
@kazu69
kazu69 / fail.sh
Last active December 22, 2017 10:08
git rebase -i --root
git init
Initialized empty Git repository in /DIR/.git/
touch a.txt
git add -A
git ci -m "initial commit"
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 a.txt
git rebase -i HEAD^
fatal: Needed a single revision