|
git is clever and then too clever for its own good git uses snapshots, rather than changesets to store data, and relies on traditional methods (gzip) to save space, rather than storing changesets. this is probably the best decision in git, it may be the only good decision in git. you know git's ui is unbearably bad because git users have coping habits (rebasing a branch, trimming changes to one commit) to cope with that git's log and timeline tools are defunct out of the box git is one of the most confusing piece of software i have ever used, but there's no accounting for taste. but i used svn and cvs before so maybe i'm just recovering
|
# ? Jul 13, 2016 06:32 |
|
|
# ? May 12, 2024 06:04 |
|
here is a short text about git's inconsistent command line options: http://git.661346.n2.nabble.com/Git-s-inconsistent-command-line-options-td7638178.html
|
# ? Jul 13, 2016 06:38 |
|
git is really simple: git checkout does so many simple things git checkout branch_name # find the branch, and change the working copy to it, ignoring local modifications git checkout -b branch_name # create this branch (tracking current branch iirc) and change working copy, ignoring local modifications git checkout filename # overwrite the working copy with this file's original version in this branch git checkout branch_name filename # overwrite the working copy with this exact version i'm probably forgetting a few oh yeah, it also allows you to detatch head
|
# ? Jul 13, 2016 06:39 |
|
im really surprised no one has just copied the git model of version control but made it easy to use and more featureful i mean, i know people have tried, but its weird that no one has succeeded. honestly i dont think git will ever go away. its hit critical mass.
|
# ? Jul 13, 2016 06:45 |
|
i really like git, but it may be just stockholm syndrome. that thing that mononcqc posted in the version control thread about how everything in git is just a commit was helpful for cementing my understanding of things. *edit* this Stringent fucked around with this message at 06:49 on Jul 13, 2016 |
# ? Jul 13, 2016 06:47 |
|
git is basically the cvs of distributed version control. it sucks, and there are alternatives that improve on it slightly, but it's probably not going to go away until something definitively better comes along.
|
# ? Jul 13, 2016 06:49 |
|
Wheany posted:i've heard that to understand git, you should read some book "git from the ground up" or something like that. Stringent posted:i really like git, but it may be just stockholm syndrome. there we go
|
# ? Jul 13, 2016 07:19 |
|
tef posted:git uses snapshots, rather than changesets to store data, and relies on traditional methods (gzip) to save space, rather than storing changesets.
|
# ? Jul 13, 2016 07:28 |
|
I use TFS for my main product and git for my side projects or to help interns with their assignments never had any problems with git. ok so everybody has a local full copy of the repo, instead of just a snapshot like in centralised vc systems. that's really nice. and... that's about it? i strongly suspect the main reason i never had problems with git is because I never at any point even considered using it from the console, any more that I ever used TFS from the console
|
# ? Jul 13, 2016 07:38 |
|
i love, love, love git's branching model
|
# ? Jul 13, 2016 07:41 |
|
i prefer cvs's branching model
|
# ? Jul 13, 2016 08:07 |
|
fart simpson posted:i prefer cvs's branching model "don't"?
|
# ? Jul 13, 2016 08:28 |
|
idk i've never actually used cvs i just like to disagree with stringent
|
# ? Jul 13, 2016 09:05 |
|
elm is ok?
Stringent fucked around with this message at 10:35 on Jul 13, 2016 |
# ? Jul 13, 2016 09:07 |
|
actually, its good
fart simpson fucked around with this message at 10:47 on Jul 13, 2016 |
# ? Jul 13, 2016 09:20 |
|
Stringent posted:elm sucks I would like to know more.
|
# ? Jul 13, 2016 10:11 |
|
Stringent posted:elm sucks this used to say the opposite
|
# ? Jul 13, 2016 10:30 |
|
yeah i don't have any opinions on elm, i was just clowning on fart simpson
|
# ? Jul 13, 2016 10:34 |
|
I like how every introduction to git describes it as a directed acyclic graph, which is a super helpful explanation because the git create node, git rename node, git delete node, git select node, git create directed-edge and git delete directed-edge commands all either don't exist or have arcane, unguessable names I like that creating a branch is git checkout -b not e.g. git create branch I like that there's this clever staging area and after you have staged some changes you can see what has been staged using git diff --cached
|
# ? Jul 13, 2016 10:44 |
|
i have to google how to unstage every time, or view staged diffs
|
# ? Jul 13, 2016 10:53 |
|
Jabor posted:git is basically the cvs of distributed version control. it sucks, and there are alternatives that improve on it slightly, but it's probably not going to go away until something definitively better comes along. we had that in Veracity but it didn't catch on with the git-crazies because (1) they believe in git in a cultish way rather than as a "best for my needs now" way, and (2) Veracity didn't do bisect and rebase before the project fizzled out and those are legit useful probably the most lasting thing to come from the Veracity effort was a decent book on SCM, Version Control by Example
|
# ? Jul 13, 2016 11:38 |
|
Wheany posted:here is a short text about git's inconsistent command line options: Seems like a healthy project to me actually. They're polite about it, aware that it's a loving mess at the moment, and are at least thinking about ways to make it be less of a loving mess without breaking everybody's IDE integration in the process. That email chain is fairly recent.
|
# ? Jul 13, 2016 11:48 |
|
NihilCredo posted:i strongly suspect the main reason i never had problems with git is because I never at any point even considered using it from the console, any more that I ever used TFS from the console qntm posted:I like how every introduction to git describes it as a directed acyclic graph, which is a super helpful explanation because the git create node, git rename node, git delete node, git select node, git create directed-edge and git delete directed-edge commands all either don't exist or have arcane, unguessable names lmao qed
|
# ? Jul 13, 2016 12:13 |
|
MALE SHOEGAZE posted:im really surprised no one has just copied the git model of version control but made it easy to use and more featureful I feel like it should be possible to take the git internals and transfer protocols and whatever but come up with a console ui that is not shamefully bad. tig is cool but not really what I'm after
|
# ? Jul 13, 2016 12:40 |
|
also I love all the suggestions that the reason I think git is shamefully bad is because I don't understand it. terrible programmers thread indeed
|
# ? Jul 13, 2016 12:51 |
|
just use mercurial
|
# ? Jul 13, 2016 12:52 |
|
Tell me why Python Pyramid is terrible, because I might have to use it for work.
|
# ? Jul 13, 2016 13:04 |
|
it doesn't include functions for everything you could possibly want like django the real problem is that you're needing to use a python web framework
|
# ? Jul 13, 2016 13:54 |
|
Q: How do you delete a local branch? A: git branch -d <branchname> Q: What if I just want to trash it and it doesn't need to be upstream? A: git branch -D <branchname> Q: What if I want to delete the branch remotely? A: git branch -dr <branchname> Q: What if I want to delete a tag? A: git tag -d <tagname> Q: What if I want to delete the tag remotely? A: git push origin :refs/tags/<tagname>
|
# ? Jul 13, 2016 14:07 |
|
Oh this one is better: http://stevelosh.com/blog/2013/04/git-koans/quote:“How can I view a list of all tags?”
|
# ? Jul 13, 2016 14:08 |
|
i don't see why the people who have trouble remembering git commands just don't make some aliases?? here check these out https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/git/git.plugin.zsh and then you also have the full command to refer to instead of googling in case you forget your alias too. ONLY WHAT YOU NEED TO SURVIVE, PRINCESS
|
# ? Jul 13, 2016 14:17 |
|
MALE SHOEGAZE posted:one time my urls got so long that the client i was using just started giving 404a lol this might be it. God dammit
|
# ? Jul 13, 2016 14:41 |
|
hobbesmaster posted:the real problem is that you're needing to use a python web framework I actually like python... ... for short scripts. I'll probably hate it in couple of months.
|
# ? Jul 13, 2016 14:47 |
|
idk why you'd ever use git from a command line
|
# ? Jul 13, 2016 14:50 |
|
Bloody posted:idk why you'd ever use git from a command line for me its because every gui has loving sucked also i have a sweet mechanical kb so typing is very good
|
# ? Jul 13, 2016 14:54 |
|
git Suits My Needs and is super good as long as you remember what the command is. i have to google how to remove a tag every time
|
# ? Jul 13, 2016 15:11 |
|
Bloody posted:idk why you'd ever use git from a command line there's git guis?!?!?!
|
# ? Jul 13, 2016 15:12 |
|
Bloody posted:idk why you'd ever use git from a command line because i'm not sure if i can push things to gerrit for review using intellij and lack the motivation to find out
|
# ? Jul 13, 2016 15:14 |
|
MALE SHOEGAZE posted:im really surprised no one has just copied the git model of version control but made it easy to use and more featureful because the network effect is a thing
|
# ? Jul 13, 2016 15:15 |
|
|
# ? May 12, 2024 06:04 |
|
NihilCredo posted:i strongly suspect the main reason i never had problems with git is because I never at any point even considered using it from the console, any more that I ever used TFS from the console i think this is me too git extensions for windows is a surprisingly useful gui considering how ugly it is. i've tried to switch to prettier ones but i always come back.
|
# ? Jul 13, 2016 15:44 |