你可能會喜歡
Azure DevOps - State Transition Restriction Rules devopstips.net/azure-devops-s… #state #transition #restriction #rule #azure_devops via @devops_tips
to list all the branches that already merged into master, run the following command; git branch --merged master #git #terminal #merged #master
to list changes staged but not yet committed, run the following command; git diff --staged #git #terminal #diff #stage

to list of all the changed files in a commit, run the following command; git diff-tree --no-commit-id --name-only -r <commit_id> #git #terminal #changes #commit

To show changes to a specific file over time, run the following command; git log --pretty=oneline ./package.json #terminal #git #log

to set VS Code as the default editor with git global config, run the following command; git config --global core.editor "code --wait" #git #vscode #terminal
If you want your docker container to automatically restart if it closes for some reason (such as the application that are running has an error, etc) just add the following flag to docker run --restart=always for example docker run --restart=always IMAGE_NAME #docker #terminal
If you want to give memory limit (Memory Constraint) to a docker container, just run the following command; docker run --memory MAXIMUM_ALLOWED_MEMORY IMAGE_NAME #docker #terminal
If you want to give processor limit (CPU Constraint) to a docker container, just run the following command; docker run --cpu-quota MAXIMUM_ALLOWED_CPU IMAGE_NAME #docker #terminal
United States 趨勢
- 1. Bengals 33.8K posts
- 2. Ace Frehley 59.3K posts
- 3. Aaron Rodgers 12.6K posts
- 4. #911onABC 13K posts
- 5. Chase Brown 3,105 posts
- 6. Cuomo 46K posts
- 7. Flacco 14K posts
- 8. #HereWeGo 6,346 posts
- 9. Mookie 7,893 posts
- 10. Bolton 164K posts
- 11. #TNFonPrime 2,268 posts
- 12. Asheville 11.1K posts
- 13. RIP Spaceman 2,019 posts
- 14. Yoshi 20.1K posts
- 15. Sliwa 19.3K posts
- 16. #PITvsCIN 1,771 posts
- 17. athena 11.9K posts
- 18. #NYCMayoralDebate 1,163 posts
- 19. Tinsley N/A
- 20. Space Ace 2,282 posts
Something went wrong.
Something went wrong.