You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know we can't resume work with git phlow easily, see #31 and #264 but the work around could be the following - except from it complains with an error, even though it work.
Why is that?
Here is what I did:
git checkout master
ghi create -m "test issues 6"
git phlow workon 6
date > date.log
git phlow wrapup
git phlow deliver
echo "bugger, my ci job failed... forgot a change"
Now I try to clean up and prepare myself to resume the branch. I delete the failing remote so it can be pushed again, and rename the local branch that was delivered to what the original name was.
I also delete the local delivered/ branch so renaming works again later.
$ git phlow deliver
delivering...
Error in rebasing:
There is no tracking information for the current branch.
Please specify which branch you want to rebase against.
See git-pull(1) for details.
git pull <remote> <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=origin/<branch> 6-test-issues-6
Delivered branch 6-test-issues-6
$ git checkout ready/6-test-issues-6
Branch ready/6-test-issues-6 set up to track remote branch ready/6-test-issues-6 from origin.
Switched to a new branch 'ready/6-test-issues-6'
$ cat date.log
Tue Oct 31 20:54:30 CET 2017
missing change
The text was updated successfully, but these errors were encountered:
buep
changed the title
Resume work almost work after ci job failed
Resume delivered work almost possible after ci job failed
Oct 31, 2017
I don't understand why the rather simple workflow described under https://github.com/Praqma/git-phlow/blob/master/docs/troubleshooting.md#failed-build cannot be automated to the point where you can issue a git phlow wrapup after making the desired changes.
Maybe even introduce a prompt 'Are you sure (y/n)' before deleting the remote ready branch...
I know we can't resume work with git phlow easily, see #31 and #264 but the work around could be the following - except from it complains with an error, even though it work.
Why is that?
Here is what I did:
Now I try to clean up and prepare myself to resume the branch. I delete the failing remote so it can be pushed again, and rename the local branch that was delivered to what the original name was.
I also delete the local
delivered/
branch so renaming works again later.Now I'm on the a branch with the original name and fix the failure:
But deliver fails:
The text was updated successfully, but these errors were encountered: