List for cgit developers and users
 help / color / mirror / Atom feed
* Problems about git pull & git push
@ 2022-03-28 13:43 Brands Pierce
  0 siblings, 0 replies; only message in thread
From: Brands Pierce @ 2022-03-28 13:43 UTC (permalink / raw)
  To: cgit

  Recently I set up a private git server locally using cgit.

But encountered some problems:

1. Create an empty public repository on the server, and git pull prompts:

PS C:\Users\piercebrands\projects> git clone
Cloning into 'myrepo'...
fatal: not valid:
is this a git repository?

2. Create a new warehouse locally, push it to origin, and prompt:

PS C:\Users\piercebrands\projects\myrepo> git remote add origin
PS C:\Users\piercebrands\projects\myrepo> git push origin master
error: src refspec master does not match any
error: failed to push some refs to ''

When I use the browser to access the git server directly without any
problem, the code highlighting, filters, etc. are all working fine.
Don't know where the problem is.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-28 13:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-28 13:43 Problems about git pull & git push Brands Pierce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).