Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

remove git

rm -rf .git
-r => Remove directories and there contents recursively.
-f => Ignore nonexistent files and arguments, never prompt
for more info run 
rm --help
Comment

how to uninstall git

To remove just git package itself from Ubuntu 14.04 execute on terminal:
$ sudo apt-get remove git

To remove the git package and any other dependant package which are no longer needed from Ubuntu Trusty.
$ sudo apt-get remove --auto-remove git

Purging git
If you also want to delete configuration and/or data files of git from Ubuntu Trusty then this will work:
$ sudo apt-get purge git


To delete configuration and/or data files of git and it's dependencies from Ubuntu Trusty then execute:
$ sudo apt-get purge --auto-remove git
Comment

uninstall git

$ sudo apt-get remove git
$ sudo apt-get remove --auto-remove git
$ sudo apt-get purge git
$ sudo apt-get purge --auto-remove git
Comment

PREVIOUS NEXT
Code Example
Shell :: install certbot ubuntu 20.04 nginx 
Shell :: The upstream branch of your current branch does not match the name of your current branch. 
Shell :: linux check gpu usage 
Shell :: -bash: git: command not found 
Shell :: abnt linux keyboard 
Shell :: how to isntall blender on linux 
Shell :: git revert last commit remote 
Shell :: remove git from local folder 
Shell :: mamp connect to mysql 
Shell :: pip install psycopg2 error fedora 
Shell :: ubuntu speedtest 
Shell :: how completely remove kde 
Shell :: mac os terminal bash command not found 
Shell :: brew install ngrok 
Shell :: steam is not in the sudoers file. 
Shell :: ls human readable file size 
Shell :: check open port linux 
Shell :: how to install curl in centos 7 
Shell :: git delete tag name 
Shell :: git replace master with branch 
Shell :: ubuntu software not opening 
Shell :: rename a commit pushed 
Shell :: edit last commit message 
Shell :: ubuntu 18.04 ssh config 
Shell :: flutter doctor Xcode installation is incomplete; a full installation is necessary for iOS development. 
Shell :: docker remove all exited containers 
Shell :: flutter web run with custom port 
Shell :: how to make bat file delete itsself 
Shell :: list mounted drives linux 
Shell :: kubectl completion zsh 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =