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 vote

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

29,183 views 26 12
Join discussion

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