Cheatography
https://cheatography.com
Shortcuts for Docker and Git
git
ga |
git add |
gaa |
git add --all |
gwip |
git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit --no-verify --no-gpg-sign --message "--wip-- [skip ci]" |
gco |
git checkout |
gcor |
git checkout --recurse-submodules |
gcb |
git checkout -b |
gcd |
git checkout $(git_develop_branch) |
gcm |
git checkout $(git_main_branch) |
gcl |
git clone --recurse-submodules |
gc |
git commit --verbose |
gca |
git commit --verbose --all |
gf |
git fetch |
gfa |
git fetch --all --tags --prune |
gl |
git pull |
ggl |
git pull origin $(current_branch) |
gp |
git push |
ggp |
git push origin $(current_branch) |
ggf |
git push --force origin $(current_branch) |
ggfl |
git push --force-with-lease origin $(current_branch) |
grb |
git rebase |
grba |
git rebase --abort |
grbc |
git rebase --continue |
grbs |
git rebase --skip |
grbd |
git rebase $(git_develop_branch) |
grbm |
git rebase $(git_main_branch) |
gwipe |
git reset --hard && git clean --force -df |
groh |
git reset origin/$(git_current_branch) --hard |
|
|
docker
dbl |
docker build |
dcls |
docker container ls |
dclsa |
docker container ls -a |
dils |
docker image ls |
dipu |
docker image push |
dipru |
docker image prune -a |
dirm |
docker image rm |
dit |
docker image tag |
dr |
docker container run |
drit |
docker container run -it |
drm |
docker container rm |
drm! |
docker container rm -f |
|
|
docker compose
dco |
docker-compose |
dcb |
docker-compose build |
dce |
docker-compose exec |
dcps |
docker-compose ps |
dcrestart |
docker-compose restart |
dcrm |
docker-compose rm |
dcup |
docker-compose up |
dcup |
docker-compose up --build |
dcupd |
docker-compose up -d |
dcupdb |
docker-compose up -d --builb |
dcdn |
docker-compose down |
dcl |
docker-compose logs |
dclf |
docker-compose logs -f |
dclF |
docker-compose logs -f --tail0 |
dck |
docker-compose kill |
|
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets