Problem with two copies of same branch diverging

From: Ed Greenberg <hidden>
Date: 2016-08-04 15:16:54

Hi, Thanks for reading my question.

I have two copies of code checked out at the same branch. Desktop and 
remote server.

I use an IDE that automatically SFTP transfers each save from the 
desktop to the remote server, so I can run my changes on the server 
environment.

At the end of the session, I commit the code on my desktop, do a git 
push to the repo.

When I look at the server, the code there is identical to what's on my 
desktop box and what I just comitted and pushed, but, of course, git 
status thinks it's all modified and wants me to either commit it or 
stash it.  In fact, doing a git log on the server doesn't show my latest 
push.  So I need to pull the changes, but I can't because I have pending 
stuff.

What's a good git workflow for this save-upload-remote test cycle?

Thanks,

-- 
Ed Greenberg
Glens Falls, NY USA
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help