Horje
git set head to commit Code Example
git set head to commit
# Set a new HEAD to a branch
# Note that commit can be a commit hash or tag or another branch
git reset --hard $COMMIT
reset to commit
# rollback to commit state
git revert --no-commit 0766c053..HEAD
git commit
reset to commit
# This will detach your HEAD, that is, leave you with no branch checked out:
git checkout 0d1d7fc32




Shell

Related
git ignore folder command Code Example git ignore folder command Code Example
git add gitignore Code Example git add gitignore Code Example
yarn download windows Code Example yarn download windows Code Example
checkout remote branch Code Example checkout remote branch Code Example
wireshark para ubuntu Code Example wireshark para ubuntu Code Example

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