buymeasoda RefDocs
  • Overview
  • General
    • Android
    • Apache
    • Fish
    • Git
    • Github
    • Gmail
    • Homebrew
    • iOS
    • iTerm
    • MacOS
    • MacPorts
    • Mamp
    • Media
    • Mercurial
    • MySQL
    • Node
    • npm
    • nvm
    • Obsidian
    • PHP
    • React Native
    • Rust
    • Server
    • Slack
    • Sourcegraph
    • Tools
    • Vim
    • VS Code
    • Yarn
  • Unix
    • Checksum and hash utilities
    • Command line history
    • Command line keyboard shortcuts
    • Compress files and folders
    • Crontab
    • Diff files and folders
    • Disk usage and file sizes
    • Find and search files
    • Firewall configuration
    • Help and manual pages
    • HostName and Local HostName for Mac OSX
    • Navigating the file system
    • Network, domains and routing
    • Run and manage background tasks
    • Secure FTP SFTP and Secure Copy SCP
    • Secure Shell SSH
    • Sync files and folders
    • System and process management
    • System and user information
    • Useful characters
    • Useful commands
    • User, file and group permissions
    • Working with cURL
    • Working with files and directories
    • Working with text
Powered by GitBook
On this page
  • Open Source Contributions
  • Fork and Clone
  • Configure Repo
  • Commit and Update
  • Create Pull Request
  1. General

Github

Open Source Contributions

Create and submit pull requests to GitHub hosted open source projects.

Fork and Clone

Fork project repo via GitHub UI and clone fork to local development machine.

git clone git@github.com:<user>/<fork>

Configure Repo

Add original project repo as remote upstream

git remote add upstream <original-repo>

Set email configuration for project commits

git config user.email "<email>"

Commit and Update

Make changes, commit and push to your fork, then update local fork to latest upstream repo state.

git fetch upstream
git checkout master
git merge upstream/master

Create Pull Request

Create pull request via GitHub UI for changes.

PreviousGitNextGmail

Last updated 3 years ago