You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
minio/docs/git/workflow.md

909 B

Git Workflow

Update local repo with latest changes from upstream

git fetch

Create a new branch from the latest code

git checkout origin/master
git checkout -b new_feature_branch
# do work here

Create commit for submission

git commit -m "My Commit Message"

Prepare commit for inclusion

git fetch
git rebase origin/master

Assuming no conflict, push to your personal fork.

git push myrepo new_feature_branch:new_feature_branch
# Visit https://github.com/minio-io/minio and create a new pull request
from your branch.

Useful Tools

As an alternative to manually pushing and creating a branch, use github.com/docker/gordon pulls send command:

Create a new pull request.

pulls send
# automatically performs git push and creates pull request

Update an existing pull request (e.g. PR 42)

pulls send 42