git reset --soft

From wikieduonline
Jump to navigation Jump to search

git reset --soft origin/<upstream-branch>
git reset --soft HEAD~3
git reset --soft @{u}


git reset --soft origin/<upstream-branch>
git commit -m "Consolidated changes for latest changes"
git push origin your-branch





See also[edit]

Advertising: