Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git filter-branch remove file

# Say you have a file (e.g. sensitive, really large,...) that you want removed from
# your repository (local and remote, current and history)
git filter-branch --tree-filter 'rm filename' HEAD


# https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository
# https://docs.github.com/en/repositories/working-with-files/managing-large-files/about-large-files-on-github
Comment

PREVIOUS NEXT
Code Example
Shell :: store ls into array bash 
Shell :: wslinux import 
Shell :: git second commit 
Shell :: ubuntu install jdk 14 
Shell :: How to change tab size on GitHub? 
Shell :: anaconda install pyinstaller 
Shell :: install vlc fedora 
Shell :: ubuntu get process on port 
Shell :: gitignore for django project 
Shell :: npm i socket.io 
Shell :: arch add fonts 
Shell :: Clear heroku redis cache 
Shell :: ubuntu fingerprint error 
Shell :: how to do change permissions partition in linux 
Shell :: docker-compose compose clear cache 
Shell :: upgrading ionic 5 
Shell :: Remove uninstall Java in CentOS 
Shell :: linux folder size 
Shell :: git ignore .pyc files 
Shell :: ubuntu darling 
Shell :: how to copy ssh key 
Shell :: install curl 
Shell :: install heroku 
Shell :: Sticky notes for Linux(Ubuntu) 
Shell :: chmod for pem file 
Shell :: install zsh hyper mac 
Shell :: install cairo 
Shell :: how to install pgadmin4 ubuntu 
Shell :: kill tensorboard process 
Shell :: untar file in linux 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =