In this SO answer [1] an OAuth2 access token is used on the command line to authenticate a git command.
git clone https://oauth2:ACCESS_TOKEN@somegitlab.com/vendor/package.git
How can I find out when this feature was introduced? Specifically when the ability to put oauth2 as the username and an access token as the password was introduced in Gitlab, in what version?
Because some actions are not possible using the Gitlab API I'm falling back to JGit for some actions in my application. I would like to gracefully degrade my app depending on the version of Gitlab used by users.
I tested almost all Gitlab versions and the answer is: 9.2.5. The ability to use oauth2 as a username has been introduced in Gitlab V9.2.5.