-
Notifications
You must be signed in to change notification settings - Fork 749
Git Usage
create branch [new branch name]
git push origin [branch name]
git branch -D [branch name]
git push origin :[branch name]
OR
git push origin --delete [branch name]
If the remote branch also has a tag of the same name and you get an error try git push origin :refs/heads/[branch name]
git remote prune origin
git tag
git tag -a mifos-il-beta-? -m "Mifos Individual Lending: version beta-?"
git push --tags
see https://help.github.com/articles/using-pull-requests
in keithwoodlock/mifosx:
git checkout master
# Check out your master branch
git remote add [forkusername] git://github.com/[forkrepository]/mifosx.git
# Add a new remote named after forks maintainer
git fetch [remotename]
# Pull in all the commits from the remote
git merge [remote]/[branch]
# Merge your master branch into the branch from the remote
Optional: Might want to create a local branch with the 'pull request changes':
git checkout -b [new branch name]
git push origin master
# Push your newly-merged branch back to GitHub
git commit --amend -m "change message associated with commit (due to typo)" --author="Keith Woo <keithwoo@somewhere.com>"