Super noob question about GitHub

Discussion in '3DS - Homebrew Development and Emulators' started by Quantumcat, Aug 29, 2016.

  1. Quantumcat
    OP

    Quantumcat Dead and alive

    Member
    9,908
    5,225
    Nov 23, 2014
    Australia
    Canberra, Australia
    Would anyone be willing to help me with GitHub? I don't know how to upload my project. On GitHub I can only see the "Readme.md" and no other files, and when I push master from Eclipse it says it's up to date. But nothing new appears on the GitHub page. I tried "upload files" but I can only upload actual files, not folders, so the folder structure is not preserved.

    Thanks if anyone can help!
     
  2. KitsumiTheFox

    KitsumiTheFox Member

    Newcomer
    18
    38
    Jan 9, 2016
    United States
  3. Quantumcat
    OP

    Quantumcat Dead and alive

    Member
    9,908
    5,225
    Nov 23, 2014
    Australia
    Canberra, Australia
  4. erman1337

    erman1337 GBAtemp Maniac

    Member
    1,211
    928
    Sep 27, 2015
    Belgium
    Brussels
    There's a github app for windows, and I recommend GitKraken for other platforms
     
  5. nop90

    nop90 GBAtemp Maniac

    Member
    1,364
    2,042
    Jan 11, 2014
    Italy
    Rome
    If you create a new file adding in the file name field a path containing a not existing folder, the folder will be created.

    But using the desktop application is easier.
     
    Last edited by nop90, Aug 29, 2016
  6. Quantumcat
    OP

    Quantumcat Dead and alive

    Member
    9,908
    5,225
    Nov 23, 2014
    Australia
    Canberra, Australia
    Yeah that's what I tried - I created the whole folder structure by making empty text files, uploaded all the files in the right folders, then made a new workspace and imported from git. But then I couldn't run the program (Java Application wouldn't appear when right-clicking Main.java and selecting Run As). Yet, if I created the project without github and then pushed it, it ran fine but the files don't appear in the repository on the webpage (only readme.md). I probably need to do some reading rather than just trying stuff and hoping it will work :-p
     
  7. DanTheMan827

    DanTheMan827 GBAtemp Advanced Fan

    Member
    630
    393
    May 3, 2015
    United States
    Wisconsin
    If you already have a directory on your computer without a GitHub repository attached you'll have to initialize the repository on the project folder.

    I believe the GitHub app will do this automatically for you

    With git you normally don't want to commit the compiled files, those are meant for the releases section on GitHub

    git certainly isn't as simple as a FTP server but it's immensely more powerful...

    I would definitely suggest you start with the GitHub app and once you get acquainted with git you can move on to something more advanced (the GitHub app is very limited in comparison)