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

correct workflow with bare repo and pull?

From
TTim <opensourcetim@yahoo.com>
Date
Jun 30, 2009, 00:01 UTC
Message-ID
<583913.73865.qm@web52205.mail.re2.yahoo.com>

Myself and the other developer on the team have private repos, and we push to a bare repo (which we use for Hudson builds). For now we only use the master branch. No other remote repos. When another developer pushes changes to the bare repo, and I pull them, all of the files they pushed show up as modified on my box when I do "git status" (even though I had not modified them). How to avoid this? Also, one developer saw really strange results when they did a "git pull origin master" and "git status" -- the paths shown below do not exist in the local work area. These files have always lived under a-core/.... so it is really odd that they show up under a-web # On branch master # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # new file: a-web/src/main/java/com/blah/account/Account.java # new file: a-web/src/main/java/com/blah/account/AccountType.java # # Changed but not updated: # (use "git add/rm <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard changes in working directory) # # deleted: a-web/src/main/java/com/blah/account/Account.java # deleted: a-web/src/main/java/com/blah/account/AccountType.java

What are we doing wrong?  
      
Next: Andreas Ericsson
Message 1 of 3 in “correct workflow with bare repo and pull?”
  1. TimJun 30, 2009
  2. Andreas EricssonJun 30, 2009
  3. Robin RosenbergJun 30, 2009

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.