Jump to content

Trying to use GITHUB


adsii1970

Recommended Posts

Over the past year, I have been asked to design a few flags. Right now, I am wanting to create a single large flag pack that can be downloaded through CKAN. I understand the CKAN stuff well enough, but am having problems on GITHUB. Now remember that I am accustomed to old school FTP, so anyway, it will allow me to create the repository, but I cannot upload anything to it. If you could help out with a process to upload files, I'll be in business...

Github has me ready to pull out what little hair I have left. I keep getting various error messages... :confused:

Link to comment
Share on other sites

Github can be complicated, but why do you need it for CKAN? You can just upload it to Kerbal Stuff as a mod and CKAN will add it.

I could go into details on how to Github if you like, but the webpage itself doesn't have the greatest interface for uploading file to a repository. You have to use a git tool, of which there are many. Developers usually have an integrated option in their compiler, but you can also use Github for Windows, or the git command line tools. However, learning the command line tools is quite difficult, even I don't know them that well and I use Github a lot.

The basic idea is you have to create a local repository on your hard drive and push changes as a whole to the master repository on Github. Like I said, I can go into more detail but until I know that is what you really want I'm not going to type it all out.-

Edited by Alshain
Link to comment
Share on other sites

If you're new to git and github I'd recommend the GUI client (https://desktop.github.com). It's pretty easy to use:

1. Click the "+" button to create a repository

2. enter a name and click the button

3. right click the name of your new repository in the sidebar and choose "open in explorer" (...in Finder on Mac)

4. put your files in this location

5. now click on the "uncommitted changes" tab at the top of the window

6. you should see all the files you just put in the repository directory

7. enter a summary (like "hello") and click "commit"

8. click the "publish" button in the top right corner to publish your repository to github

9. whenever you want to add or update something, go back to step 3

Link to comment
Share on other sites

Github can be complicated, but why do you need it for CKAN? You can just upload it to Kerbal Stuff as a mod and CKAN will add it.

I could go into details on how to Github if you like, but the webpage itself doesn't have the greatest interface for uploading file to a repository. You have to use a git tool, of which there are many. Developers usually have an integrated option in their compiler, but you can also use Github for Windows, or the git command line tools. However, learning the command line tools is quite difficult, even I don't know them that well and I use Github a lot.

The basic idea is you have to create a local repository on your hard drive and push changes as a whole to the master repository on Github. Like I said, I can go into more detail but until I know that is what you really want I'm not going to type it all out.-

Well, that's a great question and is entitled to a great answer. Originally Kerbalstuff was my first choice. As I was going to upload the files, a huge warning came up about uploading FLAGS (something along the lines of those uploads/files would be deleted). So, with that said, Github is pretty much the only choice...

- - - Updated - - -

If you're new to git and github I'd recommend the GUI client (https://desktop.github.com). It's pretty easy to use:

1. Click the "+" button to create a repository

2. enter a name and click the button

3. right click the name of your new repository in the sidebar and choose "open in explorer" (...in Finder on Mac)

4. put your files in this location

5. now click on the "uncommitted changes" tab at the top of the window

6. you should see all the files you just put in the repository directory

7. enter a summary (like "hello") and click "commit"

8. click the "publish" button in the top right corner to publish your repository to github

9. whenever you want to add or update something, go back to step 3

Thanks, am going to try this later on tonight.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...