Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git reset a folder

git restore --source=HEAD --staged --worktree -- aDirectory
# or, shorter
git restore -s@ -SW  -- aDirectory
Comment

PREVIOUS NEXT
Code Example
Shell :: install psql mac 
Shell :: Find last digit of a number in c# 
Shell :: ssh git clone 
Shell :: ubuntu kill service 
Shell :: create multiple copies in linux of file 
Shell :: scan and print all keys redis shell 
Shell :: post webhook bash 
Shell :: ssh github 
Shell :: composer for windows 
Shell :: express js 
Shell :: redis ubuntu 
Shell :: flush the port 3001 
Shell :: start docker 
Shell :: git check current branch 
Shell :: Cannot install windows-build-tools 
Shell :: git submodule push current branch to master 
Shell :: replace word in file linux command 
Shell :: android uninstall application adb 
Shell :: linux command linux distribution 
Shell :: bash for add one 
Shell :: bash get field from line 
Shell :: react loaders 
Shell :: rename remote branch in git 
Shell :: how to install wine in ubuntu 18.04 
Shell :: git pull request 
Shell :: Managing network connections in ubuntu 
Shell :: what is git 
Shell :: react native reactotron bug 
Shell :: How to change default install location for pip 
Shell :: gulp install 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =