Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git checkout filename

git checkout README     # would normally discard uncommitted changes
                        # to the _file_ "README"
git checkout master     # would normally switch the working copy to
                        # the _branch_ "master"
git checkout -- master  # discard uncommitted changes to the _file_ "master"
Comment

PREVIOUS NEXT
Code Example
Shell :: add user to sudoer "zsh" same customization for root 
Shell :: nlog linux folder 
Shell :: to remove hidden repository 
Shell :: bashub 
Shell :: Vim deleting all lines containing pattern 
Shell :: bash alias with parameter 
Shell :: install ksd command 
Shell :: archlinux free used port 
Shell :: 7z extract to folder with same name linux 
Shell :: appium inspector is getting 304 error 
Shell :: edit user data 
Shell :: termbin command 
Shell :: pip install selenium using cmd 
Shell :: npm list commands 
Shell :: powershell get-childitem exclude node_modules 
Shell :: ubuntu teeworlds 
Shell :: terminal command history to file 
Shell :: bash store string in variable 
Shell :: laravel github clone error 
Shell :: unix touch all files recursively 
Shell :: ssh passwordless ssh-copy-id 
Shell :: install new kernel ubuntu 20.04 
Shell :: platformio lib remove 
Shell :: how to install ndiswrapper on ubuntu 
Shell :: manjaro network driver installed but not working 
Shell :: Git Branch usage order 
Shell :: How to "git status" 
Shell :: ppa user or team does not exist 
Shell :: bash file properties 
Shell :: install latex editor 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =