0

I have a git repository hosted by Visual Studio online. And I want write a script that will automatically Add, Commit and push.

I wrote this:

git add --all
git commit -m "commit_$date"
git push -u origin 

But when it runs, it always asks me to enter my credentials. how can I integrate the credentials into the push command?

Thanks

Shmuli
  • 155
  • 2
  • 13

0 Answers0