Dwarf Fortress > DF Modding

Dwarf Fortress github

<< < (2/3) > >>

WillowLuman:

--- Quote from: Chief10 on August 26, 2016, 07:00:47 pm ---Sorry if this sounds incredibly dumb, but could someone explain what a GIT is at a high level? It's just a way to store changes between different versions of a file

--- End quote ---

Pretty much. It's a way of keeping track of changes to a set of files, so that multiple people can work on them without overriding each other's changes, and can keep their changes compatible with other changes to the base

Chief10:

--- Quote from: HugoLuman on August 26, 2016, 07:09:42 pm ---It's a way of keeping track of changes to a set of files, so that multiple people can work on them without overriding each other's changes, and can keep their changes compatible with other changes to the base

--- End quote ---

Thanks for the response. You say it can keep multiple people's work compatible, but what differentiates that from some pop file-storage/sharing medium, like google docs, where your changes are saved instantly and others working on the document see that and do their work accordingly?

jecowa:
GitHub lets you type in a command that will update your copy to the latest version. GitHub also saves previous versions so that you can figure out where a problem started.

I like the "Blame" button that shows you who wrote each line of code. GitHub seems kind of Terrible, though, I would recommend BitBucket instead.

Chief10:
Cool! Thanks for the help

Putnam:

--- Quote from: Chief10 on August 26, 2016, 07:54:53 pm ---
--- Quote from: HugoLuman on August 26, 2016, 07:09:42 pm ---It's a way of keeping track of changes to a set of files, so that multiple people can work on them without overriding each other's changes, and can keep their changes compatible with other changes to the base

--- End quote ---

Thanks for the response. You say it can keep multiple people's work compatible, but what differentiates that from some pop file-storage/sharing medium, like google docs, where your changes are saved instantly and others working on the document see that and do their work accordingly?

--- End quote ---

It's (by design) completely decentralized--Github is technically a central repository, but the design of Git is that there is none. Google Docs has a google doc that you edit. Github you copy the entire project to your own computer, make branches, edit them, make commits, then other people can pull your commits into their repository (Github uses "pull requests" as a way to call attention to your own commits).

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version