Horje
how to revert back to previous commit in git permanently Code Example
how to revert back to previous commit in git permanently
# This will destroy any local modifications.
# Don't do it if you have uncommitted work you want to keep.
git reset --hard 0d1d7fc32

# Alternatively, if there's work to keep:
git stash
git reset --hard 0d1d7fc32
git stash pop
# This saves the modifications, then reapplies that patch after resetting.
# You could get merge conflicts, if you've modified things which were
# changed since the commit you reset to.
how to revert to log in git
git revert --no-commit 0766c053..HEAD
git commit




Shell

Related
install shutter ubuntu Code Example install shutter ubuntu Code Example
nmap udp scan Code Example nmap udp scan Code Example
how to revert back to previous commit in git Code Example how to revert back to previous commit in git Code Example
unistall openshot ubuntu 20.04 Code Example unistall openshot ubuntu 20.04 Code Example
how to find empty folders linux Code Example how to find empty folders linux Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12