Skip to content

Instantly share code, notes, and snippets.

View GarySmith's full-sized avatar

Gary Smith GarySmith

  • Williams-Sonoma Inc
  • United States
View GitHub Profile
@GarySmith
GarySmith / GitHub-Forking.md
Created April 17, 2020 00:42 — forked from Chaser324/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, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and 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 repo or j

" Load plugins via Vundle
filetype off
" Use the simple plugin manager vim-plug.
" (https://github.com/junegunn/vim-plug) to manage plugins. This avoids the
" pain and confusion that vundle may cause. Its setup in this file is
" simpler, plus it uses shallow git glones (for less space), and is very
" fast and simple to update.
"
" PlugStatus - check status of installed plugins
" Vim colour scheme
"
" Based on the beauty256 color scheme
hi clear
set background=light
if exists("syntax_on")
syntax reset
endif
import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
class App extends Component {
constructor(props) {
super(props);
this.state={
expanded: false,
presets : [],
[user]
name = Gary Smith
email = gary.smith@suse.com
[core]
editor = vim
excludesfile = ~/.gitignore
#pager = less -X
# As of git 2.9, git will look in hooksPath for hooks instead of .git/hooks
hooksPath = ~/.githooks
@GarySmith
GarySmith / keybase.md
Created May 17, 2017 19:18
keybase.md

Keybase proof

I hereby claim:

  • I am GarySmith on github.
  • I am garysmith (https://keybase.io/garysmith) on keybase.
  • I have a public key whose fingerprint is 8343 8490 3A44 DCD1 E29F ECB2 5AA2 0CC6 BEAA FFC0

To claim this, I am signing this object:

@GarySmith
GarySmith / tmux-cheatsheet.markdown
Created May 8, 2017 22:44 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname