[Early Preview] Studio Script Sync

For the most part; you’re right – however, GitHub has a lot of features that help with project management and helps with saving time.

Branches

Imagine different folders with your entire codebase in all these folders, allowing developers to work on stuff, fix stuff, etc without conflicting edits from other developers. It’s very normal for developers to use branches whenever making a new feature/fixing quite a few bugs at once. Oh, and when you’re ready you can merge these branches into others using pull requests.

Pull Requests

Pull requests are basically just gaining feedback and additional reviews from other developers on your team before pushing a piece of code (or a branch) to live production/to another branch. If I were to make a pull request changing a file, I could request reviewers, assign labels, etc. You can also keep track of all the pull requests you’ve made which helps with version control.

Teams

You can have your own teams on github, with access to certain repositories and actions, much like the in-built creator hub groups! This allows you to sync multiple repositories to certain games,external systems, etc. inside your organization ← (which are just glorified Roblox groups for development lol)

Repositories

This is literally just where your main code will be stored; can have a variety of repositories for different reasons though.

Workflow Integrations

Can sync your code with Rojo and work in external editors (such as the aforementioned Visual Studio Code) properly. Also allows support for Git (which you can read more about here! There’s alot more to this which would take way too long to unpack, but will let you find that out yourself if interested! One of my favorite things about VSC which ties in with Github are code snippets (might already be familiar with this, just leaving it incase you aren’t!)

Say you want a template for requiring a specific module but can’t remember exactly what the path was. Introducing, code snippets.

Instead of doing,

require(game.ReplicatedStorage.Codebase.SomePath.SomeSubFolder.SomeScript)

You can just write SomeScript and it will autofill the rest for you. Can read more about that here incase you’re interested.

That’s just the tip of the icerberg – lot more than that, feel free to shoot me a DM if interested!

3 Likes