Giter Club home page Giter Club logo

Comments (8)

jakobehn avatar jakobehn commented on July 17, 2024 1

This looks related to authentication problem. Have you tried using the git credential manager to store your credentials for the remote repo (VSTS in your case)? This will cache your credentials in the Windows Credential Manager.

https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/tag/v1.2.0

Let me know if this helps

from gitflow.vs.

eloekset avatar eloekset commented on July 17, 2024 1

@jakobehn The Credential Manager fixed the issue in my case. I did a simple feature just to test. This is the log, showing that it works as expected without any error message:

Running git flow feature finish "newTestFeature"
Your branch is ahead of 'origin/develop' by 1 commit.
  (use "git push" to publish your local commits)
Updating 17fcd67..37a98bf
Fast-forward
ExportManagement.Web/App_Start/BundleConfig.cs | 1 +
 1 file changed, 1 insertion(+)
Deleted branch feature/newTestFeature (was 37a98bf).

Summary of actions:
- The feature branch 'feature/newTestFeature' was merged into 'develop'
- Feature branch 'feature/newTestFeature' has been locally deleted; it has been remotely deleted from 'origin'
- You are now on branch 'develop'

Maybe this will fix the issue for @heatmonkey as well?

from gitflow.vs.

MrDark avatar MrDark commented on July 17, 2024 1

I just had the same problem and installing the credential manager fixed it.

from gitflow.vs.

jakobehn avatar jakobehn commented on July 17, 2024

Hi, is this using the GitFlow Visual Studio extension or are you doing this from the command line?

from gitflow.vs.

heatmonkey avatar heatmonkey commented on July 17, 2024

This is from within visual studio

from gitflow.vs.

yannduran avatar yannduran commented on July 17, 2024

I also have problems pushing a release (by ticking checking the "push" box) during "Finish Release". For me I eventually get an error message indicating that it has timed out.

If I don't check the box during "Finish Release", and then push manually it works fine.

from gitflow.vs.

eloekset avatar eloekset commented on July 17, 2024

I've also got this error message about username. I get it when trying to finish a feature. First the GitFlow TeamExplorer displays this error message: Fatal: Could not fetch feature from origin.
2016-03-02_1608

My complete GitFlow.VS log is:

Running git flow init -f
Fatal: Working tree contains unstaged changes. Aborting.
Running git flow init -f

Which branch should be used for bringing forth production releases?
   - master
   - typeScript
Branch name for production releases: [master]

Which branch should be used for integration of the "next release"?
   - typeScript
Branch name for "next release" development: []
Fatal: Local branch 'develop' does not exist.
Running git flow init -f

Which branch should be used for bringing forth production releases?
   - master
Branch name for production releases: [master]
 Branch name for "next release" development: [develop]

How to name your supporting branch prefixes?
Feature branches? [feature/]
 Bugfix branches? [bugfix/]
 Release branches? [release/]
 Hotfix branches? [hotfix/]
 Support branches? [support/]
 Version tag prefix? []
 Hooks and filters directory? [C:/account-name.vsonline.com/Playground/ExportManagement/.git/hooks]
Running git flow feature start "typeScriptModularity"

Summary of actions:
- A new branch 'feature/typeScriptModularity' was created, based on 'develop'
- You are now on branch 'feature/typeScriptModularity'

Now, start committing on your feature. When done, use:

     git flow feature finish typeScriptModularity

Running git flow feature finish "typeScriptModularity" -r
Fatal: Working tree contains unstaged changes. Aborting.
Running git flow feature finish "typeScriptModularity" -r
fatal: could not read Username for 'https://account-name.visualstudio.com': Invalid argument
Fatal: Could not fetch feature/typeScriptModularity from origin.
Running git flow feature finish "typeScriptModularity" -r -k
fatal: could not read Username for 'https://account-name.visualstudio.com': Invalid argument
Fatal: Could not fetch feature/typeScriptModularity from origin.
Running git flow feature finish "typeScriptModularity" -r -k
fatal: could not read Username for 'https://account-name.visualstudio.com': Invalid argument
Fatal: Could not fetch feature/typeScriptModularity from origin.

from gitflow.vs.

jakobehn avatar jakobehn commented on July 17, 2024

Closing this issue now

from gitflow.vs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.