Git rebase and push instead of pull : <p>Alternative for 
 1. git pull origin master
 2. git add -a
 3. git commit -m 'message'
 4. git push</p>

<p>How can I do the above without using a pull and using a rebase
 1. git rebase master
 2. git add -a
 3. git commit -m 'message'
 4. git push</p>

<p>Is that all I need to do or am I missing anything. I want to use rebase to have a linear history.</p>
