Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

add my current project to an already existing GitHub repository

git init
git add .
git commit -m "my commit"

git remote set-url origin <remote repository URL>	// setting
// or
git remote add origin <remote repository URL>		// adding
// eventually recommit
git commit -m "my 2nd commit"

git push -u origin master
Comment

PREVIOUS NEXT
Code Example
Shell :: aws create repository cli 
Shell :: To set the exit status of a shell script 
Shell :: Unable to connect to server: connection to server at "localhost" (127.0.0.1), port 5432 failed 
Shell :: linux split file by lines 
Shell :: pig latin group by 
Shell :: how to setup pre commit hook on my local 
Shell :: .m2 folder in unix 
Shell :: dpkg command 
Shell :: find ubuntu usb port tty 
Shell :: openstack show ports 
Shell :: how to restore default apache httpd conf file 
Shell :: install dependencies npm 
Shell :: linux screenshot shortcut 
Shell :: branch creation 
Shell :: helm commands 
Shell :: redux 
Shell :: install rabbitmq in ubuntu 20.04 
Shell :: modifier un nom de branche git 
Shell :: git make new branch 
Shell :: Do you need to install EsLint after intalling the extension 
Shell :: to create repo from cmd 
Shell :: uninstall editable pip 
Shell :: create a directory 
Shell :: install moment.js 
Shell :: expose deployment k8 
Shell :: magento ssh commands 
Shell :: git cherry pick multiple commits 
Shell :: ssh raspberry pi ngrok 
Shell :: how to create a text file list of the contents of a folder and subfolders 
Shell :: ssh bad owner permissions 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =