ssh [user]@[ip]
cd [server_project_path]
docker-compose exec -T db pg_dump -U [db_user] -Fc [db_name] -f /[file].dump
docker ps
{"lastUpload":"2021-04-05T23:09:05.386Z","extensionVersion":"v3.4.3"} |
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |
#!/bin/bash | |
# Exit when any command fails: | |
set -e | |
TARGET="/home/.../deployments/matomo" | |
GIT_DIR="/home/.../repositories/matomo.git" | |
BRANCH="main" | |
while read oldrev newrev ref |
Add those to you ~/.gitconfig
(or %HOMEPATH%/.gitconfig
under Windows):
[advice]
skippedCherryPicks = false
useCoreFSMonitorConfig = false
[alias]
# Common aliases:
br = branch