Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

upload new repo to git

echo "# Can-I-Shop-2" >> README.md
git init
git add .
git commit -m "first commit"
git remote add origin https://github.com/username/projectname.git
git push -u origin master
                
Comment

push/upload git repo to github

git remote add origin https://github.com/username/projectname.git
#A new repo should be created on GitHub and the url used in the initial upload.

git push -u origin master
#Subsequent command used to upload project. If name of master branch han been
#changed, use that name.
Comment

upload git repository to github

git init -b main
Comment

PREVIOUS NEXT
Code Example
Shell :: how to install tensorflow on anaconda 
Shell :: sum of array elements bash 
Shell :: count occurrences of word in file linux ignoring case 
Shell :: git delete branch 
Shell :: how to make a list bash 
Shell :: install babel 
Shell :: redis-cli port host 
Shell :: archive linux 
Shell :: run jar file command line 
Shell :: install zsh with powerlevel10k customization addon 
Shell :: express generator 
Shell :: vercel cli 
Shell :: extract tgz from ubuntu terminal 
Shell :: choco install watchman 
Shell :: change owner of all the files from a directory linux 
Shell :: How to install tensorflow-gpu in ubuntu and Linux 
Shell :: how to delete a commit in git remotely 
Shell :: show seconds ubuntu 
Shell :: start mariadb on linux terminal 
Shell :: set trustedinstaller as owner 
Shell :: batch file to write xml into file 
Shell :: install nodejs with pacman 
Shell :: select latest file linux 
Shell :: git default remote 
Shell :: install nomad 
Shell :: mongodb server stop command in kali linux 
Shell :: pgadmin4 container 
Shell :: default parameter value in bash 
Shell :: unable to locate a java runtime that supports javaws 
Shell :: run postgresql command line maccos 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =