📄Git
vr.room = new test
tried permissions
Git Bash
Git LFS
GitLab
git lfs install
git lfs track ".psd"
git config --global user.name "tutorial"
git config --global user.email abc@aol.co
git init
git init
git add .
git add .
git commit -m "msg"
git commit -m "msg"
git remote -v
git push -u origin main
git status
git push -u origin main
git push --set-upstream origin main
GitLab VIDEO:
- logged in
- create new project (no readme, private)
- open gitbash
- user.name & user.email
- create folder
$ git init
- create text file
$ git status
- untracked files:
$ git add .
$ git commit -m "msg"
$ git status
- nothing to commit. working tree clean
$ git remote add origin https://gitlab.com
$ git remote -v
$ git push -u origin main
EXTRA From GitLab
Git global setup
git config --global user.name "D D"
git config --global user.email "camacho.dc115@gmail.com"
Create a new repository
git clone https://gitlab.com/myvrgames/vr-room.git
cd vr-room
git switch --create main
touch README.md
git add README.md
git commit -m "add README"
git push --set-upstream origin main
Push an existing folder
cd existing_folder
git init --initial-branch=main
git remote add origin https://gitlab.com/myvrgames/vr-room.git
git add .
git commit -m "Initial commit"
git push --set-upstream origin main
Push an existing Git repository
cd existing_repo
git remote rename origin old-origin
git remote add origin https://gitlab.com/myvrgames/vr-room.git
git push --set-upstream origin --all
git push --set-upstream origin --tags
Sources:
Last updated