ho voluto ripristinare il puntatore di testa al mio precedente impegnoaggiornamenti rifiutati sulla punta ramo quando si cerca di rebase puntatore di testa
$ git reset --hard HEAD~1
HEAD trasferisce a commit precedente, tuttavia, in grado di spingere al mio padrone origine
$git push origin master
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'https://github.com/username/repo.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Merge the remote changes (e.g. 'git pull')
hint: before pushing again.
Come spostare il puntatore e comunicare a Git di aggiornare le modifiche?