rental seeking application
Install Git if you don't have it and create a Github account if you don't have one.
Quick Git Guide Here: http://rogerdudler.github.io/git-guide/
Forking Repository
- Make sure you’re logged into GitHub with your account.
- Go to this repository [https://github.com/jherrick/361-proj]
- Click the Fork button on the upper right-hand side of the repository’s page.
Making a Local Clone
- Navigate to your newly forked repository (on your github account)
- Copy the URL
- In your desired directory type "git clone [url-that-you-just-copied]"
Adding a Remote
- In same directory you just put your local clone in
- Add a git remote pointing back to original repository by typing "git remote add https://github.com/jherrick/361-proj"
Keep your Fork in Sync
- Pull changes from original repo with "git pull upstream master"
- Push these changes to YOUR forked repo with "git push origin master"
Optional (Safe) Feature Branch Method
- In directory type "git checkout -b [new-branch-name]"
- Write your code
- Push changes in branch back to github by typing "git push origin [new-branch-name]"
Create a Pull Request to merge your code with main repository
- Go to MAIN repository and click “Pull Request” and follow Instructions.
- [OPTIONAL] If you used a branch make sure your pull request is sourcing from your feature branch NOT your master
Post-Pull Request Cleanup
- If you used a branch, delete it with "git branch -d [branch-name]"
- Update master in your forked repo with "git push origin master"
- If you used a branch, push deletion of feature branch to your "github repo with git push --delete origin [branch-name]"