This means rewriting the commit history of your branch, which is possible (practical) only if you have not clicked the specified branch on another repo yet.
If you have not clicked on this thread, you have:
o
Mark it as an F1 branch
$ git branch F1 o---x---x---F1a---F1b---F1c <-- current branch, F1
Reset current branch to F1
$ git reset x o
Make your function 0 F0 (the one that should have been executed before F1)
$ git commit ... o
Expand the F1 branch over the current branch
$ git checkout F1 $ git rebase current $ git checkout current $ git merge F1
If you have already pressed this function, some are returned in order (see Diego's answer )
source share