Here's my setup...
Laptop (Mac) - git clone of svn repository
Thumb drive - git clone of laptop git repository
Server (Win Server 08) - git clone of thumb drive repository
I'm having trouble keeping them in sync for some reason...
If I make a change on the server, I'll do a "git pull " on the thumb drive to get the changes. Take the thumb drive to the laptop and do "git pull " on the laptop. From there, I can do "git svn dcommit" and everything goes up to the SVN repo with no problem.
If I pull changes from SVN with "git svn rebase" and then do a pull onto the thumb drive and do a "git status" it says that I'm ## revisions ahead of the master/origin and I can't figure out why.
Server
>git remote show
origin
>git remote show origin
* remote origin
Fetch URL: E:/proj
Push URL: E:/proj
HEAD branch: master
Remote branch:
master tracked
Local ref configured for 'git push':
master pushes to master (local out of date)
Laptop
>git remote show
(nothing)
>git remote show origin
fatal: 'origin' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
Thumb-drive
>git remote show
origin
>git remote show origin
* remote origin
Fetch URL: /Users/me/ui/proj
Push URL: /Users/me/ui/proj
HEAD branch: (unknown)
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)