-
Notifications
You must be signed in to change notification settings - Fork 3
Setup intelliJ
Iván Uresti edited this page Mar 28, 2017
·
1 revision
-
Import project from GitHub
- Using menu File/New/Project from version control/GitHub
- Select in Auth Type: Password
- Type credentials
- Check “Save credentials”
- Click on Login

-
Set repository URL
- Copy https://github.com/desarrolladorSLP/Design-Patterns-Java.git to "Git Repository URL"
- Select an empty local directory to download the project
- Click on "Clone"

-
After the project opens the current branch will be master. Switch to your desired branch
- In the bottom-right corner of IntelliJ click on "Git: master"
- Click on your desired branch name
- Click on "Checkout as new local branch"
- If checkout is successful, you'll see the name of the new branch at the bottom-right corner
- In the bottom-right corner of IntelliJ click on "Git: master"
-
Simple test for permissions
- Add a simple modification
- Right-Click on project name in project view
- Click on "Git/Commit directory"
- Add a message in "Commit message" textbox
- From "Commit" button click on "Commit and Push" and accept the following dialogs
- You should see a green message "Push successful: Pushed 1 commit to ..."