equal
deleted
inserted
replaced
15 |
15 |
16 you need to generate an app password in https://bitbucket.org/account/settings/app-passwords/ |
16 you need to generate an app password in https://bitbucket.org/account/settings/app-passwords/ |
17 |
17 |
18 You can embed the password into URL:: |
18 You can embed the password into URL:: |
19 |
19 |
20 git clone git clone https://$USER:$PASS@bitbucket.org/$USER/$REPO.git |
20 git clone https://$USER:$PASS@bitbucket.org/$USER/$REPO.git |
21 |
21 |
22 As Git uses libcurl you can store password in the file ``.netrc``:: |
22 As Git uses libcurl you can store password in the file ``.netrc``:: |
23 |
23 |
24 machine bitbucket.org login USER password PAZZ |
24 machine bitbucket.org login USER password PAZZ |
25 |
25 |
26 and avoid leaking it into shell history, ompare with the previous Git command:: |
26 and avoid leaking it into shell history, ompare with the previous Git command:: |
27 |
27 |
28 git clone git clone https://$USER@bitbucket.org/$USER/$REPO.git |
28 git clone https://$USER@bitbucket.org/$USER/$REPO.git |