SlideShare ist ein Scribd-Unternehmen logo
1 von 13
Downloaden Sie, um offline zu lesen
Version Control System
Using Git
With Little Explanations About How To Setup It In Unity
Dennis Adriansyah Ganda
Amagine Interactive
Version Control?
It’s pretty much like this :
You play a game, you’ve get a lot of progress in your game, then
you’re going to beat a very difficult boss. You save your game in
case you’re beaten and want to replay the game
with better strategy.
http://www-cs-students.stanford.edu/~blynn/gitmagic/ch01.html
But Unlike game saving system, with version control you can
go back to every point of your progress
S1 S2 S3 S4 S5
Types of Version Control
Git
Mercurial
SVN
Perforce
Now Let’s Talk Git
Decentralized
Easy to use and setup
Lots support
Choose Your Weapon
Terminal /Command Line Graphical User Interaface (GUI)
I Personally like this one better,
and here I will explain this one
Preparation
Windows users need to
download Git-Scm First
Linux / Mac user can use
terminal directly
https://git-scm.com/download/win
Basic Git Functions
Initialization
Staging
Commiting
Branching
Merging
Conflict Resolving
Single Player Mode Multiplayer Mode
Clone
Fetch
Push
Pull
DEMO
.gitignore
a.k.a don’t add these things into my repository
DEMO
Computer Generated files
Binary Files
Build folders
Project files
library files (dll, jar, etc)
Usually used for
Git for Unity
1. Create Unity project
2. Open Edit → Project Settings → Editor → Version Control Mode

change setting to “Visible Meta Files”
3. Open Edit → Project Settings → Editor → Asset Serialization Mode

change setting to “Force Text”
4. Create .gitignore files and save it in your root Unity project folder (Unity
generates lots of unnecessary files so .gitignore is important) , check next page
for .gitignore samples
5. Create some scenes and scripts, then save all of it
6. Make your first commit
7. Well done now you can work with Git for your Unity projects!
My own .gitignore for Unity
Download Here : https://gist.github.com/fugogugo/fbe1aabd3f06aec0e9c4
Tips and tricks
Using version control is all about habit. Git, SVN or any other version control
system are just tools ,It will be useless if never use it
Commit as often as you can
Always have that one stable branch
Do experiments in separate branch, merge when finished
Conflicts will always happen in some point of your projects, don’t panic, cool
your head and resolve it one by one
When everything seems so wrong, “git reset - -hard HEAD”
Separate branch that contain main gameplay and another branch that has
plugins added into it (in app purchases, ads, analytic etc)
That’s All!
QUESTIONS?
Futher question you can contact me here :
dennisganda@amagineinteractive.com

Weitere ähnliche Inhalte

Was ist angesagt?

3 05-2018-install slackwarelinux
3 05-2018-install slackwarelinux3 05-2018-install slackwarelinux
3 05-2018-install slackwarelinuxAlexander Bitar
 
Linux conf-admin
Linux conf-adminLinux conf-admin
Linux conf-adminbadamisri
 
Ubuntu and Linux Terminal Server Project
Ubuntu and Linux Terminal Server ProjectUbuntu and Linux Terminal Server Project
Ubuntu and Linux Terminal Server ProjectSameer Verma
 
Krenel Based Virtual Machine In Centos7
Krenel Based Virtual Machine In Centos7Krenel Based Virtual Machine In Centos7
Krenel Based Virtual Machine In Centos7a_ratra
 
The Shell Game Part 4: Bash Shortcuts
The Shell Game Part 4: Bash ShortcutsThe Shell Game Part 4: Bash Shortcuts
The Shell Game Part 4: Bash ShortcutsKevin OBrien
 
Help, my computer is sluggish
Help, my computer is sluggishHelp, my computer is sluggish
Help, my computer is sluggishKevin OBrien
 
Hdlogger project 2014.Aug
Hdlogger project 2014.AugHdlogger project 2014.Aug
Hdlogger project 2014.Aug捷恩 蔡
 
Power plus 1.0 beta
Power plus 1.0 betaPower plus 1.0 beta
Power plus 1.0 betaGlados Beta
 
Gnubs-pres-foss-cdac-sem
Gnubs-pres-foss-cdac-semGnubs-pres-foss-cdac-sem
Gnubs-pres-foss-cdac-semSagun Baijal
 
Building Multiplayer Games (w/ Unity)
Building Multiplayer Games (w/ Unity)Building Multiplayer Games (w/ Unity)
Building Multiplayer Games (w/ Unity)Noam Gat
 
Readme e
Readme eReadme e
Readme eanonidj
 
Linux And Windows Coexistance
Linux And Windows CoexistanceLinux And Windows Coexistance
Linux And Windows Coexistancejoelavery
 

Was ist angesagt? (17)

3 05-2018-install slackwarelinux
3 05-2018-install slackwarelinux3 05-2018-install slackwarelinux
3 05-2018-install slackwarelinux
 
Ps3 linux
Ps3 linuxPs3 linux
Ps3 linux
 
Linux conf-admin
Linux conf-adminLinux conf-admin
Linux conf-admin
 
Ubuntu and Linux Terminal Server Project
Ubuntu and Linux Terminal Server ProjectUbuntu and Linux Terminal Server Project
Ubuntu and Linux Terminal Server Project
 
Krenel Based Virtual Machine In Centos7
Krenel Based Virtual Machine In Centos7Krenel Based Virtual Machine In Centos7
Krenel Based Virtual Machine In Centos7
 
The Shell Game Part 4: Bash Shortcuts
The Shell Game Part 4: Bash ShortcutsThe Shell Game Part 4: Bash Shortcuts
The Shell Game Part 4: Bash Shortcuts
 
Help, my computer is sluggish
Help, my computer is sluggishHelp, my computer is sluggish
Help, my computer is sluggish
 
Hdlogger project 2014.Aug
Hdlogger project 2014.AugHdlogger project 2014.Aug
Hdlogger project 2014.Aug
 
Power plus 1.0 beta
Power plus 1.0 betaPower plus 1.0 beta
Power plus 1.0 beta
 
Gnubs-pres-foss-cdac-sem
Gnubs-pres-foss-cdac-semGnubs-pres-foss-cdac-sem
Gnubs-pres-foss-cdac-sem
 
Building Multiplayer Games (w/ Unity)
Building Multiplayer Games (w/ Unity)Building Multiplayer Games (w/ Unity)
Building Multiplayer Games (w/ Unity)
 
Readme
ReadmeReadme
Readme
 
Readme e
Readme eReadme e
Readme e
 
Sw update elce2017
Sw update elce2017Sw update elce2017
Sw update elce2017
 
Linux And Windows Coexistance
Linux And Windows CoexistanceLinux And Windows Coexistance
Linux And Windows Coexistance
 
Hardware
HardwareHardware
Hardware
 
sweden
swedensweden
sweden
 

Andere mochten auch

Introduction into Procedural Content Generation by Yogie Aditya
Introduction into Procedural Content Generation by Yogie AdityaIntroduction into Procedural Content Generation by Yogie Aditya
Introduction into Procedural Content Generation by Yogie AdityagamelanYK
 
Bengkel 5 presentation
Bengkel 5 presentationBengkel 5 presentation
Bengkel 5 presentationgamelanYK
 
Bengkel Gamelan - Unity APK & Asset Size Optimization
Bengkel Gamelan - Unity APK & Asset Size OptimizationBengkel Gamelan - Unity APK & Asset Size Optimization
Bengkel Gamelan - Unity APK & Asset Size OptimizationgamelanYK
 
Basic Optimization and Unity Tips & Tricks by Yogie Aditya
Basic Optimization and Unity Tips & Tricks by Yogie AdityaBasic Optimization and Unity Tips & Tricks by Yogie Aditya
Basic Optimization and Unity Tips & Tricks by Yogie AdityagamelanYK
 
Bengkel Gamelan - Game Balancing
Bengkel Gamelan - Game BalancingBengkel Gamelan - Game Balancing
Bengkel Gamelan - Game BalancinggamelanYK
 
Usability testing
Usability testingUsability testing
Usability testinggamelanYK
 
JGJ48: Baidu Android Store - Edo Surya
JGJ48: Baidu Android Store - Edo SuryaJGJ48: Baidu Android Store - Edo Surya
JGJ48: Baidu Android Store - Edo SuryagamelanYK
 
¿ Qué es el Marketing de Contenidos ?
¿ Qué es el Marketing de Contenidos ? ¿ Qué es el Marketing de Contenidos ?
¿ Qué es el Marketing de Contenidos ? Mónica Vera
 
Brocher Foundation program 2015
Brocher Foundation program 2015Brocher Foundation program 2015
Brocher Foundation program 2015Fondation Brocher
 
Cómo Triunfar con tu Negocio en las Redes Sociales
Cómo Triunfar con tu Negocio en las Redes Sociales Cómo Triunfar con tu Negocio en las Redes Sociales
Cómo Triunfar con tu Negocio en las Redes Sociales Mónica Vera
 
Ch ng 4_-_b_i_gi_ng_anten-truy_n_s_ng
Ch ng 4_-_b_i_gi_ng_anten-truy_n_s_ngCh ng 4_-_b_i_gi_ng_anten-truy_n_s_ng
Ch ng 4_-_b_i_gi_ng_anten-truy_n_s_ngDuy Quang Nguyen Ly
 
Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_1_
Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_1_Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_1_
Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_1_Duy Quang Nguyen Ly
 
Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_2_
Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_2_Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_2_
Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_2_Duy Quang Nguyen Ly
 
259973943 xbee-node-temperature-sensor
259973943 xbee-node-temperature-sensor259973943 xbee-node-temperature-sensor
259973943 xbee-node-temperature-sensorDuy Quang Nguyen Ly
 
Online Security - The Good, the Bad, and the Crooks
Online Security - The Good, the Bad, and the CrooksOnline Security - The Good, the Bad, and the Crooks
Online Security - The Good, the Bad, and the CrooksSteven Davis
 

Andere mochten auch (20)

Introduction into Procedural Content Generation by Yogie Aditya
Introduction into Procedural Content Generation by Yogie AdityaIntroduction into Procedural Content Generation by Yogie Aditya
Introduction into Procedural Content Generation by Yogie Aditya
 
Bengkel 5 presentation
Bengkel 5 presentationBengkel 5 presentation
Bengkel 5 presentation
 
Bengkel Gamelan - Unity APK & Asset Size Optimization
Bengkel Gamelan - Unity APK & Asset Size OptimizationBengkel Gamelan - Unity APK & Asset Size Optimization
Bengkel Gamelan - Unity APK & Asset Size Optimization
 
Basic Optimization and Unity Tips & Tricks by Yogie Aditya
Basic Optimization and Unity Tips & Tricks by Yogie AdityaBasic Optimization and Unity Tips & Tricks by Yogie Aditya
Basic Optimization and Unity Tips & Tricks by Yogie Aditya
 
Bengkel Gamelan - Game Balancing
Bengkel Gamelan - Game BalancingBengkel Gamelan - Game Balancing
Bengkel Gamelan - Game Balancing
 
Usability testing
Usability testingUsability testing
Usability testing
 
JGJ48: Baidu Android Store - Edo Surya
JGJ48: Baidu Android Store - Edo SuryaJGJ48: Baidu Android Store - Edo Surya
JGJ48: Baidu Android Store - Edo Surya
 
Health Cannot Be Measured
Health Cannot Be MeasuredHealth Cannot Be Measured
Health Cannot Be Measured
 
¿ Qué es el Marketing de Contenidos ?
¿ Qué es el Marketing de Contenidos ? ¿ Qué es el Marketing de Contenidos ?
¿ Qué es el Marketing de Contenidos ?
 
Gbd measure
Gbd measureGbd measure
Gbd measure
 
Brocher Foundation program 2015
Brocher Foundation program 2015Brocher Foundation program 2015
Brocher Foundation program 2015
 
Gayprojectfile
GayprojectfileGayprojectfile
Gayprojectfile
 
New Deck
New DeckNew Deck
New Deck
 
Cómo Triunfar con tu Negocio en las Redes Sociales
Cómo Triunfar con tu Negocio en las Redes Sociales Cómo Triunfar con tu Negocio en las Redes Sociales
Cómo Triunfar con tu Negocio en las Redes Sociales
 
Ch ng 4_-_b_i_gi_ng_anten-truy_n_s_ng
Ch ng 4_-_b_i_gi_ng_anten-truy_n_s_ngCh ng 4_-_b_i_gi_ng_anten-truy_n_s_ng
Ch ng 4_-_b_i_gi_ng_anten-truy_n_s_ng
 
Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_1_
Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_1_Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_1_
Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_1_
 
Baigiangdugio 20-11-08
Baigiangdugio 20-11-08Baigiangdugio 20-11-08
Baigiangdugio 20-11-08
 
Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_2_
Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_2_Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_2_
Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_2_
 
259973943 xbee-node-temperature-sensor
259973943 xbee-node-temperature-sensor259973943 xbee-node-temperature-sensor
259973943 xbee-node-temperature-sensor
 
Online Security - The Good, the Bad, and the Crooks
Online Security - The Good, the Bad, and the CrooksOnline Security - The Good, the Bad, and the Crooks
Online Security - The Good, the Bad, and the Crooks
 

Ähnlich wie Basic Version Control Using Git - Bengkel Gamelan

BLUG 2012 Version Control for Notes Developers
BLUG 2012 Version Control for Notes DevelopersBLUG 2012 Version Control for Notes Developers
BLUG 2012 Version Control for Notes DevelopersMartin Jinoch
 
[Gstar 2013] Unity Security
[Gstar 2013] Unity Security[Gstar 2013] Unity Security
[Gstar 2013] Unity SecuritySeungmin Shin
 
Git for work groups ironhack talk
Git for work groups ironhack talkGit for work groups ironhack talk
Git for work groups ironhack talkTiago Ameller
 
Using Git with WordPress - Presented by Nigel Rodgers.
Using Git with WordPress - Presented by Nigel Rodgers.Using Git with WordPress - Presented by Nigel Rodgers.
Using Git with WordPress - Presented by Nigel Rodgers.WordCamp Harare
 
Mageia1 GNOME installation
Mageia1 GNOME installationMageia1 GNOME installation
Mageia1 GNOME installationSt Louis MUG
 
Git usage (Basics and workflow)
Git usage (Basics and workflow)Git usage (Basics and workflow)
Git usage (Basics and workflow)Yeasin Abedin
 
Git 101: Force-sensitive to Jedi padawan
Git 101: Force-sensitive to Jedi padawanGit 101: Force-sensitive to Jedi padawan
Git 101: Force-sensitive to Jedi padawanJames Ford
 
Writing Tests with the Unity Test Framework
Writing Tests with the Unity Test FrameworkWriting Tests with the Unity Test Framework
Writing Tests with the Unity Test FrameworkPeter Kofler
 
My "Perfect" Toolchain Setup for Grails Projects
My "Perfect" Toolchain Setup for Grails ProjectsMy "Perfect" Toolchain Setup for Grails Projects
My "Perfect" Toolchain Setup for Grails ProjectsGR8Conf
 

Ähnlich wie Basic Version Control Using Git - Bengkel Gamelan (20)

BLUG 2012 Version Control for Notes Developers
BLUG 2012 Version Control for Notes DevelopersBLUG 2012 Version Control for Notes Developers
BLUG 2012 Version Control for Notes Developers
 
[Gstar 2013] Unity Security
[Gstar 2013] Unity Security[Gstar 2013] Unity Security
[Gstar 2013] Unity Security
 
Git Basics
Git BasicsGit Basics
Git Basics
 
Git for work groups ironhack talk
Git for work groups ironhack talkGit for work groups ironhack talk
Git for work groups ironhack talk
 
X page developer
X page developerX page developer
X page developer
 
Using Git with WordPress - Presented by Nigel Rodgers.
Using Git with WordPress - Presented by Nigel Rodgers.Using Git with WordPress - Presented by Nigel Rodgers.
Using Git with WordPress - Presented by Nigel Rodgers.
 
Mageia1 GNOME installation
Mageia1 GNOME installationMageia1 GNOME installation
Mageia1 GNOME installation
 
Git and git hub basics
Git and git hub basicsGit and git hub basics
Git and git hub basics
 
Web-development-git
Web-development-gitWeb-development-git
Web-development-git
 
Getting started windows store unity
Getting started windows store unityGetting started windows store unity
Getting started windows store unity
 
Git usage (Basics and workflow)
Git usage (Basics and workflow)Git usage (Basics and workflow)
Git usage (Basics and workflow)
 
Win7guide
Win7guideWin7guide
Win7guide
 
Git 101: Force-sensitive to Jedi padawan
Git 101: Force-sensitive to Jedi padawanGit 101: Force-sensitive to Jedi padawan
Git 101: Force-sensitive to Jedi padawan
 
Git sourcecontrolpreso
Git sourcecontrolpresoGit sourcecontrolpreso
Git sourcecontrolpreso
 
Writing Tests with the Unity Test Framework
Writing Tests with the Unity Test FrameworkWriting Tests with the Unity Test Framework
Writing Tests with the Unity Test Framework
 
Flowframes
FlowframesFlowframes
Flowframes
 
Git & Code review
Git & Code reviewGit & Code review
Git & Code review
 
Git best practices workshop
Git best practices workshopGit best practices workshop
Git best practices workshop
 
My "Perfect" Toolchain Setup for Grails Projects
My "Perfect" Toolchain Setup for Grails ProjectsMy "Perfect" Toolchain Setup for Grails Projects
My "Perfect" Toolchain Setup for Grails Projects
 
BGA Studio Guidelines
BGA Studio GuidelinesBGA Studio Guidelines
BGA Studio Guidelines
 

Mehr von gamelanYK

Bengkel Gamelan 3D game asset workflow
Bengkel Gamelan 3D game asset workflowBengkel Gamelan 3D game asset workflow
Bengkel Gamelan 3D game asset workflowgamelanYK
 
Bengkel Gamelan : Pixel Art Best Practices by Wisageni Studio
Bengkel Gamelan : Pixel Art Best Practices by Wisageni StudioBengkel Gamelan : Pixel Art Best Practices by Wisageni Studio
Bengkel Gamelan : Pixel Art Best Practices by Wisageni StudiogamelanYK
 
JGJ48 : Intel Realsense - Firstman Marpaung
JGJ48 : Intel Realsense - Firstman MarpaungJGJ48 : Intel Realsense - Firstman Marpaung
JGJ48 : Intel Realsense - Firstman MarpaunggamelanYK
 
Bengkel 6 pengetahuan dasar audio pada game (1)
Bengkel 6 pengetahuan dasar audio pada game (1)Bengkel 6 pengetahuan dasar audio pada game (1)
Bengkel 6 pengetahuan dasar audio pada game (1)gamelanYK
 
Bengkel 4 bring your unity game to windows phone 8
Bengkel 4 bring your unity game to windows phone 8Bengkel 4 bring your unity game to windows phone 8
Bengkel 4 bring your unity game to windows phone 8gamelanYK
 
Bengkel Gamelan 3: HTML 5
Bengkel Gamelan 3: HTML 5Bengkel Gamelan 3: HTML 5
Bengkel Gamelan 3: HTML 5gamelanYK
 
Bengkel 8 presentasi press release 101
Bengkel 8 presentasi press release 101Bengkel 8 presentasi press release 101
Bengkel 8 presentasi press release 101gamelanYK
 

Mehr von gamelanYK (7)

Bengkel Gamelan 3D game asset workflow
Bengkel Gamelan 3D game asset workflowBengkel Gamelan 3D game asset workflow
Bengkel Gamelan 3D game asset workflow
 
Bengkel Gamelan : Pixel Art Best Practices by Wisageni Studio
Bengkel Gamelan : Pixel Art Best Practices by Wisageni StudioBengkel Gamelan : Pixel Art Best Practices by Wisageni Studio
Bengkel Gamelan : Pixel Art Best Practices by Wisageni Studio
 
JGJ48 : Intel Realsense - Firstman Marpaung
JGJ48 : Intel Realsense - Firstman MarpaungJGJ48 : Intel Realsense - Firstman Marpaung
JGJ48 : Intel Realsense - Firstman Marpaung
 
Bengkel 6 pengetahuan dasar audio pada game (1)
Bengkel 6 pengetahuan dasar audio pada game (1)Bengkel 6 pengetahuan dasar audio pada game (1)
Bengkel 6 pengetahuan dasar audio pada game (1)
 
Bengkel 4 bring your unity game to windows phone 8
Bengkel 4 bring your unity game to windows phone 8Bengkel 4 bring your unity game to windows phone 8
Bengkel 4 bring your unity game to windows phone 8
 
Bengkel Gamelan 3: HTML 5
Bengkel Gamelan 3: HTML 5Bengkel Gamelan 3: HTML 5
Bengkel Gamelan 3: HTML 5
 
Bengkel 8 presentasi press release 101
Bengkel 8 presentasi press release 101Bengkel 8 presentasi press release 101
Bengkel 8 presentasi press release 101
 

Kürzlich hochgeladen

Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfFerryKemperman
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....kzayra69
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...OnePlan Solutions
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprisepreethippts
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Mater
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfLivetecs LLC
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 
Best Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfBest Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfIdiosysTechnologies1
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commercemanigoyal112
 

Kürzlich hochgeladen (20)

Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdf
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Advantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your BusinessAdvantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your Business
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprise
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdf
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 
Best Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfBest Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdf
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commerce
 

Basic Version Control Using Git - Bengkel Gamelan

  • 1. Version Control System Using Git With Little Explanations About How To Setup It In Unity Dennis Adriansyah Ganda Amagine Interactive
  • 2. Version Control? It’s pretty much like this : You play a game, you’ve get a lot of progress in your game, then you’re going to beat a very difficult boss. You save your game in case you’re beaten and want to replay the game with better strategy. http://www-cs-students.stanford.edu/~blynn/gitmagic/ch01.html
  • 3. But Unlike game saving system, with version control you can go back to every point of your progress S1 S2 S3 S4 S5
  • 4. Types of Version Control Git Mercurial SVN Perforce
  • 5. Now Let’s Talk Git Decentralized Easy to use and setup Lots support
  • 6. Choose Your Weapon Terminal /Command Line Graphical User Interaface (GUI) I Personally like this one better, and here I will explain this one
  • 7. Preparation Windows users need to download Git-Scm First Linux / Mac user can use terminal directly https://git-scm.com/download/win
  • 8. Basic Git Functions Initialization Staging Commiting Branching Merging Conflict Resolving Single Player Mode Multiplayer Mode Clone Fetch Push Pull DEMO
  • 9. .gitignore a.k.a don’t add these things into my repository DEMO Computer Generated files Binary Files Build folders Project files library files (dll, jar, etc) Usually used for
  • 10. Git for Unity 1. Create Unity project 2. Open Edit → Project Settings → Editor → Version Control Mode
 change setting to “Visible Meta Files” 3. Open Edit → Project Settings → Editor → Asset Serialization Mode
 change setting to “Force Text” 4. Create .gitignore files and save it in your root Unity project folder (Unity generates lots of unnecessary files so .gitignore is important) , check next page for .gitignore samples 5. Create some scenes and scripts, then save all of it 6. Make your first commit 7. Well done now you can work with Git for your Unity projects!
  • 11. My own .gitignore for Unity Download Here : https://gist.github.com/fugogugo/fbe1aabd3f06aec0e9c4
  • 12. Tips and tricks Using version control is all about habit. Git, SVN or any other version control system are just tools ,It will be useless if never use it Commit as often as you can Always have that one stable branch Do experiments in separate branch, merge when finished Conflicts will always happen in some point of your projects, don’t panic, cool your head and resolve it one by one When everything seems so wrong, “git reset - -hard HEAD” Separate branch that contain main gameplay and another branch that has plugins added into it (in app purchases, ads, analytic etc)
  • 13. That’s All! QUESTIONS? Futher question you can contact me here : dennisganda@amagineinteractive.com