Skip to content

Latest commit

 

History

History
115 lines (66 loc) · 3.19 KB

CppGit.md

File metadata and controls

115 lines (66 loc) · 3.19 KB

 

 

 

 

 

 

Git is a version control system.

 

Git is supplied with Qt Creator.

 

I use GitHub as an online host to my Git repository (see external links).

 

 

 

 

 

Git errors (when using it under Qt Creator)

 

I have not gotten git to work. After starting a project managed by git, I got this:

 


Perforce: Unable to determine the repository: Unable to launch "p4": No such file or directory 13:17 Executing: git init Unable to execute 'git': No such file or directory:

 

So, I started a terminal:

 


richel@richel1-desktop:~$ git The program 'git' is currently not installed. You can install it by typing: sudo apt-get install git-core

 

Following this instructions, installed git.

 

But p4 did not work:

 


Perforce: Unable to determine the repository: Unable to launch "p4": No such file or directory 13:22 Executing: git init Initialized empty Git repository in /home/richel/qtsdk-2010.04/bin/Projects/Website/CppGitExample1/.git/ 13:22 Executing: git --version 13:22 Executing: git add --intent-to-add main.cpp 13:22 Executing: git add --intent-to-add CppGitExample1.pro

 

p4 can be downloaded from http://www.perforce.com/perforce/downloads/index.html but I did not succeed in installing it: there was no installation file within the download.

 

 

 

 

 

External links