Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
DOCKER CONTAINERS AND COMMANDS
dcleanup
- Remove all containers and images that are currently not used.del_stopped
- If a container is currently stopped, delete it before starting new one.jenkins
- Launches Jenkins server on remote Docker host (AWS for me).base
- My customized base image based on Debian Stretch.alpine
- Lightweight experiments.node
- My Node container.curl
- CURL application on Debian Stretch.npm
- NPM from my Node container.composer
- PHP composer application.
GNUPG
keys
- List GPG keys in gpg-agentpublickey
- Display public key in the console.privatekey
- Display private key in the console.ec
- Symmetric encrypt a file. Example: ec myfile.txtdc
- Decrypt a file. Example: dc [ecnrypted file] [output]
GIT
git lg
- Display GIT history as tree graph.git lg1
- Same but with more info.git lg2
- Same but with more info.git lg3
- Same but with more info.git l
- View history of last 20 commits.git s
- Status of current directory.git d
- Show the diff between the last commit and the current state.git di #
- Show the diff between the state (number) revisions ago and current. Example: git di 3git p
- Pull in remote changes for the current repository and all submodules.git c
- Clone a repo including all submodules. Example git c [url]git ca
- Commit all changesgit go
- Switch to a new branch, creating it if necessary. Example: git go developgit tags
- Show verbose output about tags.git branches
- Show verbose output about branches.git remotes
- Show verbose output about remotesgit ammend
- Ammend the currently staged files to the latest commit.git credit
- Credit an author on the latest commit. Example: git credit Ryan [email protected]git reb
- Interactive rebase with the given number of latest commits. Example: git reb 2git retag
- Remove the old tag with this name and tag the latest commit with it. Example: git retag releasegit fb
- Find branches containing a commit. Example: git fb [sha]git ft
- Find tags containing a commit. Example: git ft [sha]git fc
- Find commits by source code. Example: git fc [file name]git fm
- Find commits by commit message. Exampe: git fm 'help'git dm
- Remove all branches that have already been merged to master.git contributors
- List contributors along with number of commits.git mpr
- Merge GitHub pull request on top of master branch.
- GitHub User name: ryanjohnston
- GitHub Author email: [email protected]
- GPG Signing Key: 7DF2891B17435099