This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
dev:github [2024/12/04 08:55] tomas |
dev:github [2026/04/17 11:28] (current) tomas [GitHub markdown] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ==GitHub Copilot=== | + | |
| + | |||
| + | ==== GitHub akce ==== | ||
| + | [[automatizace: | ||
| + | |||
| + | ==== GitHub markdown ==== | ||
| + | [[https:// | ||
| + | [[https:// | ||
| + | [[https:// | ||
| + | [[https:// | ||
| + | |||
| + | |||
| + | ==== GitHub Copilot | ||
| Explain this project\\ | Explain this project\\ | ||
| Line 15: | Line 27: | ||
| Can you please write a terraform script that deploys azure web app with deployment slots\\ | Can you please write a terraform script that deploys azure web app with deployment slots\\ | ||
| Can you add code comments into the script?\\ | Can you add code comments into the script?\\ | ||
| + | Can you add inline comments in this file?\\ | ||
| + | Add JSDoc comments for the TaskManager function?\\ | ||
| + | Refactor the code in the file. Add the inline comment explaining the purpose of the refactored code\\ | ||
| + | Create usage examples or descriptions for the class and its methods\\ | ||
| Can you fix the bugs in the code?\\ | Can you fix the bugs in the code?\\ | ||
| /tests\\ | /tests\\ | ||
| Can you please generate unit test with terratest? | Can you please generate unit test with terratest? | ||
| + | Convert the current file from json to yaml format\\ | ||
| + | |||
| + | === VSCode Copilot zkratky === | ||
| + | ctrp-enter ... otevře okno pro doplňování kódu\\ | ||
| - | ==Repozitáře== | + | ==== Repozitáře |
| - | ===Konfigurační soubory v repozitáři==== | + | === Konfigurační soubory v repozitáři === |
| CODEOWNERS ... určuje skupiny, které budou automaticky | CODEOWNERS ... určuje skupiny, které budou automaticky | ||
| - | ==GH - GitHub CLI== | + | ==== GH - GitHub CLI ==== |
| gh alias set iv 'issue view --comments' | gh alias set iv 'issue view --comments' | ||
| gh api -X GET ' | gh api -X GET ' | ||
| Line 33: | Line 53: | ||
| gh pr list ... seznam pull requestů\\ | gh pr list ... seznam pull requestů\\ | ||
| gh pr view 462 ... zobrazí PR 462\\ | gh pr view 462 ... zobrazí PR 462\\ | ||
| + | gr pr review 8 -a -R https:// | ||
| gh pr merge 462 ... mergne PR 462\\ | gh pr merge 462 ... mergne PR 462\\ | ||
| gh run list ... reznam běhů akcí\\ | gh run list ... reznam běhů akcí\\ | ||
| gh workflow list ... seznam akcí - workflow\\ | gh workflow list ... seznam akcí - workflow\\ | ||
| - | ===GH CLI v GH Akcích=== | + | === GH CLI v GH Akcích === |
| < | < | ||
| steps: | steps: | ||