Questions tagged [github-enterprise]

GitHub Enterprise is a web-based commercial hosting service for software development projects that use the Git revision control system.

GitHub Enterprise is a web-based commercial hosting service for software development projects that use the Git revision control system.

240 questions
3
votes
1 answer

git-hooks replication is behind the primary

On our Git replica server we have this error when running : ghe-repl-status CRITICAL: git-hooks replication is behind the primary by 13536s Anyone could explain what it means and how to solve it ? I searched on Google but found only Git release…
guppy
  • 191
  • 1
  • 7
3
votes
0 answers

GitHub Enterprise SSH authentication failing with Xcode

I've done a lot of searching on this, and I haven't found any hits with the same situation. macOS Mojave 10.14, Xcode 10.1, GitHub Enterprise 2.14.10. I have an SSH key that is configured in GHE and works fine from several other places, including…
dbreaux
  • 4,982
  • 1
  • 25
  • 64
3
votes
0 answers

How do I connect GitHub Enterprise in Android Studio?

Currently, I am using Github enterprise and I have the domain host like https://github.myhub.mycompany.com I can fetch the repository in my terminal using ssh but I cant do it in Android Studio. Everytime it showed "401 bad credentials", am I…
3
votes
1 answer

How do I use go get with a private github enterprise server?

We use github enterprise server over a VPN. If I type: go get privateserver.com/path/to/myproject.git I get this result: package privateserver.com/path/to/myproject.git: cannot download, privateserver.com/path/to/myproject uses insecure…
hookenz
  • 36,432
  • 45
  • 177
  • 286
3
votes
1 answer

Visual Studio 2015 GitHub extension only allow GitHub Enterprise

I can see this this is been asked before but with no answers but hoping someone can help. Basically the option GitHub as highlighted in the image is not clickable. Only the GitHub Enterprise is available as an option. Any ideas how to swap between…
Damith
  • 121
  • 1
  • 1
  • 7
3
votes
1 answer

Jenkins ⇔ Github-Webhook setup for multiple repositories

In order for Jenkins to be able to have access to multiple repositories on the same server, I set the .ssh/config as follow: Host a.github.com HostName github.com User git IdentityFile ~/.ssh/project-a-id_rsa # same for other repos and set…
oldergod
  • 15,033
  • 7
  • 62
  • 88
3
votes
2 answers

Notification on failed GitHub WebHooks?

My company uses GitHub Enterprise to automatically update production and test servers when certain protected branches are updated. When someone sends the push event, a payload is delivered to various servers, each running a small web server to…
Jeremy Fortune
  • 2,459
  • 1
  • 18
  • 21
3
votes
1 answer

Search github Enterprise Organization Repos for string matches

Our repositories are divided into communities (also called Organizations) in GitHub Enterprise. There are, for example, the BlueMeanies and the YellowSubmarines organizations. Each of these organizations has perhaps a dozen repos, e.g.…
3
votes
1 answer

Does GitHub Enterprise support shallow cloning?

There have been some discussions around whether GitHub Enterprise supports shallow clones or not, e.g. here or here. A shallow Git clone is created by running something like this: git clone --depth 1 https://server/user/repo.git Apparently, GitHub…
nwinkler
  • 52,665
  • 21
  • 154
  • 168
3
votes
1 answer

How to detect whether a Git server supports shallow cloning?

Some Git servers or hosting services (apparently GitHub Enterprise) are not supporting shallow clones, instead they simply stall when a request like the following is sent: git clone --depth 1 https://server/user/repo.git Is there a way to detect…
nwinkler
  • 52,665
  • 21
  • 154
  • 168
3
votes
1 answer

How do I fix git certificate errors?

While attempting to connect to our private Github Enterprise server, which is secured with a COMODO certificate, I'm getting a "fatal: unable to access 'https://github.domain/repository/project.git": error setting certificate verify locations:"…
Brian Knoblauch
  • 20,639
  • 15
  • 57
  • 92
2
votes
0 answers

Github actions: How to customize review deployment screen to say what deployment needs approval

I would like to send essential information about the deployment to the review-deployment screen, so that it is more clear to the reviewer what deployment he is approving for. Example, environment (staging, prod, uat), region (us-west-2, us-west-1),…
Pallavi Mistry
  • 147
  • 1
  • 7
2
votes
0 answers

Why does adding a repository in GitHub Desktop locally not show my pull requests

So I have a GitHub Enterprise account. On GitHub Desktop when I clone my repository from the server it goes under Enterprise and I can see the list of branches and Pull requests as shown below. If I simply add an existing repository from my local…
2
votes
0 answers

npm ERR! 401 Unauthorized - Unauthenticated: User cannot be authenticated with the token provided

I am new to GitHub and I have created a ACTIONS in GitHub Enterprise 3.7 to publish the package to GitHub Package. But the job failed with log as below: I have setup the Repository Token as shown below: The value of Token I have retrieved from…
Hao
  • 103
  • 1
  • 2
  • 8
2
votes
1 answer

How to add authentication to URL() or JsonSlurper()

I have a groovy script that closes old pull requests. The part where it fetches the open pull requests worked before with an access token: String json = new URL("${giteaUrl}/api/v1/repos/projectname/reponame/pulls?page=${page}&state=all" + …
mles
  • 4,534
  • 10
  • 54
  • 94