Linking Unity Project in Github

user@LAPTOP MINGW64 ~/OneDrive/Desktop/Unity/2.5DProject
$ git initInitialized empty Git repository in C:/Users/user/OneDrive/Desktop/Unity/2.5DProject/.git
$ git remote add origin https://github.com/user/2.5D_Game.git
$ git pull origin main
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (3/3), 1.08 KiB | 100.00 KiB/s, done.
From https://github.com/user/2.5D_Game
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
$ git switch main
Switched to a new branch ‘main’
Branch ‘main’ set up to track remote branch ‘main’ from ‘origin’.
$ git add .
$ git status
On branch main
Your branch is up to date with 'origin/main'.
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
new file: .vsconfig
new file: Assets/Scenes.meta
new file: Assets/Scenes/SampleScene.unity
new file: Assets/Scenes/SampleScene.unity.meta
new file: Packages/manifest.json
new file: Packages/packages-lock.json
new file: ProjectSettings/AudioManager.asset
new file: ProjectSettings/ClusterInputManager.asset
new file: ProjectSettings/DynamicsManager.asset
new file: ProjectSettings/EditorBuildSettings.asset
new file: ProjectSettings/EditorSettings.asset
new file: ProjectSettings/GraphicsSettings.asset
new file: ProjectSettings/InputManager.asset
new file: ProjectSettings/NavMeshAreas.asset
new file: ProjectSettings/PackageManagerSettings.asset
new file: ProjectSettings/Physics2DSettings.asset
new file: ProjectSettings/PresetManager.asset
new file: ProjectSettings/ProjectSettings.asset
new file: ProjectSettings/ProjectVersion.txt
new file: ProjectSettings/QualitySettings.asset
new file: ProjectSettings/TagManager.asset
new file: ProjectSettings/TimeManager.asset
new file: ProjectSettings/UnityConnectSettings.asset
new file: ProjectSettings/VFXManager.asset
new file: ProjectSettings/VersionControlSettings.asset
new file: ProjectSettings/XRSettings.asset
new file: UserSettings/EditorUserSettings.asset
$ git commit -m "Initial commit"
[main 828748f] Initial commit
27 files changed, 2370 insertions(+)
create mode 100644 .vsconfig
create mode 100644 Assets/Scenes.meta
create mode 100644 Assets/Scenes/SampleScene.unity
create mode 100644 Assets/Scenes/SampleScene.unity.meta
create mode 100644 Packages/manifest.json
create mode 100644 Packages/packages-lock.json
create mode 100644 ProjectSettings/AudioManager.asset
create mode 100644 ProjectSettings/ClusterInputManager.asset
create mode 100644 ProjectSettings/DynamicsManager.asset
create mode 100644 ProjectSettings/EditorBuildSettings.asset
create mode 100644 ProjectSettings/EditorSettings.asset
create mode 100644 ProjectSettings/GraphicsSettings.asset
create mode 100644 ProjectSettings/InputManager.asset
create mode 100644 ProjectSettings/NavMeshAreas.asset
create mode 100644 ProjectSettings/PackageManagerSettings.asset
create mode 100644 ProjectSettings/Physics2DSettings.asset
create mode 100644 ProjectSettings/PresetManager.asset
create mode 100644 ProjectSettings/ProjectSettings.asset
create mode 100644 ProjectSettings/ProjectVersion.txt
create mode 100644 ProjectSettings/QualitySettings.asset
create mode 100644 ProjectSettings/TagManager.asset
create mode 100644 ProjectSettings/TimeManager.asset
create mode 100644 ProjectSettings/UnityConnectSettings.asset
create mode 100644 ProjectSettings/VFXManager.asset
create mode 100644 ProjectSettings/VersionControlSettings.asset
create mode 100644 ProjectSettings/XRSettings.asset
create mode 100644 UserSettings/EditorUserSettings.asset
$ git push origin main
Enumerating objects: 35, done.
Counting objects: 100% (35/35), done.
Delta compression using up to 12 threads
Compressing objects: 100% (34/34), done.
Writing objects: 100% (34/34), 17.29 KiB | 1.73 MiB/s, done.
Total 34 (delta 0), reused 0 (delta 0), pack-reused 0
To https://github.com/user/2.5D_Game.git
f334b58..828748f main -> main

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jaime

Jaime

I love game design and development.