{"id":421,"date":"2018-12-11T23:29:00","date_gmt":"2018-12-11T16:29:00","guid":{"rendered":"https:\/\/luckytruedev.com\/learning\/?p=421"},"modified":"2019-10-04T06:22:38","modified_gmt":"2019-10-03T23:22:38","slug":"git-push-via-android-studio","status":"publish","type":"post","link":"https:\/\/luckytruedev.com\/learning\/git-push-via-android-studio\/","title":{"rendered":"Git Push via Android Studio"},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"497\" src=\"https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/gitAndroidPush.jpg\" alt=\"\" class=\"wp-image-423\" srcset=\"https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/gitAndroidPush.jpg 680w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/gitAndroidPush-300x219.jpg 300w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/gitAndroidPush-110x80.jpg 110w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/gitAndroidPush-420x307.jpg 420w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/gitAndroidPush-588x430.jpg 588w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/gitAndroidPush-20x15.jpg 20w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/figure><\/div>\n\n\n\n<p>Halo, kali ini gw mau share tutorial cara Push di Android Studio, pada kali ini lumayan mudah sih, cuma push ke github udah gitu aja, <strong>Pastikan kalian punya akun github, mendapat akses izin repository &amp; sudah konfigurasi git pada android studio<\/strong>, langsung saja gapake basa basi.<\/p>\n\n\n<div id=\"lucky-1407952427\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-5605825534849002\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-5605825534849002\" \ndata-ad-slot=\"5317815257\" \ndata-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.15-1024x640.jpg\" alt=\"\" class=\"wp-image-424\" srcset=\"https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.15.jpg 1024w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.15-300x188.jpg 300w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.15-768x480.jpg 768w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.15-110x69.jpg 110w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.15-420x263.jpg 420w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.15-688x430.jpg 688w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.15-20x13.jpg 20w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Commit &amp; Push<br><\/figcaption><\/figure>\n\n\n\n<p>Jika kalian ingin Commit &amp; Push kalian bisa ke menu &#8220;VCS &#8211;&gt; Commit&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.33-1024x640.jpg\" alt=\"\" class=\"wp-image-425\" srcset=\"https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.33.jpg 1024w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.33-300x188.jpg 300w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.33-768x480.jpg 768w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.33-110x69.jpg 110w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.33-420x263.jpg 420w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.33-688x430.jpg 688w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.33-20x13.jpg 20w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Dialog Commit<\/figcaption><\/figure>\n\n\n\n<p>Setelah kalian pilih menu diatas VCS &#8211;&gt; Commit, akan muncul dialog seperti ini, dan muncul file mana saja yang akan di upload ke github, beserta Pesan Commit yang ingin kalian masukan, jika semua udah beres silahkan pilih tombol &#8220;Commit&#8221; tapi yang gambar segitiga disampingnya (Sebenarnya bisa sih kalo langsung ke tombol commit, setelah itu kalian ke menu atas VCS &#8211;&gt; Git &#8211;&gt; Push) cuma pada kasus ini gw mau ngasih jalan tercepat aja biar sekalian push ke githubnya.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"648\" height=\"549\" src=\"https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.42.jpg\" alt=\"\" class=\"wp-image-426\" srcset=\"https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.42.jpg 648w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.42-300x254.jpg 300w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.42-110x93.jpg 110w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.42-420x356.jpg 420w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.42-508x430.jpg 508w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.42-20x17.jpg 20w\" sizes=\"auto, (max-width: 648px) 100vw, 648px\" \/><figcaption>Push Dialog<\/figcaption><\/figure>\n\n\n\n<p>dan kalian akan menemukan dialog seperti ini untuk di upload \/ push kedalam repositori, kalian bisa merubah branch dibagian ini, jika direpositori kalian mempunyai lebih dari 1 branch bisa aja gapake master pada origin. jika sudah beres langsung pilih tombol &#8220;Push&#8221;.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"380\" height=\"87\" src=\"https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.57.jpg\" alt=\"\" class=\"wp-image-427\" srcset=\"https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.57.jpg 380w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.57-300x69.jpg 300w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.57-110x25.jpg 110w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.07.57-20x5.jpg 20w\" sizes=\"auto, (max-width: 380px) 100vw, 380px\" \/><figcaption>Push Berhasil<\/figcaption><\/figure><\/div>\n\n\n\n<p>Jika muncul notifikasi seperti ini tandanya kalian telah berhasil mem push, jika gagal pastikan punya koneksi internet, konfigurasi pada git benar atau mempunyai izin akses repositori.<\/p>\n\n\n<div id=\"lucky-582173035\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-5605825534849002\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-5605825534849002\" \ndata-ad-slot=\"5317815257\" \ndata-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.08.47-1024x640.jpg\" alt=\"\" class=\"wp-image-428\" srcset=\"https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.08.47.jpg 1024w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.08.47-300x188.jpg 300w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.08.47-768x480.jpg 768w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.08.47-110x69.jpg 110w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.08.47-420x263.jpg 420w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.08.47-688x430.jpg 688w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.08.47-20x13.jpg 20w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Hasil Push pada website github<\/figcaption><\/figure><\/div>\n\n\n\n<p>munculah commit yang telah kita buat, dan pesan commit yang barusan kita ketik, kalo tadi gw ketik &#8220;improvisasi menu&#8221; dan muncul.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Via Command Line<\/h2>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p>\/\/Git Commit<br>git commit -m \u2018committing added changes\u2019git <br>commit -a -m \u2018committing all changes, equals <strong>to<\/strong> git add <strong>and<\/strong> git commit\u2019<br><br>\/\/Git Push<br>git push origin master<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Akhir Kata<\/h2>\n\n\n\n<p>mungkin kalian liat ada file yang berwarna, entah hijau atau biru. Nah file yang berwarna hijau itu menunjukan kalo filenya itu baru dan belom pernah di push sama sekali, dan jika filenya berwarna biru bertandakan kita merubah file tersebut yang sudah pernah kita push, mungkin itu aja sih dari gw, semoga bermanfaat. Terimakasih \ud83d\ude42<\/p>\n<div id=\"lucky-2854330697\" class=\"lucky-after-content lucky-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-5605825534849002\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-5605825534849002\" \ndata-ad-slot=\"5317815257\" \ndata-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Halo, kali ini gw mau share tutorial cara Push di Android Studio, pada kali ini lumayan mudah sih, cuma push ke github udah gitu aja, Pastikan kalian punya akun github, mendapat akses izin repository &amp; sudah konfigurasi git pada android studio, langsung saja gapake basa basi. Jika kalian ingin Commit &amp; Push kalian bisa ke [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":423,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,29],"tags":[],"class_list":["post-421","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ltdv-android-tutor","category-ltdv-git-tutor"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/luckytruedev.com\/learning\/wp-json\/wp\/v2\/posts\/421","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/luckytruedev.com\/learning\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/luckytruedev.com\/learning\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/luckytruedev.com\/learning\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/luckytruedev.com\/learning\/wp-json\/wp\/v2\/comments?post=421"}],"version-history":[{"count":1,"href":"https:\/\/luckytruedev.com\/learning\/wp-json\/wp\/v2\/posts\/421\/revisions"}],"predecessor-version":[{"id":2345,"href":"https:\/\/luckytruedev.com\/learning\/wp-json\/wp\/v2\/posts\/421\/revisions\/2345"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/luckytruedev.com\/learning\/wp-json\/wp\/v2\/media\/423"}],"wp:attachment":[{"href":"https:\/\/luckytruedev.com\/learning\/wp-json\/wp\/v2\/media?parent=421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/luckytruedev.com\/learning\/wp-json\/wp\/v2\/categories?post=421"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/luckytruedev.com\/learning\/wp-json\/wp\/v2\/tags?post=421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}