Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

unstage files in git

# you can use . instead of file_path to unstage all staged files.
git restore --staged <file_path>
Comment

git unstage a file

$ git reset -- README
Comment

git unstage

rit reset config.json
Comment

PREVIOUS NEXT
Code Example
Shell :: install wordpress on xampp 
Shell :: Before installing tensorflow and Keras, install some of the libraries that are needed. 
Shell :: powershell datetime to string 
Shell :: ERROR: Error installing jekyll:ERROR: Failed to build gem native 
Shell :: grep search match in all files in folder 
Shell :: [ERROR] An error occurred while running subprocess capacitor. 
Shell :: how to save file in linux 
Shell :: linux add user 
Shell :: unstage particular file git 
Shell :: turn off ps4 contorller 
Shell :: github merge conflict 
Shell :: rails run server 
Shell :: install bottle 
Shell :: show changes done by a user git bash 
Shell :: jenkins local 
Shell :: ????l2tp ubuntu terminal 
Shell :: psneuter download 
Shell :: ligne de commande pour installer lex sur linux 
Shell :: he5 command line 
Shell :: find all file with tilda sign? 
Php :: tinker color auto 
Php :: php pretty print 
Php :: php uppercase 
Php :: header cros orgin using php 
Php :: laravel debugbar disable in production 
Php :: php get user agent 
Php :: php file_get_contents follow redirect 
Php :: check if ajax request php 
Php :: laravel route group middleware prefix 
Php :: request type PHP $SERVER 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =