Skip to content

Commit

Permalink
feat: Adds some cheatsheets
Browse files Browse the repository at this point in the history
  • Loading branch information
accnetodevel committed Feb 7, 2023
1 parent 1402b52 commit 95c2d5b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cheatsheets/docker.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#### Syntax to Copy from Container to Docker Host

```docker cp {options} CONTAINER:SRC_PATH DEST_PATH```
#### Syntax to Copy from Docker Host to Container

```docker cp {options} SRC_PATH CONTAINER:DEST_PATH```
5 changes: 5 additions & 0 deletions cheatsheets/git.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#### git reset locally

`git reset --hard unico arquivo`

`git checkout HEAD -- my-file.txt`
8 changes: 8 additions & 0 deletions cheatsheets/maven.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
### run specific groups
`mvn -Dgroups="integration, fast, feature-168"`

### Exclude tests which tagged with 'slow'
$ mvn -DexcludedGroups="slow"

### Build a specific module in multi module project
mvn --projects $module-name --also-make install -DskipTests

0 comments on commit 95c2d5b

Please sign in to comment.