Creating Project
Create Remote Repository
Github
Sign in at github.com.
Click + (top-right) → New repository.
Repository name: enter a name.
Choose Public or Private.
Important: leave UNCHECKED: Add a README, .gitignore, License (this keeps it empty).
Click Create repository.
Copy the repo URL (HTTPS or SSH), e.g.
- HTTPS:
https://github.com/USER/REPO.git - SSH:
git@github.com:USER/REPO.git
- HTTPS:
Bitbucket
Sign in at bitbucket.org.
Click Create → Repository.
Repository name: enter a name.
Choose Public or Private.
Important: uncheck Include a README and Include .gitignore.
Click Create repository.
Copy the repo URL (HTTPS or SSH), e.g.
- HTTPS:
https://bitbucket.org/USER/REPO.git - SSH:
git@bitbucket.org:USER/REPO.git
- HTTPS:
GitLab
Sign in at gitlab.com.
Click + → New project/repository → Create blank project.
Project name: enter a name.
Choose Public or Private.
Important: uncheck Initialize repository with a README.
Click Create project.
Copy the repo URL (HTTPS or SSH), e.g.
- HTTPS:
https://gitlab.com/USER/REPO.git - SSH:
git@gitlab.com:USER/REPO.git
- HTTPS:
Setup Local Project
In VSCode Terminal:
Configure Git (first time only):
bashgit config --global core.autocrlf false git config --global user.email "your@email.address" git config --global user.name "Your Name"Clone the repository:
bashgit clone <repository-url> cd <repository-name>