![]() ![]() This means everything including things you might not want to track – but you can tell Git which files to ignore, for example the _history folder contents and files ending in. Files that existed when you created the repo.Once you have created a repo in a project folder any changes you make in the repo folder are tracked by Git from then on. The local repo is tracked in the same folder it ‘lives’ in using a hidden sub-folder and some ‘magic’ files.Įverything else is just your regular Delphi source code, images and project resources. This works best if you keep all your source files for a particular project in one folder on your computer – one folder for each project.ĭon’t worry if that’s not how you do things – there are ways around it.įor anything other a purely local set up you will need an account with a Git hosting provider Git keeps track of your files in a special collection / folder it calls a repository – commonly abbreviated to “ repo”. It will install some other cool Open Source things too – including SubVersion!Īfter it Git is installed, check it’s working correctly: Make a note of where it installs because you will need it later. Use the official “Git for Windows” installer Git can sometimes be a little challenging to use ? Allows you to share your source code on public web-based services like GitHub, GitLab and BitBucket.Allows others to make changes to shared source code in a very managed way.Can pinpoint who made a change and therefore who to blame ?.Allows you to collaborate with major open source projects. ![]() Allows you to easily revert bad changes or experiments which didn’t work out.Can merge changes from multiple developers and even your own branches into the main source tree.Allows you to create branches for bugs fixes or new features you are working on.When used with a cloud provider – saves your code safely off-site. ![]() Handles changes from multiple developers.Stores those changes as a viewable history, with comments.It’s almost impossible to avoid Git – you will be assimilated!.“I don’t work in a team, why would I use a SCCS” Very popular, still actively maintained. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |