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

PREVIOUS NEXT
Code Example
Shell :: set zsh as default ubuntu 
Shell :: bash open current directory in file explorer 
Shell :: ubuntu start nginx 
Shell :: list usb devices linux 
Shell :: fedora spotify 
Shell :: git init remoce 
Shell :: install stacer ubuntu or linux 
Shell :: renomear branch 
Shell :: how to initialize a git repository command line 
Shell :: get saved password windows 11 
Shell :: update repository ubuntu 
Shell :: docker postgresql restore database 
Shell :: php curl skip ssl verification 
Shell :: install modules from text file pip 
Shell :: install ganache cli 
Shell :: raspberrypi open ports 
Shell :: generating ssh key 
Shell :: moodle purge cache from command line 
Shell :: cat /etc/os-release 
Shell :: dash bootstrap install 
Shell :: ubuntu check computer architecture 
Shell :: ubuntu 22 install gstreamer0.10-plugins-bad 
Shell :: get user password linux 
Shell :: git autocomplete branch name mac 
Shell :: kill port mac 
Shell :: install chance in cypress 
Shell :: command not found kube 
Shell :: openbullet2 installation on kali linux 
Shell :: git remove all local changes 
Shell :: stop cronjob 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =