💻

Connecting GitHub and IntelliJ

Jul 2, 2024

Connecting GitHub and IntelliJ

Steps to Connect GitHub Repository to IntelliJ

  1. Create a GitHub Repository

    • Create the repository on GitHub
    • Copy the repository link
  2. Configure IntelliJ

    • Open IntelliJ
    • Go to VCS
    • Enable Version Control Integration
  3. Set Up Remote Repository

    • Click on VCS again
    • Click on Remote
    • Paste the URL copied from GitHub
  4. Pull and Fetch Branch

    • Pull the main branch to push changes later
    • Fetch to see existing branches in GitHub
    • Command: git pull main
  5. Push Changes

    • Use Command: Ctrl + K (shortcut for Commit and Push)

Conclusion

  • Verify the connection and push changes
  • Video ends with a 'Thank you for watching' note