nodegit-kit icon indicating copy to clipboard operation
nodegit-kit copied to clipboard

Support for git push and git pull?

Open NemoAlex opened this issue 9 years ago • 5 comments

Any possible to add support for push and pull (fetch & merge)? Is that in your plan?

NemoAlex avatar May 09 '16 06:05 NemoAlex

Yes, I have remote locally but not yet fetch or merge. If I ever make travis build again .. :/

thisconnect avatar May 09 '16 09:05 thisconnect

@NemoAlex added super simple push and pull and git remote support. This currently only works with the current branch. Before continuing with push and pull proper support for git branch (#2) is needed .

thisconnect avatar May 09 '16 17:05 thisconnect

Great! I'll check it out. Thank you very much. Super!

NemoAlex avatar May 09 '16 17:05 NemoAlex

npm i thisconnect/nodegit-kit#dev

thisconnect avatar May 09 '16 17:05 thisconnect

correction: only pull uses current branch, push is hardcoded to master

https://github.com/thisconnect/nodegit-kit/commit/b6042cbf076a27bab9d9c062c69171922f9fae3f#diff-539df6289b63785f3c1f4660c1db4107R27

thisconnect avatar May 09 '16 17:05 thisconnect