Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

push project to Github

echo "# 50Day---50Html-Css-JS-page" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin <your rep Link>
git push -u origin main
Comment

how to push a project to github

#How to push a repo to an existing
  git init
  git add .
  git config --global user.email "<your-github-email>" && git config --global user.name "<your-githb-username>"
  git commit -m "<>"
  git remote add origin <repohttps>
  git remote -v //to confirm
  git branch main master -f && git checkout main //'do this if gits default branch is master'
  git push origin main -f
Comment

push the project to github

git remote add origin https://github.com/ihechikara/git-and-github-tutorial.git
git branch -M main
git push -u origin main
Comment

push-github-project

echo "# redux-basic" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin <link>
git push -u origin main
Comment

PREVIOUS NEXT
Code Example
Shell :: pushing existing project to github 
Shell :: remove file history from git 
Shell :: github cli 
Shell :: git init command 
Shell :: sum bash 
Shell :: convert vmdk to qcow2 
Shell :: install vuex orm 
Shell :: cant find module firebase 
Shell :: openssl verify cert 
Shell :: error: required key missing from keyring 
Shell :: commit changes from different branches 
Shell :: linux install icloud 
Shell :: install google chrome fedora 
Shell :: linux create a video from images 
Shell :: install docker ubuntu 20 
Shell :: How to change default install location for pip 
Shell :: unprotected private key file 
Shell :: instal ng2 order pipe 
Shell :: reset certain file git 
Shell :: zfs check compression type 
Shell :: laravel setup 
Shell :: delete command from history 
Shell :: what is my ip 
Shell :: linux up one directory 
Shell :: git clone private repo 
Shell :: amplify delete storage 
Shell :: gunicorn 
Shell :: pip install ssh with yes 
Shell :: umask 
Shell :: swithc branch in github 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =