bitbucket.rst
changeset 2524 748dd6b6084c
parent 2523 8add39b5cc01
child 2525 cb9c3e5c2884
equal deleted inserted replaced
2523:8add39b5cc01 2524:748dd6b6084c
    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