xxxxxxxxxx
cd existing_repo
git remote rename origin old-origin
git remote add origin https://gitlab.com/bokkyoon/oldversion/bokkyoon-backend.git
git push -u origin --all
git push -u origin --tags
xxxxxxxxxx
git init
git add README.md or just " . "
git commit -m "first commit"
git branch -M main
git remote add origin <your-repo-link>
git push -u origin main
xxxxxxxxxx
git init
git add somefile
git commit -m "initial commit"
git remote add origin https://github.com/username/new_repo
git push -u origin master
xxxxxxxxxx
cd existing_folder
git init --initial-branch=main
git remote add origin https://gitlab.com/bokkyoon/oldversion/bokkyoon-backend.git
git add .
git commit -m "Initial commit"
git push -u origin main
xxxxxxxxxx
git clone https://gitlab.com/bokkyoon/oldversion/bokkyoon-backend.git
cd bokkyoon-backend
git switch -c main
touch README.md
git add README.md
git commit -m "add README"
git push -u origin main
xxxxxxxxxx
# Navigate to the desired directory where you want to create the Git repository
cd /path/to/your/project
# Initialize the Git repository
git init