Difference between revisions of "Git push origin"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
  [[git push]] origin
 
  [[git push]] origin
  
 +
 +
git push origin HEAD:origin/your-branch
 +
error: The destination you provided is not a full [[refname]] (i.e.,
 +
starting with "refs/"). We tried to guess what you meant by:
 +
 +
- Looking for a ref that matches 'origin/revert-timescale-var-names' on the remote side.
 +
- Checking if the <src> being pushed ('HEAD')
 +
  is a ref in "refs/{heads,tags}/". If so we add a corresponding
 +
  refs/{heads,tags}/ prefix on the remote side.
 +
 +
Neither worked, so we gave up. You must fully qualify the ref.
 +
hint: The <src> part of the [[refspec]] is a commit object.
 +
hint: Did you mean to create a new branch by pushing to
 +
hint: 'HEAD:refs/heads/origin/your-branch'?
 +
error: failed to push some refs to 'github.com:your-project/your-repo.git'
  
  

Revision as of 12:44, 6 February 2023

git push origin


git push origin HEAD:origin/your-branch
error: The destination you provided is not a full refname (i.e.,
starting with "refs/"). We tried to guess what you meant by:

- Looking for a ref that matches 'origin/revert-timescale-var-names' on the remote side.
- Checking if the <src> being pushed ('HEAD')
  is a ref in "refs/{heads,tags}/". If so we add a corresponding
  refs/{heads,tags}/ prefix on the remote side.

Neither worked, so we gave up. You must fully qualify the ref.
hint: The <src> part of the refspec is a commit object.
hint: Did you mean to create a new branch by pushing to
hint: 'HEAD:refs/heads/origin/your-branch'?
error: failed to push some refs to 'github.com:your-project/your-repo.git'


Related

See also

Advertising: