Using a Git Repository
Step 1 Create your own git respository account
Step 2 Create a git repository project
Option A
Create A Local Project
Add the project to a git repository, such as Github
Adds the files in the local repository and stages them for commit. To unstage a file, use 'git reset HEAD YOUR-FILE'.
Commits the tracked changes and prepares them to be pushed to a remote repository. To remove this commit and modify the file, use 'git reset --soft HEAD~1' and commit and add the file again.
Option B
Create an empety project on github.com
Clone the project locally
Step 3 Coding your project
Create and edit your source code locally
Using git submodule or gitclone to retrieve libraries you need, such as GLEW, GLEW, glm, etc
Git submodule Update
Step 4 Commit your source code
Using git to clone and edit your project on other computers
Last updated