Skip to content

Instantly share code, notes, and snippets.

View henrylim's full-sized avatar

Henry Lim henrylim

View GitHub Profile
@henrylim
henrylim / GitHub-Forking.md
Created October 22, 2016 01:16 — forked from jamescarlos/GitHub-Forking.md
GitHub Standard Fork & Pull Request Workflow

Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, when I started going through the process of forking and issuing pull requests, I had some trouble figuring out the proper method for doing so and made quite a few mistakes along the way. I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.

In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.

Creating a Fork

Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your

@henrylim
henrylim / .trellis_git_bash_functions
Created September 21, 2012 21:19
bash functions for trellis and git
#!/bin/bash
#--------------------------------------------------------------------
#
# can put this in your .bashrc or .zshrc
# if [ -f ~/.git_bash_functions ]; then
# . ~/.git_bash_functions
# fi
#
#--------------------------------------------------------------------