Comments (1)
This is resolved using different way.
A microsoft support engineer helped me to find out the root cause. The root cause is my organization set a device rule in our Azure, the device rule does not allow Linux platform. We did not have permission to change the device rule of our organization(we are not subscription admin of our company azure account).
It is resolved by generating a credential in VSTS. In the page of VSTS code repository, click "Clone", a pop up came up, and then click "Generate Git credentials". It will generate a set of user name and password for you. Copy and paste it. Save it to a file long time usage. Please see the screen shot.
For example, the user name and password looks like:
[email protected]
jreur8re84mdj3k3mdlmsslkrjlkesflk434l5l43j5lk435l43v88
The 1st row is user name. Usually it is your email address used to access VSTS. The 2nd row is password.
When use git-credential-manager, a directory structure is created,
~/.VSTeamServicesAuthPlugin
If the user is root, it should be /root/.VSTeamServicesAuthPlugin
A file named insecureStore.xml in the folder,
edit and paste the password you got above to the file.
like this:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <insecureStore> <Tokens/> <Credentials> <entry> <key>git:https://xxxxxx.visualstudio.com</key> <value> <Password>jreur8re84mdj3k3mdlmsslkrjlkesflk434l5l43j5lk435l43v88</Password> <Username>Personal Access Token</Username> </value> </entry> </Credentials> </insecureStore>
For setting up git-credential-manager, please follow this link: https://github.com/microsoft/Git-Credential-Manager-for-Mac-and-Linux/blob/master/Install.md.
What I used is the git-credential-manager.jar version. It seemed to be simple for me. It just requires Java, and a couple of commands to run.
After all these above, your git on Centos Linux should be working properly. You should be able to do all the git operations with your credential genrated from VSTS.
from git-credential-manager-for-mac-and-linux.
Related Issues (20)
- Ubuntu believes required packages are unused
- Java is Required for 'brew install' HOT 2
- Doesn't work with Linux Mint 19 Tara HOT 2
- Why do i need java to install a simple tool. HOT 4
- Unable to authenticate with GoDaddy managed Office 365 account
- Support for mainstream package managers.
- Fails when connected over SSH
- fatal: Authentication failed with GKR-message: received an invalid, unencryptable, or non-utf8 secret
- Secure storage unavailable on Ubuntu 18.04? HOT 19
- Web browser window doesn't open
- Fatal: java.lang.ExceptionInInitializerError encountered
- Cannot clone a repo - blank HOT 1
- Xcode Error When Installing From Brew HOT 1
- Better macOS support: GCM Core
- "gnome-keyring library not loadedjava.lang.UnsatisfiedLinkError: Unable to load library 'gnome-keyring': Native library (linux-x86-64/libgnome-keyring.so) not found in resource path" on Azure notebook. HOT 3
- support XDG Base Directory Specification
- Can't run credential manager with latest Mac updates
- YBS HOT 1
- Ios
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-credential-manager-for-mac-and-linux.