how to upload existing project to github
Shell
$ git commit -m "First commit"
# Commits the tracked changes and prepares them to be pushed to a remote repository. To remove this commit and modify the file, use 'git reset --soft HEAD~1' and commit and add the file again.
$ git initwinpty curl -H 'Authorization: token [GENERATED_TOKEN]' https://api.github.com/user/repos -d '{"name":"[REPO_NAME_YOU_WANT]"}'
# follow steps here to generate token:
https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line
# note : you can add parameters to you command to set a description, switch to private, etc...git remote add origin remote repository URL
git remote -v
git push -f origin master
Also in Shell:
- Title
- bash if file contains string
- Category
- Shell
- Title
- bash endless loop
- Category
- Shell
- Title
- remove a file from git commit
- Category
- Shell
- Title
- intel pinning threads
- Category
- Shell
- Title
- cmd prompt format
- Category
- Shell
- Title
- linux check used space in folder
- Category
- Shell
- Title
- install flask
- Category
- Shell
- Title
- powershell upgrade
- Category
- Shell
- Title
- git reset keep changes
- Category
- Shell
- Title
- how to install pip in ubuntu
- Category
- Shell
- Title
- laravel generate mailable
- Category
- Shell
- Title
- change remote to use ssh git command
- Category
- Shell
- Title
- shell copy
- Category
- Shell
- Title
- chown
- Category
- Shell
- Title
- linux get current user
- Category
- Shell
- Title
- git credenttial.helper cmd
- Category
- Shell
- Title
- setup mysql ubuntu
- Category
- Shell
- Title
- install express globally
- Category
- Shell
- Title
- docker to sudoers
- Category
- Shell
- Title
- install pipenv in ubuntu
- Category
- Shell
- Title
- install AdminLTE
- Category
- Shell
- Title
- where is path on klai linux
- Category
- Shell
- Title
- how to save environment variables ubuntu
- Category
- Shell
- Title
- powershell download a file from url
- Category
- Shell
- Title
- install vscode ubuntu command line
- Category
- Shell
- Title
- babel source maps
- Category
- Shell
- Title
- git list remote branches
- Category
- Shell
- Title
- how to reset git branch to a certain commit.
- Category
- Shell
- Title
- remove directory linux
- Category
- Shell
- Title
- ubuntu add user to group
- Category
- Shell
- Title
- raspberry specific kernel version
- Category
- Shell
- Title
- calcul md5 fichier linux
- Category
- Shell
- Title
- bash find file with text
- Category
- Shell
- Title
- extract tar.xz ubuntu
- Category
- Shell
- Title
- install babel language
- Category
- Shell
- Title
- undo git pull origin master into feature branch
- Category
- Shell
- Title
- git eof config
- Category
- Shell
- Title
- linux red hat version
- Category
- Shell
- Title
- git not a valid tag name
- Category
- Shell
- Title
- linux start mongodb
- Category
- Shell
- Title
- git remove folder form past all commits
- Category
- Shell
- Title
- command to edit in terminal linux
- Category
- Shell
- Title
- julia install linux
- Category
- Shell
- Title
- FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
- Category
- Shell
- Title
- linux command line in windows 10
- Category
- Shell
- Title
- /usr/local/share/doc/node is not writable.
- Category
- Shell
- Title
- git files changed between two commits
- Category
- Shell
- Title
- git remove remote
- Category
- Shell
- Title
- count occurrences of word in file linux ignoring case
- Category
- Shell
- Title
- how to install jupyter notebook in windows 10
- Category
- Shell
- Title
- git clone with folder name
- Category
- Shell
- Title
- install pm2
- Category
- Shell
- Title
- docker alpine create user and group
- Category
- Shell
- Title
- wtmp is not readable
- Category
- Shell
- Title
- ubuntu sites-available location
- Category
- Shell
- Title
- kill all screen sessions linux
- Category
- Shell
- Title
- navigate to a directory linux
- Category
- Shell
- Title
- install opencv
- Category
- Shell
- Title
- install numpy
- Category
- Shell
- Title
- install tomcat on mac brew
- Category
- Shell
- Title
- install docker ubuntu
- Category
- Shell
- Title
- rec: command not found
- Category
- Shell
- Title
- linux delete appledouble ds_store files
- Category
- Shell
- Title
- install strapi cli
- Category
- Shell
- Title
- git find merge conflicts
- Category
- Shell
- Title
- ubuntu stop process on port
- Category
- Shell
- Title
- join linux to ad domain
- Category
- Shell
- Title
- install onedrive in ubuntu 18.04
- Category
- Shell
- Title
- docker run command on container
- Category
- Shell
- Title
- git diff two commits
- Category
- Shell
- Title
- crop video from specific time to specific time ffmpeg
- Category
- Shell
- Title
- git remove all files in gitignore
- Category
- Shell
- Title
- linux command for get whole website
- Category
- Shell
- Title
- set up git with github
- Category
- Shell
- Title
- what is github
- Category
- Shell
- Title
- clone from git Could not find module "@angular-devkit/build-angular
- Category
- Shell
- Title
- git log display files changed
- Category
- Shell
- Title
- kubectl copy secret namespace
- Category
- Shell
- Title
- npm warn ws butterfly install peer dependencies
- Category
- Shell
- Title
- babel json loader
- Category
- Shell
- Title
- how to rsync linux
- Category
- Shell
- Title
- multi line comment in shell script
- Category
- Shell
- Title
- how to zip a file in linux
- Category
- Shell
- Title
- make a batch file that accepts pipe input
- Category
- Shell
- Title
- mac anydesk start at login
- Category
- Shell
- Title
- pod install ruby: bad interpreter: No such file or directory
- Category
- Shell
- Title
- how to access a samba share folder in linux
- Category
- Shell
- Title
- linux change directory
- Category
- Shell
- Title
- desktop trigger click bash shell ubuntu
- Category
- Shell
- Title
- list all files in a directory and subdirectory linux
- Category
- Shell
- Title
- git find login
- Category
- Shell
- Title
- install node ubuntu
- Category
- Shell
- Title
- ubuntu install sfml
- Category
- Shell
- Title
- ubuntu install composer
- Category
- Shell
- Title
- install laravel on windows
- Category
- Shell
- Title
- how to download a git repository
- Category
- Shell
- Title
- zip current directory mac command line
- Category
- Shell
- Title
- get github profile image
- Category
- Shell
- Title
- install angular on mac
- Category
- Shell
- Title
- flasky fake
- Category
- Shell