Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git init set upstream

#create a new repository:
git init
echo "# MESSAGE" >> README.md
git add README.md
git commit -m "first commit"

#set upstream url
git remote add origin git@github.com:User/UserRepo.git #first time
git remote set-url origin git@github.com:User/UserRepo.git # change existing to new

#At the end I perform push:
git push -u origin master
Comment

PREVIOUS NEXT
Code Example
Shell :: linux ssh access by ip 
Shell :: view nohup output 
Shell :: linux make cpu spike 
Shell :: terminal command history to file 
Shell :: Delete a carpet in linux 
Shell :: vagrant init ubuntu/trusty64 
Shell :: bash get variable value by variable name 
Shell :: git merge origin master branch with branch 
Shell :: install joplin using snap 
Shell :: docker buildx build --platform linux/amd64,linux/arm64 -t username/application:latest --push . 
Shell :: how to run bash scripts from local machine to remote linux machine 
Shell :: bind folder linux 
Shell :: count unique ip addresses linux accsses log 
Shell :: use localhost for self signed cert 
Shell :: re-entering top level after c stack overflow 
Shell :: mkdir -p exemple 
Shell :: kontiki 
Shell :: delete all empty files and folders in terminal 
Shell :: infinite-react-carousel code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree 
Shell :: running ethermine on linux 
Shell :: heroku and github on termi 
Shell :: conda-forge install web_manager 
Shell :: install az cli wsl 
Shell :: linux cli chart 
Shell :: tasksel 
Shell :: View Changes Before Committing in git command 
Shell :: zsh wait for user input 
Shell :: linux echo variable 
Shell :: windows stop service 
Shell :: install jitsi on ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
9+5 =