quarta-feira, 12 de novembro de 2014

10 Useful Github Features You Need To Know

Github is now a place where programmers and designers work together. They collaborate, contribute, and repair bugs. It also hosts copiousness of open source projects and codes of several programming languages. What’s more, Github also expelled a desktop focus for both Windows and OS X that allows anyone to confederate Github within their workflow seamlessly.


But, there is some-more to Github than meets a eye. A series of facilities are rather dark underneath a neat user interface and hence are ignored by many. So, here are 10 Github facilities that we competence not know.



1. Drag and Drop Gist Code


Gist is Github’s really possess trickery that allows we to horde formula snippets. You can also browse and find a vast series of formula snippets of a accumulation of languages. Using Gist is officious easy and should be intuitive. But, did we know that you can supplement codes directly from files? Simply drag and dump a files on a Gist, a codes within a files will be immediately copied. It’s discerning and saves we a lot of time!



2. Creating a folder around a Web Interface


While many of us competence conduct Github repositories by a giveaway Github app, Github has also built what they called WebFlow. It allows us to conduct repositories by Github’s web interface.


And this is how we create new folders or files in directly in Github. End any new submit with a / to emanate a new folder. Or, mention a record prolongation and strike Commit a New File to emanate a new file.



3. Using Git URL Shortener


These days people like pity things from their photos, statuses, and news in Twitter. If we are a Github user, we competence also wish to share your Github repository. Yet, a repository URL is infrequently too prolonged to be common in Twitter, that usually accepts 140 characters.


Certainly there are copiousness of options to digest a URL like Bit.ly and Goo.gl, though because not cruise regulating Github’s really possess facility, Git.io? Git.io will digest a URL of your Github repository. There is also a authority line interface for Git.io to digest a URL by Terminal regulating a gitio command.



4. File Finder


Besides formulating new files, we can also navigate by a files in any repository quickly. This underline is not visibly apparent as it comes in a form of a keyboard shortcut.


Hit a T pivotal to activate File Finder. Press a and burst over files adult and down. Or, form a record name to name a specific record we already have in mind.



5. Using Github Emoji


Emojis or emoticons are little icons that etch an countenance of some arrange (mostly in a form of faces). In Facebook and Twitter, people mostly demonstrate their feelings with emojis.


Actually, we can also uncover emojis in Github. Find all a Emoji characters and codes in a Emoji Cheat Sheet. The emojis can be combined in README.md record of a repository, Wiki, and in a Issues thread.



6. Using Github Command Line Interface


Whilst many people like operative regulating a GUI, there are still some who cite regulating CLI (Command Line Interface). This is where Github CLI comes in. Github CLI is instituted with hub. It brings additional commands that can be used along with a git commands. The full list of a facilities can be found in a Hub repository page.



7. Linking Lines


Sometimes, we competence wish to share and indicate out specific lines within a record of your repository. Github allows we to do this by adding #L followed by a line series during a finish of record URL (take a demeanour during a instance below).


You can also select a operation of lines by naming a starting and finish lines within a #L parameter. The #L10-15, as an example, selects line 10 to 15.



8. Task Checklist


Github extends discount to support to a possess need. Now we can supplement a list of checkboxes in Github regulating - [ ] or - [x] to imply a checked item. Please note that a checkbox will usually seem in a list item; a [ ] pointer have to be instituted with a lurch pointer dash;. Here is an example:



- [x] emanate a post.
- [x] emanate a page.
- [x] supplement images.
- [ ] published a post.

This formula will spin into:



9. Map, CSV and 3D Rendering


Gihub supports CSV. If we embody a .csv file, Github will render your CSV record into an interactive tabular information format. It even allows we to hunt by it. Aside CSV, Github will also automatically describe Map with a geoJSON format and 3D with a STL extension.



10. Get Octodex


Last though not least, did we know that Github has a accumulation of versions of a mascot, Octocat? Google has a Doodle, while Github has Octodex. Octodex is a collection of artistic swap chronicle of Octocat. There, we can find Labtocat, Femalecodertocat, Octoliberty, Spidertocat, Megacat, and a garland of other cold Octocats. You can use Octodex as we personal avatar. Refer to a FAQ page for some-more on a use process of Octodex. (Image Source: Octodex)





10 Useful Github Features You Need To Know

Nenhum comentário:

Postar um comentário