Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git restore file

git restore --source=c5f567 file1/to/restore file2/to/restore # restore files to how they were in the commit with the hash listed in --source
Comment

PREVIOUS NEXT
Code Example
Shell :: vagrant box remove version 
Shell :: sshd: no hostkeys available -- exiting. 
Shell :: snap purge 
Shell :: printf @ bash 
Shell :: install cypress dev only 
Shell :: how to delete evicted pod in kubernetes: 
Shell :: ubuntu browser download manager 
Shell :: add user to dialout group 
Shell :: install msf in termux 
Shell :: install android studio 
Shell :: docker compose stop and start only specific 
Shell :: install express globally 
Shell :: find only files linux 
Shell :: batch escape character 
Shell :: change git repository 
Shell :: linux command to go to the previous directory 
Shell :: unzip file to folder 
Shell :: seeing all the installed apps i terminal 
Shell :: how to search the memory for the address of bin/sh 
Shell :: how to put files into gitignore 
Shell :: mkdir with permissions 
Shell :: install yarn on ubuntu 
Shell :: react loaders 
Shell :: debian ssh authorized_keys 
Shell :: bash echo 
Shell :: git overwrite remote files 
Shell :: connectify alternative for linux 
Shell :: powershell new item 
Shell :: git add identity 
Shell :: clone at a given commit github 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =