Your branch is ahead of 'origin/master' how to delete commit code example Example: my local branch always ahead origin git pull --rebase