What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-26 10:45:02
git rename remote branch
# Rename the local branch to the new name git branch -m <old_name> <new_name> # Delete the old branch on remote - where <remote> is, for example, origin git push <remote> --delete <old_name> # Or shorter way to delete remot... Add solution -
Shell/Bash 2021-08-26 10:44:02
how to remove windows service
SC STOP shortservicename SC DELETE shortservicename Note: You need to run the command prompt as an administrator, not just logged in as the administrator, but also with administrative rights. If you get errors above about not having the necessary access ... Add solution -
Shell/Bash 2021-08-26 10:44:02
remove submodule git
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 -r... Add solution -
Shell/Bash 2021-08-26 10:43:03
remove virtualbox from ubuntu
#Uninstall VirtualBox first. sudo apt-get remove --purge virtualbox #Run these commands to delete all virtual machines and settings and Virtual Hard Drives: sudo rm ~/"VirtualBox VMs" -Rf sudo rm ~/.config/VirtualBox/ -Rf #If you want to ins... Add solution -
Shell/Bash 2021-08-25 15:10:34
docker clean unused images
$ docker image prune -a WARNING! This will remove all images without at least one container associated to them. Are you sure you want to continue? [y/N] y Deleted Images: untagged: alpine:latest untagged: alpine@sha256:3dcdb92d7432d56604d4545cbd324b14e64... Add solution