Horje
or push an existing repository from the command line Code Example
git push existing repo
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
how to add an existing project to github
# Go into your existing directory and run below commands
cd docker-spring-boot
echo "# docker-spring-boot" >> README.md
git init
git add -A
git commit -m "first commit"
git branch -M master
git remote add origin https://github.com/devopsmaster/docker-spring-boot.git
git push -u origin master
                

push an existing repository from the command line
git remote add origin https://github.com/Gnaore/sigpef_api.git
git branch -M main
git push -u origin main
Source: github.com
pushing an existing rep from command line to github repo
git remote add origin https://github.com/Mo-Aziz/React-shopping-cart.git
git branch -M main
git push -u origin main
Source: github.com
push an existing repository from the command line
git remote add origin https://github.com/arjungautam1/JavaFX.git
git branch -M main
git push -u origin main
Source: github.com
or push an existing repository from the command line
git remote add origin https://github.com/FazleyBin-Mahbub/browser-api.git
git branch -M main
git push -u origin main
Source: github.com




Shell

Related
Errno::EPERM: Operation not permitted @ dir_s_mkdir - /usr/local/Cellar Code Example Errno::EPERM: Operation not permitted @ dir_s_mkdir - /usr/local/Cellar Code Example
install Miniconda r Code Example install Miniconda r Code Example
c# tostring 2 digit hex Code Example c# tostring 2 digit hex Code Example
ssh key generation Code Example ssh key generation Code Example
create new repo Code Example create new repo Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9