How can I allow only certain people to commit in Visual Studio Online?
Tag : git , By : AJacques
Date : March 29 2020, 07:55 AM
I wish this help you Visual Studio Online has a set of granular permissions that you are able to set at the Git repo & branch level. Administer - repo & branch Branch Creation Contribute - repo & branch Note Management Read Force Push (rewrite and destroy history) - repo & branch Tag Creation
|
Get GIT repo ID by commit ID with Visual Studio Online
Tag : git , By : Fernando
Date : March 29 2020, 07:55 AM
seems to work fine In Git a commit hash is unique (it's cryptographically calculated) to the history graph. When you push a commit from one repository to another, the hash stays the same. You can push the same commit (with the same unique hash) to multiple remote repositories. This will result in the same hash in multiple repositories.
|
An error occurred. Detailed message: No changes; nothing to commit. Visual Studio Online
Date : March 29 2020, 07:55 AM
help you fix your problem I have seen this error in VS2013 when the file or folder would be ignored by GIT. You can confirm this by trying the add from the command line. For example, the following shows this for the "bin" folder of the TestGit project: $ git add bin
The following paths are ignored by one of your .gitignore files:
TestGit/bin
Use -f if you really want to add them.
fatal: no files added
$ git check-ignore -v bin
.gitignore:190:bin bin
|
How to get the parent ID for a git commit from the Visual Studio Online REST API
Date : March 29 2020, 07:55 AM
it fixes the issue The API only returns some basic information when you use it to get a list of commits. To get more detailed information, you need to get them one by one with " Get a commit" for now.
|
Trigger GIT build in Visual Studio Team Services (was Visual Studio Online) via API for specific commit
Date : March 29 2020, 07:55 AM
around this issue You can specify the pull request as the source branch via this format: refs/pull/pullrequestid/head
|