Git and the horror of the extra colon

Never enter the command line git push origin :master when you mean git push origin master. Instead of coping your master branch's local changes to the remote repository you delete the remote repository's master branch. You can't undo this mistake. My initial reaction to the fact that I just deleted the company's source code was not a comfortable one. What I soon found out, however, was that you can just push again your master branch to return it to the remote repository. I am not sure this is the correct fix but it did seem to work.

Calliope Sounds is Andrew Gilmartin's occasional blog about his interests and observations.

I am currently looking for employment or contract work. I am a creative team member who designs and builds software systems and information architectures. I have a breadth of skills gathered from decades of working with a wide range of tools and disciplines within companies large and small. I enjoy working in software as the software development process is a practicable and grounded form of design thinking combined with exceptional tooling. I write, diagram, and speak clearly.