You don't have access to this class

Keep learning! Join and start boosting your career

Aprovecha el precio especial y haz tu profesi贸n a prueba de IA

Antes: $249

Currency
$209
Suscr铆bete

Termina en:

0 D铆as
2 Hrs
24 Min
2 Seg

Control de versiones

4/34
Resources

Why is version control important in development projects?

When it comes to software development, version control is an essential tool. Not only because it allows us to track and save the different versions of our code over time, but also because it is our lifeline when we make mistakes. Have you ever thought how useful it would be to go back in time to correct a mistake? Version control does that for us! In addition, it collaborates effectively in projects where several people are involved, facilitating teamwork. If you want to go deeper into this, Platzi offers a course that will make you an expert.

How to install and use GitHub Desktop?

Let's start with the first practical step: download GitHub Desktop. This GUI application simplifies the use of Git without the need to always use the command console. Here's a simple guide to do so:

  1. Visit the Google website and enter "GitHub Desktop" in the search engine.
  2. Download the version corresponding to your operating system (Windows or Mac OS).
  3. Once downloaded, log in with your GitHub account.

How to add a local repository?

  1. Open GitHub Desktop.
  2. Go to the file option and select "Add local repository".
  3. Browse and select the Unity project folder you want to add.
  4. If GitHub Desktop does not recognize the folder as a repository, it will give you the option to create a new one.

By having version control in your project, you will be able to efficiently manage any changes you make to the code.

What is Git LFS and why is it essential for video game projects?

In video game development, we work with a variety of files that not only include code, but also 3D models, music, textures and binary files. This is where Git LFS, which stands for Large File System, comes into play. While Git is great for managing code files, Git LFS is designed to handle the large, binary files commonly found in these projects. It may not be mandatory to use it, but it is highly recommended to maintain order and efficiency.

Publishing the repository on GitHub: How to do it?

Now that you have initialized and configured your repository, the next step is to publish it to make it available on the GitHub cloud. Follow these steps:

  1. Click "Publish repository" in GitHub Desktop.
  2. Select whether the repository will be public or private. In this case, we will choose to make it public.
  3. Confirm and publish.

Public access to the repository allows you to share the full history of changes made, which can be a great source of learning as you watch a project evolve.

Learn from other open game repositories

Exploring other open game repositories will allow you to learn from their commit history and development practices. Search the internet for other projects and observe how they manage their changes. It is a valuable and educational exercise.

In the fascinating world of game development, learning never ends. I encourage you to explore and continue to grow in these skills - your curiosity and dedication are opening the way to new possibilities and knowledge!

Contributions 4

Questions 0

Sort by:

Want to see more contributions, questions and answers from the community?

Usar versiones en un proyecto es una nesecidad! no una opci贸n 馃槂

para los que estan en linux `sudo apt-get install git-lfs` `mkdir mi-proyecto` `cd mi-proyecto` `git init` `git lfs install` `git lfs track "*.fbx" //Modelos 3D` `git lfs track "*.blend" // Archivos de Blender` `git lfs track "*.tga" //Texturas de alta resoluci贸n` `git lfs track "*.mp4" // Videos` `git add .gitattributes` `git commit -m "Configurar Git LFS para rastrear archivos grandes"` `git add .` `git commit -m "Agregar assets del proyecto"` `git push`
Hola que tal tengo una duda y es que cuando voy a colocar el git ignore no me aparece Unity un saludo Gracias
excelente el uso de git (=