[Digikam-devel] Re: how to use git as subversion
Gilles Caulier
caulier.gilles at gmail.com
Sun Feb 6 19:26:29 GMT 2011
2011/2/6 Michael G. Hansen <mike at mghansen.de>:
> Hi Gilles,
>
> On 02/06/2011 07:01 PM, Gilles Caulier wrote:
>> hi all,
>>
>> I'm really lost with git. It's complex to understand.
>>
>> I don't want to manage branch in local and all complex situations. By
>> experience, it's dangerous...
>>
>> Typically, i would to continue to work with git as subversion.
>>
>> repository is cloned. No problem.
>>
>> now, i change a change, and i want to "commit" my changes in KDE
>> repository as like "svn ci". I perform "git commit"... git ask
>> comment. fine. In comment i set CCBUGS in comment but nothing append
>> in bugzilla. So i'm not sure that changes are commited.
>
> Use
> git commit -a
>
> to have git automatically find the files you changed. Remember that a
> commit is local, and you have to 'git push' it back to KDE. A nice thing
> is that once you push, a gitweb url is displayed, so you can see online
> that the commit is there.
So, to resume, "svn ci" = "git commit -a ; git push"
not very optimum to work quickly...
how to configure an alias with git ?
>
>> To be sure, i delete my changed files (moves in another place in fact)
>> and i want to perform "svn up" as well. I try "git pull", but git said
>> that there is nothing to do. All is already updated...
>>
>> ARGGGGG... file are deleted !
>>
>> "git diff" said that files have been removed... but i'm not able to restore it.
>>
>> I'm lost. I thinking that git is not perfect for me, or i'm not
>> adapted to git (:=)))...
>
> Maybe this can be of help:
>
> http://book.git-scm.com/
>
> I'm also a little bit lost, but I'm sure we'll manage it soon ;-)
This is not clear how to sync properly a local repository with KDE.
subversion is clearly more simple to use, so far. git sound like a bulldozer...
I know, that we can use some great option to manage branch, process
merging, check commit about bug, etc. But the lead command for the
common job are really not optimized for me. And for the moment, i want
to work with git like with subversion. Advanced tools are only 10% of
developer work.
I'm not against git, but it do not follow CVS and Subversion
philosophy, for basic tasks...
Gilles
>
> Michael
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
More information about the Digikam-devel
mailing list