added a cheatsheet for myself lol
This commit is contained in:
parent
988a8086e9
commit
329559f564
21
cheatsheet.md
Normal file
21
cheatsheet.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Nicholai's cheatsheet because he forgets commands:
|
||||||
|
|
||||||
|
## Pushing to git:
|
||||||
|
`git origin add git.biohazardvfx.com`
|
||||||
|
|
||||||
|
`git add .` or `git add path/to/file` to select which files to push to git.
|
||||||
|
|
||||||
|
`git commit -m "explanation of my sins" --no-verify` to commit the change
|
||||||
|
|
||||||
|
`git push origin main`
|
||||||
|
|
||||||
|
## Pushing to Docker
|
||||||
|
|
||||||
|
`docker login git.biohazardvfx.com`
|
||||||
|
|
||||||
|
`docker add . `
|
||||||
|
|
||||||
|
`docker build -t git.biohazardvfx.com/biohazardvfx/biohazard-vfx:prod .`
|
||||||
|
|
||||||
|
`docker push git.biohazardvfx.com/biohazardvfx/biohazard-vfx:prod`
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user