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

Laravel Tips : Membuat Model, Migration dan Controller dengan Sekali Jalan

  php artisan adalah generator laravel yang berfungsi untuk membuat file kodingan dengan mudah, seperti membuat controller, model, seeder, migration dan masih banyak lagi. artisan hanya bisa di lakukan di dalam lingkungan console, seperti cmd dan terminal. berikut akan saya tunjukan cara membuat controller, model, migration menggunakan php artisan. # membuat controller ketikkan perintah di bawah ini php artisan make:controller BlogController # membuat model ketikkan perintah di bawah ini php artisan make:model Blog # membuat migration ketikkan perintah di bawah ini php artisan make:migration blog # membuat seeder ketikkan perintah di bawah ini php artisan make:seeder BlogSeeder # membuat migration, controller, dan model sekaligus ketikkan perintah di bawah ini php artisan make:model -crm Blog perintah di atas akan mengenerate controller dengan nama BlogController dengan keadaan Resource method tertulis, model

The Advantage of Using HTTP Default Authorization Scheme #DigitalSecurity

pixabay.com Hello Everyone, This day I would like to introduce you to the default header for authorization in HTTP. HTTP auth scheme is a guide or standardization scheme for the authorization header in the HTTP protocol. this standard is using key Authorization in the header and followed by a value that usually filled by key or token. for example : Authorization : <type> <key/token> this standard is the solution of the key header for authorization that really random was provided by developers to build an authorization header for their application, in my experience, developers used to "token" for their key in the header that usually followed by the hash value. the random key makes developers using more time for writing code for getting header key and validating the value which is you could use the library and focus on writing the logic of your application. Depend on Mozilla site , HTTP auth scheme divided by 4 types, such as : Basic  (see  RF

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