First Things First

So I have been talking to a coworker of mine for about a month. We've kept it a secret at work but some people are starting to get the hint that there may be something going on between us. It doesn't matter, because we are both about to leave the company anyway. 
But my question is, how do you personally keep yourself from getting attached to someone. We're in the stage of getting to know each other, texting non stop, hooking up all the time, and etc.. He has told me that he is afraid of commitment for a relationship but I make him want to change that. I don't want us to rush into something that he isn't ready for. So what are some tips to keep me from getting deeper feelings and potentially thinking we could be something? All comments are welcome