What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-11-18 03:07:18
turn a folder into a git 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 -
Other 2021-11-17 18:22:15
How to remove remote branches form local repo
git remote prune origin Add solution -
Shell/Bash 2021-11-16 08:05:14
how to upload existing project to github
create a new repository on the command line echo "# {Repo Name}" >> README.md git init git add README.md git commit -m "first commit" git branch -M main git remote add origin https://github.com/cdcdianne/ReactJS-TheMovieDB.git gi... Add solution -
-
Other 2021-11-14 14:57:16
github set new origin master
git remote set-url origin new.git.url/here Add solution