Results 1 to 4 of 4

Thread: I cannot push the Qt project to remote git repository (github).

  1. #1
    Join Date
    Nov 2012
    Posts
    232
    Thanks
    118
    Thanked 18 Times in 10 Posts
    Platforms
    Windows Android

    Default I cannot push the Qt project to remote git repository (github).

    Hello!

    I cannot push the project to remote git repository (github).

    In advance sorry for my English.

    I did the following:

    - I chose "File" -> "New File or Project" -> "Other Project" -> "Empty Qt Project" -> click on the button "Chose..."
    - I wrote the name of the project "HelloGitHub" -> click on the button "Next"
    - I clicked on the button "Next"
    - I chose in field "Add to version control" -> "git"
    - I clicked on the button "Finish"
    - I added to the project the file with the contents:

    main.cpp
    Qt Code:
    1. #include <iostream>
    2.  
    3. int main() {
    4. std::cout << "Hello GitHub" << std::endl;
    5. return 0;
    6. }
    To copy to clipboard, switch view to plain text mode 

    - commit: "Tools" -> "Git" -> "Local Repository" -> "Commit..."
    - I wrote the commit Description
    - I clicked on the button "Commit 2/4 File(s)"
    - I went to the site github.com -> I created a repository with name "HelloGitHub"
    - I chose "Tools" -> "Git" -> "Remote Repository" -> "Manage Remotes..."
    - In the "Remotes" dialog I clicked on the button "Add..."
    - I wrote in the field "Name": HelloGitHub
    - I wrote in the field "URL": https://github.com/8Observer8/HelloGitHub.git
    - I chose in the "Remotes" field the line: HelloGitHub https://github.com/8Observer8/HelloGitHub.git
    - I clicked on the button "Push"
    - I got a message:
    70.png
    - I got a output:
    git config --global push.default simple

    See 'git help config' and search for 'push.default' for further information.
    (the 'simple' mode was introduced in Git 1.7.11. Use the similar mode
    'current' instead of 'simple' if you sometimes use older versions of Git)

    The command 'C:\Program Files (x86)\Git\cmd\git.exe' did not respond within the timeout limit (60000 ms).
    The project is not saved in the repository.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: I cannot push the Qt project to remote git repository (github).

    Is your git configured properly regarding your data, username and password?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Nov 2012
    Posts
    232
    Thanks
    118
    Thanked 18 Times in 10 Posts
    Platforms
    Windows Android

    Default Re: I cannot push the Qt project to remote git repository (github).

    How to do it from Qt Creator?

    I think it should be, after I press the button Push, as it was in Git GUI.

    71.png
    Attached Images Attached Images

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: I cannot push the Qt project to remote git repository (github).

    Quote Originally Posted by 8Observer8 View Post
    How to do it from Qt Creator?
    You don't. QtCreator is not a GUI wrapper over git.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 3
    Last Post: 2nd December 2012, 14:10
  2. Qt Upgrade Repository..
    By jiapei100 in forum Installation and Deployment
    Replies: 21
    Last Post: 11th June 2010, 20:54
  3. Common icon repository
    By brcain in forum Newbie
    Replies: 2
    Last Post: 27th September 2006, 19:30
  4. Icon repository
    By brcain in forum Newbie
    Replies: 2
    Last Post: 23rd February 2006, 18:04
  5. Is there a repository of widgets?
    By Mariane in forum Newbie
    Replies: 3
    Last Post: 20th January 2006, 07:40

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.