What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-03-17 06:30:31
rename heroku app local
First update the name for the heroku app on the heroku dashboard (on the heroku website) Then do this on terminal (Make sure you're in the right repository) $ git remote rm heroku (Remove the remote from git) $ heroku git:remote -a <new app name> (... Add solution -
Shell/Bash 2022-02-17 18:05:12
how to delete local master branch in git
$ git remote -v # View current remotes > origin https://github.com/OWNER/REPOSITORY.git (fetch) > origin https://github.com/OWNER/REPOSITORY.git (push) > destination https://github.com/FORKER/REPOSITORY.git (fetch) > destination https://gi... Add solution -
Shell/Bash 2022-01-31 21:31:20
repo from bitbucket to github
cd $HOME/Code/repo-directory # Rename Origin to bitbucket git remote rename origin bitbucket # Add the origin of your new github repository git remote add origin https://github.com/<username>/<repo-name>.git # Push ypur branch master to your g... Add solution -
Shell/Bash 2021-11-11 02:25:21
rm remote git
$ git remote -v # View current remotes > origin https://github.com/OWNER/REPOSITORY.git (fetch) > origin https://github.com/OWNER/REPOSITORY.git (push) > destination https://github.com/FORKER/REPOSITORY.git (fetch) > destination https://gi... Add solution -
Shell/Bash 2021-10-26 04:50:12
git fatal: remote origin already exists.
git remote rm origin Add solution -
-
Shell/Bash 2021-09-18 05:24:03
how to use github to save code
echo "# asd" >> README.md git init git add README.md git commit -m "first commit" git branch -M main git remote add origin https://github.com/Imran-2021/asd.git git push -u origin main sometimes//-> git remote rm origin for cl... Add solution -
Shell/Bash 2021-09-09 13:23:01
remobve git remote
$ git remote -v # View current remotes > origin https://github.com/OWNER/REPOSITORY.git (fetch) > origin https://github.com/OWNER/REPOSITORY.git (push) > destination https://github.com/FORKER/REPOSITORY.git (fetch) > destination https://gi... Add solution -
-
Shell/Bash 2021-08-28 03:24:02
git remove remote
$ git remote -v # View current remotes > origin https://github.com/OWNER/REPOSITORY.git (fetch) > origin https://github.com/OWNER/REPOSITORY.git (push) > destination https://github.com/FORKER/REPOSITORY.git (fetch) > destination https://gi... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5