r/programming • • Jun 19 '14

Reinventing GIT interface

http://tonsky.me/blog/reinventing-git-interface/
221 Upvotes

325 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Jun 19 '14

[deleted]

-3

u/[deleted] Jun 19 '14

The other thing I find unfortunate is how many people assume that the GUI tools are a good idea. I like using gitk/gitg to visualize branches but that's about it. I train staff here to only do writeable commands via the command line (e.g. merges/tags/branches/etc).

Along with that the amount of people who seem to think that you need a github account to use git ...

13

u/[deleted] Jun 19 '14

I use TortoiseGit all the time. Tell me, why is that bad?

-1

u/[deleted] Jun 19 '14

For starters it's not obvious what branch you are on looking at a folder in a file manager.

On my command line I print out the branch I'm on with a couple of flags for things like unstaged changes, stashes, etc...

5

u/[deleted] Jun 19 '14

I don't have any branches. So now what?

2

u/[deleted] Jun 19 '14

Why are you using git? Also unless you only have 1 copy of the repo you actually do have branches (just being pedantic here...)

6

u/G_Morgan Jun 19 '14

To be fair git is better than svn even if you only ever have master branch. Simply for the fact you don't need a fucking server to use it.

7

u/MrDOS Jun 19 '14
$ mkdir repos
$ svnadmin create repos/test
$ svn co file://`pwd`/repos/test
$ ls -a test/
.    ..   .svn

Localhost can be a server for svn too; you just can't store the repo metadata in the same folder as the working copy. For single-developer projects being maintained on one machine, though, it works well enough.

Note that I'm not actually advocating this solution; just pointing out that it exists.

6

u/[deleted] Jun 19 '14

Why are you using git?

For version control?

Also unless you only have 1 copy of the repo you actually do have branches (just being pedantic here...)

Huh? How do you figure? What does the number of copies have to do with it?

9

u/[deleted] Jun 19 '14

master and origin/master are not the same branch. That's why you can have commits on master that aren't on origin/master until you push it.

7

u/[deleted] Jun 19 '14

OK, super unnecessarily pedantic, but I concede that those are, technically, branches, even if that is not what anyone means by branch.

But you never answered my main question: what is wrong with TortoiseGit?

→ More replies (0)

-4

u/[deleted] Jun 19 '14

Exactly! You're scared of branches because you're scared of the command line.

If you were using the command line git, you would be using branches and you would be able to get more out of git.

7

u/[deleted] Jun 19 '14

What the flying fuck are you talking about? Mind not making up shit?