(or the mystery man icon if you are too lazy to set your profile up like I am) – its bottom left of the screen. pub extension (I assume? I’m winging it on that one). Also note that we are copying the public key, hence the. Note that I am using the key name I generated, replace this with whatever you used for your key. This is just to (hopefully) aid my swiss cheese brain when I happen across these in future.Įnter a passphrase when prompted, and save it to your password manager (because you do have a password manager and don’t just scribble passwords on a piece of paper or use admin123 as your password right?)Ĭopy the key to clipboard. I saved mine as id_site_bitbucket where site was the name of the site the keys were for. Give the key a name if you don’t want the default. Open a Terminal, and pretend you’re Neo.įirst CD into the. Sadly provisioning scripts don’t listen to me, so I had to sort my act out. I also make this noise whenever someone tries to talk SSH to me. Unfortunately, while provisioning, this attempts to clone a GIT repo. Not long afterwards, I was still doodling ideas on a piece of paper and he had written a provisioner to install a site bootstrap on my local Vagrant install. We thrashed out a few ideas and got to work. I suspect Mr Catmull takes longer to find such people than I do, but I took his advice, and hired a developer who is far cleverer than I am. The brilliant “Creativity INC” by Ed Catmull recommends that you always hire people who are cleverer than you. However, from time to time, I need to work with other developers. The latter is, I hope, partly due to unhealthy levels of imposter syndrome, but I don’t want to take the chance yet.įortunately, most of my repos contain code by me, for me, because like most self-respecting super-heroes and maverick movie cops, I work alone (this may also be influenced by point 2 above). This is good for two reasons: 1, because I am writing code for companies who don’t want other people accessing it, and 2, because I am petrified of anyone seeing my code and discovering the vast depths of my incompetence. I like Bitbucket because it allows for private repositories for free. I even resolved some conflicts earlier (without resorting to “bash their heads together”, which is my default method when it comes to my kids conflicts).Īs an enlightened developer, I also use GIT repositories. Now I don’t touch GIT without SourceTree making everything look friendly. Fortunately a good friend of mine, who we’ll call Riaan, because that is indeed his name, convinced me that it was ok to use a GUI. This was right up until the point that I had conflicts, at which point I would delete everything and feel more like Keanu Reeves playing any character with more dialogue than “uhhh”. I used to run GIT in the terminal because it made me feel like I was Keanu Reeves as Neo in The Matrix. So how did I do it? Well first lets have some backstory… Luckily I resolved everything, which is why I am here chirpily regaling you with my story instead of picking up bits of smashed up keyboard as a result of a temper tantrum (embarrassingly, this has actually happened). Ok so the title is a little dramatic, but I had just run the same provisioning script multiple times only to have it fail when trying to clone a Bitbucket GIT repository.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |