How to use GitHub efficiently

Source: Internet
Author: User
Tags hosting ruby on rails

It is Github that makes social programming a reality. This article tries to talk about GitHub's culture, skills and influence.

    • What is Q1:github?
    • Q2:github style
    • Q3: How to learn from a cow on GitHub
    • Q4: Enjoy pure writing and speaking
    • Q5: Code to help you find a job
    • Q6:github's still affecting something.
    • Q7: What else can I choose from GitHub?

What is Q1:github?

A1: A company

Located in San Francisco, three developers were founded in April 2008 by Chris Wanstrath, PJ Hyett and Tom Preston-werner. So far, it has 59 full-time employees, mainly providing git-based version hosting services.

Before that, it was a project for hosting Git, which was started by Tom and Chris at a local programmer's party. As every great legend begins with an adventure, Tom in this article how I quit Microsoft 300,000 annual salary offer, started on GitHub to talk about:

When I'm old and looking back on my life, I want to say, "Wow, that's an adventure," and not, "Wow, I'm really safe." “

Another founder, Chris, described in detail the causes and consequences of the GitHub start-up, he said:

Do whatever want.

As a result, on April 10, 2008, GitHub was formally established.

At the moment, the GitHub adventure has won. Based on a description of GitHub from Wikipedia, we can visualize the growth rate of GitHub:

Today, GitHub is:

    • A community of 1.43 million developers. Among them are top hackers such as the Linux inventor Torvalds, and young geeks such as Rails founder DHH.
    • The most popular open source hosting service on the planet. Currently hosting 4.31 million Git projects, not only are more and more well-known open source projects moving into GitHub, such as Ruby on Rails, JQuery, Ruby, ERLANG/OTP, and nearly three years of popular open source libraries often start on GitHub, for example: BootStrap, node. js, Coffescript, etc.
    • Alexa Global rankings 414 website.

Q2:github Style

A2:github is just GitHub .

Emphasis on agile development and rapid prototyping, and indeed successful entrepreneurial team, often have an important temperament: have their own cultural style. such as GitHub, and 37signals. Through their rapid development, the user proved the technical ability of the team, and often have surprises. At the same time, by emphasizing the culture of Maverick, the trust of the product group with a short half-life is transformed into the trust of the GitHub team.

Gravatars's founder (yes, the Internet's most popular avatar hosting system), Jekyll (yes, it's the blogging system I've used in recent years), the founder of GitHub, and the current CTO, Tom, in the first year of GitHub, 10 lessons learned from the start-up school speech Every aspect of GitHub's culture. I try to summarize this style to the following points:

    • Focus on creation, high creativity
    • Well-run and high internal and external satisfaction
    • High profit, lower financing or 0 financing

Startups are mostly dead on money, so let's start with the money:

high profit, lower financing or 0 financing

Is it hard for a company like GitHub to get venture capital? On the contrary, the founder, PJ Hyett, said in a commentary to Hacker News that since GitHub was founded, it has communicated with dozens of VCs. But until today, GitHub's funding is still zero and proud. Let's take a look at GitHub's self-introduction:

well-run and high internal and external satisfaction

On the Quora, it was asked if GitHub was looking for acquisitions. , or PJ Hyett, his answer is: No.

GitHub runs well from the start and employees have a high level of satisfaction and look at these different practices:

    • Every GitHub company's new employee, the official blog will be published in a welcome article.
    • Within GitHub, there is no manager, and the requirements content and priorities are determined by the project team itself.
    • Choose your own working time and place of work.
    • Employees come from the open source community.
    • Open source as much as you can.

Passionate, creative employees make GitHub widely recognized by the community to have a high degree of customer satisfaction and profit from the start of a business. An early survey showed that GitHub quickly became the preferred Git hosting.

focus on creation, high creativity

GitHub59 is a full-time employee with only 29 employees working locally! Not only is the location of the workplace creative, GitHub employees Holman, detailing how GitHub works:

    • Time doesn't explain anything.
    • How Asynchronous works
    • Creativity is important.

Q3: How to learn from a cow on GitHub

A3: Deliberate practice in the learning area

Follow the bulls and practice with them .

修行之道:关注大师的言行,跟随大师的举动,和大师一并修行,领会大师的意境,成为真正的大师。

As this Zen poem says, instead of looking at a bull in the wall, it's better to go straight to GitHub:

    • Watch, fork, cattle, people.
    • Submit a pull request to their project
    • Volunteer projects to write wikis or submit test cases, or problems
    • can also help them to translate Chinese

GitHub itself builds on git, and git becomes a necessary tool for hooking up with the Masters, and the following readings become the first choice:

    • Git plain English get started, Wood has advanced content
    • Why Git trumps x ...

If you want to go further, you can read the materials that have been translated into Chinese:

    • Progit:github Company Missionary Schacon, has been translated into multi-national languages, of course, there is a Chinese version.
    • Git Magic: A volunteer has translated the Chinese version.

Similarly, if you want to learn more about GitHub's own knowledge, the GitHub official documentation is highly recommended:

    • The GitHub Hep

where are the cows?

    • The code base itself on GitHub: in particular: Explore, the top two columns of the spotlight

    • GitHub Official recommendation: GitHub's own official blog and GitHub employees ' personal blog recommended projects and developers

    • GitHub libraries mentioned on various social media: especially the GitHub library mentioned in Hacker News.

About the study of psychology, often talks to a term: meta-cognition, meta-learning, meta-knowledge . Yes, cognitive cognition, learning about learning, knowledge about knowledge, your preference and mastery of this information will make you more pro in learning a new thing. backtracking on first-hand information, such as the author, the founder, and the original source of the document, will always make it easier for you to understand knowledge.

deliberate practice in the Learning Area: Project statistics with Gitstats

How to learn a new programming language? In the study area, I have already talked about:

The best way to learn programming is to practice deliberately in the learning area.

How to self-supervise?

With the help of gitstats, we can count the workload of each of our projects and see how the work progresses.

Use the following,

#复制 GitStats 项目到本地 cd ~/devgit clone git://github.com/trybeee/GitStats.gitpython ~/dev/gitstats/git-stats /youproject public

The following is a demonstration of the resulting results:

Number of weekly code submissions:

Number of code submission lines per day:

If you Fork someone else's project or a multi-person project, it is best to have a separate branch, which is then merged by the project maintainer. How to build your own branch?

# 分支的创建和合并# git branch yourbranch # git checkout yourbranch 切换到 yourbranch# 开发 yourbranch 分支,然后开发之后与 master 分支合并# git checkout master# git merge yourbranch# git branch -d yourbranch 合并完后删除本地分支

How do I update a cow's remote branch to its local branch?

# 查看当前项目下远程# git remote# 增加新的分支链接,例如 git remote add niuren giturl…# 获取牛人的远程更新 git fetch niuren# 将牛人的远程更新合并到本地分支 git merge niuren/master

Productivity Tips

codeshelver: Tag git library

How do you manage the items if you are seeing more? After installing the extension with Codeshelver, you can label the GITHUB project.

Gollum: Using Git to do wikis with GitHub

Gollum is a git-based lightweight wiki system.

githubwatcher: Monitoring key Projects

The githubwatcher is suitable for scenarios where notifications are infrequent.

GitHub Official Resources

GitHub officially lists some useful scripts and bookmarks.

community-driven installation and configuration files

There are a number of types of profiles in GitHub that are commonly used:

    • Osh-my-zsh: After changing the terminal from bash to zsh, consider installing a community-driven zsh configuration file with multiple plugins. can refer to old text zsh and oh-my-zsh
    • Gitignore:github Official Productions
    • Yourchili: Server Various installation shell, such as installing nginx and so on.

Q4: Enjoy pure writing and speaking

A4: The initial of the regression creation

Writing

As early as 2008, there were technical book authors writing through Git, and here's a demonstration:

    • node. js Beginner's textbook, Chinese version here.
    • Backbone Foundation
    • Sinatra Tutorials

You can think of technical frontier topics, most of which can find appropriate training materials or open source books on GitHub.

Personal writing still applies. The ideal writing environment in the previous article: Git+github+markdown+jekyll, I have been particularly praised for these wonderful things.

Warm tones of light, enough width of the work desk, listening to the crisp keyboard sound, based on Git, GitHub, Markdown and Jekyll to write, do not worry about writing waste and typesetting, only focus on the purest writing, is a kind of enjoyment. I sometimes wonder what would have happened if Git, Github, Markdown, Jekyll, and the authors of Yaml and Json were to let these authors redesign the partial text of today's Internet infrastructure.

Personal Blog

With Jekyllbootstrap, you can quickly build a Jekyll-based blogging system on Github.

In addition to this simple approach, there are other methods, such as:

    • Jekyll: Refer to the Farewell WordPress, Embrace Jekyll
    • Octopress: Reference Ruby Open Source project Introduction (1): octopress--blog Like a hacker
    • GitHub pages: reference to GitHub pages

Speeches

With GitHub, you can enjoy a more pure and cool presentation. After GitHub acquired Ordered List in 2011, it was possible to share PPT documents better by Speakerdeck.

We can also:

    • Showoff, developed by Progit author Scott Chacon, a famous GitHub missionary
    • Other lecture libraries from the open source community impress.js

Q5: Code to help you find a job

A5:github Resume is honest .

NUMERICR (non-GITHUB staff) makes a CV generator based on the GitHub Pages feature, which is extremely simple to use, log on to the GitHub CV generator on the website and fill in your GitHub website username.

FREDWU is an active member of the Ruby Chinese community, his open source project Angel_nest, an angel investment and entrepreneur docking site, suitable for ruby beginners to upgrade to Ruby Intermediate developers, and was warmly discussed in Hacker News, let us take a look at his resume:

Http://resume.GitHub.com/?fredwu

It's because the code on GitHub can't be faked, and it's easy to understand the breadth and depth of your knowledge with the projects you care about. More and more famous companies are now active on GitHub, releasing open source repositories and recruiting talent, such as Facebook, Twitter, Yahoo ...

Start with a third-party site offering GitHub-based talent recruitment services, such as:

    • Githire: Through it, you can find the programmers in your area.
    • Gitalytics.com: Through it, you can evaluate the impact of a programmer on GitHub, LinkedIn, StackOverflow, Hackernews and more.

Q6:github's still affecting something.

A6: Empowering computers to enhance human intelligence

Many years ago, in a prestigious institution, two of the Bulls who had taken the Turing Award had a conversation:

    • Bull A: We have to give machines wisdom and self-awareness!
    • Ox man B: You're going to do so much good for the machine? What are you going to do to the humans?

The conversation comes from "runaway". Ox man A is Minsky, he likes to regard mankind as a machine with flesh and blood, his frame theory becomes the foundation of cognitive psychology and artificial intelligence. The Ox man B is engelbarth. When Minsky published his famous article about Ai in 1961, Engelbarth was a nameless man. Until the following year, Engelbarth published a macro: the enhancement of human intelligence: a conceptual framework. Put forward another way to enhance human intelligence: don't try to invent an automatic typing machine, but try to invent a mouse, and he really invented the mouse!

From the development of recent years, still is Minsky prevail, but, 30 years Hedong, 30 years Hexi, Minsky ai direction and how many years no big breakthrough? On the contrary, ideas from Engelbarth, collective wisdom and so on, gradually become the consensus after entering the Web2.0 era. It is not right or wrong, it can be said, Engelbarth provides a workable framework for enhancing human intelligence. Instead of inventing smart, expensive, functional, integrated intelligent robots, it is better to invent a single piece of human intelligence that resembles a mouse, such as a stupid, inexpensive, functional single. Minsky robots are apt to fall into a dead end and do not rise to the height of philosophy. Now slowly back to engelbarth this direction. For example, now IBM is starting to advertise cognitive computing.

From the nature of the problems that Git and GitHub design and solve, the code production process is significantly accelerated and the emergence of superior intelligence products is facilitated. This is a typical web2.0 for the improvement of the intellectual production process and the enhancement of human intelligence. Similarly, in a sense, the novel writing site also plays a similar role. However, intellectual product production in academia, especially in the social sciences, seems to remain at an ancient stage. In the field of open source, good ideas abound, geeks influence geeks, and the end result is cool stuff. These cool things abandon vanity, straight to the nature of the problem. So, is there a scientific GitHub??

Similar problems abound, the following are incomplete lists of products in other areas.

Academic Research

    • In addition to the earlier ArXiv, PLoS, more meteorological can be recommended Mendeley, open periodicals Catalogue

Data

    • Buzzdata: Data sharing easier

Scientific Calculations

    • Opani: In the embryonic, support R, Python and many other.

Education

    • Openstudy: A social learning network, through mutual help to better study, the theme of computer, mathematics, writing and so on.
    • Openhatch: Help newcomers get to the open source community with exercises, tasks, and more

Q7: What else can I choose from GitHub?

A7:nil

Because of evolutionary needs, most naked apes have selective obsessive-compulsive disorder: Which programming language is better? Which Web development framework is better? Of course, the most so that the otaku technology men envy the question is, high-white thin be or young young Lori good? :D

In addition to GitHub,

    • Is it better to have Chinese cottage products? (Why not write their names, you know, the cottage is always good at arguing about who is the first cottage, the respective ranking successively: D)
    • is the free BitBucket more suitable for Python programmers?
    • As a toss-up clan, I do not build a GITLABHQ, is not sorry myself?

We can understand that it is because there is no number of bifurcation, so that humans are no longer subject to a certain gene, specific diseases, authoritarian family, so as to have unlimited possibilities. However, this choice of obsessive-compulsive disorder is compared with the poor information of ancient times,

    • In today's big data age, will it also help humanity as a whole to evolve as a group and as an individual's happiness?
    • Today a first-tier city 30-year-old university graduates experience the choice of the whole life experience of Confucius Choice, purely on the number of, who is less than?

Life is so short, why do you always waste your youth in a constant choice? Punish you, go back to the TED speech of psychologist Schwartz Schwartz: The confusion of choice-why is it less, 100 times, 100 times. Please remember Mr. Schwartz's speech points:

    • More choices do not mean more freedom;
    • More choices lead to delays in decision making and reduced satisfaction;
    • The secret of happiness is to lower your expectations.

Finally, let me have a more lyrical,

Good things are always inseparable from the fate of the wall, let us quietly look forward to the day of the coming ... Also let us in their respective industry efforts, so that the next generation, the next generation, the next generation ... (Hope N<=1, if n>=4, I ghost also can not let you! ) no longer have this day.

http://www.open-open.com/news/view/134c37d

How to use GitHub efficiently

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.