Skip to content

Setting up the project and the git plugin

Axel edited this page Feb 3, 2022 · 8 revisions

This is a quick guide to get started working on the project.

You will need to have git installed on your system.

  • Start by going to the directory where you wish to store the project.

  • Open a terminal in this directory, then type in : git clone https://github.com/axel37/godot-quake-movement.git

  • Open the newly-downloaded project in Godot

  • Go to the asset library, and install the Git VCS plugin EDIT : The plugin should be bundled with the project, so you don't need to download it again.

  • Go to Project > Version Control > Set up version control

  • Select GitAPI, click Initialize, then close the menu. You should now see a new Commit tab in the right-hand sidebar, next to Inspector and Node

  • In your terminal, type git status to make sure everything worked properly

  • In the terminal, type git remote add github "https://github.com/axel37/godot-quake-movement.git" (Note that you can replace github with whatever you like, this is used to identify the distant server)

Now you should be ready to work !

Don't forget to create a new branch when making changes : git branch my-new-feature && git checkout my-new-feature

When you're done, push your changes with git push github (Replace github with the name you set previously when doing a git remote add)

Clone this wiki locally