Horje
git reset a folder Code Example
git soft reset head
git reset --soft HEAD^
//resets head by 1
git reset
git reset --soft HEAD~3
git commit
git push —force-with-lease origin
git reset hard directory
git restore --source=HEAD --staged --worktree -- aDirectory
# or, shorter
git restore -s@ -SW  -- aDirectory
git reset a folder
git restore --source=HEAD --staged --worktree -- aDirectory
# or, shorter
git restore -s@ -SW  -- aDirectory




Shell

Related
linux find command Code Example linux find command Code Example
sudo: apt: command not found Code Example sudo: apt: command not found Code Example
batch multiline command Code Example batch multiline command Code Example
Update local clone and rename branch Code Example Update local clone and rename branch Code Example
December festivities Code Example December festivities Code Example

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