What do you want to save?
Add Code snippet
New code examples
-
Other 2021-08-27 14:36:01
Add heroku remote
git remote add heroku [email protected]:project.git Add solution -
Shell/Bash 2021-08-27 11:15:03
git add existing project to repository
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 -
-
Shell/Bash 2021-08-27 07:50:02
git update remote origin
git remote set-url origin new.git.url/here Add solution -
Shell/Bash 2021-08-27 07:23:02
git pull updates from fork
# Add the remote, call it "upstream": git remote add upstream https://github.com/whoever/whatever.git # Fetch all the branches of that remote into remote-tracking branches, # such as upstream/master: git fetch upstream # Make sure that you'r... Add solution -
Shell/Bash 2021-08-27 04:13:02
create a repository git terminal
# 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-27 01:42:01
how to initialize a git repository command line
# 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