1

I have a local project source controlled with Git. I have a remote repo set up to point to a Dropbox directory(I know using Dropbox is not optimal but it's just easier for my particular circumstances). When I push changes to the remote repo I'm not seeing the files transfer.

There is only one branch, master. I've already added my changes with git add . , then I made the commit with git -commit . Then I tried to push to the remote repo using git push -u origin master. I get the message that things are compressing and being pushed but I don't see the changes in the directory. It's not an issue of Dropbox not syncing.I believe my remote is set up properly, when I use git remote show origin I get the following:

* remote origin
  Fetch URL: /home/myuser/Dropbox/git/myproject.git/
  Push  URL: /home/myuser/Dropbox/git/myproject.git/
  HEAD branch: master
  Remote branch:
    master tracked
  Local branch configured for 'git pull':
    master merges with remote master
  Local ref configured for 'git push':
    master pushes to master (up to date)

It seems to me that the status is saying that the remote repo is up to date but I don't see the changes. Could anyone suggest what I could be doing incorrectly? Any help would be appreciated, thanks much!

cxxl
  • 4,939
  • 3
  • 31
  • 52
TheMethod
  • 2,893
  • 9
  • 41
  • 72
  • 2
    Are you pushing to a non-bare repo in Dropbox? (as in http://stackoverflow.com/questions/738154/what-does-git-updating-currently-checked-out-branch-warning-mean) – VonC Dec 14 '12 at 08:06

1 Answers1

1

Pushing changes into a remote repository just means that the remote repository has received the data; it won't be automatically checked out into the remote repo's working directory. VonC's comment on your question is almost certainly spot-on.

Daniel Yankowsky
  • 6,956
  • 1
  • 35
  • 39