I'm a noob when it comes to git.
How would I get it so I can do something like git push production master
and have the remote repository mirror my own?
Currently, whenever I run git push production master
I get:
error: By default, updating the current branch in a non-bare repository
...
! [remote rejected] master -> master (branch is currently checked out)
What am I doing wrong?
git init --bare
on my server in a given directory and I pushed to that repository, where would I find the actual files? All I see isbranches
andconfig
and things like that. Thanks – Dulsea