xxxxxxxxxx
git remote add origin https://github.com/niniade/schoolstuffs-test.git
git branch -M main
git push -u origin main
run the commands given below
xxxxxxxxxx
git init
git add .
git commit -m "my first commit"
git remote set-url origin <Your-Repository-Link>
git push
xxxxxxxxxx
git remote add origin https://github.com/Javlon002/asiance_data_mobile.git
git branch -M main
git push -u origin main
xxxxxxxxxx
git remote add origin https://github.com/Olalexy1/Evasbnb.git
git branch -M main
git push -u origin main
xxxxxxxxxx
# Open your project's command line/terminal and navigate to the project's root directory
# Initialize a new Git repository
git init
# (Optional) Create a .gitignore file to ignore specific files or directories from being tracked by Git
# Example: ignore the "node_modules" directory
echo "node_modules/" >> .gitignore
# Add the existing project's files to the Git repository
git add .
# Commit the changes (creating the initial commit)
git commit -m "Initial commit"
# Connect the local Git repository to a remote repository (e.g., GitHub)
# Create a new repository on GitHub (if not already done)
# Example: Connect to a remote repository named "origin"
git remote add origin <remote_repository_url>
# Push the changes to the remote repository
git push -u origin master
xxxxxxxxxx
git remote add origin
https://github.com/masd11/FinraDeck.git (github adresi)
• git push -u origin master
xxxxxxxxxx
// to create new repo on github through git bash cli
git remote add origin https://github.com/nitinKumarAwasthi/<Nome Repository>.git
git branch -M main
git push -u origin main
xxxxxxxxxx
cd existing_repo
git remote rename origin old-origin
git remote add origin https://gitlab.com/LakshanWijerathne1234/test_8.git
git push -u origin --all
git push -u origin --tags
xxxxxxxxxx
cd existing_repo
git remote rename origin old-origin
git remote add origin git@git.core.repo-address.git