git remove remote file keep local
Shell
# for single file
git rm --cached myfile
# for directory file
git rm --cached --r myfile
Also in Shell:
- Title
- git how to add remote
- Category
- Shell
- Title
- python.h missing
- Category
- Shell
- Title
- ping a port linux
- Category
- Shell
- Title
- abbreviated stat for git
- Category
- Shell
- Title
- how to generate ssh key in linux
- Category
- Shell
- Title
- firewall-cmd create new zone
- Category
- Shell
- Title
- webpack install
- Category
- Shell
- Title
- linux os upgrade
- Category
- Shell
- Title
- Shell/BAsh
- Category
- Shell
- Title
- bash send to dev null
- Category
- Shell
- Title
- react lorem ipsum
- Category
- Shell
- Title
- linux move everything in a directory to another directory
- Category
- Shell
- Title
- how to download with wget
- Category
- Shell
- Title
- unable to install deno in ubuntu
- Category
- Shell
- Title
- ng2-dragula valor software github
- Category
- Shell
- Title
- install magento 2 command line composer
- Category
- Shell
- Title
- how to install rclone as service on windows
- Category
- Shell
- Title
- createa. branch off of development git
- Category
- Shell
- Title
- hasura squashmigrations
- Category
- Shell
- Title
- how to know free space in linux
- Category
- Shell
- Title
- chmode ubuntu
- Category
- Shell
- Title
- make docker sudo less
- Category
- Shell
- Title
- how to delete files in linux
- Category
- Shell
- Title
- run powershell script from wsl bash
- Category
- Shell
- Title
- copie fichier de server vers linux
- Category
- Shell
- Title
- boolean constants in bash
- Category
- Shell
- Title
- centos 7 install docker compose
- Category
- Shell
- Title
- install openjdk 8 sdk on ubuntu
- Category
- Shell
- Title
- git rename branch
- Category
- Shell
- Title
- linux find files without string
- Category
- Shell
- Title
- increase no of watchers
- Category
- Shell
- Title
- rtl8821ce driver linux
- Category
- Shell
- Title
- How to find cmake version in ubuntu?
- Category
- Shell
- Title
- how to manage github repository
- Category
- Shell
- Title
- docker logs tail
- Category
- Shell
- Title
- android_home ubuntu
- Category
- Shell
- Title
- disable open file explorer erverytime i connect usb ubuntu
- Category
- Shell
- Title
- inicializar as credenciais no git
- Category
- Shell
- Title
- linux copy
- Category
- Shell
- Title
- powershell zip multiple files
- Category
- Shell
- Title
- mysql backup dump docker file
- Category
- Shell
- Title
- how to download youtube video in linux
- Category
- Shell
- Title
- Failed at the [email protected] postinstall script.
- Category
- Shell
- Title
- increase open file limit linux mac catalina mariadb
- Category
- Shell
- Title
- What debian version do i use
- Category
- Shell
- Title
- ubuntu ec2 node mongodb connect ECONNREFUSED 127.0.0.1:27017
- Category
- Shell
- Title
- time machine faster
- Category
- Shell
- Title
- bash edit prompt display appearance
- Category
- Shell
- Title
- count occurrences of word in file linux ignoring case
- Category
- Shell
- Title
- git reset keep changes
- Category
- Shell
- Title
- recover a merged commit git
- Category
- Shell
- Title
- git init
- Category
- Shell
- Title
- git reset soft
- Category
- Shell
- Title
- install vue router
- Category
- Shell
- Title
- powershell bulk rename and add extra string to filename
- Category
- Shell
- Title
- git abort stash pop
- Category
- Shell
- Title
- gatsby-plugin-typography
- Category
- Shell
- Title
- vieuw the MOTD linux
- Category
- Shell
- Title
- macos homebrew unattended cask installs
- Category
- Shell
- Title
- find out a branch a parent branch git
- Category
- Shell
- Title
- sh declare variable
- Category
- Shell
- Title
- Could not execute 'apt-key' to verify signature (is gnupg installed?)
- Category
- Shell
- Title
- install express globally
- Category
- Shell
- Title
- how to fix the errors in chokidar in linux
- Category
- Shell
- Title
- how to add extension to all files terminal
- Category
- Shell
- Title
- uninstall g2o
- Category
- Shell
- Title
- updated gitignore not working
- Category
- Shell
- Title
- grep
- Category
- Shell
- Title
- ubuntu chmod codes
- Category
- Shell
- Title
- Error: Node Sass does not yet support your current environment
- Category
- Shell
- Title
- install jupyter homebrew
- Category
- Shell
- Title
- bash call another script relative to current script
- Category
- Shell
- Title
- python install random library
- Category
- Shell
- Title
- crear una aplicación con angular cli
- Category
- Shell
- Title
- gyp error npm install
- Category
- Shell
- Title
- git remove tag from remote
- Category
- Shell
- Title
- close chrome tab from command line ubuntu
- Category
- Shell
- Title
- how to revert commit in git
- Category
- Shell
- Title
- add git user and email
- Category
- Shell
- Title
- simple nodejs dockerfile
- Category
- Shell
- Title
- kill process cmd
- Category
- Shell
- Title
- ubuntu sites-available location
- Category
- Shell
- Title
- linux permission
- Category
- Shell
- Title
- set git pull rebase default
- Category
- Shell
- Title
- kill app at port
- Category
- Shell
- Title
- upgrade yarn version
- Category
- Shell
- Title
- codepush get keys
- Category
- Shell
- Title
- bazel instal
- Category
- Shell
- Title
- git how to work with remote branch and fork
- Category
- Shell
- Title
- git fetch tags force
- Category
- Shell
- Title
- material ui install
- Category
- Shell
- Title
- kill process in windows powershell
- Category
- Shell
- Title
- linux move file
- Category
- Shell
- Title
- angular add component
- Category
- Shell
- Title
- batch loops
- Category
- Shell
- Title
- read string by string in file in linux
- Category
- Shell
- Title
- add known host github
- Category
- Shell
- Title
- install gulp
- Category
- Shell
- Title
- ubuntu logout
- Category
- Shell
- Title
- git undo merge
- Category
- Shell