Inside GitHub: Helpful Github Hacks And Tips For Web Development

Post on 04-Aug-2015

1.248 views 3 download

Tags:

Transcript of Inside GitHub: Helpful Github Hacks And Tips For Web Development

10+ HELPFUL

@tompeham I @usersnap

TO BOOST PRODUCTIVITY

GITHUB HACKS

HELLO EVERYONE!

MY NAME IS THOMAS.

I GUESS YOU’RE FAMILIAR WITH GITHUB, RIGHT?

THAT IS GITHUB

GitHub for developers?

Many developers breathe GitHub.

And that’s great.

It’s the software that helps us (developers) build great software.

10+ HELPFUL GITHUB HACKS

FULL LIST OF GITHUB HACKS

Can be found here: http://goo.gl/GYVWw2

1. CLONE LIKE HELL

Clone and learn.

• GitHub offers a great amount of free, public projects and code snippets.

• You can use all that code. For free.

• Clone projects + download code = learn about coding practices.

2. WHO TO FOLLOW?

Who to follow on GitHub?

• GitHub is the largest developer community in the world.

• Follow interesting people and gather inspiration.

• Here’s how.

Who to follow on GitHub?• Assuming that people who have a

huge follower base on GitHub are worth to follow:

Who to follow on GitHub?• Search for people with more than

1.000 followers. • Here’s the search query:

https://github.com/search?o=desc&q=followers%3A%3E1000&ref=searchresults&s=followers&type=Users

Who to follow on GitHub?• Search for repositories which have

been starred a great number of times:

• https://github.com/search?o=desc&q=stars%3A%3E1000&ref=searchresults&s=stars&type=Repositories

3. KEYBOARD SHORTCUTS

Keyboard shortcuts

• Why not use shortcuts on GitHub?

• Press “?” on any GitHub page and you’ll get a list of shortcuts available.

Keyboard shortcuts

4. COMMIT EARLY AND OFTEN

Keyboard shortcuts

• Commits are updates to a project which refers to changes in one or more files

• very completed task should therefore result in a commit on GitHub

5. TRACE CHANGES IN A FILEWITH GIT BLAME

Trace changes with git blame• git blame is pretty cool. It’s an super

easy way to display changes of any file.

6. SEND LINE LINKS

Send line links

• Did you know that you share links to a certain code line (or multiple lines)?

• Simply select the line in the code view and you’ll see how the URL will change. You can even select multiple lines by pressing “SHIFT”.

THERE’S WAY MORE…

CHECK OUT FULL LIST OF GITHUB HACKS

http://goo.gl/GYVWw2

QUESTIONS?

PING ME ON TWITTER @TOMPEHAM

THOMAS PEHAM

@tompeham

tp@usersnap.com

Image credits: photopin.com

ONE LAST THING…

JUST PING US ON TWITTER.