Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

GitHub more like GitGut

A topic by PunkElephant01 created May 31, 2022 Views: 225 Replies: 5
Viewing posts 1 to 6
Submitted

confess.  Aren't we the only ones who have been given the most work on the whole project to learn how to use Github? :-D
We almost lost everything several times when we connected the branches over each other.

Anyway, we will be very pleased if you look at our game. This is our first work together and we are very happy that we managed to finish the game on time! :-)

https://punkelephant01.itch.io/dont-screw-it-too-much

Punk Elephant

Submitted

Agreed, I already knew the basics of how to use GitHub but learning how it all works was quite hard at first, and I still feel like I need to learn much more about git. I find that the learning curve is quite steep and it is fairly hard to find a place that explains it completely from scratch, usually the pages I found tended to take for granted I knew certain things I was actually not familiar with. Once you become more acquainted with it it gets super simple to use, but it is quite hard to get on board at first!

Submitted

Yep. I destroyed my game on the last day.  It got better!  But yeah.  I really, really thought I'd done my chances.  So now I've bumped up the git hub course on my to do list.  It won't be the next course that I do, but it will be done before the next game jam.

Submitted

A few tips for any git user.

  • Make your master/main branch protected. This will disable any pushes to it and only allows merges.
  • During development merge features into a staging/development branch to test functionality.
  • When creating a new feature branch of the main/master branch. 
  • Never develop on the staging/development branch, only fix merge conflicts 

This should prevent a lot of issues

Submitted

The way I did it was like this:

1) create the repository

2) clone the repository on a new folder on your computer using
(git clone https://github.com/YOUR_USER/YOUR_REPOSITORY)

3) ctrl+c, ctrl+v your source into the folder you just cloned the repository into

4) using git bash (on windows) or any other git software you want (including git itself) do the equivalent of:
git add .
git commit -m "my submission to GameDev.tv GameJam 2022"
git push

Submitted

I tried following the tutorial twice and couldn't get it to upload the actual files. haha I finally just zipped it and put it up on here for ease.