What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-26 10:55:02
update fork repository
## Add Original Repository git remote add upstream https://github.com/OriginalOwner/OriginalProject.git ## Verify if Repository is added git remote -v ## Fetch Updates from Original Repository git fetch upstream ## Checkout to your master branch git ch... Add solution -
Shell/Bash 2021-08-26 10:48:02
create github repo without browser
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-... Add solution -
-
Shell/Bash 2021-08-25 15:10:34
hosting spa on github pages
### Notes on client-side routing: ### GitHub Pages doesn’t support routers that use the HTML5 `pushState` history API under the hood ### (for example, React Router using `browserHistory`). ### This is because when there is a fresh page load for a ... Add solution