git-refspec Questions
10
Solved
whenever I'm trying to upload my files using git push -u origin main
I'm getting error which is as follows
error: src refspec main does not match any
error: failed to push some refs to 'github.com:...
Underthecounter asked 6/12, 2020 at 21:29
141
I clone my repository with:
git clone ssh://xxxxx/xx.git
But after I change some files and add and commit them, I want to push them to the server:
git add xxx.php
git commit -m "TEST"
git push...
Ritchey asked 15/11, 2010 at 6:9
3
I am facing below issue while taking fresh pull. (git pull)
error: cannot update the ref 'refs/remotes/origin/xyz': unable to
create directory for '.git/logs/refs/remotes/origin/xyz': No such file...
Delaunay asked 22/10, 2020 at 13:12
6
Solved
when I checkout remote git tag use command like this:
git checkout -b local_branch_name origin/remote_tag_name
I got error like this:
error: pathspec origin/remote_tag_name did not match any file...
Faldstool asked 14/3, 2016 at 4:38
2
Solved
I've been following this guide on configuring GitLab continuous integration with Jenkins.
As part of the process, it is necessary to set the refspec as follows: +refs/heads/*:refs/remotes/origin/* ...
Haematocele asked 2/6, 2017 at 16:22
0
Let's say I want to write a small helper that allows to append some metadata to a repository in a way that can propagate to clones via refs. Simple example (a git-notes clone prototype that doesn't...
Calciferous asked 9/2, 2017 at 14:52
1
Solved
Looking at this the examples show refspecs can filter directories/namespaces as in:
+refs/heads/qa/*:refs/remotes/origin/qa/*
However I'm trying to optimise a fetch and the repo I'm working with h...
Slavonic asked 8/12, 2013 at 4:45
1
© 2022 - 2024 — McMap. All rights reserved.