init projectmycelium
This commit is contained in:
36
docs/ops/method/current/shortcuts.md
Normal file
36
docs/ops/method/current/shortcuts.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# Devops Shortcuts
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Use fish for shell completion
|
||||
- Use [gits](https://github.com/ucli-tools/gits) and [pal](https://github.com/scottyeager/pal) for quicker operations
|
||||
|
||||
## Devops Workflow Summary
|
||||
|
||||
- Create a branch
|
||||
```
|
||||
gits new development-refactoring
|
||||
```
|
||||
- Commit changes and push
|
||||
- First time
|
||||
```
|
||||
git add . && pal /commit -y && git push --set-upstream origin development-refactoring
|
||||
```
|
||||
- After first time
|
||||
```
|
||||
git add . && pal /commit -y && git push
|
||||
```
|
||||
- Create PR and merge (e.g. base development branch is protected from direct push)
|
||||
```
|
||||
gits pr create --title 'Update' --base development && gits pr merge --pr-number $(gits pr-latest)
|
||||
```
|
||||
- Deploy Changed to Online App
|
||||
```
|
||||
gits pull development && make update-dev
|
||||
```
|
||||
- More info
|
||||
- List all available commands
|
||||
```
|
||||
make help
|
||||
```
|
||||
- Read about [automated deployment](./automated-deployment.md)
|
Reference in New Issue
Block a user