Run a sequence commands in a sub shell like this:
(git pull;git rebase develop)&>/dev/null
I think this will put the sub shell and all children processes created by it in background, and return control to user.
But actually, the terminal hang up for a while, seems it is wait for the commands to finish in sub shell.
So can anyone explain why this happened, and what is the right way to do this kind of job.