What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-09-11 00:25:02
git upload folder
# 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 -
Shell/Bash 2021-09-01 10:01:02
add github 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 -
Shell/Bash 2021-08-30 19:12:02
change remote url github
$ git remote -v > origin https://github.com/USERNAME/REPOSITORY.git (fetch) > origin https://github.com/USERNAME/REPOSITORY.git (push) Change your remote\'s URL from HTTPS to SSH with the git remote set-url command. $ git remote set-url origin gi... Add solution -
Shell/Bash 2021-08-30 06:00:03
set up git repository
# 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