Problem with git
Total git-noob here, and are trying to us PyCharm to push a project to github.
I have committed changes, but when i push it out nothing happens. And when i try "Update project" i get this message:
Can't update: no tracked branch
No tracked branch configured for branch master.
To make your branch track a remote branch call, for example,
git branch –set-upstream master origin/master
I have tried to use this command in terminal, and searched all over the net to try to understand this to no avail.
Any help and clarification greatly appreciated!
I have committed changes, but when i push it out nothing happens. And when i try "Update project" i get this message:
Can't update: no tracked branch
No tracked branch configured for branch master.
To make your branch track a remote branch call, for example,
git branch –set-upstream master origin/master
I have tried to use this command in terminal, and searched all over the net to try to understand this to no avail.
Any help and clarification greatly appreciated!
Please sign in to leave a comment.
in both cases i tried every buttons i could think would be related and do what i want.
If you use "Share on GitHub", you need to add the files and push them manually after you do that. Open the Changes view (VCS | Show Changes View...), add the unversioned files to Git, commit and then push.
i then changed a file in my project, added to git, committed and pushed. same result.
config (315B)
config (378B)
i also tried changing a file, commit it and push only that file. i still get "nothing to push"
Can't update: tracked branch doesn't exist.
Tracked branch master doesn't exist.
The branch will be automatically created when you push to it.
It should be autofilled with "master".
Then press Push and see if that helps.
no updates in the log, and no new files on github.
Call `git push -u origin master` and see what happens there.
http://pastebin.com/K0P3YTRQ
You may want to start from scratch and carefully follow, for example, GitHub instructions:
https://help.github.com/articles/set-up-git
https://help.github.com/articles/create-a-repo