# Re: cogito remote branch

1 messages from 2007-11-10 to 2007-11-10. Participants: Michael Dressel.
Thread: https://gitlist.dev/t/10783

## Michael Dressel, 2007-11-10 12:35

Subject: Re: cogito remote branch
Message-ID: <Pine.LNX.4.64.0711101323040.6138@castor.milkiway.cos>
URL: https://gitlist.dev/e/Pine.LNX.4.64.0711101323040.6138%40castor.milkiway.cos

```
>Michael Dressel wrote:
>> On Fri, 9 Nov 2007, Jon Loeliger wrote: 
>>> On Fri, 2007-11-09 at 10:10, MichaelTiloDressel@t-online.de wrote:
>>>
>>>>  There are just some features
>>>> which simplify things for me in cogito. E.g. in cogito in the 
simplest
>>>> way you don't need to be aware of the index. While with git
>>>> you have to remember to add the changes to the index explicitly
>>>> to get them committed. 
>>> 
>>> "git commit -a ..." might be useful for you.
>>> 
>>> Other lingering cogito-isms you think are lacking in git?
>> 
>> Thanks for the hint. I have to use git for a while to understand what 
may 
>> still be lacking (at least for me, if at all). Off the top of my head 
one 
>> other difference is that if I do a cg-push the remote (or origin) head 
is 
>> updated automatically, I think.

Jakub Narebski wrote:
>If you mean that tracking branches are updated on push, this is what
>git also does from some time (perhaps not in released version, so please
>wait or run 'master').

Ok nice. Another thing is that git-push will push all the tracking 
branches in refs/remotes/origin. 

I was wondering if it was possible to have some cogito like wrapper 
scripts (lets say kg-...) for git again which would use the git commands 
with some arguments in order to resemble the cogito behavior 
even more closely. But it dawned on me that this would most likely end up 
in a rather large amount of script code again.

Cheers,
Michael

```
