delete github repository git bash
Shell
To remove a submodule you need to:
Delete the relevant section from the .gitmodules file.
Stage the .gitmodules changes git add .gitmodules
Delete the relevant section from .git/config.
Run git rm --cached path_to_submodule (no trailing slash).
Run rm -rf .git/modules/path_to_submodule (no trailing slash).
Commit git commit -m "Removed submodule "
Delete the now untracked submodule files rm -rf path_to_submodulewinpty curl -X DELETE -H 'Authorization: token [GENERATED_TOKEN]' https://api.github.com/repos/[USER_NAME]/[REPO_NAME]
# follow steps here to generate token:
https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-linehttps://stackoverflow.com/questions/6964297/untrack-files-from-git-temporarily
Also in Shell:
- Title
- how to uninstall a package with yarn
- Category
- Shell
- Title
- set git pull rebase default
- Category
- Shell
- Title
- git add gitignore
- Category
- Shell
- Title
- setup mysql ubuntu
- Category
- Shell
- Title
- make recursive directory linux
- Category
- Shell
- Title
- add known host github
- Category
- Shell
- Title
- how to install any package in node.js
- Category
- Shell
- Title
- how to save environment variables ubuntu
- Category
- Shell
- Title
- git fklow init
- Category
- Shell
- Title
- git init repo
- Category
- Shell
- Title
- ubuntu 16.04 bluetooth not detecting devices
- Category
- Shell
- Title
- gcloud cd /root permission denied
- Category
- Shell
- Title
- deploy to heroku
- Category
- Shell
- Title
- chown
- Category
- Shell
- Title
- ubuntu installing gimp
- Category
- Shell
- Title
- how to install mysql python
- Category
- Shell
- Title
- undo git
- Category
- Shell
- Title
- install express globally
- Category
- Shell
- Title
- linux view environment variables
- Category
- Shell
- Title
- how to download with wget
- Category
- Shell
- Title
- iterm full screen cmd
- Category
- Shell
- Title
- how to pull from a particular branch in git
- Category
- Shell
- Title
- linux see file system type
- Category
- Shell
- Title
- angular new project
- Category
- Shell
- Title
- bash find command syntax
- Category
- Shell
- Title
- linux generate file
- Category
- Shell
- Title
- linux zip all folders except one
- Category
- Shell
- Title
- create a virtualenv python
- Category
- Shell
- Title
- ubuntu install composer
- Category
- Shell
- Title
- ubuntu 19.10 move right wokspace
- Category
- Shell
- Title
- how to rename working directory in linux
- Category
- Shell
- Title
- exit telnet
- Category
- Shell
- Title
- install node 12 linux terminal w10
- Category
- Shell
- Title
- git log grep
- Category
- Shell
- Title
- install chromedriver linux command line
- Category
- Shell
- Title
- command to check working of gpu in linux
- Category
- Shell
- Title
- how to make new user linux termil
- Category
- Shell
- Title
- git remove all pdf files
- Category
- Shell
- Title
- git bash upstream branch change
- Category
- Shell
- Title
- composer install without dependencies
- Category
- Shell
- Title
- powershell foreach
- Category
- Shell
- Title
- ubuntu install opencl
- Category
- Shell
- Title
- pip install tensorflow not working
- Category
- Shell
- Title
- could not connect to server: Connection refused Is the server running on host and accepting TCP/IP connections on port 5432?
- Category
- Shell
- Title
- git create master branch in empty repository
- Category
- Shell
- Title
- install gulp gulp-util exited with code 1
- Category
- Shell
- Title
- flutter create command
- Category
- Shell
- Title
- install sklearn
- Category
- Shell
- Title
- ubuntu activate venv
- Category
- Shell
- Title
- git log one line
- Category
- Shell
- Title
- Got permission denied while trying to connect to the Docker daemon socket
- Category
- Shell
- Title
- bash copy
- Category
- Shell
- Title
- create a virtual environment python conda
- Category
- Shell
- Title
- install redux
- Category
- Shell
- Title
- cmd prompt format
- Category
- Shell
- Title
- pip installer for mac
- Category
- Shell
- Title
- git push existing code to new repository
- Category
- Shell
- Title
- how to commit changes in git command
- Category
- Shell
- Title
- crontab only working days
- Category
- Shell
- Title
- add all files in directory to git
- Category
- Shell
- Title
- ubuntu command line replace word in files
- Category
- Shell
- Title
- kill a process at a port
- Category
- Shell
- Title
- add credentials git linux
- Category
- Shell
- Title
- bash for interval
- Category
- Shell
- Title
- remove git from project
- Category
- Shell
- Title
- linux install ifconfig
- Category
- Shell
- Title
- conemu git bash
- Category
- Shell
- Title
- batch rename files
- Category
- Shell
- Title
- ubuntu virtualbox 1920x1080
- Category
- Shell
- Title
- git show staged files
- Category
- Shell
- Title
- install react yarn
- Category
- Shell
- Title
- docker run command on container
- Category
- Shell
- Title
- git pull
- Category
- Shell
- Title
- how to open mongodb-compass
- Category
- Shell
- Title
- macos read ext4
- Category
- Shell
- Title
- move all subfolders to parent folder linux
- Category
- Shell
- Title
- git undo add
- Category
- Shell
- Title
- how to disconnect local repo from remote master
- Category
- Shell
- Title
- powershell upgrade
- Category
- Shell
- Title
- how to search a particular gist in github
- Category
- Shell
- Title
- linux replace string in files recursively
- Category
- Shell
- Title
- material-ui
- Category
- Shell
- Title
- linux find files without string
- Category
- Shell
- Title
- date command in linux
- Category
- Shell
- Title
- diff specific file git different branches
- Category
- Shell
- Title
- check disk space linux
- Category
- Shell
- Title
- remove .svn recursively linux
- Category
- Shell
- Title
- isdigit in c
- Category
- Shell
- Title
- install react native navigation stack
- Category
- Shell
- Title
- npx create-react-app not working
- Category
- Shell
- Title
- linux remove folder and all his content
- Category
- Shell
- Title
- how to bash into docker container
- Category
- Shell
- Title
- install jquery
- Category
- Shell
- Title
- docker build
- Category
- Shell
- Title
- linux min 19.10 install virtualbox
- Category
- Shell
- Title
- git push set upstream
- Category
- Shell
- Title
- how to host a file within a folder in github
- Category
- Shell
- Title
- git add submodule
- Category
- Shell
- Title
- change remote repository git
- Category
- Shell
- Title
- cudnn version linux
- Category
- Shell