- First clone the repo:
cd $mg
git clone https://github.com/DistAlchemist/Mongongo.git
# or git clone git@github.com:DistAlchemist/Mongongo.gitor sync with the remote:
git fetch origin
git checkout master
git rebase origin/master- Create a new branch
dev-featurename
git checkout -b dev-test- After you have made some progess, first commit it locally:
git status
# make sure to add unwanted files to .gitignore
git add . # add all change files
git commit -m "rewrite sql parser" # commit locally- You may commit many times locally. Once you feel good about your branch, push it to remote.
git push origin dev-test # push local branch to origin with branch name `dev-test`- Then view https://github.com/DistAlchemist/Mongongo, Click the Compare & Pull Request button next to your
dev-testbranch.