question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when pushing without "ref"

See original GitHub issue

The documentation says that push doesn’t require a ref but I get the following if I don’t specify it:

Cannot read property 'startsWith' of undefined
    at Object.push (commands.js:841)

The error goes away if I pass a ref.

Thanks for this amazing library

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
jcubiccommented, May 20, 2018

@TomasHubelbauer I can create a PR with update to push.js

2reactions
TomasHubelbauercommented, Mar 21, 2018

I would like to take a look at this this weekend, so I am assigning myself (hopefully that’s okay?). If you get to it sooner or just want to do it yourself, please feel free to unassign me @wmhilton.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix 'failed to push some refs to' Git Errors - Komodor
failed to push some refs to errors are often caused when changes are not committed before pushing, issues with Git pre-push hook, incorrect...
Read more >
git error: failed to push some refs to remote - Stack Overflow
In my case, I can push using Github Desktop Application but I can't in IntellijIdea. I got the same error as mentioned by...
Read more >
Failed to Push Some Refs | Git Error - Assembla Help Center
This means that someone else pushed a commit to the same branch you're pushing to, but you don't have that commit on your...
Read more >
Error: failed to push some refs to – How to Fix in Git
This error mainly occurs when you attempt to push your local changes to GitHub while the local repository (repo) has not yet been...
Read more >
[Fixed] Git error: failed to push some refs to in 5 ways
A quick guide to fix Git error: failed to push some refs to in 5 ways.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found