Skip to content

Instantly share code, notes, and snippets.

@mattd
Last active March 23, 2016 13:06
Show Gist options
  • Save mattd/5354661 to your computer and use it in GitHub Desktop.
Save mattd/5354661 to your computer and use it in GitHub Desktop.
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:g1nn13/jakarta
[branch "master"]
remote = origin
merge = refs/heads/master
[remote "mattd"]
fetch = +refs/heads/*:refs/remotes/mattd/*
url = [email protected]:mattd/jakarta
# common workflow
# get most recent changes from g1nn13
git fetch
git merge origin/master
# make a new topic branch
git checkout -b new-modal
# do some work
# check in your work
git commit -am "Make the modal more better."
# either merge locally...
git checkout master
git merge new-modal
# ...and push to your repo's master
git push mattd master
# then submit a pull request for master -> master
# ...or push your topic branch to github
git push mattd new-modal
# then submit a pull request for new-modal -> master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment