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

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...

Create MVC Pattern Using Echo Framework #GolangDev

pixabay.com Hi, Back again. today I am gonna share about Go Language, yes it is a new programming language that really fast growing this day, so many startup using it, especially in indonesia, there is a Gojek, Dana, Tiket and many more. Go Lang is a programming language found by google engineer, this language is a multi paradigm language, you could use it as functional programming or treat it like an OOP bases. Echo is an framework that use Golang as a main language, to use a fast and reliable backend/web apps, as you know Golang has a really fast performance than other language, one of the reason is because its compiled not interpreted, so the Echo claim that its 10x faster. insane right ? Actually I didn't test the performance yet, but yeah for newbie like me in golang its not the main thing that you must understand, so the thing that we should know is how we actually can do with Golang.  I am person with MVC bases, before jump to golang, I have experience with La...

Playing with Hooks in Gorm #GolangDev

Pixabay Hello everyone, I would like to share some tricks in gorm, the Idea of this tricks is to execute a command or code statement in the middle of an ORM operation, if you ever know about trigger in the query language, then hooks is just kinda like that. Hooks could execute statement in some events such as: beforeCreate, beforeUpdate, afterCreate,  and afterUpdate . those event is similar as a trigger,  when the trigger is executed in DBMS layer, hooks are executed in the application layer. In my real case, my current company has different convention of naming database column, so when I try to implement ORM, a lot of columns such as created_at, updated_at and deleted_at can't be generated automatically. also if you have a custom UUID you could pass the value UUID generator into hooks before the insert is executed. for more detail let's jump into code : # Explanation Above code containing model struct, and several methods from gorm to serve model, TableName method used to d...