Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting the Game Code and Data
#1
Hello! This post tells you all about getting the game code and data yourself using GitHub in a step-by-step fashion.

1. Download GitHub Desktop

The GitHub Desktop installer can be downloaded from here.

2. Install GitHub Desktop

After downloading the GitHub Desktop installer, run it.  This will install the GitHub Desktop application onto your computer.

3. Run GitHub Desktop

After GitHub Desktop is installed, run it.  You will be asked to create a GitHub account or sign in.  Do that.

4. Clone the Starflight Remake Repo

After signing into GitHub Desktop, you will need to clone the Starflight Remake Repo.  To do this, go to File > Clone Repository... and click on the URL tab.  The URL for the Starflight remake repo is: https://github.com/mherbold/starflight.git

I normally tell GitHub Desktop to put the files into C:\Users\[Account]\Documents\GitHub\starflight

5. Fetch Origin

After cloning the repository, GitHub Desktop will download all of the files to your computer.  If there are updates to the game code and data that you want to get, you would click on the "Fetch origin" button.  This will get the latest code and data that I have placed into GitHub.

Note: GitHub Desktop will never overwrite any of the files that you may have modified.  If you want to throw away your own changes, in order to get mine, you will need to right click on the text that says "[xxx] changed files" and then select "Discard all changes..." from the menu that pops up.

Any Questions?
Reply
#2
Personally, I quite dislike GitHub's desktop app, it's fairly featureless compared to other Git clients.

Note: If you wish to contribute back, you'll need to fork it first.

Here are two alternatives:

1. GitKraken

Download the client here: https://www.gitkraken.com/

You will have to sign into the client, there is a button to sign in with GitHub, click it.

Once signed in, click the file button at the top-left, and click Clone, then paste the URL on the right and click Clone.

2. Git command line

Open a command line and go into an empty folder

Use "git clone https://github.com/mherbold/starflight.git"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)