Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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
Comment

add to a github repo

git init
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/{your username}/{repoName}.git
git push -u origin main
Comment

PREVIOUS NEXT
Code Example
Shell :: md5 bash 
Shell :: installing a downloaded package in ubuntu 
Shell :: main vs master in git 
Shell :: git clone with folder name 
Shell :: cmd shell 
Shell :: shell case example 
Shell :: linux remove folder with content 
Shell :: windows edit file cmdp 
Shell :: how to reset all github credentials 
Shell :: windows untar powershell 
Shell :: install docker ubuntu 
Shell :: apt lock 
Shell :: ssh and execute command in one line 
Shell :: restart remote computer 
Shell :: get new instagram posts by hashtag 
Shell :: docker install ubuntu 20 
Shell :: grep ignore binary file 
Shell :: square root in bash script 
Shell :: rename heroku app local 
Shell :: Microsoft.PowerShell_profile.ps1 
Shell :: commmand for installing tailwind to react 
Shell :: how to install postgresql 
Shell :: kubectl for windows 
Shell :: keyrings arch linux 
Shell :: How do I run multiple commands on one line in PowerShell? 
Shell :: pip3 to pip 
Shell :: ubuntu install brave 
Shell :: git already up to date but not 
Shell :: copy folder linux 
Shell :: git lfs add file 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =