Chat Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
April 21, 2026 - @464.76 (what is this?)
Activity rating: Three Stars Posts & Arts: 27/1k.beats Random | Recent Posts | Guild Recents
News: :cry: Are u having fun? Guild Events: There are no events!

+  MelonLand Forum
|-+  Life & The Web
| |-+  ✁ ∙ Web Crafting
| | |-+  Git and Version Control


« previous next »
Pages: [1] Print
Author Topic: Git and Version Control  (Read 397 times)
noahie
Jr. Member ⚓︎
**
View Profile WWW


Writer
⛺︎ My Room
XMPP: Chat!
RSS: RSS

Guild Memberships:
Artifacts:
Joined 2025!
« on: February 04, 2026 @901.38 »


Hi all,

If you don't have version control for your site with git, get it going as soon as you possibly can.

I had an issue where I lost one of my template files that I use for my static site generator (zola) and I had no way of recovering it. So please, wherever you have your site, make sure you implement version control with git and don't fly too close to the sun like I did.

There are a few good ways to do this:

1. Use Github/Codeberg or some other site where you can host your files.

2. Install git through your operating system's package manager, go to the directory where your site lives, and put in these commands:

Code
git init
git add .
git commit -m "commit message"


Ideally, you can do both of these. If you have a home server, keeping synced backups there too is a good idea. 
Logged

"Your worst sin is that you betrayed and destroyed yourself for nothing"
Dan Q
Hero Member ⚓︎
*****
View Profile WWWArt


I have no idea what I am doing
⛺︎ My Room
RSS: RSS

Guild Memberships:
« Reply #1 on: February 05, 2026 @429.07 »

If you find the command-line intimidating: there are graphical git clients!

If you don't: there are some nice terminal ones too! I'm a big fan of lazygit, I use it every single day and it brings me joy every time. Here's what it looks like:


Logged


Artifact Swap: I met Dan Q on Melonland!PolyamorousBouncy Egg!Joined 2025!Lurby
Pages: [1] Print 
« previous next »
 

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | ~ Send Feedback ~ Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi

MelonLand Nav

@000

Want to Login or Join ?

Minecraft: Online
Join: craft.melonking.net