Skip to main content

Menggunakan GIT di XCODE #IOSDEV

Hallo semuanya kali ini saya mau berbagi tutorial tentang cara untuk menggunakan git di xcode, git adalah salah satu tools untuk version control suatu software yang kita buat agar dapat di ketahui jejak track codingan kita dan juga kita bisa berkolaborasi dengan orang lain untuk membangun software bersama sama. nah di IDE xcode sudah diberikan fitur khusus untuk mengkoneksikan xcode project kita ke git repository, gmn caranya? ayok kita lakukan bersama sama.

#REQUIREMENT
  • github account
  • git terinstall di laptop
  • ssh public key local laptop kalian sudah terinstall di github account kalian
#LANGKAH-LANGKAHNYA


1. buat repository terlebih dahulu seperti ini


2. copy link repository online kalian menggunakan link ssh (optional: kalian bisa pakai http)


3. tambahkan remote repository pada xcode. klik source control navigation > pilih Remotes > klik kanan > Add Existing Remote > Paste link repository kalian tadi .


4. klik menu Source Control > Fetch and Refresh Status



5. Lakukan Commit. Klik menu Source Control > Commit . 


6. lakukan Pull. klik menu Source Control > Pull.


7. lakukan Push. klik menu Source Control > Push.


8. check jika file sudah terupload di repository.


Sekian, semoga bermanfaat ^_^

Popular posts from this blog

OpenVPN Alternatif Solusi Menanggulangi Blokir dari KOMINFO

Sejak akhir juli 2022 kemaren indonesia di gegerkan dengan tindakan kominfo atas diblokirnya banyak platform digital karna tidak mendaftar PSE, terutama paypal dan plaform game (steam, epic game dll). keputusan ini semakin membuat netizen geram dikarenakan platform judi online malah disetujui untuk beroperasi karna sudah daftar PSE. Jujur menurut saya memang keputusan ini sejak awal saya dengar sudah mengada-ada karna sangat aneh memblokir semua platform digital yang jumlahnya tidak terhitung banyaknya dan hanya membolehkan akses platform yang sudah mendaftar yang jumlahnya hanya ratusan.  saya sebagai developer juga merasa aneh banget ini kebijakan apalagi platform development juga banyak yang di blacklist oleh kominfo seperti, github, gitlab, bitbucket, even website CDN pun di blacklist. astaga wkwkwk. anyway terlepas dari kebijakan konyol ini, saya mau berbagi tips cara agar tetep bisa mengakses semua platform tersebut tanpa ada halangan, yaitu dengan menggunakan VPN. banyak ban...

Automatic API Documentation Swagger in Golang #GolangDev

pixabay.com In this article, I'll explain how to generate an API blueprint instantly using SwagGo in Golang. API blueprint is a document that contains a bunch of API endpoints, its slickly same as documentation but less description, it's allow another programmer to read and see all the available endpoint and try it out with sandbox feature. Swagger is one of the most used API blueprints right now, it's available in free but limited usage. if you wanna use the free credit, you need to understand YAML notation, you can read the example notation in swagger official documentation. but again, it's really hard and takes an expensive time to arranges all the notation to achieve a good API blueprint. fortunately, there are tools in Golang that allow us to generate the YAML notation and automatically generate the blueprint page with only using markup notation, and it's FREE unlimited for self-host, insane right? SwagGo tools are available here , the documentation is very cl...

Variadic Function vs Slice Param Function in Golang #GolangDev

pixabay.com Hello everyone, good to see you again. I am gonna share about a simple thing in fundamental Golang, this article inspired by a QnA in a website and I think I will tell the answer more flexible and wider in my personal tutorial, so this is about differentiation between Variadic Function and Slice Param in Function. # Variadic Function Variadic function is an unique code, this code is enable us to passing a infinite params in one function, we know that we need to put parameters in function we need to put the space in there, for example : function(param1 int, param2 string), golang absolutely doing that thing too, seems like the other languages, but Variadic function is a something new, you could put many value in function and sapparated by comma, you maybe thing about passing array in parameters but this is something different, you dont need to put parenteses when you call the function, it just like you put regular parameters but have an infinite numbers.  fo...