M
M
marink02018-04-22 20:01:18
git
marink0, 2018-04-22 20:01:18

How to push locally to a non-bare repository?

There is a local repository and its clone, all on the same machine.
How to push from clone to origin master?
Knocks out an error that non-barethe repository.
Having created a new repository now bare, but I'm not catching up on how to use it - it turns out that it contains not my sources, but the contents of the .git.
How to properly and safely push without making a repository bare?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aol-nnov, 2018-04-22
@aol-nnov

right - do not push to a non-bare repository.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question