Setting Up | Unity Source Control | BitBucket and Visual Studio

Channel:
Subscribers:
1,000
Published on ● Video Link: https://www.youtube.com/watch?v=9hwufQJyEFY



Duration: 9:05
122 views
0


When making changes to scripts in Unity it is always wise to use version control software to manage source code changes. It allows changes to be tracked, reviewed and approved, and if necessary, rolled back. In this video I show you how to use Git, Bitbucket and Visual Studio to manage the source code of a sample Unity project.

Key commands in the video are:

git init (to initialise the local git repos)
git add --all (to add files to the repos)
git commit -m "some text" (to commit the files and leave a message)
git remote add origin [url to remote repos] (point to a remote repos)
git pull origin master --allow-unrelated-histories (pull down from a repos)
git push -u origin master (push to a repos)
git checkout -b "name of branch" (checkout a branch with the name)
git push --set-upstream origin "name of branch" (if branch doesn't exist)




Other Videos By IndieRevo


2022-10-24Deploy Unreal Engine 5 Template Projects to the Nintendo Switch Development Kit
2022-10-23Unreal Engine 5 and Nintendo Switch | Template Projects Deployed to Development Unit
2022-02-23Nintendo Switch Dev | Testing Bow and Arrow | Unreal Engine
2022-02-03Unreal Engine 4 Test Project Deployed to Nintendo Switch Development Kit
2022-01-04Nintendo Switch Game Trailer | AirRevo | Unity
2021-10-14Coding a JavaScript Web App to use the DVLA Web API
2021-09-07Setup MS Azure Active Directory Authentication on React DotNet Core Web App
2021-03-31Nintendo Switch Game Trailer | Brick Bat Crazy | Unity
2020-12-04C# Coding from Scratch | Azure Hosted Web API & Client
2020-11-17Coding | .NET Core Raspberry Pi and Windows 10 Console App
2020-11-16Setting Up | Unity Source Control | BitBucket and Visual Studio
2020-11-16Setting Up | Git Repos | Visual Studio and Bitbucket
2020-11-08Coding from Scratch | Read and Write Windows 10 Registry | .NET Core, C#
2020-10-25C# Coding from Scratch | Web API Client Tutorial | .NET Core, C#
2020-10-24C# Coding from Scratch | .NET Core Web API Tutorial | C#, SQL Server, Visual Studio
2020-08-16Coding a Calculator in jQuery from Scratch and Uploading to Netlify
2020-08-04Coding React JavaScript | Props and State, Click and DoubleClick Event Listeners, HTML JSX
2020-07-26Coding HTML and jQuery | Event Listeners, Mouse Over and Mouse Out
2020-07-25Coding HTML and JavaScript | Event Listeners, Mouse Over and Mouse Out
2020-07-07Nintendo Switch Development | Unity and C# | Coding a PAUSED function
2020-06-23Coding a game PAUSED Function with Unity and C#



Tags:
bitbucket
unity
game development
unity development
git
visual studio
setting up
how to