Git thread: can I publish a function several times before ending the function?

I am starting to use git thread. I created a function:

git flow feature start eval

then I did some work and added and committed the changes:

git add (files)
git commit -m "(description of commit)"

I did not finish this function, but wanted to push it to an external repo to support it for the night:

git flow feature publish eval

Well, not a problem yet. Now I am working again, and I would like to make some new changes to the external repo, but I am still working on this feature. But when I run

git add (new files)
git commit -m "(description 2)"
git flow feature publish eval

he returns

Branch 'origin/feature/eval' already exists. Pick another name.

But my branch feature/eval, so if I pass another branch name to git flow feature publish <name>, it will throw an error.

In conclusion, my question is this: how do I push a few commits when I am in the middle (not ready to end) of a function? Can I just run something like git push origin feature/eval?

+4
1

git-flow , , - . , , , publish ed, git push , .

+7

Source: https://habr.com/ru/post/1615437/


All Articles