git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Help with repo management.

From
MHMark Haney <markh@abemblem.com>
Date
Apr 19, 2012, 14:35 UTC
Message-ID
<4F902294.10302@abemblem.com>

I'm new to git and repo management and I have an issue that I can't quite figure out. Here's my problem.

I have a server (SERVER) with a repo on it. It has all my code and documentation. I pulled that repo onto my workstation for a local copy so I could work at home or wherever with needing server access. My problem is I can /pull/ from the repo on SERVER, but I can't /push/ any local changes back to the server. I get an error message about master being checked out.

I know a little about bare repos, but my understanding is that the bare repo doesn't actually have the actual files in it, just the changes, which is not what I want. I would like to have the copy on SERVER to work from if I want, and also be able to pull/push changes from my local copy as well. That way I have 2 copies of the data handy (not to mention the disc backups.

I'm fairly sure this can be setup, but I just don't know enough to figure it out. Can someone point me in the right direction?

-- 
Mark Haney
Software Developer/Consultant
AB Emblem
markh@abemblem.com
Linux marius.homelinux 3.3.1-5.fc16.x86_64 GNU/Linux
Next: Andrew Ardill
Message 1 of 3 in “Help with repo management.”
  1. Mark HaneyApr 19, 2012
  2. Andrew ArdillApr 19, 2012
  3. Mark HaneyApr 20, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.