Homebrew Super noob question about GitHub

Quantumcat

Dead and alive
OP
Member
Joined
Nov 23, 2014
Messages
15,144
Trophies
0
Location
Canberra, Australia
Website
boot9strap.com
XP
11,132
Country
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!
 

nop90

Well-Known Member
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,148
Country
Italy
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,

Quantumcat

Dead and alive
OP
Member
Joined
Nov 23, 2014
Messages
15,144
Trophies
0
Location
Canberra, Australia
Website
boot9strap.com
XP
11,132
Country
Australia
If you create a new file with a path containing a not existttrinf folder, the folder will be created.

But using the desktop application is easier.
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
 

DanTheMan827

Well-Known Member
Member
Joined
May 3, 2015
Messages
639
Trophies
0
Age
34
Location
Wisconsin
XP
631
Country
United States
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)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Maybe the Jurassic park people dug him up and cloned his DNA, then he escaped to avenge his death
  • K3Nv3 @ K3Nv3:
    Adoption of course can't have straight couples in Disney flicks no more
  • Kirbydogs @ Kirbydogs:
    this is odd my firefox is graphically dying
  • Kirbydogs @ Kirbydogs:
    for example blurs are becoming noisy as if it were terrain generation noise
  • Kirbydogs @ Kirbydogs:
    and there are random shadows behind selected tabs that are all glitchy
  • Kirbydogs @ Kirbydogs:
    ah well that's what I get for enabling experimental flags
  • K3Nv3 @ K3Nv3:
    Gpu possibly need reapplied
  • K3Nv3 @ K3Nv3:
    Needs thermal paste
  • Kirbydogs @ Kirbydogs:
    yup that'll be helpful for laptop users
  • Kirbydogs @ Kirbydogs:
    it's probably my localhost running in the background
  • Kirbydogs @ Kirbydogs:
    tinkering with javascript and needed it, guess I'll just restart firefox
  • K3Nv3 @ K3Nv3:
    As well as desktop they still have chipsets with thermal paste inside them
    +1
  • K3Nv3 @ K3Nv3:
    Such bs they slam warranty void stickers on screw holes with gpus don't know if they still do
  • False_Hope @ False_Hope:
    They still put them in laptops
  • K3Nv3 @ K3Nv3:
    Gpu chipsets and thermal paste? Yes
  • K3Nv3 @ K3Nv3:
    Some could be dedicated others built in with cpu
  • Kirbydogs @ Kirbydogs:
    I'm not too worried about warranties, mine expired
  • Kirbydogs @ Kirbydogs:
    although a lot of people at my school peeled off the information stickers with the barcodes and stuff, voided their warrenties
  • K3Nv3 @ K3Nv3:
    Check for any temp throttling with software before poking around inside it depending on age might be good practices to do it anyway
  • K3Nv3 @ K3Nv3:
    Someone should do a video what happens if you take a pc to geeksquad loaded with roms
  • Sicklyboy @ Sicklyboy:
    oh god my unnecessarily complex virtualized desktop PC setup broke and now I seemingly need to shrink my data partition, create an EFI partition, and convert the disk from MBR to GPT.
  • K3Nv3 @ K3Nv3:
    That brings back memories of trying to convert a sd card that just refused to convert over a burned img file
  • K3Nv3 @ K3Nv3:
    Actually think it was like trying to convert ext4 to fat32 without loosing everything
    K3Nv3 @ K3Nv3: Actually think it was like trying to convert ext4 to fat32 without loosing everything