push code to github command line
git add .
git commit -m "message for the commit"
git remote add origin https://url-of-github-repo
git push origin mastergit init
git add README.MD
git commit -m "commit message"
git remote add origin git url_of_github_repo
git push origin mastergit init
git add .
git commit -m "message for the commit"
git remote add origin https://url-of-github-repo
git push origin master or git push -f origin master
Also in Shell:
- Title
- clipboard in ubuntu
- Category
- Shell
- Title
- linux make executable
- Category
- Shell
- Title
- how to check swap memory in linux
- Category
- Shell
- Title
- ignore git ignore
- Category
- Shell
- Title
- install postfix dovecot ubuntu 16.04
- Category
- Shell
- Title
- linux check disk space
- Category
- Shell
- Title
- how to disconnect local repo from remote master
- Category
- Shell
- Title
- git remove branch
- Category
- Shell
- Title
- composer autoload dump
- Category
- Shell
- Title
- copy folders linux
- Category
- Shell
- Title
- mac brew: command not found
- Category
- Shell
- Title
- view permissions linux
- Category
- Shell
- Title
- linux unzip with password
- Category
- Shell
- Title
- find text in any file linux
- Category
- Shell
- Title
- foreach loop powershell
- Category
- Shell
- Title
- edit branch name git
- Category
- Shell
- Title
- how to add extension to all files terminal
- Category
- Shell
- Title
- delete a file in cmd windows
- Category
- Shell
- Title
- git how to delete origin branch
- Category
- Shell
- Title
- install putty on ubuntu
- Category
- Shell
- Title
- react native install
- Category
- Shell
- Title
- how to convert a multy digit array into a whole number
- Category
- Shell
- Title
- git push existing code to new repository
- Category
- Shell
- Title
- push code to github command line
- Category
- Shell