Ready for an intermediate GMS course to grow your skills? Check out my new course: Source Control is an extremely useful tool for any project. I’m gonna go over what it is, how to get it, and why you should use inside of GameMaker Studio 2.

Check out my GameMaker Studio course on Udemy for only $9.99:

Get Git —
Create an account at bitbucket —

Check out our website @ www.beyondusgames.com
Connect with us on Twitter @BeyondUsGames
Support us on Patreon @ www.patreon.com/beyondusgames

Intro Music: Intro For A Nonexisting Video Game by Captive Portal

Nguồn: https://shaarique.com/

Xem thêm bài viết khác: https://shaarique.com/game/

36 Comments

Hans Snyder

July 4, 2020

"It's magic, not really" 9:30

Reply

Noah N Copeland

July 4, 2020

When working, Game Maker tends to slow down if I have too many uncommitted changes. Is there a way to turn off the tracking of changes until I'm ready to commit? (to prevent slowdown)

Reply

WangleLine

July 4, 2020

Super helpful. Thank you!

Reply

🐾Sampsonist🐾 🐘🐺

July 4, 2020

I can't find the Overview Tab (probably because this is outdated now), so where to find this SSH Thing now!!!!!?

Reply

Kevin Tan

July 4, 2020

github now has free private repository

Reply

Garrett Johnson

July 4, 2020

I've been doing web design and game dev for a while and never bothered to learn source control until now. Much easier than I thought, great video

Reply

Nathan Jester

July 4, 2020

Thanks, this was VERY helpful! I noticed that your Push and Pull options were grayed out, so are mine, i'd love to know how to get them to work.

Reply

Dan Braithwaite

July 4, 2020

There's no SSH for me 🙁

Reply

Karlstens

July 4, 2020

I can't thank you enough for this tutorial. Thank you so very very much!!!

Reply

Brad M

July 4, 2020

GitLab is also a good place for the repositories to sit and you can even setup a private gitlab server on your own computer if you want to go that far.

Reply

Tom - Henry Coursow

July 4, 2020

Is there anything what has to be put into the .gitignore file?

Reply

Colby

July 4, 2020

Just wanted to say that this really helped me out

Reply

Ezekiel Marcelino

July 4, 2020

Hello, do you have any tutorial on how to handle merging branches using this? Apparently, using source tree corrupt the game files

Reply

SinineMeri

July 4, 2020

Took 3 reinstalls of GIT, 4 hours and tons of rage but it worked. Your tutorial is pretty outdated – bitbucket looks quite different right now

Reply

Lance Mazon

July 4, 2020

Your method creates a locally hosted git repository that you are then manually pushing and pulling to bitbucket. This is what happens when you Create a repository through the GMS2 menu. If you choose the option to import the project into a respository, or if the project already exists in bitbucket, choose the Clone Repository option, you will be able push and pull directly from GMS2 instead of having to do it manually.

Reply

Paul Simpson

July 4, 2020

This unfortunately doesn't work anymore since bitbucket removed the overview section, and I can't see anywhere else that the lines you need for git are displayed. Shame, this would have been really useful. Bitbucket have also proved really unhelpful when it comes to finding things that have been moved or changed on their site. Maybe an updated tutorial to get round this? Would be very helpful.

Reply

Jonkkusa

July 4, 2020

When in GMS 2 in Preferences it doesn't show "Plugins" tab. Do I have to enable plugins from somewhere else? (I'm using the free version of GMS 2.)

Reply

Skyler Ochsenbein

July 4, 2020

Thanks for the video, brother, very well done. I, like many in the comments, have been using Dropbox beforehand, but wanted more experience using Git and looking forward to do collab work with my 8 year old nephew as I teach him programming. This will help a lot. I got it set up on my PC successfully, however, when trying to Clone repository through GMS2, it keeps crashing after entering the HTTPS and Local paths. Any idears? GMS2 did just have an update today, not sure if it's related.

Reply

Ashish Gamer

July 4, 2020

I am getting error help

$ git push -u origin master
Enter passphrase for key '/c/Users/ashis/.ssh/id_rsa':
To bitbucket.org:ashishkashyap17/first-platformer-college-project.git
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'git@bitbucket.org:ashishkashyap17/first-platformer-college-project.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull …') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push –help' for details.

Reply

J_C

July 4, 2020

I did this today and found that some small things have changed since you did this video. Especially with pushing the project the first time. Maybe you could update the video or write the changes in the notes if you have the time.

Reply

neoDarkSquall

July 4, 2020

Oh my God source control is always the same SHIT, it's fucking anoying, there is always something not working, I fucking hate that.

Reply

TheJrbdog

July 4, 2020

Is there any reason why you're using the ssh and not http repository url?

Reply

habarvaz

July 4, 2020

Great tutorial. Thank you

Reply

Morgan Blackpowder

July 4, 2020

I should add that AWS has free private repositories for Git that can have up to 5 users. Great security too

Reply

Дмитрий Побережный

July 4, 2020

Thank you for the tutorial! I've used Dropbox and Google Drive to sync between computers but this is much more convenient!

Reply

gmecha11

July 4, 2020

thanks man this really helped me out

Reply

Aaron Cooper

July 4, 2020

im having trouble adding a second computer to my project, I keep running into conflicts even with a new project. Any recommendations?

Reply

Daniel Murphy

July 4, 2020

This is extremely helpful and I appreciate it. But…do the push and pull options built into GMS2 just straight up not do anything? Why would they want you to commit changes inside GM and then use Git to push/pull…? Seems kind of non-user friendly.

Reply

nothing AD

July 4, 2020

Hey, first off you've made  a really good and understandable tutorial, thanks for that!! 
I have a question about source control between Win and Mac OS X, are there any complications?

Reply

Zebitty

July 4, 2020

At 6:20, you chance from HTTPS to SSH. I was following along on bitbucket and after creating my test project, make looked like yours with the exception of that dropdown box allowing the choice of HTTPS/SSH. Did I miss something? Can I set that option from somewhere else?

Reply

wayne lee

July 4, 2020

Great tutorial ! very helpful !

Reply

Jack

July 4, 2020

Wow so worth it to go through this effort. Thank you!

Reply

Olli P.

July 4, 2020

My .yyp always gets corrupted whenever both me and my teamate modify the file structure at the same time.

Reply

Onionike

July 4, 2020

This really helped me. I had trouble with github. Turns out I needed to generate an ssh key and such, but it works now. Thanks for the awesome video! 😀

Reply

Mozzy !

July 4, 2020

Thanks for this, i wanted to use Git to back up online, i didnt realise it was so complicated ..
i just use DropBox , its a Lot, LOT Simpler..!!

Reply

Let's Learn This Together

July 4, 2020

You can also use the source control drop down menu to push out your changes, git bash isn't required, except to change branches.

Reply

Leave a Reply