SlideShare a Scribd company logo
Working in Team using Git in Unity
 

Working in Team using Git in Unity
 It’s a way that we use to store projects’ source code 
files in a tree of versions. 
 no deal 
 
collected together
Working in Team using Git in Unity
Working in Team using Git in Unity
 locally 
 
no lose
A lot of Web-Based Code Servers provide Free and paid services ike: 
29 November 2014
Source1: https://git.wiki.kernel.org/index.php/GitProjects 
Source2: https://github.com/popular/starred 
29 November 2014
 same structure 
 
 Main task of any SCMS is to: 
 Track changes to files. 
 Repository / database of changes 
 Working directory / current state
We can sort operations that we can do with any SCMS into 4 
main categories: 
 
 
 

There are 2 types of SCM systems: 
 

Working in Team using Git in Unity
o Subversion CVS 
o 
o 
o Operations require server, there are some drawbacks: 
 Single point of failure 
 Bottleneck
Working in Team using Git in Unity
o Git Mercurial Bazaar 
o 
o 
o 
o Workflow : 
 Clone 
 Pull / fetch 
 push
“ Nothing is perfect. Git is just *closer* to perfect than any other SCM out there ”
 
 
 

 
 http://git-scm.com/downloads
Working in Team using Git in Unity
 
$ git –-version
 
$ git <options> command <options> 
 137 

Working in Team using Git in Unity
 
$ git <command> -h 
 
$ git <command> --help 
$ git help <command>
 
$ git init 
.git 
 .git
 
 Additions: 
$ git add file #This add a specific file 
$ git add . #This add all changed files 
 Removal: 
$ git rm file #This removes a specific file 
 Renames: 
$ git mv old new #This renames a specific file
 .gitignore 
 Automatically generated code (e.g. R.java for Android) 
 Settings folder of editors that is created automatically. 
 If you are using any dependences on other libraries like in PHP you can add them to composer.json 
and ignore them. 
 Or any other unwanted files. 

 
 
$ git commit –m ”this is the message” 
 
all 
$ git commit -a –m ”this is the message” 
 
yes
Working in Team using Git in Unity
 
$ git status 
 
 
 
 
$ git show
Tags 
Branches
 
 
$ git branch –l 
 
$ git branch –r 
 
$ git tag -l
 
$ git branch name 
 
$ git branch name commit 
 
$ git checkout name
Working in Team using Git in Unity
 
$ git checkout A 
$ git merge B 
$ git checkout A 
$ git merge B C
Working in Team using Git in Unity
Working in Team using Git in Unity
 
$ git clone <remote> 
•
Working in Team using Git in Unity
Working in Team using Git in Unity
Working in Team using Git in Unity
Working in Team using Git in Unity
Working in Team using Git in Unity

 

Working in Team using Git in Unity

 

 
 https://bitbucket.org
Working in Team using Git in Unity
 GitHub is a Git repository web-based hosting 
service, which offers all of the distributed revision 
control and source code management (SCM) 

Working in Team using Git in Unity
Working in Team using Git in Unity
Working in Team using Git in Unity
Working in Team using Git in Unity
 
 

 

# =============== # 
# Unity generated # 
# =============== # 
Temp/ 
Obj/ 
UnityGenerated/ 
/Library/ 
# ===================================== # 
# Visual Studio / MonoDevelop generated # 
# ===================================== # 
ExportedObj/ 
*.svd 
*.userprefs 
*.csproj 
*.pidb 
*.suo 
*.sln 
*.user 
*.unityproj 
*.booproj 
# ============ # 
# OS generated # 
# ============ # 
.DS_Store 
.DS_Store? 
._* 
.Spotlight-V100 
.Trashes 
Icon? 
ehthumbs.db 
Thumbs.db 
Download here : 
http://dmayance.com/git-and-unity-projects/
 
 
 
 
 
 
 
 
 
 
 

Working in Team using Git in Unity

 
 
 
 

 http://wiki.unity3d.com/index.php/Csharp_Coding_G 
uidelines 
 http://devmag.org.za/2012/07/12/50-tips-for-working- 
with-unity-best-practices/
 
 
 
 

 
 
 
 
 

 http://git-scm.com/ 
 http://www.sourcetreeapp.com/ 

 http://git-scm.com/book/en/v2 
 http://www.slideshare.net/Med7at/bitbucket-as-a-code- 
server-and-pmt?qid=c89797b4-d21f-4d2b-a2d5- 
b86935471e28&v=qf1&b=&from_search=1 
 http://www.sourcetreeapp.com/ 
 http://dmayance.com/git-and-unity-projects/

More Related Content

What's hot (20)

PDF
GIT | Distributed Version Control System
Mohammad Imam Hossain
 
PDF
Git for beginners
Arulmurugan Rajaraman
 
PDF
Composer 經典食譜
Shengyou Fan
 
PDF
Collaborative development with Git | Workshop
Anuchit Chalothorn
 
DOCX
Git github
Anurag Deb
 
PDF
Git advanced
Peter Vandenabeele
 
PDF
Git basics
Amit Sawhney
 
PDF
Git Version Control System
KMS Technology
 
PPTX
01 - Git vs SVN
Edward Goikhman
 
PPTX
Git basics
Denys Haryachyy
 
PPTX
Git Workshop
alexyork
 
ODP
Git vs svn
Suman Mukherjee
 
PDF
Git tutorial
mobaires
 
PDF
Git: basic to advanced
Yodalee
 
PDF
Kotlin for API (with Ktor)
Shengyou Fan
 
PDF
Kotlin for Web (with Ktor)
Shengyou Fan
 
PPTX
Intro to Git DevOps Tally Presentation 101615
Brian K. Vagnini
 
PDF
Puppet at GitHub
Puppet
 
PDF
Introduction to GIT
Piotr Benetkiewicz
 
GIT | Distributed Version Control System
Mohammad Imam Hossain
 
Git for beginners
Arulmurugan Rajaraman
 
Composer 經典食譜
Shengyou Fan
 
Collaborative development with Git | Workshop
Anuchit Chalothorn
 
Git github
Anurag Deb
 
Git advanced
Peter Vandenabeele
 
Git basics
Amit Sawhney
 
Git Version Control System
KMS Technology
 
01 - Git vs SVN
Edward Goikhman
 
Git basics
Denys Haryachyy
 
Git Workshop
alexyork
 
Git vs svn
Suman Mukherjee
 
Git tutorial
mobaires
 
Git: basic to advanced
Yodalee
 
Kotlin for API (with Ktor)
Shengyou Fan
 
Kotlin for Web (with Ktor)
Shengyou Fan
 
Intro to Git DevOps Tally Presentation 101615
Brian K. Vagnini
 
Puppet at GitHub
Puppet
 
Introduction to GIT
Piotr Benetkiewicz
 

Similar to Working in Team using Git in Unity (20)

PPT
Git presentation
James Cuzella
 
PPTX
Using Git and BitBucket
Medhat Dawoud
 
PPTX
Introduction to Git and Github
Max Claus Nunes
 
PDF
Subversion to Git Migration
Manish Chakravarty
 
PPTX
Bitbucket as a code server and pmt
malike4u
 
KEY
Git Tech Talk
Chris Johnson
 
PPT
Introduction to git
Nguyen Van Hung
 
PPTX
An introduction to Git
Muhil Vannan
 
PPT
Git training
adm_exoplatform
 
PPT
Git and GitHUB Explanation and simple coding for CLI
kumaresan7751
 
PPT
git2nvlkndvslnvdslnlknvdlnlvdsnlknsdvlkn.ppt
loleto7559
 
PPT
Git and fundamentals
Naincy Gupta
 
PPT
Introduction to Git
atishgoswami
 
PDF
SouthEast LinuxFest 2015 - intro to git
edgester
 
PPTX
Git basic stanley hsiao 2010_12_15
Chen-Han Hsiao
 
PPTX
Version controll.pptx
Md. Main Uddin Rony
 
PDF
SVN 2 Git
Marco De Stefano
 
PPT
git2.ppt
MohammadSamiuddin10
 
PPT
Git
Vijay Kani
 
Git presentation
James Cuzella
 
Using Git and BitBucket
Medhat Dawoud
 
Introduction to Git and Github
Max Claus Nunes
 
Subversion to Git Migration
Manish Chakravarty
 
Bitbucket as a code server and pmt
malike4u
 
Git Tech Talk
Chris Johnson
 
Introduction to git
Nguyen Van Hung
 
An introduction to Git
Muhil Vannan
 
Git training
adm_exoplatform
 
Git and GitHUB Explanation and simple coding for CLI
kumaresan7751
 
git2nvlkndvslnvdslnlknvdlnlvdsnlknsdvlkn.ppt
loleto7559
 
Git and fundamentals
Naincy Gupta
 
Introduction to Git
atishgoswami
 
SouthEast LinuxFest 2015 - intro to git
edgester
 
Git basic stanley hsiao 2010_12_15
Chen-Han Hsiao
 
Version controll.pptx
Md. Main Uddin Rony
 
SVN 2 Git
Marco De Stefano
 
Ad

Recently uploaded (20)

PDF
Why aren't you using FME Flow's CPU Time?
Safe Software
 
PDF
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
PDF
Database Benchmarking for Performance Masterclass: Session 1 - Benchmarking F...
ScyllaDB
 
PDF
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
ScyllaDB
 
PPTX
Simplifica la seguridad en la nube y la detección de amenazas con FortiCNAPP
Cristian Garcia G.
 
PDF
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
PDF
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
 
PDF
5 Things to Consider When Deploying AI in Your Enterprise
Safe Software
 
PDF
FME as an Orchestration Tool with Principles From Data Gravity
Safe Software
 
PPSX
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
 
PDF
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
 
PDF
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
PDF
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
PPTX
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
PDF
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
PDF
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
 
PDF
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
Edge AI and Vision Alliance
 
PPTX
UserCon Belgium: Honey, VMware increased my bill
stijn40
 
PDF
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
PDF
Plugging AI into everything: Model Context Protocol Simplified.pdf
Abati Adewale
 
Why aren't you using FME Flow's CPU Time?
Safe Software
 
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
Database Benchmarking for Performance Masterclass: Session 1 - Benchmarking F...
ScyllaDB
 
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
ScyllaDB
 
Simplifica la seguridad en la nube y la detección de amenazas con FortiCNAPP
Cristian Garcia G.
 
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
 
5 Things to Consider When Deploying AI in Your Enterprise
Safe Software
 
FME as an Orchestration Tool with Principles From Data Gravity
Safe Software
 
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
 
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
 
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
 
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
Edge AI and Vision Alliance
 
UserCon Belgium: Honey, VMware increased my bill
stijn40
 
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
Plugging AI into everything: Model Context Protocol Simplified.pdf
Abati Adewale
 
Ad

Working in Team using Git in Unity