Browse Source

gh: add Indonesian translation (#6670)

Theodorus Clarence 3 years ago
parent
commit
627ae71aed
1 changed files with 37 additions and 0 deletions
  1. 37 0
      pages.id/common/gh.md

+ 37 - 0
pages.id/common/gh.md

@@ -0,0 +1,37 @@
+# gh
+
+> Memudahkan pengaksesan GitHub dari command-line.
+> Beberapa subcommands seperti `gh config` memiliki dokumentasi sendiri.
+> Informasi lebih lanjut: <https://cli.github.com/>.
+
+- Mengklon sebuah GitHub repositori di lokal
+
+`gh repo clone {{pemilik}}/{{repositori}}`
+
+- Membuat isu baru:
+
+`gh issue create`
+
+- Melihat dan filter issue yang sedang open pada repositori:
+
+`gh issue list`
+
+- Melihat isu di browser:
+
+`gh issue view --web {{nomor_isu}}`
+
+- Membuat sebuah pull request:
+
+`gh pr create`
+
+- Melihat pull request di browser:
+
+`gh pr view --web {{nomor_pr}}`
+
+- Mengecek pada local branch sebuah pull request, diikuti dengan nomor pull requestnya:
+
+`gh pr checkout {{nomor_pr}}`
+
+- Mengecek status pull request pada sebuah repository:
+
+`gh pr status`