• 0 Posts
  • 17 Comments
Joined 1 year ago
cake
Cake day: June 4th, 2025

help-circle
  • Bongles@lemmy.ziptoSelfhosted@lemmy.world•Git control for novice gamedev?
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    1
    ·
    edit-2
    4 days ago

    In a terminal (or git bash) that’s set to the folder your project is in (cd /path/to/your/project or something like that)

    do this one time (per device):

    git config --global user.name "Your Name"
    git config --global user.email "you@example.com"
    

    Otherwise git will yell at you to do that anyway. Otherwise:

    git init -b main
    This starts the whole repository with a branch (-b) called main.

    git add .
    Your git repository has nothing being tracked yet, this stages all of the files. (The . means everything in the current folder and below)

    git commit -m "text that describes the commit, like initial commit for the first one"
    You’ve “staged” the changes with add, this adds them to a “commit”.

    Normally git is local, if you want them in a remote repository - like github, gitea, forgejo, etc. you’d create the remote repository there, leave it empty, and add that remote to git.

    git remote add origin https://your-server/user/project.git
    you’ve added the remote repo called origin, why origin? It’s arbitrary, do it for shits and giggles and because you don’t have to think about it, it’s the conventional name. The link comes from github or whatever service.

    You now have the remote, you have your initial files added to a commit, to actually get them to the remote repo you need to push it.

    git push -u origin main
    That pushes the commit(s) to the remote “origin” on the main branch. Do that once per project and after that when you want to push your commits you just do git push.

    This is the sort of stuff all of the software like Godot or vs codium or whatever is doing in the background when you click the buttons.

    New project

    1. Make the repo
    2. Add the changed files (they’re all changed, the repo has no commits yet and is basically empty)
    3. Create the commit with a helpful message
    4. Push the commit.

    New changes

    1. Add changed files
    2. Create commit
    3. Push commit

    There’s more to it, like reverting back to old commits when something goes wrong, Using a .gitignore file to block staging files you don’t want to, fetching and pulling, and other things that can make git kind of hard at first.







  • Bongles@lemmy.ziptolinuxmemes@lemmy.world•Beautiful.
    link
    fedilink
    arrow-up
    10
    ·
    2 months ago

    Great, you’re halfway there with that sarcasm. Now apply that to the comment chain you posted in and… hell why you’re here the post itself and you’ll get it now.

    People still try to claim Linux is complicated and has a lot of unnecessary steps to install stuff and it just isn’t true for vast majority of people installing the vast majority of stuff.


  • Bongles@lemmy.ziptolinuxmemes@lemmy.world•Beautiful.
    link
    fedilink
    arrow-up
    11
    ·
    2 months ago

    It doesn’t and you know that.

    From there you click Firefox, then you click the download link it gives you on the next page, that downloads a file (still not installed) or takes you to an app store if you’re on a phone, you run that file or click install on the app store to actually install the application.




  • I self hosted matrix for probably a year after me and some people started getting spam on telegram. It was the first thing I really self hosted beyond jellyfin (and plex before that) so I didn’t really fully understand what was I doing and that could have affected things.

    I had a few hurdles that made it not work out for me and my friends/family. First, the end to end encryption, one of the main “selling” points I feel, makes it complicated to sign in for people who don’t care about any of that. You end up getting a code to save, I had to verify them at first, we’d have times where something still showed unverified, etc.

    Just started hosting nextcloud recently and I’m also seeing the notification issue, but at least you just sign up and start using it.

    I also noticed in matrix we never got notifications for emoji reactions (which we all use with each other). Other notifications were relatively solid though.

    I never got webrtc and some stuff working and I sort of lost steam trying, so we could use element or fluffychat but not element X and we couldn’t have big group calls or anything like that. That’s probably on me though, but in fairness nextcloud aio just has a checkbox and all that stuff works.

    Since I’m the only dork in my little group interested in this stuff I abandoned matrix when nobody used it.


  • I setup nextcloud for the first time last week. I used AIO in docker and I didn’t have any major issues. Minor things here and there as i actually learned what I was doing and how to use it, but it’s been fine so far.

    In the interface I just chose talk, talk recording, and whiteboard (though i don’t expect to ever use whiteboard). Then the rest was just me playing around in the settings and in the apps page.

    Oauth things like Google or Microsoft integration are a pain but that’s because of those companies so i only have Google in a partially working state and no apple login or onedrive syncing. I also used smtp2go in the free plan to get email notifications.

    It wasn’t a short setup, but it didn’t have a ton of problems either.






  • It can be tough to do, I finally just got off Google photos backing up my pictures and videos maybe 2 weeks ago.

    I already had them also being sent to my PC with resilio sync, but since I moved to Linux I didn’t have backblaze anymore (B2 is too expensive for me and their “unlimited” cloud backup is mac and windows only) and didn’t know of any affordable alternatives so I wasn’t willing to drop my only cloud backup even if it’s Google.

    Eventually I canceled the annual storage plan and said “I’ll figure it out by then”, didn’t figure it out, found jottacloud after that and am now using that.