Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to push code to github

git init
git add .
git commit -m "[message]"
git branch -M master
git remote add origin "github repository link"
git push -u origin master
Comment

push code to github

echo "# e-commerce-crud" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/mohnishdevelops/e-commerce-crud.git
git push -u origin main
Comment

git-hub push code

echo "# Raw-php-class-04" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/zabiremu/Raw-php-class-04.git
git push -u origin main
Comment

PREVIOUS NEXT
Code Example
Shell :: create and copy folder in ubuntu 
Shell :: error: src refspec master does not match any heroku 
Shell :: linux how to free memory 
Shell :: change branch name 
Shell :: undo a git merge 
Shell :: install gnome-clocks ubuntu 
Shell :: install vs code on fedora 
Shell :: uninstall nvidia driver ubuntu 
Shell :: installing pytorch 
Shell :: gcloud scp 
Shell :: Failed to load module "canberra-gtk-module" 
Shell :: python not found. install python-is-python3 
Shell :: installing k3d 
Shell :: bash find file in directory 
Shell :: install tomcat on mac brew 
Shell :: install cuda in ubuntu 
Shell :: brew uninstall 
Shell :: linux command to go to the parent directory 
Shell :: git language 
Shell :: Mount EBS volume on Linux 
Shell :: sudo apt-get ignore warning 
Shell :: generate certificate ssl 
Shell :: no sound on ubuntu 
Shell :: environment variables in systemd 
Shell :: git pull from previous commit 
Shell :: git push an existing repository from the command line 
Shell :: composer install fast download 
Shell :: flutter android sdkmanager not found 
Shell :: git add except files 
Shell :: set head of branch at specific commit 
ADD CONTENT
Topic
Content
Source link
Name
7+1 =