Reputation: 7394
I have built my Project using "gradlew build idea"
I linked my project to GitHub and performed my initial commit
using the instructions on the Website.
However when I commit changes from my change lists
it says "files commited"
yet when I check my GitHub repository they are not there?
What do I need to do to configure to Intelij
with my exact Repository on GitHub
?
Upvotes: 1
Views: 1350
Reputation: 1
All the changes you commit are saved in Local. So, you need to push the changes from Local to Remote. For this, right click on master in Local and you can see Push option. Please refer the attached screenshot.
Upvotes: 0
Reputation: 142024
However when I commit changes from my change lists it says "files commited" yet when I check my GitHub repository they are not there?
In order to see your files on the remote repository you have to push them. Once you commit the file are only inside your local repository.
Here is the basic flow that you will need to follow:
Upvotes: 1
Reputation: 7100
GitHub is a git storage website, which you use as a remote. git
repos can be completely local if needed. If you have never pushed before, run:
git remote add origin https://github.com/user/repo.git
git push origin master
Don't commit using intellij
. Use the command line.
git add .
git commit -m "Your commit message"
Upvotes: 1