Questions tagged [nodegit]

nodegit is a collection of non-blocking Node.js libgit2 bindings, raw api, convenience api, unit tests, documentation and accomodations to make contributing easier.

NodeGit is a collection of non-blocking Node.js libgit2 bindings, raw api, convenience api, unit tests, documentation and accomodations to make contributing easier.

Official Website

API Documentation

110 questions
0
votes
1 answer

Nodegit and Electron not working together

I am getting this error with nodegit, and I am not sure if it is my fault for not knowing how to work with electron remote or it is a problem with nodegit. I did file an issue just in case. In my main.js file for electron I can use nodegit without…
Johnston
  • 20,196
  • 18
  • 72
  • 121
0
votes
1 answer

Nodegit clone causes “No Content-Type header in response” error

I'm having an issue with nodegit on CentOS 6.7. On our Windows development environment, I'm able to clone/push/pull from remote just fine using nodegit. On CentOS, however, I get the following error on clone: No Content-Type header in…
Catsbergers
  • 531
  • 4
  • 6
0
votes
1 answer

git push remote ssh using Nodegit, Not working?

Hi I am trying to do a git push origin master command with the help of Nodegit, but it is resulting in an error, var Git = require('nodegit'); function gitRemoteLookUp(repoPath) { var open = Git.Repository.open; var Remote = Git.Remote; …
Sritharan M
  • 43
  • 2
  • 13
-1
votes
1 answer

error creating a git repository with nodegit

var nodegit = require("nodegit"); var path = require("path"); var fse = require("fs-extra"); var repoDir = "../git_repositories/"; var repository; var index; //eventually need to pass in user here for some metadata (author/committor…
owen gerig
  • 6,165
  • 6
  • 52
  • 91
-1
votes
1 answer

How do refSpecs for push work?

I'm writing the code based on this example, but would like to use correct upstream that has been set up for the branch. const branch = await repo.getCurrentBranch(); const branchRefspec = branch.name(); const remoteRefspec = await…
polkovnikov.ph
  • 6,256
  • 6
  • 44
  • 79
1 2 3 4 5 6 7
8