Git for a project ......

Matthew Woehlke matthew.woehlke at kitware.com
Fri Dec 27 17:02:20 UTC 2013


On 2013-12-27 11:52, Michael George Hart wrote:
> Maybe I am hoping for too much here.
>
> I have an existing project that is not associated with any VCS and I would
> like to place it into a local Git repository.
>
> I see I can fetch from an existing GIT repository.
>
> I see I can create a GIT repository when I first create a project from
> template<Project->New From Template>
>
> I DON'T see is a button to create GIT repository after I have create a
> project from template<Project->New From Template>
>
> Is there a way to do this after the project already exist from within
> kdevelop4?
>
> Either way could someone tell me exactly how; I am rather new to GIT
> I have done the GIT tutorials for command line management. I just want to
> make sure I follow a convention that is appropriate for Kdevelop 4

 From within KDevelop, perhaps not.

 From a command line:

$ cd /my/src
$ git init .
$ git add <files to be tracked by git>
$ git commit

The last two can possibly be done from KDevelop. (Personally, I've never 
used KDevelop's git support; I always use git from Konsole.)

-- 
Matthew



More information about the KDevelop-devel mailing list