I need to implement the "git pull origin Branchname" without prompting the username and password using the shell script.
git pull origin Branchname
I need to implement the "git pull origin Branchname" without prompting the username and password using the shell script.
git pull origin Branchname
You have two options:
Clone your project using SSH.
Clone your project with HTTPS setting the username and password in the URL itself.
https://username:password@gitlab.com/my-project
git remote set-url origin https://username:password@gitlab.com/my-project
and you cab check your change by git remote -v