Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

remove/undo all modified files git

git reset --hard # removes staged and working directory changes

## !! be very careful with these !!
## you may end up deleting what you don't want to
## read comments and manual.
git clean -f -d # remove untracked
git clean -f -x -d # CAUTION: as above but removes ignored files like config.
git clean -fxd :/ # CAUTION: as above, but cleans untracked and ignored files through the entire repo (without :/, the operation affects only the current directory)
Comment

PREVIOUS NEXT
Code Example
Shell :: firewall in ubuntu 18.04 
Shell :: install mariadb ubuntu 20.04 
Shell :: how to reset network on ubuntu 20.04 
Shell :: find and execute a command 
Shell :: Update flutter command. 
Shell :: run sudo without password 
Shell :: openjdk 11 install linux 
Shell :: bash replace multiple patterns 
Shell :: gh login 
Shell :: install rust ubuntu 20 
Shell :: virtual box config networkt config ubuntu 
Shell :: bash add or subtract one column from another 
Shell :: how to install virtualbox through terminal 
Shell :: linux find and delete files by extension 
Shell :: descomprimir tar gz 
Shell :: how to backup conda environment in 
Shell :: How to install SciPy on Anaconda 
Shell :: it is required that your private key files are not accessible by others 
Shell :: Zathura not working 
Shell :: aws cli ec2 list instances 
Shell :: add or remove samba user 
Shell :: kill process at a port ubuntu 
Shell :: setxkbmap toggle 
Shell :: bash find files with extension 
Shell :: filmora 10 crack download without watermark 
Shell :: git commit please tell me who you are 
Shell :: bash script write linux 
Shell :: connect vm to cloud storage gcp 
Shell :: copy first 10 lines of a file to another file in unix 
Shell :: kali linux desktop gadgets 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =