xxxxxxxxxx
# First, make sure you are in the local repository's directory.
# Initialize and configure Git if not done already.
git init
# Add the remote repository URL as 'origin'
git remote add origin <remote repository URL>
# Fetch the latest changes from the remote repository
git pull origin <branch name>
# Make the necessary changes to your local files
# Add all the changed files to the staging area
git add .
# Commit the changes with a descriptive message
git commit -m "Your commit message here"
# Push the changes to the remote repository
git push origin <branch name>
xxxxxxxxxx
cd existing_folder
git init
git remote add origin https://gitlab.com/abc.git
git add .
git commit -m "Initial commit"
git push -u origin master
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/cenergon/aadidess-app-mobile-inspeccion.git
git branch -M main
git push -u origin main
xxxxxxxxxx
git remote add origin https://github.com/Javlon002/asiance_data_mobile.git
git branch -M main
git push -u origin main
xxxxxxxxxx
git init
git add .
git commit -m "Add existing project files to Git"
git remote add origin https://github.com/cameronmcnz/example-website.git
git push -u -f origin master
xxxxxxxxxx
git remote add origin https://github.com/Username/Name_Of_Repo.git
git branch -M main
git push -u origin main
xxxxxxxxxx
git remote add origin https://github.com/Mo-Aziz/React-shopping-cart.git
git branch -M main
git push -u origin main
xxxxxxxxxx
git remote add origin git@github.com:Deznic/game2.git
git branch -M main
git push -u origin main
xxxxxxxxxx
git remote add origin https://github.com/israa790/Athentification_Flutter-Login-Register-.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