What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-03-02 15:20:25
initialize a repo and push to github
git init git add . git commit -m "First commit" git remote add origin <remote repository URL> git remote -v git branch -M main git push -u origin main 1- # Create a new repository on GitHub. To avoid errors, do not initialize the new repo... Add solution -
Other 2022-02-03 06:20:54
git commands
…or create a new repository on the command line git init git add . git commit -m "first commit" git remote add origin https://github.com/metinkaya1511/FinraDeck.git (GitHub’daki adres) git push -u origin master …push a... Add solution -
Other 2022-02-02 17:55:44
git link on local project
echo "# from-validation-javascript" >> README.md git init git add README.md git commit -m "first commit" git branch -M master git remote add origin https://github.com/coderkhayrul/from-validation-javascript.git git push -u origin... Add solution -
Shell/Bash 2022-01-31 06:36:43
deploy react express to github pages
Make sure you have already created a repo in github. In "package.json" file of project add - "homepage": "https://username.github.io/reponame" Run Install - "yarn add gh-pages" In "package.json/scripts" ad... Add solution -
Other 2022-01-28 05:11:01
Create new repo
# New local repository git init git add . git commit -m "Initial commit" # New remote repository # Create remote repository (likely on github), then: git remote add origin https://github.com/username/new_repo #https git remote add origin git@gi... Add solution