Category

Git

Category

Check branch: git remote -v // origin git@github.com:siddharth018/Laravel7MultiCategory.git (fetch) // origin git@github.com:siddharth018/Laravel7MultiCategory.git (push) Example: git remote set-url origin git@github.com:siddharth018/Laravel7MultiCategory.git git remote -v // origin git@github.com:siddharth018/Laravel7MultiCategory.git (fetch) // origin git@github.com:siddharth018/Laravel7MultiCategory.git (push) (see git help remote) or you can just edit .git/config and change the URLs there. You’re not in any danger of losing history unless you do something very silly (and if you’re worried, just make a copy of your repo, since your repo is your…

benefits of ssh if we have set up one time we don’t need to put username and password again and again. Open a terminal on Linux or macOS, or Git Bash / WSL on Windows. Step 1: Generate a new SSH key pair: ssh-keygen Step 2: now copy code from User/username/.ssh folder and open file id_rsa.pub copy code form this file and post in the gitlab account https://gitlab.com/profile/keys now upload code in the profile section…

fork is a clone. It emerged because you cannot push to others’ copies without their permission. They make a copy of it for you (fork), where you will have write permission as well. Step 1: Login your account and go to your project Step 2: Select your project and click on fork if you get the message No available namespaces to fork the project. then click on groups->yourgroup from the menu and create a new…