git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* correct workflow with bare repo and pull?
@ 2009-06-30  0:01 Tim
  2009-06-30  6:28 ` Andreas Ericsson
  0 siblings, 1 reply; 3+ messages in thread
From: Tim @ 2009-06-30  0:01 UTC (permalink / raw)
  To: git


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?  


      

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-06-30  8:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-30  0:01 correct workflow with bare repo and pull? Tim
2009-06-30  6:28 ` Andreas Ericsson
2009-06-30  8:14   ` Robin Rosenberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).