I have the following story in my thread.
- "commit 3" (start / master)
- "commit 2"
- "commit 1" (master 2 behind)
- ... previous commits
I want to remove commit 2 and 3 from history. So commit 1 is the last. I am the only one using this repository.
I am using SourceTree and in the terminal I entered the following:
git rebase -i
Then I get a colorful screen where I cannot enter commands. What can I do?
EDIT:
press the button
ssh: connect to host <myhost> port 22: Bad file number
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Nfear source
share