Score:0

how to limit git bash to use https url alone and to use only one git platform to push the code to private repo?

jp flag

We want to setup security to gitbash cli on our shared windows10 virtual desktop. Non-admin Users should use only https url (example: https://gitlab///). Using personal access tokens & ssh keys should be blocked. Also, we want to use windows credential manager to authenticate our remote repo using gitbash. Scenario we want to achieve is, we want our contractor developers to use only our company's git repo to push code. Pushing code from git bash cli to outside our company's repo should be blocked. We are find with pulling code from other repos which are not our company related, but commit & push should be done only to our company's repo. Note:- we do use SSO for our company's Github & Gitlab (yes we do use both Git platforms with Single Sign On (SSO) ). Please suggest how to achieve this.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.