I've committed some local changes.
Now I would like to move these commits into a branch for later
(in order to start working on the version before my commits).
I already read all the titles of similar question, and they either assume,
- that one wants to move commits from one branch into another, or
- they assume that one wants to move uncommitted changes into a branch.
- Other questions ask to move between (existing) branches. I want to create a branch.
git status tells me the following:
hostname /dir : git status
On branch master
Your branch is ahead of 'origin/master' by 10 commits.
(use "git push" to publish your local commits)
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
no changes added to commit (use "git add" and/or "git commit -a")
hostname /dir :