sboulema / TGit

Control TortoiseGit from within Visual Studio
MIT License
31 stars 9 forks source link

Try release finish with push changes #31

Closed elmanav closed 7 years ago

elmanav commented 7 years ago

When I finish the release and try push changes to the remote repository (check Push changes in dialog), I get an error:

> git checkout master 
Your branch is up-to-date with 'origin/master'.
Switched to branch 'master'
> git pull 
Already up-to-date.
> git merge --no-ff release/0.1.0 
Merge made by the 'recursive' strategy.
 Solution/General.txt  |  1 +
 Solution/Solution.sln | 15 +++++++++++++++
 2 files changed, 16 insertions(+)
 create mode 100644 Solution/General.txt
 create mode 100644 Solution/Solution.sln
> git tag v0.1.0 
> git checkout develop 
Your branch is up-to-date with 'origin/develop'.
Switched to branch 'develop'
> git pull 
Already up-to-date.
> git merge --no-ff release/0.1.0 
Already up-to-date.

Succes (10720 ms @ 07.06.2017 12:44:10) 
> git push origin develop 
Everything up-to-date
> git push origin master 
To bitbucket.org:<repo_path>git
   59363df..5461daf  master -> master
> git push origin 0.1.0 
error: src refspec 0.1.0 does not match any.
error: failed to push some refs to 'git@bitbucket.org:<repo_path>.git'

What is git push origin 0.1.0? Am I doing something wrong? Thanks.

elmanav commented 7 years ago

Probably, there should be git push origin v0.1.0. I have [gitflow "prefix"] versiontag = v

sboulema commented 7 years ago

Yup I made a mistake :( Will fix :D

elmanav commented 7 years ago

Very fast. Nice.