# Changing GIT CREDENTIALS on running drone machine

**URL:** <https://drone.discourse.group/t/changing-git-credentials-on-running-drone-machine/9425>\
**Category:** Drone Support\
**Created:** [November 12, 2020, 1:38pm UTC](https://drone.discourse.group/t/changing-git-credentials-on-running-drone-machine/9425 "2020-11-12T13:38:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joaquin\_Cardenas](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/joaquin_cardenas/32/2883_2.png) [@Joaquin\_Cardenas](https://drone.discourse.group/u/Joaquin_Cardenas)\
**Post date:** [November 12, 2020, 1:38pm UTC](https://drone.discourse.group/t/changing-git-credentials-on-running-drone-machine/9425/1 "2020-11-12T13:38:00Z")

</div>

Hi everyone!  
Disclaimer: I’m a total noob regarding [drone.io](http://drone.io).

Where I work the devOps guy vanished. So it’s my job now to take care of the implementation.  
First thing I want to do is to change the bitbucket credentials the drone works on.

Is there a way to change them without relaunching the docker ? I was thinking to enter the machine and change them inside, as they are env variables, will this be a persistent solution ?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![techknowlogick](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/techknowlogick/32/4245_2.png) [@techknowlogick](https://drone.discourse.group/u/techknowlogick)\
**Post date:** [November 14, 2020, 3:01am UTC](https://drone.discourse.group/t/changing-git-credentials-on-running-drone-machine/9425/2 "2020-11-14T03:01:25Z")

</div>

You can use the [drone-cli](https://github.com/drone/drone-cli) and run `drone repo chown org/repo` for each of the repos in drone (assuming by change the BB credentials you mean what credentials do a git clone).
