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

noob question

From
HJHarry Johnson <hjohnson@viasic.com>
Date
Jan 13, 2011, 23:58 UTC
Message-ID
<AANLkTinU---Bw5nWFXr7psSyZEty=awihPrDGqNX916O@mail.gmail.com>

I am completely new to git and have only read the tutorial as well as some git for subversion users documentation. Our company is considering switching from subversion to git and I have been doing some experimenting and have run across a potential problem. Our systems are kubuntu/linux.

I have used git-svn to create a git repo from our subversion repo. I have done this as user foo which is just an account that is used for doing central builds. I have then cloned this as repo as myself, harry. My thought is that the repo owned by foo would be a central repo that all of the developers, including myself, could clone and to which we could then 'git push' our changes. The nightly builds would then simply build whatever was currently in the foo repo. This of course completely ignores the complexity of branches at this point but like I said, I am experimenting. I did a test of this and what I found when checking the git log is that while the changes I made and checked into my repo clearly showed me as the author, the same changes after being pushed to foo's repo showed a different author.

So two things.. First should the author have been preserved? How can I make sure that it is?

Second, and probably the better question. Am I too focused on the subversion methodology? Is there a better way of managing a central build scheme using git?

Thanks! -Harry

Next: Thomas Rast
Message 1 of 3 in “noob question”
  1. Harry JohnsonJan 13, 2011
  2. Thomas RastJan 14, 2011
  3. Harry JohnsonJan 14, 2011

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.