I am using Git_Cola on Ubuntu and would like to know how to do some things with it.
I have a repository and have files in it. I change a file and it shows up in cola that the file is changed.
I stage the file and drag it to the commit window. I title the commit and press commit. The file disappears and I go online and check but the remote file is not updated.
What step am I missing? What are the steps I need to take to get a file from my local repository to the remote repository?
Everything I have found on google just seems to dig me a deeper confusion hole.
Edit:
So I figured it out. The order is
Code: Select all
1. make changes to the file
2. stage the files - the GUI will show you which files have been modified. You right click on it and select stage.
3. drag the staged files into the commit window
4. give the commit a message - this is required
5. press the commit button
6. in the branches pane right click on the local repository ie the one on your hard drive - mine is local-master
Select PUSH
In my case the Head had become detached. This happened because I selected Checkout. Don't select checkout until you know why you would need to checkout.
Lots of new lingo to learn with regards to github. But the payoff is good.