What do you want to save?
Add Code snippet
New code examples
-
Other 2021-10-29 01:07:06
git push functions code
echo "# CrossPlatform_GGM" >> README.md git init git add README.md git commit -m "first commit" git branch -M main git remote add origin https://github.com/richabatra/CrossPlatform_GGM.git git push -u origin main Add solution -
Shell/Bash 2021-10-28 20:19:08
how to send your code 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 -
Shell/Bash 2021-10-28 18:07:14
add folder to github command line
# 1) Create a new repository on GitHub. # To avoid errors, do not initialize the new repository with README, license, or gitignore files. You can add these files after your project has been pushed to GitHub. # 2) Open Terminal. # 3) Change the current w... Add solution -
Shell/Bash 2021-10-27 11:34:15
git push existing clone
$ git remote add origin <remote repository URL> # Sets the new remote # Push the changes in your local repository to GitHub. $ git push -u origin master # Pushes the changes in your local repository up to the remote repository you specified as the ... Add solution -
Other 2021-10-22 00:19:13
github new 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