Horje
upload git repository to github 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
add github repo
create a new repository on the command line
echo "# {Repo Name}" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/cdcdianne/ReactJS-TheMovieDB.git
git push -u origin main
                
push an existing repository from the command line
git remote add origin https://github.com/cdcdianne/ReactJS-TheMovieDB.git
git branch -M main
git push -u origin main
push/upload git repo to github
git remote add origin https://github.com/username/projectname.git
#A new repo should be created on GitHub and the url used in the initial upload.

git push -u origin master
#Subsequent command used to upload project. If name of master branch han been
#changed, use that name.
how to upload existing project to github
git remote add origin remote repository URL
git remote -v
git push -f origin master
upload git repository to github
git init -b main




Shell

Related
run command on ctrl-c in shell script Code Example run command on ctrl-c in shell script Code Example
create a tunnel via permanently Code Example create a tunnel via permanently Code Example
github create repo from terminal Code Example github create repo from terminal Code Example
add remote github Code Example add remote github Code Example
create batch file to delete folders and subfolders Code Example create batch file to delete folders and subfolders Code Example

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