![]() Key with the “Personal Laptop” label (or any other name provided) should be listed like in the following image →Īt this point we have everything ready to work with Git and Bitbucket… ONLY if you are someone who loves the command-line! Click on the “Add key” button to save and close the popup. For example it could be “Personal Laptop”.ĥ. Provide a label for this key in the “Label” text box, to identify it (optional). In the “Add SSH key” popup that comes up, paste the copied contents of the public key in the “Key” text box.Ĥ. Click on the “SSH keys” link under “Security” section of the settings and click on “ Add Key” button on the right, to add a new key.ģ. Log into Bitbucket and click on your avatar (bottom left-hand corner). Once you press Enter, the contents will be in clipboard, ready to be pasted.ġ. Easiest way to copy the contents of the public key to the clipboard is to use the “clip” command as follows → ![]() Keep pressing the Enter key to accept the default file locations and to skip providing a passphrase. You will be prompted to provide file location and to enter a passphrase twice. Ssh-keygen –t rsa –C your email address registered with Bitbucket) Type the following command and press Enter → Click Start Menu and type “Git Bash” and press Enter to open the Git command line (if it is not already open)Ģ. Lets go ahead and create our SSH identity to communicate with Bitbucket.ġ. To make sure we don’t enter our username and password every time we push to or pull from the Bitbucket repository, we should use SSH (secure shell) to communicate with Bitbucket. Git config –global user.name “John Doe” git config –global user.email is how it would look in Git Bash →Ĭreate SSH identity and copy public key to clipboard. Provide your name and email address to Git, so that it will label your commits properly.įor example, if you want your name to look like “ John Doe” in your commits and your email address (registered with Bitbucket) is you would enter the following two commands (press Enter after each line) → Click Start Menu and type “Git Bash” and press Enter to open a Git command-line windowĢ. Continue clicking “Next” without changing anything and finally click “Finish” to complete the setup. We only mark “Git Bash Here”, as shown in the image (This will add an entry in the right-click context menu of folders) →ģ. Start the installation and continue clicking “Next” until you come to the “Select Components” view (see below). I assume you can adapt to minor differences in your flavor of Windows.ġ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |