Build integration


I would like to configure CI with Visual Studio Online. Hooking up with self hosted service I get:


2017-07-25T16:00:36.4387217Z ##[command]git remote add origin
2017-07-25T16:00:36.4737228Z ##[command]git config 0
2017-07-25T16:00:36.5067239Z ##[command]git config --get-all http.
2017-07-25T16:00:36.5387237Z ##[command]git config --get-all http.proxy
2017-07-25T16:00:36.5717255Z ##[command]git remote set-url origin http://********
2017-07-25T16:00:36.6057258Z ##[command]git remote set-url --push origin http://********
2017-07-25T16:00:36.6447275Z ##[command]git fetch --tags --prune --progress origin
2017-07-25T16:00:37.0122318Z fatal: could not read Password for 'http://********': terminal prompts disabled
2017-07-25T16:00:37.0674188Z ##[error]Git fetch failed with exit code: 128
2017-07-25T16:00:37.0712501Z ##[section]Finishing: Get Sources


How can I enable terminal prompts?


1 answer

0 votes

Hi Pawel,

The issue you're running into is originating from Visual Studio.  You'll want to take a look at the articles VisualStudio error: terminal prompts disabled, Git push requires username and password and Attempting push on git and receiving “could not read Username for '': terminal prompts disabled:”

Solution: Open the command line, navigate to the folder and git push origin master. We can find there will be a prompt to ask you to input the github username and password. Just do it!

In additon, the second article provides a more permanent solution using a password:

As per my Comment. You can include your username in the remote URL (similar to FTP).

Example without password (SSH):

git remote set-url origin

Example with password (https)

Once you follow the steps in the linked articles you should be set!



Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

631 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot