[SOLVED] How do I type Git commands/Manage my repository inside Qt Creator?
-
Git is working under the windows command prompt, but I can't see manage my repository in Qt Creator.
I created a Git Repository on an external hard drive using Tools>Git>Creat Repository... and I got this response in the version control pane ! :
15:08 Executing in F:\Git Repository: C:\Program Files (x86)\Git\bin\git.exe init
Initialized empty Git repository in F:/Git Repository/.git/So...somethings working!
In the Tools>Git> The only active submenu items are :
Remote Repository>Gerrit...
Show...
Create Repository...All the others are greyed out, Why?--
**** How do I type Git commands inside Qt Creator?****
The documentation at http://git-scm.com/book/en/Getting-Started-First-Time-Git-Setup states that I should configure the default text editor that will be used.
**** If I want to use it in Qt Creator, do I need to configure the default text editor that will be used ?****
**** If so, what should be the default editor?****
Development profile = Win 7 64 bit, Qt Creator 2.7.2, Qt.1.0.
-
Anyone out there that knows anything about this?
-
The solution is:
All the others are greyed out, Why?—
This was because my project files were located outside of the git repository that I created manually. Instead, I just created a new project and selected Git as my version control and the submenus on Tools>Git all became active.How do I type Git commands inside Qt Creator?
Once the submenus under Tools>Git are active, one may use them to execute Git commands.If I want to use it in Qt Creator, do I need to configure the default text editor that will be used ?
No, that is automatically done.When installing Git:
1- Choose windows command prompt option (2)When configuring Qt Creator
1-Put Git.exe path in Configuration Section using Prepend to path: C:\Program Files (x86)\Git\bin;
2-Click on Set “HOME” environment variableFor general instruction see:
1-http://docs.huihoo.com/qt/qtcreator/1.3/creator-version-control.html
2-http://git-scm.com/book/en/Getting-Started-First-Time-Git-Setup
3-http://qt-project.org/wiki/Category:Tools::GitQtCreator
and any other docs at the official Qt website