{"id":431,"date":"2018-12-12T00:00:12","date_gmt":"2018-12-11T17:00:12","guid":{"rendered":"https:\/\/luckytruedev.com\/learning\/?p=431"},"modified":"2019-10-04T06:22:09","modified_gmt":"2019-10-03T23:22:09","slug":"melakukan-git-pull-via-android-studio","status":"publish","type":"post","link":"https:\/\/luckytruedev.com\/learning\/melakukan-git-pull-via-android-studio\/","title":{"rendered":"Melakukan Git Pull 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\/pullupdateASGit.jpg\" alt=\"\" class=\"wp-image-432\" srcset=\"https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/pullupdateASGit.jpg 680w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/pullupdateASGit-300x219.jpg 300w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/pullupdateASGit-110x80.jpg 110w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/pullupdateASGit-420x307.jpg 420w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/pullupdateASGit-588x430.jpg 588w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/pullupdateASGit-20x15.jpg 20w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><figcaption>Hello<\/figcaption><\/figure><\/div>\n\n\n\n<p>Halo, kali ini gw mau jelasin cara Pull\/Update di Android Studio\u00a0pada kali ini lumayan mudah sih, cuma pull\/update project udah gitu aja,\u00a0<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-1581430810\"><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.45.02-1024x640.jpg\" alt=\"\" class=\"wp-image-433\" srcset=\"https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.02.jpg 1024w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.02-300x188.jpg 300w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.02-768x480.jpg 768w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.02-110x69.jpg 110w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.02-420x263.jpg 420w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.02-688x430.jpg 688w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.02-20x13.jpg 20w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Commit file via github<\/figcaption><\/figure><\/div>\n\n\n\n<p>pada kali ini gw mengcommit file yaitu Readme, dan nanti nya akan di update\/pull via Android Studio.<\/p>\n\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.45.18-1024x640.jpg\" alt=\"\" class=\"wp-image-434\" srcset=\"https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.18.jpg 1024w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.18-300x188.jpg 300w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.18-768x480.jpg 768w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.18-110x69.jpg 110w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.18-420x263.jpg 420w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.18-688x430.jpg 688w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.18-20x13.jpg 20w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Berhasil Commit file Readme<\/figcaption><\/figure><\/div>\n\n\n\n<p>Setelah itu gw mencoba untuk memastikan apakah File Readme berhasil ke push atau tidak, dan hasilnya berhasil, muncul file bernama &#8220;Readme&#8221;.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"415\" height=\"392\" src=\"https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.28.jpg\" alt=\"\" class=\"wp-image-435\" srcset=\"https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.28.jpg 415w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.28-300x283.jpg 300w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.28-110x104.jpg 110w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.28-20x20.jpg 20w\" sizes=\"auto, (max-width: 415px) 100vw, 415px\" \/><figcaption>Menu VCS Update Project<br><\/figcaption><\/figure><\/div>\n\n\n<div id=\"lucky-1669692255\"><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<p>Setelah itu gw mencoba ke menu VCS dan Update Project, dan akan muncul dialog seperti dibawah ini.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"300\" src=\"https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.37.jpg\" alt=\"\" class=\"wp-image-436\" srcset=\"https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.37.jpg 576w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.37-300x156.jpg 300w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.37-110x57.jpg 110w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.37-420x219.jpg 420w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.37-20x10.jpg 20w\" sizes=\"auto, (max-width: 576px) 100vw, 576px\" \/><figcaption>Dialog Update Project \/ Pull<\/figcaption><\/figure><\/div>\n\n\n\n<p>pada kali ini kita akan dibinggungkan dengan metode update project, pada kasus kali ini gw pake Branch Default dan Using Stash, karena dia tidak merge dan tidak menimbun\/menghapus code yang telah kita buat, lalu pilih tombol &#8220;OK&#8221;<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"397\" height=\"99\" src=\"https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.49.jpg\" alt=\"\" class=\"wp-image-437\" srcset=\"https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.49.jpg 397w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.49-300x75.jpg 300w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.49-110x27.jpg 110w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.49-20x5.jpg 20w\" sizes=\"auto, (max-width: 397px) 100vw, 397px\" \/><figcaption>Berhasil Update Project<\/figcaption><\/figure><\/div>\n\n\n\n<p>Jika sudah, akan mengambil data dari repositori, dan jika berhasil akan muncul notifikasi &#8220;Project file update&#8221;, untuk informasi lebih jelas lagi kita bisa pilih tombol teks &#8220;View&#8221;.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"648\" height=\"165\" src=\"https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.58.jpg\" alt=\"\" class=\"wp-image-438\" srcset=\"https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.58.jpg 648w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.58-300x76.jpg 300w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.58-110x28.jpg 110w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.58-420x107.jpg 420w, https:\/\/luckytruedev.com\/learning\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-11-at-23.45.58-20x5.jpg 20w\" sizes=\"auto, (max-width: 648px) 100vw, 648px\" \/><figcaption>Laporan Update<\/figcaption><\/figure><\/div>\n\n\n\n<p>dan muncul laporan updatenya, dan daftar file dari update tersebut.<\/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>&#8220;git pull origin&#8221;<\/p>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Akhir Kata<\/h2>\n\n\n\n<p>mungkin itu aja sih,dan kalian telah berhasil mempelajari cara Update Project \/ Pull, semoga bermanfaat, terimakasih \ud83d\ude42<\/p>\n<div id=\"lucky-2860501279\" 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 jelasin cara Pull\/Update di Android Studio\u00a0pada kali ini lumayan mudah sih, cuma pull\/update project udah gitu aja,\u00a0Pastikan kalian punya akun github, mendapat akses izin repository &amp; sudah konfigurasi git pada android studio, langsung saja gapake basa basi. pada kali ini gw mengcommit file yaitu Readme, dan nanti nya akan di [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":432,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,29],"tags":[],"class_list":["post-431","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\/431","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=431"}],"version-history":[{"count":1,"href":"https:\/\/luckytruedev.com\/learning\/wp-json\/wp\/v2\/posts\/431\/revisions"}],"predecessor-version":[{"id":2344,"href":"https:\/\/luckytruedev.com\/learning\/wp-json\/wp\/v2\/posts\/431\/revisions\/2344"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/luckytruedev.com\/learning\/wp-json\/wp\/v2\/media\/432"}],"wp:attachment":[{"href":"https:\/\/luckytruedev.com\/learning\/wp-json\/wp\/v2\/media?parent=431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/luckytruedev.com\/learning\/wp-json\/wp\/v2\/categories?post=431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/luckytruedev.com\/learning\/wp-json\/wp\/v2\/tags?post=431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}