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-11-15 23:15:14
update branch with master
git checkout master git pull git checkout mybranch git merge master # to keep mybranch in sync with master # then when you're ready to put mobiledevicesupport into master, first merge in master like above, then ... git checkout master git merge mybran... Add solution -
Shell/Bash 2021-11-13 18:43:28
git how to work with remote branch and fork
Step 1) Checkout new branch `git checkout -b new-branch` Step 2) Make changes Step 3) Add to git `git add .` Step 4) Commit `git commit -m "Made changes!"` or `git commit -a` Step 5) Push to your repo `git push origin new-branch` Step 6) Make PR... Add solution