two computers on same branch don't get synced

时间:2016-02-12 20:35:58

标签: eclipse git

I have a "dev" branch at work. I was working on the same branch at home, and when I committed some changes at home, my workspace at work wasn't updated. It still shows I'm on previous commit. I'm using Eclipse. How can I fetch at work the commit that was made at home without ruining anything?

1 个答案:

答案 0 :(得分:1)

Assuming you did a _.kebabCase('makeThisSpinal') // make-this-spinal _.kebabCase('Even Sentences Work') // even-sentences-work at home, simply do a git push at work and you will see the changes. If you have not done a git pull from home, you will have to do that first.