Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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
Comment

How to push to a new repositiory in github

echo "# book-website" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/vincentovie39/book-website.git
git push -u origin main
Comment

PREVIOUS NEXT
Code Example
Shell :: diff specific file git different branches 
Shell :: githum readme bold 
Shell :: find rm files older than 30 days 
Shell :: setup git project 
Shell :: npm install xlsx 
Shell :: add credentials git linux 
Shell :: INSTALL VMwareTools on terminal ap=get 
Shell :: install aws cli v2 
Shell :: find exec rm 
Shell :: Display lines containing the pattern “root” and 3 lines after them in the file /etc/passwd. 
Shell :: ubuntu wifi with no internet 
Shell :: wsl file 
Shell :: github readme.md add image 
Shell :: steps to commit code in github from vscode 
Shell :: delete branch github 
Shell :: react hook install 
Shell :: sudo without password 
Shell :: linux how many cpus 
Shell :: w10 reboot cmf 
Shell :: conflict pull 
Shell :: npm install without dev dependencies 
Shell :: pull branch git 
Shell :: bash tokens in variable 
Shell :: remove folder with content cmd 
Shell :: batch for loop 
Shell :: how to reset and change remote url in git 
Shell :: Hello, World! 
Shell :: delete add git 
Shell :: haskell change version 
Shell :: installer lamp ubuntui 
ADD CONTENT
Topic
Content
Source link
Name
1+4 =