52 lines
1.3 KiB
ReStructuredText
52 lines
1.3 KiB
ReStructuredText
a hack to gain 80 percent efficiency when creating github projects
|
|
##################################################################
|
|
:date: 2011-07-11 21:47
|
|
:author: Russell Ballestrini
|
|
:tags: Code, Guide
|
|
:slug: a-hack-to-gain-80-percent-efficiency-when-creating-github-projects
|
|
:status: published
|
|
:summary:
|
|
|
|
|image0|
|
|
|
|
**Last night I decided to learn how to use git for its popularity and
|
|
github to code more socially.**
|
|
|
|
I have to admit early on that I enjoy hg and bitbucket so it came to a
|
|
surprise that github would have me jump through hoops to create a new
|
|
repository...
|
|
|
|
Below I have copied the seemingly bloated github instructions for
|
|
creating a new project.
|
|
|
|
**Github:**
|
|
|
|
#. create project/repo using the form
|
|
#. mkdir scratch
|
|
#. cd scratch
|
|
#. git init
|
|
#. touch README
|
|
#. git add README
|
|
#. git commit -m 'first commit'
|
|
#. git remote add origin
|
|
#. git@github.com:russellballestrini/scratch.git
|
|
#. git push -u origin master
|
|
|
|
Wow...
|
|
|
|
I like my method better.
|
|
|
|
**My Github clone hack:**
|
|
|
|
#. create project/repo using the form
|
|
#. git clone
|
|
https://russellballestrini@github.com/russellballestrini/scratch.git
|
|
|
|
Awesome, 2 steps versus 10. That hack appears 80% more efficient! Now if
|
|
only my name was shorter... LOL
|
|
|
|
You should follow me on twitter `here <https://twitter.com/russellbal>`_
|
|
|
|
.. |image0| image:: /uploads/2011/07/80-percent-github-hack.png
|
|
|
|
.. contents::
|