Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

remove a file from git commit

git reset --soft HEAD^ 
or
git reset --soft HEAD~1
git reset HEAD path/to/unwanted_file
git commit -c ORIG_HEAD 
Comment

remove file from commit

$ git rm --cached <file>
Comment

PREVIOUS NEXT
Code Example
Shell :: show all permission apk 
Shell :: add user to sudoer "zsh" same powerlevel10k customization for root 
Shell :: Installing craftable 
Shell :: wsl networking 
Shell :: ring get the input from the user using the give command 
Shell :: mongodb install and connect 
Shell :: git2 
Shell :: debian install udev 
Shell :: ssh: Could not resolve hostname [10.129.84.85]: Name or service not known 
Shell :: GOOGLE_CREDENTIALS to the terraform Cloud workspace 
Shell :: powershell autocompletion 
Shell :: how to run an executable in terminal in parallel 
Shell :: https://physionet.org/files/chf2db/1.0. 
Shell :: You should recreate configure.ac:7: aclocal.m4 with aclocal and run automake again. 
Shell :: Cherrry pick and commit the changes to new branch 
Shell :: OPEN ROOT FOLDER IN KLI 
Shell :: format terminal mac 
Shell :: "root:root" linux 
Shell :: npm react js package for form factor responsive site development 
Shell :: remove ms store remove installed app 
Shell :: clamscan quarantine 
Shell :: lINUX OS Command line to Creat A new File 
Shell :: install mongodb klai 
Shell :: selinux apache 403 
Shell :: password encryptin powershell 
Shell :: freetype2 linux install 
Shell :: bash similiar to choice in cmd 
Shell :: Powershell script to add app to VNET integration 
Shell :: install node in linux from tar 
Shell :: setup syslog-ng docker 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =