This is a draft cheat sheet. It is a work in progress and is not finished yet.
Copilot hotkeys
CTRL + Enter |
Show 10 solutions |
Alt + \ |
Trigger inline suggestion |
Git
git amend |
git fetch origin --prune |
git remote -v |
git remote rm [remote repo name] |
git ls-files –other –ignored –exclude-standard |
git checkout -b <branchname> |
git diff <sourcebranch> <targetbranch> |
|
|
VSCode tools
Code snippets |
Settings -> User snippets |
VSCode hotkeys
Alt + |
Move line up, down |
Ctrl+Shift+N |
New window/instance |
|
|
Docker
mysql service |
[sudo] docker exec -it [container_name] mysql -u[username] -p[pw] |
create docker |
docker run -d --name mysql -e MYSQL_ROOT_PASSWORD= -e MYSQL_USER= -e MYSQL_PASSWORD= -p 3306:3306 mysql:latest |
docker compose |
docker ps |
|