Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to add an existing project to github

# Go into your existing directory and run below commands
cd docker-spring-boot
echo "# docker-spring-boot" >> README.md
git init
git add -A
git commit -m "first commit"
git branch -M master
git remote add origin https://github.com/devopsmaster/docker-spring-boot.git
git push -u origin master
                

Comment

how to add your project to github

git init
git add -A
git commit -m "first commit"
git branch -M master
git remote add origin https://github.com/devopsmaster/docker-spring-boot.git
git push -u origin master
                
Comment

add project to github

cd docker-spring-boot
echo "# docker-spring-boot" >> README.md
git init
git add -A
git commit -m "first commit"
git branch -M master
git remote add origin https://github.com/devopsmaster/docker-spring-boot.git
git push -u origin master
Comment

add existing project on github

hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Comment

PREVIOUS NEXT
Code Example
Shell :: install gtk python 
Shell :: install intellij 
Shell :: deploy github repo to heroku 
Shell :: creating new repository 
Shell :: run sh file 
Shell :: ansible Permission denied (publickey,password). 
Shell :: install vs code on ubuntu 
Shell :: linux calculator 
Shell :: bash: telnet: commande inconnue. 
Shell :: otu table tsv in biom 
Shell :: How to check if you are in tmux bash 
Shell :: start vagrant box 
Shell :: uninstall nodemac 
Shell :: mv command in linux to rename 
Shell :: zsh get first line 
Shell :: libbre office ubuntu 
Shell :: kill nohup task job 
Shell :: Linkar repo en github 
Shell :: how to install kind 
Shell :: git checkout specific file types only 
Shell :: mark raid drive as removed linux 
Shell :: ubuntu uninstall thunderbird 
Shell :: crontab reverse shell 
Shell :: copy a file through ssh 
Shell :: install tidyverse ubuntu 20.04 
Shell :: using screen in wsl 
Shell :: bash forward argv to command 
Shell :: créer un fichier powershell 
Shell :: Create htpasswd file for nginx (without apache) 
Shell :: fenicsproject no active host found 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =