create github repo with curl
winpty 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...post request using vue.js github repocd $HOME/Code/repo-directory
# Rename Origin to bitbucket
git remote rename origin bitbucket
# Add the origin of your new github repository
git remote add origin https://github.com/<username>/<repo-name>.git
# Push ypur branch master to your github repo
git push origin master
# Remove the old origin
git remote rm bitbucket
Also in Shell:
- dns_probe_finished_nxdomain linux ubuntu
- .htaccess
- long term projects for java learners
- switch session windows tmux
- uninstall node from linux debian
- convert excel to csv command line linux
- bash ls without substring
- install laravel
- remove git credentials terminal
- add description to commit git
- git match remote master
- delete a deployment in kubernetes
- how to get ssh access to a computer
- how to revert commit in git
- Running modprobe bridge br_netfilter failed with message: ip: can't find device
- convert dash to underscore windows
- server information in powershell
- "at" ubuntu script dschedule
- count occurrences of word in file linux ignoring case
- git bash set global username and password
- git file history
- save account to git
- ERR_NO_CERTIFICATES: Encountered adb error: NoCertificates. ionic
- undo last commit