copy code from one repo to another git
# checkout repository A
git checkout [email protected]:username/repoA.git
# cd into old repository
cd repoA
# change remote origin to the newely created repo (exemple repoB)
git remote set-url origin [email protected]:username/repoB.git
# push branch into repoB
git push origin <branch>
# cd into new repository and pull branch
git checkout origin <branch>
# finally don't forget to reset origin for repoA
git remote set-url origin [email protected]:username/repoA.git
Also in C++:
- wsl2 ubuntu
- zsh stat timefmt Ymd HMS
- django
- new linux terminal shortcut
- openssh client for windows 10
- terraform state
- xdebug ubuntu
- twisted.internet.error.ReactorAlreadyInstalledError: reactor already installed [5804] Failed to execute script main
- how to install pyttsx3
- albert for ubuntu
- add user to group arch
- groupadd to folder linux fedora
- ubuntu change primary group
- powreshell function cleanup
- ubuntu undelete a whole directory
- linux yaml validator command line
- electron quickstart guide
- stremio: Depends: libfdk-aac1
- install python linux
- ps1 is not digitally signed. thinwgworx
- git fetch rebase
- boost volume ubuntu
- Error: Fetching /usr/local/Homebrew/Library/Taps/commands/homebrew-pup failed!
- uninstall libxcb