Rebasing a branch which is public
- by Dror
I'm failing to understand how to use git-rebase, and I consider the following example.
Let's start a repository in ~/tmp/repo:
$ git init
Then add a file foo
$ echo "hello world" > foo
which is then added and committed:
$ git add foo
$ git commit -m "Added foo"
Next, I started a remote repository. In ~/tmp/bare.git I ran
$ git init…