trouble with git.pull
See original GitHub issueSo I did this:
- git clone
- git reset --hard HEAD~1 (from #129)
- git pull
and my gitBrach function was broken the same as git.currentBranch which return:
ref: refs/heads/master
It looks that the reset was correct and I had correct results.
Got this in console:
Using ref=ref: refs/heads/master
Performing a fast-forward merge...
Uncaught (in promise) Error: Could not resolve reference refs/heads/ref: refs/heads/master
Issue Analytics
- State:
- Created 5 years ago
- Comments:24 (24 by maintainers)
Top Results From Across the Web
Git - Pull Not Working - Unfuddle Support
You may try to commit the changes first and then run git pull again: · You may try to stash your local changes,...
Read more >Git pull not pulling everything - Stack Overflow
I have a server where there's some config that I don't properly know where i just git pull and it gets what is...
Read more >Is There A Problem With 'git pull'? - Perpetual Enigma
It means that you bring your local directory up to date first, and then merge your changes with it. Let's say you have...
Read more >git-pull Documentation - Git
Incorporates changes from a remote repository into the current branch. If the current branch is behind the remote, then by default it will...
Read more >Git Guides - git pull - GitHub
git pull is one of the 4 remote operations within Git. Without running git pull , your local repository will never be updated...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Why does everyone keep saying that?
@TomasHubelbauer thank goodness I have you guys, keeping my honest LOL! I’ll fix the docs.
@jcubic Well, somebody must be calling
resolveRef({ref: 'HEAD', depth: 1})
to get that error… Oh look, it’s me! 🤦♂️https://github.com/isomorphic-git/isomorphic-git/blob/master/src/commands/pull.js#L31