What do you want to save?
Add Code snippet
New code examples
-
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-08-28 15:07:02
main vs master in git
The main branch has already replaced all new github repos as the main branch. You can read up on it here. There is no actual difference between main and master, it's just the name of the default branch. For you git push origin master just creates a new ... Add solution
Best helpers
Zach Zundel
+5
JSanchez
+5
Sam davies
+5
M. Arafat
+5
AMACB
+5
M208
+5
Kraig Lee
+5
Dk123
+5
Phatfingers
+5
Jsuissa
+5
Steve Caine
+5
Aerin
+5
Nsayer
+5
Phuzi
+5
E meyr
+5
Kevin Raffay
+5
Amziraro
+5
Zijoud
+5
Wad Cheber
+5