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

pushing existing project to github

git remote add origin
https://github.com/masd11/FinraDeck.git (github adresi)
• git push -u origin master 
Comment

PREVIOUS NEXT
Code Example
Shell :: grep text in files 
Shell :: git branch delete remote 
Shell :: git set email and name for repo 
Shell :: get connected wifi password 
Shell :: installing star aligner in macos 
Shell :: color picker linux 
Shell :: ls display chmod number 
Shell :: how to remove file changes in git 
Shell :: php curl ignore ssl certificate 
Shell :: apt install gnome desktop 
Shell :: electron build windows exe 
Shell :: autopep8 command command 
Shell :: bash clock script 
Shell :: composer 2 install in windows 10 
Shell :: fs extra ts 
Shell :: streamlink save file 
Shell :: generate ed25519 key pair 
Shell :: spec false not working 
Shell :: pip install ignore errors 
Shell :: -bash: jupyter: command not found linux 
Shell :: python venv windows 
Shell :: see raid config linux 
Shell :: .env in gitignore 
Shell :: heroku procfile laravel 
Shell :: install pylatex no dependency 
Shell :: get a list of all nuget packages used in a solution 
Shell :: apt update one package 
Shell :: find bashrc 
Shell :: nodemon command not found 
Shell :: add public key to server 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =