From the course: IntelliJ IDEA Community Edition Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Commit and push changes to GitHub
From the course: IntelliJ IDEA Community Edition Essential Training
Commit and push changes to GitHub
- [Instructor] When you make changes to your application and want to check them into version control that's called committing your changes in Git. To demonstrate this, I'm starting with this fresh project it just has a main class. And I'm going to add a new Java class that I'll call person. Each time you add a new file to a project that has a good repository. You should see this dialogue asking whether you want to add the following file or files to Git. I'll click on add. And now I have uncommitted changes. I'll come back to the main class and I'll add a reference to that new class. I'll create a new variable called person and now instantiate it with the person class. And now I have changes in two files. Now I want to commit those changes. I'll go to the project in the project window and right click, then I'll choose Git and commit directory. I'll see this user interface pop up. I see a listing of all the files…
Contents
-
-
-
-
-
-
-
-
(Locked)
Install Git1m 4s
-
(Locked)
Create a local Git repository3m 33s
-
(Locked)
Configure GitHub in IntelliJ IDEA1m 48s
-
(Locked)
Share a project on GitHub2m 36s
-
(Locked)
Pull changes from GitHub1m 29s
-
(Locked)
Commit and push changes to GitHub3m 38s
-
(Locked)
Manage multiple branches with Git3m 45s
-
(Locked)
Share code snippets as Gists1m 13s
-
(Locked)
-
-