-
Notifications
You must be signed in to change notification settings - Fork 0
Git Setup
Make a personal Fork of Kelly’s Repo: https://github.com/kblincoe/VisualGit_SE701_2019_1. Clone your fork of the repo onto your local machine (You might have to use SSH depending on how your git is set up locally)
- HTTPS:
git clone https://github.com/YOUR_USERNAME/VisualGit_SE701_2019_1.git - SSH:
git clone git@github.com:YOUR_USERNAME/VisualGit_SE701_2019_1.git
Set your fetch URL to Kelly’s Repo: (You might have to use SSH depending on how your git is set up locally)
- HTTPS:
git remote set-url origin https://github.com/kblincoe/VisualGit_SE701_2019_1.git - SSH:
git remote set-url origin git@github.com:kblincoe/VisualGit_SE701_2019_1.git
Set your push URL to YOUR Repo:
git remote set-url --push origin URL/OF/YOUR/REPO
Check your fetch and push URLs are set correctly:
git remote show origin
You should see something like this:
* remote origin
Fetch URL: git@github.com:kblincoe/VisualGit_SE701_2019_1.git
Push URL: git@github.com:YOUR_USERNAME/VisualGit_SE701_2019_1.git
HEAD branch: master
Remote branch:
master tracked
Local branch configured for 'git pull':
master merges with remote master
Local ref configured for 'git push':
master pushes to master (up to date)
Where the fetch URL is Kelly's and push URL is your own.
Now you can run “Git pull” and “Git push” and you will be pulling from Kelly’s branch and pushing to your personal branch.
The next thing you should do is read Git Flow.
Copyright © Team Project Hype-r Phlame. 2019. All Rights Reserved.