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

pushing existing project to github

git remote add origin
https://github.com/masd11/FinraDeck.git (github adresi)
• git push -u origin master 
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 :: add user to dialout group 
Shell :: remove all files matching a pattern in subdirectories 
Shell :: remove all branch local git 
Shell :: user.signingkey git 
Shell :: git new branch 
Shell :: ruby install for mac 
Shell :: sublime text editor download for linux 
Shell :: powershell variable to string 
Shell :: mac see current path7 
Shell :: how to copy one local machine to server through ssh 
Shell :: debian install nvidia driver 
Shell :: zsh: permission denied 
Shell :: Creating a directory or folder in linux 
Shell :: bash true if grep has output 
Shell :: grep in windows 
Shell :: bash get current process id 
Shell :: minishift admin-user addon 
Shell :: docker-compose logs path 
Shell :: read from .env file bash 
Shell :: shell curl extract bearer token from response 
Shell :: linux remove link 
Shell :: ffmpeg boost audio level 
Shell :: git untracked folder 
Shell :: how to restore a mongodb dump with a new name 
Shell :: Regex: Match Last Occurrence aka Negative Lookbehind 
Shell :: powershell import module 
Shell :: install screen recorder linux 
Shell :: putty for ubuntu 
Shell :: docker start container 
Shell :: redis install ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =