• 0 Posts
  • 11 Comments
Joined 1 year ago
cake
Cake day: August 6th, 2023

help-circle
  • I made a honest effort, but in the end went back to Git for my personal projects. The advantages Fossil has over Git (wiki, bug tracker) are trivial to emulate with versioned plaintext files, and everything about Git’s version control system just clicks with my head. Having years of experience breaking and unbreaking things helps too.

    Tho one thing Fossil taught me is to merge by default, not rebase. Rebase when there’s good justification for it, and the rest of the time, have an alias for git log --oneline --graph --first-parent (or whatever that was). --first-parent collapses a horrible branchy-mergy history into a linear overview thereof, with details available when needed.







  • If you have a place to host Forgejo/Gitea, you have a place to store a Git server. Set it up like this:

    $ git clone --bare myrepo myrepo.bare
    $ scp -r myrepo.bare srv:
    $ cd myrepo
    $ git remote add origin srv:myrepo.bare
    # or
    $ git remote set-url origin srv:myrepo.bare
    

    Now git push etc work similar to GitHub, but you’re using your server (named srv in SSH config, as shown in my previous post) as the remote storage.

    Selfhosted Gitea is a way to get a wiki, bug tracker or whatnot - collaborate, for example, but it’s not necessary to have a Git server for your personal use.



  • How often does your IP actually change? Mine changes so rarely (during extended power outages, say) that I am able to just update my IP manually when it does.

    I even used to run my own authoritative DNS server at home (the one offered by my registrar isn’t configurable enough, think SRV and TXT records) - for that, I have a web UI at my registrar to set the IP addresses of the DNS server.