| 2012-03-24 |
|
EugeneKay
| !vcsh | 00:00 |
|
gitinfo
| https://github.com/RichiH/vcsh -- version control shell - manage dotfiles using git's fake bare repos to put more than one working directory into $HOME | 00:00 |
| ← Jay_Levitt left | 00:00 |
|
kevlarman
| WHYYYYYYYYY :( | 00:00 |
| ← eno left | 00:02 |
| → rue joined | 00:02 |
|
bencahill
| EugeneKay: yes, this looks very nice, thanks :) | 00:02 |
|
EugeneKay
| "Because fuck you, that's why." | 00:02 |
| ← Chaser_ left | 00:03 |
| → sudoquai joined | 00:03 |
| ← marthinal left | 00:04 |
| → eno joined | 00:04 |
| johnkpaul → johnkpaul-afk | 00:04 |
| ← lastk_- left | 00:04 |
| → lastk joined | 00:05 |
|
lastk
| hi guys, I have this on my git status: http://d.pr/4pEo but I cant checkout the files, stash or even change the branch, some idea please? | 00:05 |
|
milki
| whast the error? | 00:06 |
| → diogogmt joined | 00:06 |
| ← scientes left | 00:07 |
| ← TLGreg left | 00:08 |
| ← enmand left | 00:08 |
| ← timoxley left | 00:08 |
|
EugeneKay
| Could you please !repro using a proper pastebin? I loathe the idea of allowing JS just to see a few lines of terminal ;-) | 00:08 |
|
gitinfo
| Please paste (using https://gist.github.com/ or similar) a transcript of your terminal session. This will help immensely with troubleshooting. | 00:08 |
| ← tatsuya_o left | 00:09 |
| ← Big_Brother left | 00:09 |
| → tatsuya_o joined | 00:09 |
| → jason237 joined | 00:09 |
| ← nenjordi left | 00:10 |
| ← lastk left | 00:10 |
|
milki
| or run away | 00:10 |
|
| thats fine too | 00:10 |
|
| ask and run! | 00:10 |
| ← eno left | 00:11 |
| → lastk_ joined | 00:11 |
|
bencahill
| EugeneKay: hmm, can you help me set that up? I'm following the instructions under 4.1.2 of it's readme, but I'm confused | 00:11 |
| → Dave^|| joined | 00:12 |
|
EugeneKay
| bencahill - no clue; never used it. | 00:12 |
|
bencahill
| EugeneKay: ok | 00:12 |
| ← lastk_ left | 00:12 |
|
bremner
| bencahill: are you talking about vcsh? | 00:12 |
|
bencahill
| bremner: yes | 00:13 |
| → eno joined | 00:13 |
| ← SmokeyD left | 00:13 |
|
bremner
| I can try... What specifically is confusing you? | 00:13 |
| ← BashCoder left | 00:13 |
| → lastk joined | 00:13 |
|
lastk
| hi guys, my git status is that: http://d.pr/4pEo , it is after a pull without change the master, but now I cant stash, checkout these files or even change the branch, some idea? | 00:13 |
| ← metalfan_ left | 00:13 |
|
bencahill
| bremner: thanks...under 4.1.2 of the readme on this page: https://github.com/RichiH/vcsh | 00:13 |
|
bremner
| ok | 00:14 |
|
bencahill
| bremner: fourth step is vim .mrconfig ... I don't have a such file, am I supposed to create what's inside the single-quotes on the line above? | 00:14 |
| ← Davey left | 00:14 |
|
bencahill
| bremner: or am I supposed to just touch it? | 00:14 |
| ← master-lincoln left | 00:14 |
|
bencahill
| s/create/create it/ | 00:14 |
| ← Dave^| left | 00:15 |
| → scottschulthess joined | 00:15 |
| → lyddonb joined | 00:15 |
|
bremner
| bencahill: my .mrconfig looks like: http://paste.debian.net/160815/ | 00:15 |
|
| bencahill: you don't strictly _need_ to use mr with vcsh | 00:15 |
|
bencahill
| bremner: what's the advantage to it? | 00:16 |
|
SethRobertson
| Presumably you could use gitslave as well :-) | 00:16 |
|
bremner
| bencahill: you can update all of your repos with one command; if you follow RichiH's suggestions, you will have a lot of repos | 00:16 |
|
bencahill
| bremner: I'll probably just have three in ~: dotfiles, binfiles, and vimconfig (or something along those lines) | 00:17 |
|
bremner
| ok, then maybe you don't need mr. | 00:17 |
| → nrichards joined | 00:17 |
| ← alesan left | 00:17 |
| → BashCoder joined | 00:18 |
|
bencahill
| bremner: mr is just to be able to do things to multiple repos at one time? | 00:18 |
|
bremner
| right | 00:18 |
|
bencahill
| 'k | 00:18 |
| ← linusoleander left | 00:19 |
| → unomystEz joined | 00:20 |
|
unomystEz
| I just committed my project on my desktop, how can I replicate it over to my laptop so I can work on the laptop version until I get back to my desktop? | 00:21 |
| ← eno left | 00:21 |
| → dreiss joined | 00:22 |
| → eno joined | 00:22 |
| ← eno left | 00:22 |
| → eno joined | 00:22 |
| ← Destos left | 00:23 |
| ← rue left | 00:23 |
| ← Goplat left | 00:24 |
|
deltree_
| well, if you haven't figured it out by now, it didn't quite work out of the box | 00:24 |
|
| it is being finicky about the web.config | 00:24 |
|
bencahill
| bremner: oh, so if I don't use mr, I don't have to do any configuration at all, right? | 00:26 |
|
| bremner: I just init multiple repos with whatever files I want, not worrying about anything | 00:27 |
|
| sweet ;) | 00:27 |
| ← maletor left | 00:27 |
| ← wilmoore left | 00:27 |
| → guampa|2 joined | 00:28 |
| ← guampa left | 00:28 |
| guampa|2 → guampa | 00:28 |
|
bencahill
| bremner: here's another question though: I currently have my dotfiles set up (just a little bit) on github as origin | 00:28 |
| → mattfoo| joined | 00:29 |
|
bencahill
| bremner: ...how can I transition this to a vcsh repo? | 00:29 |
|
| (still very new to the whole git world) | 00:29 |
| → mattfoo^ joined | 00:29 |
| ← eno left | 00:29 |
| ← mattfoo left | 00:29 |
| ← mattfoo- left | 00:30 |
| → eno joined | 00:31 |
| ← eno left | 00:31 |
| → eno joined | 00:31 |
|
pasky
| i wish git would support automatic fastforward when pushing to a checked out copy :( | 00:31 |
|
bremner
| yeah, mercurial can do that, git sucks | 00:32 |
|
| (just kidding) | 00:32 |
|
kevlarman
| pasky: don't push to non-bare repositories | 00:32 |
|
bencahill
| lol | 00:32 |
| ← subh__ left | 00:32 |
| ← lyddonb left | 00:32 |
|
pasky
| kevlarman: why? | 00:32 |
| ← shibayu36 left | 00:32 |
|
kevlarman
| pasky: see faq non-bare | 00:32 |
|
gitinfo
| pasky: Pushing to non-bare repositories is discouraged; more details available at http://jk.gs/gitfaq#non-bare | 00:32 |
| → shibayu36 joined | 00:33 |
|
kevlarman
| basically git can't guarantee it won't destroy local changes | 00:33 |
|
| so it refuses to try | 00:33 |
|
pasky
| kevlarman: yes, so what's wrong with it if git refuses to do it in case it's unsafe? | 00:33 |
|
| (btw that link is broken) | 00:33 |
|
bencahill
| worked here | 00:34 |
|
pasky
| not here :( | 00:34 |
|
kevlarman
| pasky: it's always unsafe, so git refuses | 00:34 |
|
bencahill
| pasky: it requires that your browser supports redirects :P | 00:34 |
| → axl_ joined | 00:34 |
|
jast
| here's the expanded link: https://git.wiki.kernel.org/articles/g/i/t/GitFaq_ebc3.html#non-bare | 00:35 |
| ← localhost left | 00:35 |
|
pasky
| bencahill: hmm interesting, elinks actually doesn't seem to preserve the #fragment on redirect | 00:35 |
|
jast
| I believe preserving the fragment isn't required by the RFC, but most user agents do it anyway | 00:35 |
|
pasky
| kevlarman: why would pushing to a branch that is not checked out be unsafe? | 00:36 |
|
bencahill
| pasky: ah I see...not usual to see that (# on a redirect) | 00:36 |
| ← axl_ left | 00:36 |
|
bencahill
| pasky: e.g. stackoverflow answer links are like so.com/a/xxxxxx, redirecting to so.com/bla/whatev/xxxxxx#xxxxxx | 00:36 |
|
| or smth like that | 00:36 |
| ← jason237 left | 00:36 |
|
kevlarman
| pasky: you can push into branches that aren't checked out | 00:37 |
|
pasky
| kevlarman: but you just said "don't push to non-bare repositories" | 00:37 |
|
kevlarman
| pasky: because you generally don't know what is and isn't checked out | 00:37 |
|
pasky
| but git will check that for me | 00:37 |
| → localhost joined | 00:38 |
|
pasky
| anyway, why not take the next logical step and allow push to branches that are checked out but can be fastforwarded easily? | 00:38 |
|
shruggar
| … only things within refs/heads/ can be checked out. Simple solution: don't push to refs/heads | 00:38 |
|
pasky
| but that misses the whole point of pushing to a non-bare repo in the first place since it's not convenient anymore | 00:38 |
| ← airborn left | 00:38 |
|
jast
| the whole point of it, according to git, is that you shouldn't do it | 00:39 |
|
shruggar
| I disagree! :) | 00:39 |
|
jast
| and if you really want to, you install the hook the FAQ talks about | 00:39 |
|
shruggar
| with pasky's point, that is | 00:39 |
| ← shruggar left | 00:39 |
|
pasky
| jast: that hook does something rather crazy like automated git stash | 00:40 |
|
| i don't feel *quite* that liberal :) | 00:40 |
| → Davey joined | 00:40 |
| ← agile left | 00:40 |
|
jast
| feel free to edit it, then :) | 00:41 |
|
pasky
| i'm just wondering if there's a reason why git shouldn't do this on its own | 00:41 |
| ← HG` left | 00:42 |
| ← dreiss left | 00:43 |
|
jast
| I think that'd make the conditions under which push goes through or refuses even more confusing | 00:43 |
| → Eridius_ joined | 00:43 |
| ← Eridius left | 00:43 |
| Eridius_ → Eridius | 00:43 |
|
jast
| and the main problem is that it's hard for git to tell whether someone isn't currently editing the files in the working tree | 00:43 |
|
deltree_
| k, didn't work out of the box, but that's because my app pool was set to .net 2.0, this uses .net 4.0, for those of you who want to help others who ask, it looks good so far | 00:43 |
|
jast
| if that's the case, there are likely to be clashes where someone unwittingly overwrites changes unexpectedly added by git | 00:44 |
|
bremner
| deltree_: what does it need .net for, do you know? | 00:44 |
|
jast
| you're kind of making the assumption that the non-bare repository won't be edited in | 00:44 |
|
pasky
| jast: yes that's one problem that occured to me | 00:44 |
|
deltree_
| bremner: this is a web application that is written in c# | 00:44 |
| ← sudoquai left | 00:44 |
|
jast
| yay c# :) | 00:44 |
|
bremner
| oh, so not git per se | 00:45 |
|
deltree_
| it wraps around the git bash interface | 00:45 |
|
jast
| well at least it's not java | 00:45 |
| → Makoryu joined | 00:45 |
|
pasky
| but i think it is a fair tradeoff, still something worth supporting by just a flip of config switch | 00:45 |
|
deltree_
| basically, you're making bash calls through a website | 00:45 |
|
pasky
| i'll whip up a patch when i get a free moment | 00:45 |
| ← eno left | 00:45 |
|
jast
| do that... I'm kind of interested in seeing the responses | 00:45 |
|
pasky
| :)) | 00:45 |
|
jast
| I'm betting that someone will say "that just clutters things since we already have the deny option" | 00:46 |
|
pasky
| well having this as another value of the deny option really makes the most sense I think | 00:47 |
|
jast
| then it just contradicts the option name | 00:47 |
| ← SegFaultAX|work left | 00:48 |
|
pasky
| oh yeah we were never very good with picking names for stuff | 00:49 |
|
| the value could be called "unlessFastforward" but it's not the prettiest I admit | 00:49 |
| → austinbv joined | 00:49 |
|
jast
| a reasonable name might be receive.updateCurrentBranch | 00:50 |
| ← Davey left | 00:50 |
|
jast
| and while we're at it, the other deny* should be flipped, too | 00:50 |
|
| nobody likes double negatives | 00:50 |
| ← PsiliPharm left | 00:51 |
| → scvrory joined | 00:51 |
| → leobin joined | 00:51 |
| ← Spockz left | 00:52 |
|
scvrory
| is there a way to add all submodules from a .gitmodules file? | 00:52 |
|
jast
| do you mean: git submodule update --init | 00:52 |
| → jason237 joined | 00:52 |
| ← lausi left | 00:52 |
| ← lastk left | 00:52 |
| → lausi joined | 00:52 |
| → PsiliPharm joined | 00:53 |
| ← dougsland left | 00:54 |
| → eno joined | 00:55 |
| ← eno left | 00:55 |
| → eno joined | 00:55 |
| → fisted joined | 00:56 |
| ← leobin left | 00:56 |
|
scvrory
| jast: no, the submodules were never added to the repository, the .gitmodules is from a different repo | 00:56 |
| ← scottschulthess left | 00:56 |
| → agile joined | 00:57 |
| ← eletuchy left | 00:57 |
| ← philips left | 00:58 |
| ← ldlework left | 00:59 |
| → philips joined | 01:01 |
| → Spockz joined | 01:02 |
| ← agile left | 01:02 |
| → agile joined | 01:02 |
| ← BashCoder left | 01:03 |
|
scvrory
| this worked for me but i wish there was a better way.. https://gist.github.com/1384566 | 01:04 |
| ← subbyyy left | 01:04 |
| → iocor joined | 01:04 |
| ← mklappstuhl left | 01:04 |
| → n1x joined | 01:05 |
| → worz joined | 01:07 |
| → Davey joined | 01:08 |
| → archdori joined | 01:08 |
| ← monty` left | 01:09 |
| → Goplat joined | 01:10 |
| ← n1x left | 01:10 |
| ← eno left | 01:11 |
| → eno joined | 01:12 |
| ← eno left | 01:12 |
| → eno joined | 01:12 |
| ← ColKurtz left | 01:13 |
| ← soulcake left | 01:14 |
| → posciak joined | 01:15 |
| ← eno left | 01:17 |
| → scottschulthess joined | 01:17 |
| ← francisfish left | 01:17 |
| → subbyyy joined | 01:17 |
|
posciak
| hi, when I apply patches with git am and the patch fails, it's different from cherrypick in that it does not leave files unmerged so I could merge them manually and say git am --resolved. Or am I missing somethign? How should this be used? | 01:17 |
| → eno joined | 01:18 |
| → lyddonb joined | 01:18 |
| → mklappstuhl joined | 01:18 |
| ← oojacoboo left | 01:18 |
| → rue joined | 01:20 |
| → leobin joined | 01:21 |
| ← Makoryu left | 01:21 |
| → maletor joined | 01:22 |
| _aeris_ → _aeris_|away | 01:23 |
| ← apok left | 01:23 |
| ← rue left | 01:24 |
| ← brokenshakles left | 01:25 |
| ← sh4rm4 left | 01:27 |
| ← Araxia left | 01:27 |
| → BashCoder joined | 01:27 |
| ← worz left | 01:27 |
| → sh4rm4 joined | 01:27 |
| → codeM0nK3Y joined | 01:27 |
| ← teotwaki left | 01:27 |
| ← Yuuhi`` left | 01:28 |
| ← jason237 left | 01:28 |
| ← mklappstuhl left | 01:29 |
| ← BashCoder left | 01:30 |
| ← eno left | 01:30 |
| → newbie999|3 joined | 01:31 |
| ← proq left | 01:32 |
| → eno joined | 01:32 |
| ← eno left | 01:32 |
| → eno joined | 01:32 |
| ← newbie999 left | 01:33 |
| → nikuyoshi joined | 01:34 |
|
bencahill
| bremner: hey, I'm still having a little trouble...does it matter where I run the vcsh commands from? | 01:34 |
| ← scottschulthess left | 01:34 |
| ← rasmusth left | 01:35 |
| ← nikuyoshi left | 01:35 |
| ← XayOn left | 01:35 |
| → nikuyoshi joined | 01:35 |
| ← cannonball left | 01:35 |
| → XayOn joined | 01:36 |
| → scottschulthess joined | 01:36 |
|
bencahill
| it seems like I can run them wherever I want to...but I'd always want to run with the same 'profile' in the same dir...otherwise I'd have duplicates, or stuff moving around | 01:38 |
| ← eno left | 01:38 |
|
bencahill
| but how can I get specific .gitignores? | 01:38 |
|
| I've done vcsh init binfiles | 01:38 |
| ← maletor left | 01:39 |
|
bencahill
| but adding ~/.gitignore.d/binfiles doesn't seem to do anything to vcsh run binfiles git status | 01:39 |
|
| :-/ | 01:39 |
|
| can anyone help with vcsh? | 01:39 |
| → maletor joined | 01:39 |
| → eno joined | 01:40 |
| ← scottschulthess left | 01:40 |
| ← nikuyoshi left | 01:40 |
| ← maletor left | 01:41 |
| ← satyanash left | 01:42 |
| ← codeM0nK3Y left | 01:43 |
| → Refried_ joined | 01:43 |
| ← ph^ left | 01:44 |
| ← pragma` left | 01:44 |
| → pragma` joined | 01:44 |
| pragma` → pragma_ | 01:44 |
| ← tystr left | 01:45 |
| → brokenshakles joined | 01:45 |
|
Refried_
| I read a vague blog post that says "Another consequence, at least with Git, is that it can track the movement of things smaller than a file, e.g. a single function being moved from one file to another." -- is this true? and if so, what is it this called so i can read more? (or can you provide a helpful link?) | 01:45 |
| → Chib joined | 01:46 |
| ← shibayu36 left | 01:47 |
|
Eridius
| Refried_: check out the manpage for git-blame. It can show you info on movement of lines/functions | 01:47 |
|
jast
| Refried_: git uses heuristics in a bunch of things, e.g. merge. movements of code aren't explicitly recorded as such, but a number of operations will detect them if necessary. | 01:48 |
|
Refried_
| thanks | 01:48 |
| → caseymcg joined | 01:48 |
|
Refried_
| jast: hmm *nod* | 01:48 |
| ← leobin left | 01:48 |
| ← diogogmt left | 01:50 |
| ← johnkpaul-afk left | 01:50 |
| ← eno left | 01:50 |
| ← breck left | 01:50 |
|
rotham
| hey... i just pulled in a remote.. git pull -u origin/master, and realize I need to undo it :| how can I do that? | 01:52 |
| → eno joined | 01:52 |
| ← eno left | 01:52 |
| → eno joined | 01:52 |
| ← dzonder left | 01:52 |
| → zweb joined | 01:52 |
| → chris_zweber joined | 01:53 |
| ← chris_zweber left | 01:56 |
| ← maknz left | 01:56 |
|
bencahill
| does anyone here know about vcsh? | 01:56 |
| → maknz joined | 01:56 |
|
Refried_
| ok.. blame -C... that's very interesting | 01:56 |
|
jast
| !vcsh | 01:57 |
|
gitinfo
| https://github.com/RichiH/vcsh -- version control shell - manage dotfiles using git's fake bare repos to put more than one working directory into $HOME | 01:57 |
| ← alberto56 left | 01:57 |
|
jast
| oh, that thing | 01:57 |
|
bencahill
| jast: well yes ofc, I'm just having trouble understanding some things :) | 01:57 |
|
jast
| was looking more for myself | 01:57 |
|
| I don't know anything about it | 01:57 |
|
bencahill
| hehe | 01:57 |
|
| well here's what I want | 01:57 |
| ← tkil left | 01:58 |
|
bencahill
| I want two separate git repos (synced to github repos), dotfiles and binfiles | 01:58 |
| ← gmarseliss left | 01:58 |
|
bencahill
| binfiles will contain files in bin/ (but won't have them as in bin/, of course), and dotfiles will contain files in ~ | 01:58 |
| → project2501b joined | 01:59 |
| ← arietis left | 01:59 |
|
bencahill
| I suppose I can just make them completely separate, and not worry about submoduling them together :-/ | 01:59 |
|
| that would probably be easiest, I suppose | 01:59 |
| ← perdo left | 02:00 |
|
bencahill
| yeah, I'm just making things hard on myself :) | 02:01 |
| ← brokenshakles left | 02:01 |
|
bencahill
| sweeto: https://github.com/bencahill/binfiles | 02:02 |
|
| :) | 02:02 |
|
| bencahill has a lot of scripts o.0 | 02:03 |
| → rasmusth joined | 02:05 |
| ← eno left | 02:05 |
| ← matthiaskrgr left | 02:06 |
| ← limoges left | 02:06 |
| → matthiaskrgr joined | 02:06 |
| → eno joined | 02:07 |
| ← eno left | 02:07 |
| → eno joined | 02:07 |
| ← rasmusth left | 02:10 |
| ← btanaka left | 02:12 |
| → brokenshakles joined | 02:13 |
| → rasmusth joined | 02:13 |
| → timoxley joined | 02:15 |
| → allaire joined | 02:16 |
| ← guampa left | 02:17 |
|
allaire
| Hey guys, if I need to pull a remote branch, but know that certain files will conflict, should I do a git fetch, remove these files in the origin branch I just fetched, and then do the merge? Will this do the trick to ignore merging some files | 02:17 |
| → Gentlecat joined | 02:18 |
| ← allaire left | 02:19 |
| → allaire joined | 02:19 |
| ← akiress left | 02:20 |
| → BashCoder joined | 02:21 |
| ← allaire left | 02:21 |
| ← Refried_ left | 02:21 |
| → allaire joined | 02:21 |
|
allaire
| Hey guys, if I need to pull a remote branch, but know that certain files will conflict, should I do a git fetch, remove these files in the origin branch I just fetched, and then do the merge? Will this do the trick to ignore merging some files (sorry if it's a dup. I think my irc client bugged) | 02:22 |
|
scvrory
| is there an easier way to do this (preferrably without perl..) https://github.com/robertkrimen/git-submodule-load ? | 02:25 |
| ← bencahill left | 02:25 |
| → w09x joined | 02:26 |
| ← timoxley left | 02:27 |
| ← iocor left | 02:28 |
| → chrisgeorge joined | 02:30 |
| ← eno left | 02:30 |
| → Refried_ joined | 02:31 |
| → jmoreira81 joined | 02:32 |
| ← spyro left | 02:32 |
| → resmo_ joined | 02:32 |
| → spyro joined | 02:32 |
| → eno joined | 02:32 |
| ← eno left | 02:32 |
| → eno joined | 02:32 |
| ← jim left | 02:32 |
|
jmoreira81
| anybody have experience setting up gitosis? | 02:33 |
|
kevlarman
| jmoreira81: !gitosis | 02:33 |
|
gitinfo
| jmoreira81: gitosis is no longer maintained and supported by the author; we usually recommend gitolite instead which has much better documentation and more features: http://github.com/sitaramc/gitolite | 02:33 |
|
jmoreira81
| kevlarman: what's the difference between the two? | 02:34 |
| ← resmo__ left | 02:34 |
| ← Refried_ left | 02:34 |
|
bremner
| one is supported | 02:35 |
| → mister_m joined | 02:35 |
|
jmoreira81
| bremner: gotcha.. thanks... | 02:36 |
|
| bremner: i had already installed gitosis bymmer! | 02:36 |
| ← redheadphones left | 02:38 |
|
kevlarman
| jmoreira81: one is no longer supported by its author, the other i asked for the documentation to be clarified on permissions in the config file and by the time i was home from work that day it was | 02:38 |
| → breck joined | 02:38 |
|
jmoreira81
| kevlarman: cool. i'm reading the doc now... | 02:39 |
|
| kevlarman: quick question… i need to set up a repo for a project i'm going to be working on with a friend…. i've only used git for myself being a one developer to keep track of my code but now i'm going to be using as a team so i'm going to need to set up for several developers (prob 2). | 02:40 |
|
| i need to understand one thing… i'm going to have a central repo.. does everyone push to the same repo? | 02:41 |
|
| is that how it works? | 02:41 |
|
kevlarman
| yes | 02:41 |
|
jmoreira81
| doesnt that cause conflicts? | 02:41 |
|
| so every developer needs to pull everytime they work on a feature correct? | 02:42 |
| ← jacof left | 02:42 |
| → jacof joined | 02:42 |
| ← eno left | 02:42 |
| → eno joined | 02:43 |
| ← eno left | 02:43 |
| → eno joined | 02:43 |
| ← austinbv left | 02:44 |
| ← xGambit left | 02:44 |
| → xGambit joined | 02:45 |
|
kevlarman
| jmoreira81: there's no magical way to resolve actual conflicts without human intervention | 02:45 |
| ← allaire left | 02:45 |
| → austinbv joined | 02:46 |
| ← Vampire0 left | 02:46 |
| → archdori_ joined | 02:46 |
| ← austinbv left | 02:46 |
|
jmoreira81
| kevlarman: how does github work if many developers push? | 02:47 |
| ← archdori left | 02:49 |
| ← jameswarren left | 02:51 |
| → jameswarren joined | 02:51 |
| ← jameswarren left | 02:51 |
| ← QshelTier left | 02:52 |
| ← kadoban left | 02:53 |
| ← el2ro left | 02:55 |
| ← PsiliPharm left | 02:55 |
| → satyanash joined | 02:55 |
| → phlipper joined | 02:57 |
| ← breck left | 02:58 |
| rbrooks_ → rbrooks | 02:58 |
| → timoxley joined | 02:59 |
| → josefig joined | 02:59 |
| ← josefig left | 02:59 |
| → josefig joined | 02:59 |
| → PsiliPharm joined | 02:59 |
| → dabd joined | 03:00 |
| ← Goplat left | 03:01 |
| → Bombe joined | 03:01 |
| → redheadphones joined | 03:03 |
| ← dabd left | 03:04 |
| → _inc joined | 03:05 |
| → dabd joined | 03:05 |
| → breck joined | 03:05 |
| → nikuyoshi joined | 03:06 |
| ← _inc left | 03:06 |
| → kermit joined | 03:08 |
| ← pdtpatr1ck left | 03:10 |
| ← nikuyoshi left | 03:12 |
| → alesan joined | 03:13 |
| ← jacof left | 03:13 |
| → jacof joined | 03:13 |
| → igotnolegs joined | 03:14 |
| ← orafu left | 03:15 |
| ← zweb left | 03:16 |
| → nikuyoshi joined | 03:17 |
| → johnkpaul-afk joined | 03:17 |
| johnkpaul-afk → johnkpaul | 03:18 |
| → pdtpatr1ck joined | 03:19 |
| ← nikuyoshi left | 03:19 |
| ← Chillance left | 03:20 |
| ← Russell^^ left | 03:20 |
| → rue joined | 03:20 |
| → nikuyoshi joined | 03:21 |
|
jmoreira81
| trying to install gitolite i get the following error http://paste.ubuntu.com/897324/ | 03:23 |
| ← rotham left | 03:23 |
| ← nikuyoshi left | 03:27 |
|
sitaram
| jmoreira81: sounds clear enough; what's the confusion? | 03:27 |
| → dr0id joined | 03:27 |
| ← dr0id left | 03:27 |
| → dr0id joined | 03:27 |
|
jmoreira81
| need to edit my $HOME which i'm doing now... | 03:28 |
|
sitaram
| jmoreira81: edit $HOME? What does that mean? | 03:28 |
| → oojacoboo joined | 03:28 |
|
jmoreira81
| sorry.. need to make sure $HOME/bin is on my default path | 03:29 |
|
sitaram
| jmoreira81: perhaps you should read the last line of that message, which tells you how to do it without making permanent changes | 03:29 |
|
jmoreira81
| editing my default path correct? | 03:29 |
| → nikuyoshi joined | 03:29 |
| ← Matrixiumn left | 03:30 |
|
sitaram
| jmoreira81: I can't help you with that. I'm only here to understand why that message is confusing you, when it was designed to be simple and clear, presenting both a permanent and a temporary solution | 03:30 |
| ← jacof left | 03:30 |
| ← rue left | 03:30 |
|
jmoreira81
| sitaram: yea.. thanks.... | 03:30 |
| → Lewoco joined | 03:30 |
|
jmoreira81
| sitaram: i guess | 03:30 |
|
sitaram
| I guess... | 03:31 |
|
| jmoreira81: is it that "do that manually" is being interpreted as "do <change bashrc>" instead of "do 'PATH=....'"? | 03:31 |
|
jmoreira81
| that's what i did | 03:32 |
|
| i did manually | 03:32 |
| ← nikuyoshi left | 03:32 |
| → cakehero joined | 03:34 |
|
Lewoco
| How can I nuke the last two commits 'merged undead' and 'merged trunk' from this repo: http://troll.ws/i/KdNeoj.png | 03:34 |
|
| I want there to be no trace that those commits ever happened. | 03:34 |
|
jmoreira81
| I like gitolite... | 03:34 |
| ← eno left | 03:35 |
|
Lewoco
| I've been toying around with rebase, but I can't seem to get it to work right. | 03:35 |
|
jmoreira81
| you don't have to create unix users, you do it by cloning, adding the keys an pushing… that's cool..... | 03:35 |
| ← dabd left | 03:35 |
|
variable
| Lewoco: git rebase -i | 03:36 |
|
| delete the two lines | 03:36 |
|
| and exit the edit | 03:36 |
| → eno joined | 03:36 |
| ← Davey left | 03:36 |
|
variable
| you need to do something like git rebase -i HEAD~3 | 03:36 |
|
| Lewoco: also, your commit messages rock | 03:37 |
| → jalama joined | 03:40 |
| → Davey joined | 03:41 |
| ← Davey left | 03:41 |
| → Davey joined | 03:41 |
| ← w09x left | 03:42 |
|
Lewoco
| variable, Ok I tried git rebase -i HEAD~3 and commented out the first two lines. Unfortunately it didn't seem to actually remove those commits. It only changed the rev I've currently got checked out: http://troll.ws/i/PqhSb2.png | 03:43 |
| → gabeh joined | 03:43 |
| → Evanescence joined | 03:44 |
| → yashshah joined | 03:45 |
| ← ology left | 03:46 |
| ← oojacoboo left | 03:48 |
| → Destos joined | 03:49 |
| ← Destos left | 03:49 |
| ← codewrangler left | 03:49 |
| → w09x joined | 03:49 |
| ← alesan left | 03:49 |
| ← yashshah left | 03:50 |
| ← eno left | 03:51 |
| ← Karmaon left | 03:53 |
| → el2ro joined | 03:53 |
| → eno joined | 03:53 |
| ← Dave^|| left | 03:54 |
| ← w09x left | 03:54 |
| ← PsiliPharm left | 03:54 |
| → gavin_huang joined | 03:56 |
| ← chrisgeorge left | 03:56 |
| ← breck left | 03:56 |
| ← aspotashev left | 03:57 |
| → sdferfx joined | 03:57 |
| ← lyddonb left | 03:58 |
| ← species left | 03:58 |
|
sdferfx
| Suppose I have a file that I have added to .gitignore, but added to the repo with git add -f. Will updates to that file be tracked by git? Do I have to git update-index --assume-unchanged if I want changes ignored or will .gitignore handle that for me now? | 03:58 |
| → Malar joined | 03:59 |
| → aspotashev joined | 03:59 |
|
Malar
| how do i clone|mirror all the git repositories hosted on gitweb server? | 04:00 |
| ← Davey left | 04:01 |
| ← johnkpaul left | 04:02 |
| → dirkle joined | 04:02 |
| ← garpenlov left | 04:05 |
| ← cakehero left | 04:06 |
| → rurufufuss joined | 04:08 |
| ← eno left | 04:09 |
|
RandalSchwartz
| Malar - why? | 04:09 |
| ← josefig left | 04:09 |
|
variable
| Lewoco: once nothing points to them use git gc to actually remove them | 04:10 |
|
Malar
| RandalSchwartz, to make it available locally. | 04:10 |
| → eno joined | 04:11 |
|
variable
| but you need to make sure nothing depends on them | 04:11 |
| → batrick joined | 04:11 |
|
variable
| another option is git reset --hard HEAD~3 | 04:11 |
|
Lewoco
| variable, git gc didn't seem to have any effect | 04:18 |
|
jmoreira81
| I got this error when cloning.. this is so weird cuz i cloned gitolite-admin just fine | 04:18 |
|
| http://paste.ubuntu.com/897357/ | 04:18 |
|
Lewoco
| variable, git reset --hard HEAD~3 seems to just change which commit I have checked out but doesn't remove either of the two commits I'm trying to nuke. | 04:18 |
|
variable
| Lewoco: it shouldn't, it will only do things when *nothing* points it | 04:18 |
|
Lewoco
| variable, I guess I still haven't solved my original problem then =/ | 04:19 |
|
| variable, git rebase -i works great for a series of commits with no merging. It's only this particular example where I have merging going on where I can't get it to work the way I want. | 04:20 |
| → bodom joined | 04:21 |
| ← eno left | 04:22 |
| → austinbv joined | 04:22 |
| → yoklov joined | 04:23 |
| → gnufied joined | 04:25 |
| → tarkus joined | 04:27 |
| ← Jarred left | 04:27 |
| → Jarred joined | 04:28 |
| → aspotashev| joined | 04:28 |
| ← aspotashev left | 04:29 |
| → Dragooon joined | 04:29 |
| ← mrbrdo left | 04:30 |
| ← timoxley left | 04:30 |
| → macrover joined | 04:31 |
|
Lewoco
| variable, Ok I think I understand what you meant by *nothing*. | 04:32 |
| ← gabeh left | 04:32 |
|
Lewoco
| variable, I tried deleting refs/remotes/trunk and then refs/remotes/undead and then I was able to get rid of them. | 04:33 |
| → eno joined | 04:34 |
|
variable
| Lewoco: git is essentially one giant DAG | 04:34 |
|
| git gc will remove things when there are no edges pointing to a vertice | 04:35 |
|
| but to do that you need to make sure nothing cares about a particular commit | 04:35 |
|
| (i.e., it takes some surgery) | 04:35 |
| → Davey joined | 04:36 |
| ← diegoviola left | 04:37 |
|
Lewoco
| The local git repo is actually cloned using git-svn. How do I get branches that I create locally to get pushed upstream when I commit back to svn? | 04:37 |
| ← Dragooon left | 04:40 |
|
Malar
| is there any way to get the list of repositories hosted on a gitweb server? | 04:40 |
| ← iamjarvo left | 04:42 |
| ← eno left | 04:42 |
| ← macrover left | 04:42 |
|
jmoreira81
| i'm getting this error when attempting to push http://paste.ubuntu.com/897367/ | 04:43 |
|
| anyone? | 04:43 |
| → eno joined | 04:44 |
| ← matthiaskrgr left | 04:46 |
| → breck joined | 04:49 |
| ← kukks left | 04:55 |
| ← eno left | 04:55 |
| → eno joined | 04:57 |
| ← brokenshakles left | 04:57 |
| → gabeh joined | 04:58 |
| ← Bartzy left | 04:58 |
| ← RobertLaptop left | 05:00 |
| → mritz joined | 05:00 |
| ← breck left | 05:02 |
| ← yoklov left | 05:03 |
| ← Mowsh left | 05:03 |
| → aashu_dwivedi joined | 05:05 |
| → RobertLaptop joined | 05:06 |
| → juvenal joined | 05:08 |
| ← eno left | 05:11 |
| → brokenshakles joined | 05:11 |
| ← archdori_ left | 05:12 |
| → beautifulmind joined | 05:12 |
| → eno joined | 05:12 |
| ← unomystEz left | 05:13 |
| ← beautifulmind left | 05:13 |
| → beautifulmind joined | 05:14 |
| → RobertLaptop_ joined | 05:15 |
| ← RobertLaptop left | 05:15 |
| ← beautifulmind left | 05:15 |
| ← RobertLaptop_ left | 05:16 |
| → jason237 joined | 05:16 |
| → RobertLaptop joined | 05:16 |
|
sitaram
| yeah lots of people on the git ml are debating that very message (or were, a couple days ago) | 05:18 |
| ← smw_ left | 05:18 |
|
sitaram
| try 'git push origin master', although from your previous pastebin I doubt it will work it will at least get you one step ahead | 05:18 |
| → Per4u3e joined | 05:19 |
| ← Per4u3e left | 05:19 |
|
aashu_dwivedi
| join #python | 05:20 |
| ← caseymcg left | 05:21 |
| → matthiaskrgr joined | 05:28 |
| → wilmoore joined | 05:28 |
| → psakrii joined | 05:32 |
| ← project2501b left | 05:33 |
| → ajaykools joined | 05:33 |
| ← eno left | 05:34 |
| ← mritz left | 05:35 |
| → eno joined | 05:35 |
| ← austinbv left | 05:40 |
| → notola joined | 05:41 |
| ← notola left | 05:41 |
|
Malar
| is curl "gitweb url"|parse the only way to get a list of repositories hosted on a gitweb server? | 05:41 |
| ← neurodrone left | 05:42 |
| → austinbv_ joined | 05:42 |
| → kerrick joined | 05:42 |
| ← austinbv_ left | 05:44 |
| → xiangfu joined | 05:45 |
| ← alexim left | 05:47 |
| ← mister_m left | 05:48 |
| ← eno left | 05:52 |
| → eno joined | 05:54 |
| ← scvrory left | 05:55 |
| → limoges joined | 05:57 |
| ← Jarred left | 05:59 |
| ← eno left | 05:59 |
| → eno joined | 06:00 |
| ← Bass10 left | 06:02 |
| ← ajaykools left | 06:03 |
| ← eno left | 06:07 |
| → eno joined | 06:09 |
| ← eno left | 06:09 |
| → eno joined | 06:09 |
| → xian9fu joined | 06:11 |
| → EyesIsServer joined | 06:13 |
| → macrover joined | 06:14 |
| ← Davey left | 06:16 |
| ← madewokherd left | 06:20 |
| ← eno left | 06:20 |
| → eno joined | 06:22 |
| → akiress joined | 06:22 |
| ← friskd left | 06:23 |
| ← gabeh left | 06:24 |
| ← LucasTizma left | 06:24 |
| → rue joined | 06:26 |
| → garpenlov joined | 06:27 |
| ← aashu_dwivedi left | 06:27 |
| → tingo joined | 06:31 |
| → mash__ joined | 06:32 |
| ← rue left | 06:32 |
| ← tic left | 06:34 |
| → tic joined | 06:34 |
| ← eno left | 06:34 |
| → eno joined | 06:36 |
| → chaitu joined | 06:43 |
| → raatiniemi joined | 06:43 |
| ← chaitu left | 06:44 |
| → chaitu joined | 06:45 |
| ← chaitu left | 06:45 |
| → chaitu joined | 06:46 |
| → wolftankk joined | 06:46 |
| ← chaitu left | 06:46 |
| → chaitu joined | 06:46 |
| ← macrover left | 06:48 |
| ← eno left | 06:51 |
| → ajaykools joined | 06:52 |
| → kwakbab1 joined | 06:52 |
| → eno joined | 06:53 |
| → kadoban joined | 06:54 |
| ← bgerber left | 06:54 |
| ← mash__ left | 06:55 |
| ← kwakbab1 left | 06:56 |
| → bgerber joined | 06:56 |
| ← patrick99e99 left | 06:57 |
| ← xian9fu left | 07:00 |
| ← bgerber left | 07:02 |
| → Dragooon joined | 07:02 |
| ← raatiniemi left | 07:04 |
| ← sawgij left | 07:04 |
| ← dr0id left | 07:05 |
| ← eno left | 07:05 |
| → eno joined | 07:07 |
| ← bartman left | 07:07 |
| → bgerber joined | 07:08 |
|
cmn
| jmoreira81: it means exactly what it says; see man git config push.default to see what other default actions there are | 07:09 |
|
gitinfo
| jmoreira81: the git-config manpage is available at http://jk.gs/git-config.html | 07:09 |
|
cmn
| or tell git what you want to push | 07:09 |
| → berserkr joined | 07:10 |
| ← ajaykools left | 07:11 |
| ← lcpfnvcy left | 07:11 |
| ← Noxville left | 07:12 |
| → hoonteke joined | 07:12 |
| → bartman joined | 07:13 |
| ← eno left | 07:14 |
| ← berserkr left | 07:14 |
| ← tatsuya_o left | 07:15 |
| → eno joined | 07:16 |
| ← codeshah left | 07:16 |
| → fayaz joined | 07:16 |
| → munichlinux joined | 07:17 |
| → jacof joined | 07:21 |
|
jacof
| Should I add, and then commit, when I'm starting a repo for the first time, or just add ? | 07:22 |
| ← eno left | 07:23 |
| → AmirBehzad joined | 07:24 |
| → ajaykools joined | 07:25 |
| → eno joined | 07:25 |
| ← AmirBehzad left | 07:25 |
| → thwest joined | 07:28 |
| ← thwest left | 07:28 |
| ← eno left | 07:29 |
| → rue joined | 07:29 |
| ← wolftankk left | 07:30 |
| → thwest joined | 07:30 |
|
cmn
| if you want to commit, you should commit | 07:31 |
|
| add simply stages | 07:31 |
| → jameswarren joined | 07:32 |
| → Pupeno_W_ joined | 07:32 |
| ← deltree_ left | 07:32 |
| → eno joined | 07:32 |
| → wolftankk joined | 07:33 |
| → nikuyoshi joined | 07:33 |
| ← rue left | 07:34 |
| ← kerrick left | 07:34 |
| ← Pupeno_W left | 07:34 |
| Pupeno_W_ → Pupeno_W | 07:34 |
| ← dirkle left | 07:34 |
| ← dvide left | 07:35 |
| ← nikuyoshi left | 07:37 |
| → nikuyosh_ joined | 07:37 |
| ← wilmoore left | 07:37 |
| ← hoonteke left | 07:38 |
| → mloskot joined | 07:38 |
| ← igotnolegs left | 07:39 |
| → LucasTizma joined | 07:42 |
| → w09x joined | 07:43 |
| ← LucasTizma left | 07:43 |
| ← nikuyosh_ left | 07:44 |
| → f0i joined | 07:44 |
| ← eno left | 07:44 |
| → eno joined | 07:45 |
| → nikuyoshi joined | 07:46 |
| ← rbrooks left | 07:51 |
| ← eno left | 07:51 |
| → ipalaus_ joined | 07:52 |
| → TLGreg joined | 07:53 |
| → kwakbab joined | 07:53 |
| → kwakbab1 joined | 07:53 |
| ← kwakbab1 left | 07:53 |
| → eno joined | 07:53 |
| → maxy joined | 07:54 |
| ← kwakbab left | 07:57 |
| → archdori joined | 07:58 |
| ← w09x left | 07:58 |
| ← f0i left | 07:58 |
| ← joshsmith left | 07:59 |
| → joshsmith joined | 08:00 |
| ← joshsmith left | 08:01 |
| ← chaitu left | 08:02 |
| ← wolftankk left | 08:03 |
| ← eno left | 08:03 |
| → hackoo joined | 08:04 |
| → chaitu joined | 08:05 |
| ← munichlinux left | 08:06 |
| → whitman joined | 08:07 |
| → zeen joined | 08:07 |
|
zeen
| hey. i have a git daemon running on my server and a checked out master trunk in a web directory. i want to commit from my local machine and then have the checked out version on the server (not the same directory as the master origin) to auto update. what should i be looking at? i know it's hooks but do i put the hook in my /var/git/repo/.git/hooks/ and have this call the other copy on the server? | 08:09 |
| ← hyperair left | 08:11 |
|
cmn
| !deploy | 08:12 |
|
gitinfo
| [!website] Git is not a website deployment tool, but can sometimes play one in sufficiently simple/lax environments with a little help. One example of help is: http://toroid.org/ams/git-website-howto and another approach: https://gist.github.com/1714235 | 08:12 |
|
zeen
| cool, thanks | 08:12 |
|
| deploy is the word i was looking for but forgot :) | 08:12 |
| → eno joined | 08:13 |
| → rendar joined | 08:14 |
| → hyperair joined | 08:15 |
| → rue joined | 08:15 |
| ← ipalaus_ left | 08:15 |
| ← thwest left | 08:15 |
| ← pdtpatr1ck left | 08:16 |
| → Dragooon|Away joined | 08:17 |
| ← Dragooon left | 08:17 |
| Dragooon|Away → Dragooon | 08:17 |
| → lasers joined | 08:17 |
| ← nikuyoshi left | 08:18 |
| → rotham joined | 08:19 |
| → monty` joined | 08:19 |
| ← monty` left | 08:19 |
| → monty` joined | 08:19 |
| → wilmoore joined | 08:21 |
| → mishok13 joined | 08:21 |
| ← eno left | 08:22 |
| → dr0id joined | 08:22 |
| → shibayu36 joined | 08:23 |
| ← rotham left | 08:23 |
| → eno joined | 08:24 |
| ← eno left | 08:28 |
| → eno joined | 08:29 |
| → linusoleander joined | 08:30 |
| ← wilmoore left | 08:31 |
| ← xGambit left | 08:31 |
| → xGambit joined | 08:31 |
|
zeen
| thanks cmn, works perfectly. it's about time i learnt how to do that | 08:35 |
| → Fullmoon joined | 08:35 |
| ← eno left | 08:36 |
| ← hyperair left | 08:37 |
| → eno joined | 08:37 |
|
frogonwheels
| zeen: if you go to http://jk.gs/git (see the chanel topic), there's a link to the gitbot and from there you can get a list of the things it responds to | 08:37 |
| ← eno left | 08:37 |
| → eno joined | 08:37 |
| ← subbyyy left | 08:38 |
| ← gnufied left | 08:40 |
| ← arvind_khadri left | 08:40 |
| ← eno left | 08:43 |
| → ph^ joined | 08:44 |
| → eno joined | 08:45 |
| → jmd joined | 08:47 |
| ← ph^ left | 08:48 |
|
jmd
| I want to squash the last N commits. What's the easiest way to do it? | 08:49 |
|
| | 08:49 |
|
wereHamster
| jmd: git reset --soft HEAD^N; git commit -m "whatevs" | 08:50 |
| → martinjlowm joined | 08:50 |
| ← tingo left | 08:51 |
|
jmd
| wereHamster: fatal: ambiguous argument 'HEAD^2': unknown revision or path not in the working tree. | 08:52 |
|
| I presume you mean't HEAD~2 | 08:52 |
|
| s/2/N | 08:53 |
| → robotmay joined | 08:54 |
| ← eno left | 08:54 |
| → arvind_khadri joined | 08:54 |
| → eno joined | 08:56 |
| → Vile joined | 08:56 |
| → dzonder joined | 08:58 |
| → pantsman joined | 09:00 |
| → ph^ joined | 09:01 |
| ← lasers left | 09:02 |
| → danielss89 joined | 09:03 |
| → HG` joined | 09:04 |
|
wereHamster
| yeah | 09:04 |
| ← eno left | 09:04 |
| ← HG` left | 09:07 |
| → eno joined | 09:07 |
| → hyperair joined | 09:10 |
| → tatsuya_o joined | 09:10 |
| → archdori_ joined | 09:12 |
| ← ajaykools left | 09:13 |
| ← hackoo left | 09:13 |
| → shruggar joined | 09:15 |
| → berserkr joined | 09:15 |
| → ipalaus_ joined | 09:15 |
| ← archdori left | 09:16 |
| ← eno left | 09:16 |
| ← berserkr left | 09:16 |
| → eno joined | 09:17 |
| ← danielss89 left | 09:18 |
| → Dave^| joined | 09:19 |
| ← sdferfx left | 09:20 |
| ← Fullmoon left | 09:21 |
| ← Malar left | 09:22 |
| → Zeeshan_M joined | 09:24 |
| ← eno left | 09:25 |
| → ajaykools joined | 09:26 |
|
Zeeshan_M
| Hi all. I am trying to grasp how one works locally and then later pushes changes to a remote git setup. I currently work on a Windows setup saving my projects in c:\dev\sample, and my git repo is in c:\dev\sample\.git. | 09:26 |
| → eno joined | 09:26 |
| ← chaitu left | 09:27 |
| ← mst left | 09:27 |
|
Zeeshan_M
| Once I finish or commit my changes locally to my own git repos, I would like to push my changes live via SSH. I therefore have setup a 'bare' git and use "git push -u origin master" to connect to my remote git repos to save my current file changes. | 09:27 |
|
wereHamster
| Zeeshan_M: 1) do some work. 2) commit that work. 3) push the commits to the remote repo. 4) ???. 5) profit | 09:28 |
|
Zeeshan_M
| When I check my remote setup, I do not understand where the files are. | 09:28 |
|
| wereHamster: I am lost as to how to do the push stage | 09:28 |
|
wereHamster
| Zeeshan_M: you just said that you pushed your changes. What else do you want? | 09:28 |
|
Zeeshan_M
| I cannot 'see' the files I pushed live to my bare git repos. Where are there? | 09:29 |
|
wereHamster
| why do you want to 'see' them? | 09:29 |
|
Zeeshan_M
| Let me prefix first how I did the setup so that you can detect the issue. | 09:29 |
|
wereHamster
| bare repo = repo without a working tree/ | 09:30 |
|
Zeeshan_M
| Oh. Pants. | 09:30 |
|
| Okay. Lets now go back a step and pretend I do the following: I create a new local git repos via "git init" on my workstation/Windows. | 09:32 |
| ← eno left | 09:33 |
| ← hyperair left | 09:33 |
|
Zeeshan_M
| Actually, ignore me for a bit. I shall do the tests first so as not to waste helper time. | 09:34 |
| → FreeArtMan joined | 09:34 |
| → eno joined | 09:35 |
| → IWorld joined | 09:35 |
| ← stringoO left | 09:35 |
| gitinfo set mode: +v | 09:36 |
| ← robotmay left | 09:37 |
| → hyperair joined | 09:37 |
| ← shruggar left | 09:39 |
| ← albel727 left | 09:40 |
| ← eno left | 09:40 |
| → albel727 joined | 09:40 |
| → eno joined | 09:41 |
| ← harish left | 09:41 |
| → f0i joined | 09:46 |
| ← IWorld left | 09:46 |
| → dr_lepper joined | 09:47 |
| ← eno left | 09:48 |
| → tommyvyo joined | 09:48 |
| → gnufied joined | 09:49 |
| → eno joined | 09:49 |
| → fisted_ joined | 09:50 |
| → Shusshu joined | 09:50 |
| ← fisted left | 09:51 |
| ← mishok13 left | 09:52 |
| → babilen joined | 09:55 |
| ← hyperair left | 09:55 |
| ← Shusshu left | 09:55 |
| → hyperair joined | 09:55 |
| → Fullmoon joined | 09:57 |
| ← hyperair left | 09:59 |
| ← eno left | 09:59 |
| → master-lincoln joined | 09:59 |
| → eno joined | 10:01 |
| → yoklov joined | 10:03 |
| → hyperair joined | 10:03 |
| → falena joined | 10:05 |
| → harish joined | 10:06 |
| ← eno left | 10:06 |
| ← ajaykools left | 10:06 |
| → eno joined | 10:06 |
| ← yoklov left | 10:08 |
| → coredumb joined | 10:10 |
| ← Fullmoon left | 10:10 |
| ← eno left | 10:11 |
| → airborn joined | 10:12 |
| → eno joined | 10:12 |
| ← linusoleander left | 10:14 |
| → minde joined | 10:14 |
|
minde
| hello, which application/script? was used to create this graph http://awesome.naquadah.org/images/git_stats.png ? | 10:16 |
| → mritz joined | 10:16 |
| ← Cheatah- left | 10:17 |
| → d0k joined | 10:18 |
|
Zeeshan_M
| wereHamster: Thank you for your help. I don't know if you clocked on, but by being forced to word my question, I clocked onto what I was doing wrong (effectively a 'cardboard employee' moment). | 10:19 |
|
| Have a pleasant day/evening. | 10:19 |
|
| afk | 10:19 |
| → mewm joined | 10:19 |
|
jmd
| minde: I dunno, but it looks like the person who did it took all his ideas from this paper:www.cs.unc.edu/~taylorr/.../fourteen_ways_say_nothing_sci_vis.pdf | 10:19 |
| ← eno left | 10:20 |
| ← ipalaus_ left | 10:21 |
| → eno joined | 10:22 |
| ← eno left | 10:22 |
| → eno joined | 10:22 |
| ← eno left | 10:28 |
| → urbanmonk joined | 10:33 |
| ← matthiaskrgr left | 10:33 |
| → eno joined | 10:36 |
| ← f0i left | 10:38 |
| ← juvenal left | 10:40 |
| → DarkAR joined | 10:40 |
| ← eno left | 10:42 |
| → aspotashev|| joined | 10:44 |
| ← aspotashev| left | 10:44 |
| → eno joined | 10:44 |
| ← tonesfrommars left | 10:44 |
| → Noxville joined | 10:45 |
| ← limoges left | 10:45 |
| → lcpfnvcy joined | 10:49 |
| ← eno left | 10:50 |
| → iocor joined | 10:51 |
| → eno joined | 10:52 |
| → fam_ joined | 10:53 |
| ← fam_ left | 10:53 |
| → kryl99 joined | 10:55 |
| → f0i joined | 10:56 |
| ← jmd left | 10:57 |
| ← dhruvasagar left | 10:58 |
| ← bartman left | 10:59 |
| ← eno left | 10:59 |
| _aeris_|away → _aeris_ | 10:59 |
| → eno joined | 11:01 |
| ← arvind_khadri left | 11:02 |
| → rotham joined | 11:05 |
| ← michale left | 11:05 |
| → martinjlowm-lptp joined | 11:06 |
| → bartman joined | 11:06 |
| → Quanteek joined | 11:06 |
| ← eno left | 11:08 |
| → eno joined | 11:09 |
| → leavittx joined | 11:10 |
| → callumacrae joined | 11:10 |
| ← monty` left | 11:11 |
| → Error404NotFound joined | 11:11 |
| ← Error404NotFound left | 11:11 |
| → ipalaus_ joined | 11:14 |
| ← eno left | 11:16 |
| → berserkr joined | 11:17 |
| ← xiangfu left | 11:17 |
| ← berserkr left | 11:18 |
| → eno joined | 11:18 |
| → lasers joined | 11:20 |
| → Sigma joined | 11:21 |
| ← eno left | 11:22 |
| ← JackWinter left | 11:23 |
| → eno joined | 11:24 |
| ← ph^ left | 11:24 |
| ← rotham left | 11:24 |
| → jumoit joined | 11:24 |
| → sentinal8473 joined | 11:27 |
| ← eno left | 11:30 |
| → eno joined | 11:31 |
| → gusnan joined | 11:33 |
| → JackWinter joined | 11:33 |
| ← jumoit left | 11:33 |
| → legnaleurc joined | 11:39 |
| → monty` joined | 11:40 |
| ← monty` left | 11:40 |
| → monty` joined | 11:40 |
| ← archdori_ left | 11:40 |
| → matthiaskrgr joined | 11:41 |
| ← archivebot left | 11:41 |
| ← eno left | 11:41 |
| → monty joined | 11:41 |
| → mishok13 joined | 11:41 |
| → RichiH joined | 11:42 |
| → ph^ joined | 11:42 |
| ← monty` left | 11:42 |
| → eno joined | 11:42 |
|
RichiH
| are there any documents regarding merge-friendly file designs? | 11:42 |
| ← sentinal8473 left | 11:44 |
| ← kevlarman left | 11:45 |
| ← DarkAR left | 11:45 |
| ← bodom left | 11:46 |
| ← f0i left | 11:46 |
|
pasky
| hmm, there seems to be a lot of less obvious considerations besides the obvious "text, line-oriented" | 11:47 |
|
| but i'm not sure if you can really describe any rules easily | 11:47 |
| → archdori joined | 11:48 |
| ← eno left | 11:48 |
| ← mishok13 left | 11:48 |
| → daube joined | 11:49 |
| → eno joined | 11:49 |
|
RichiH
| pasky: well, it _will_ be text & line-oriented | 11:49 |
|
bremner
| don't do crazy CVS still keyword embedding | 11:49 |
| gitinfo set mode: +v | 11:49 |
| → Guest69763 joined | 11:49 |
|
bremner
| err style. still = moonshine producer | 11:49 |
| ← Guest69763 left | 11:50 |
|
| RichiH wants to store metadata of files, most likely man=inly ctime at first | 11:50 |
|
RichiH
| but the format should be extensible, etc | 11:50 |
|
| atm, i am considering version header with one tab-separated line per file | 11:50 |
|
daube
| hi all, starting out with git. is there a really good tutorial which explains not just the commands required, but also what each term means and good VC designs/techniques. | 11:51 |
|
bremner
| daube: !book | 11:51 |
|
gitinfo
| daube: There are several good books available about git; 'Pro Git' is probably the best: http://progit.org/book/ but also look at !bottomup !cs !designers !gitt !vcbe and !parable | 11:51 |
| ← tatsuya_o left | 11:52 |
| → dnivra joined | 11:52 |
|
RichiH
| bremner: btw: backport-poke | 11:52 |
|
daube
| bremner: cheers, much appreciated. Pro Git looks like what i've been searching for. =] | 11:52 |
|
bremner
| RichiH: yup, I started the build just before I answered you ;) | 11:53 |
| ← psakrii left | 11:53 |
| → conntrack joined | 11:53 |
| → _iron joined | 11:53 |
| → mishok13 joined | 11:54 |
| ← g0th left | 11:54 |
| → archivebot joined | 11:54 |
| ← eno left | 11:55 |
| → eno joined | 11:56 |
| ← ipalaus_ left | 11:57 |
| ← JEEB left | 11:59 |
| → JEEBcz joined | 11:59 |
| ← daube left | 12:03 |
| ← legnaleurc left | 12:04 |
| → legnaleurc joined | 12:05 |
| → edakiri joined | 12:05 |
| → daube joined | 12:05 |
| → arvind_khadri joined | 12:05 |
| ← arvind_khadri left | 12:05 |
| → arvind_khadri joined | 12:05 |
| ← eno left | 12:05 |
| → eno joined | 12:07 |
| ← dr_lepper left | 12:07 |
|
edakiri
| Is there an equivalent for "--after" (as for Bazaar) for "git mv" ? --Something for handling the case where you have already moved the files? | 12:08 |
|
wereHamster
| edakiri: git rm --cached <old locatin>; git add <new location> | 12:10 |
|
edakiri
| thanks, wereHamster | 12:10 |
|
| --no wait. mv is equivalent of rm + add in Git? I presumed that the presence of an mv command meant they were no longer equivalent. I saw a post which implied there was additional information maintained from mv, as well. | 12:12 |
| ← eno left | 12:13 |
|
bremner
| nope | 12:13 |
|
| nope = no additional info | 12:13 |
| → archdori_ joined | 12:13 |
| → ipalaus_ joined | 12:13 |
| → eno joined | 12:14 |
|
wereHamster
| edakiri: git mv is the same as mv + git rm + git add | 12:14 |
| → mantic0 joined | 12:15 |
| ← archdori left | 12:16 |
|
RichiH
| bremner: :) | 12:16 |
|
cbreak
| edakiri: git doesn't actually track file moves anyway, so no worries | 12:19 |
| ← eno left | 12:19 |
| → subbyyy joined | 12:19 |
| ← renier left | 12:19 |
| ← mishok13 left | 12:20 |
| → CannedCorn joined | 12:20 |
| → Jackneill joined | 12:21 |
| ← subbyyy left | 12:21 |
| ← jbub left | 12:22 |
| → subbyyy joined | 12:22 |
| ← MissionCritical left | 12:23 |
| → berserkr joined | 12:25 |
| → arietis joined | 12:25 |
| _aeris_ → _aeris_|away | 12:26 |
| → eno joined | 12:27 |
| ← eno left | 12:27 |
| → eno joined | 12:27 |
| → jbub joined | 12:28 |
| → churp joined | 12:30 |
| ← daube left | 12:33 |
| → shibayu36_ joined | 12:33 |
| ← shibayu36_ left | 12:34 |
| ← mewm left | 12:34 |
| → shibayu36_ joined | 12:35 |
| ← eno left | 12:35 |
| ← shibayu36 left | 12:35 |
| → shibayu36 joined | 12:35 |
| ← shibayu36 left | 12:35 |
| → erichynds joined | 12:36 |
| ← gnufied left | 12:36 |
| → eno joined | 12:37 |
| ← mritz left | 12:38 |
| → fayaz_ joined | 12:39 |
| _aeris_|away → _aeris_ | 12:39 |
| ← fayaz left | 12:39 |
| → thiago joined | 12:40 |
| → Per4u3e joined | 12:40 |
| → rotham joined | 12:40 |
| ← arvind_khadri left | 12:41 |
| ← kadoban left | 12:42 |
| → kadoban_ joined | 12:42 |
| ← berserkr left | 12:42 |
|
rotham
| hey.. so i reverted a commit, but the staged code doesn't seem to have changed.... | 12:42 |
|
| is there a way I can change the state of the staging area back to what it was during the commit i reverted to? | 12:43 |
|
cbreak
| rotham: reverting creates a new commit | 12:43 |
| ← Per4u3e left | 12:43 |
|
cbreak
| so there won't be a change in the unstaged changes | 12:43 |
|
rotham
| ah k | 12:44 |
| ← eno left | 12:44 |
| → Per4u3e joined | 12:45 |
| → neurodrone joined | 12:46 |
| → eno joined | 12:46 |
| ← peper left | 12:47 |
| ← Per4u3e left | 12:47 |
| → jceb joined | 12:48 |
| → scottschulthess joined | 12:49 |
| → MissionCritical joined | 12:49 |
| → Per4u3e joined | 12:50 |
| → krnl joined | 12:50 |
| ← XayOn left | 12:50 |
| ← eno left | 12:52 |
| → eno joined | 12:54 |
| ← Per4u3e left | 12:54 |
| ← SeySayux left | 12:55 |
| → pfFredd joined | 12:57 |
| → SeySayux joined | 12:57 |
| → peper joined | 12:59 |
| ← eno left | 12:59 |
| ← subbyyy left | 12:59 |
| → dnivra_ joined | 13:00 |
| ← SJS left | 13:00 |
| → fr00d joined | 13:00 |
|
fr00d
| Hello | 13:00 |
|
gitinfo
| fr00d: welcome to #git, a place full of helpful gits. If you have a question, just ask it–somebody should answer shortly. For more information about git and this channel, see the links in the topic. It can't hurt to do a backup (type !backup for help) before trying advice you receive here. | 13:00 |
| → eno joined | 13:00 |
| ← dnivra left | 13:00 |
|
fr00d
| I'm trying to get an older version to my actual version in a git branch. Can somebody tell me how to do that? | 13:01 |
| ← Quanteek left | 13:02 |
| → austinbv joined | 13:02 |
| ← jceb left | 13:02 |
| → xjiujiu joined | 13:02 |
|
wereHamster
| fr00d: why do you want to do this? | 13:03 |
|
fr00d
| I did some bad errors in the code and need an older version. | 13:03 |
| ← scottschulthess left | 13:03 |
|
wereHamster
| fr00d: git checkout <the old version> | 13:04 |
| ← erichynds left | 13:05 |
| → daube joined | 13:05 |
| → Bass10 joined | 13:05 |
| ← pantsman left | 13:06 |
| ← rotham left | 13:06 |
| ← babilen left | 13:07 |
| → rotham joined | 13:07 |
| ← eno left | 13:09 |
| → eno joined | 13:10 |
| ← pfFredd left | 13:10 |
| → pfFredd joined | 13:10 |
| → JohnBat26 joined | 13:11 |
|
fr00d
| wereHamster: How can I push this older version to my git repository on the server? Should be git push origin restore, right? | 13:12 |
|
wereHamster
| git push origin HEAD:<a ref name> | 13:15 |
|
| or git push origin <commit>:<ref name> | 13:15 |
| ← eno left | 13:16 |
| → dr_traktor joined | 13:16 |
| → cybersphinx joined | 13:16 |
| → rhizo joined | 13:16 |
| → eno joined | 13:16 |
|
dr_traktor
| How can I check whether git uses the proper ssh key when trying to push to an origin? | 13:17 |
|
wereHamster
| dr_traktor: ssh -vv <the server where you're pushing> | 13:18 |
| ← the_cybersphinx left | 13:18 |
| ← urbanmonk left | 13:18 |
| ← austinbv left | 13:19 |
| → khmarbaise joined | 13:19 |
| → nicxvan joined | 13:20 |
|
dr_traktor
| wereHamster, and can you point me to the direction about how to set it up properly? | 13:21 |
|
edakiri
| dr_traktor: man ssh_config | 13:21 |
| ← eno left | 13:22 |
| → codewrangler joined | 13:22 |
|
wereHamster
| dr_traktor: help.github.com/set-up-git-redirect/ | 13:22 |
| → eno joined | 13:23 |
| → j416 joined | 13:23 |
| ← j416 left | 13:23 |
|
rotham
| hey.. http://pastebin.com/gWLRnaZ6 what does the <<<<<<< HEAD .... >>>>>>> master syntax mean? | 13:23 |
|
wereHamster
| rotham: man git-merge -> How Conflicts Are Presented | 13:23 |
|
gitinfo
| rotham: the git-merge manpage is available at http://jk.gs/git-merge.html | 13:23 |
|
rotham
| awesome thank you wereHamster | 13:24 |
| → ajaykools joined | 13:25 |
| → Per4u3e joined | 13:25 |
| → austinbv joined | 13:27 |
| ← austinbv left | 13:29 |
| → AllieBenson joined | 13:30 |
| ← eno left | 13:30 |
| → eno joined | 13:31 |
| ← xjiujiu left | 13:33 |
| ← daube left | 13:33 |
| ← monty left | 13:34 |
| ← Per4u3e left | 13:35 |
| → Chillance joined | 13:35 |
| → daube joined | 13:36 |
| → Per4u3e joined | 13:37 |
| → mklappstuhl joined | 13:38 |
| ← eno left | 13:40 |
| → xjiujiu joined | 13:40 |
| ← archivebot left | 13:40 |
| ← kpreid left | 13:40 |
| ← Per4u3e left | 13:40 |
| → Per4u3e joined | 13:42 |
| → archivebot joined | 13:42 |
| → eno joined | 13:42 |
| ← eno left | 13:42 |
| → eno joined | 13:42 |
| ← julius_ left | 13:43 |
| ← Bass10 left | 13:44 |
|
dr_traktor
| the server says that 'Authentication succeeded (publickey)' but finnaly the ssh -T command ends with 'Need SSH_ORIGINAL_COMMAND in environment.' | 13:44 |
|
| What might be the cause? | 13:44 |
| → tatsuya_o joined | 13:44 |
|
wereHamster
| dr_traktor: are you using gitolite on the server? | 13:44 |
| ← xjiujiu left | 13:45 |
| → HG` joined | 13:46 |
| ← eno left | 13:47 |
| → Matrixiumn joined | 13:47 |
| → eno joined | 13:47 |
| → xjiujiu joined | 13:48 |
| → tvw joined | 13:48 |
| ← krnl left | 13:50 |
|
dr_traktor
| wereHamster, I'm using gitosis. | 13:51 |
|
wereHamster
| dr_traktor: !gitosis | 13:52 |
|
gitinfo
| dr_traktor: gitosis is no longer maintained and supported by the author; we usually recommend gitolite instead which has much better documentation and more features: http://github.com/sitaramc/gitolite | 13:52 |
|
dr_traktor
| oh, thanks for the info | 13:52 |
| ← eno left | 13:53 |
| → Jay_Levitt joined | 13:53 |
| ← Per4u3e left | 13:55 |
| ← sjhuang left | 13:55 |
| ← daube left | 13:55 |
| → madewokherd joined | 13:55 |
| → eno joined | 13:55 |
| → Per4u3e joined | 13:57 |
| ← ruskie left | 13:59 |
| → LongBeach joined | 13:59 |
| → lyddonb joined | 14:01 |
| ← eno left | 14:02 |
| → eno joined | 14:04 |
| ← lyddonb left | 14:05 |
| ← CannedCorn left | 14:05 |
| ← Per4u3e left | 14:07 |
| → Per4u3e joined | 14:09 |
| ← eno left | 14:10 |
| → piksi joined | 14:10 |
| → eno joined | 14:11 |
| ← lasers left | 14:11 |
| ← tatsuya_o left | 14:15 |
| ← eno left | 14:16 |
| ← jalama left | 14:16 |
| → ruskie joined | 14:17 |
| → CannedCorn joined | 14:17 |
| ← Per4u3e left | 14:17 |
| → Per4u3e joined | 14:19 |
| → prolificgnosis joined | 14:19 |
| ← Per4u3e left | 14:20 |
| → johnkpaul joined | 14:21 |
| ← CannedCorn left | 14:23 |
| ← xjiujiu left | 14:24 |
| → eno joined | 14:24 |
| ← eno left | 14:24 |
| → eno joined | 14:24 |
| → pantsman joined | 14:25 |
| ← pantsman left | 14:25 |
| → pantsman joined | 14:25 |
| ← dwmw2_gone left | 14:26 |
| → dwmw2_gone joined | 14:26 |
|
prolificgnosis
| how do i create a config file? | 14:26 |
|
| really, what's the extension | 14:27 |
|
| cause I don't have one in my ssh folder | 14:27 |
| → xjiujiu joined | 14:28 |
| → cjuner joined | 14:28 |
|
m1sc
| prolificgnosis: "touch ~/.ssh/config" -- http://linux.die.net/man/5/ssh_config | 14:29 |
| → t4nkd joined | 14:30 |
| ← eno left | 14:30 |
| → eno joined | 14:32 |
| ← eno left | 14:32 |
| → eno joined | 14:32 |
| ← mklappstuhl left | 14:32 |
| → monty` joined | 14:32 |
| → alberto56 joined | 14:32 |
| ← monty` left | 14:32 |
| → monty` joined | 14:32 |
| ← phlipper left | 14:32 |
| ← calimocho left | 14:33 |
| → sebrock joined | 14:35 |
| ← eno left | 14:37 |
| → kaen joined | 14:37 |
| ← kaen left | 14:37 |
| → kaen joined | 14:37 |
| → eno joined | 14:38 |
| ← eno left | 14:38 |
| → eno joined | 14:38 |
| → dang joined | 14:38 |
| ← sh4rm4 left | 14:39 |
| ← fir31ight left | 14:39 |
| ← kryl99 left | 14:41 |
| → fir31ight joined | 14:41 |
| → Whitebird joined | 14:42 |
| → zeth2571 joined | 14:42 |
| → ology joined | 14:43 |
| ← eno left | 14:44 |
| ← frogonwheels left | 14:44 |
| → sh4rm4 joined | 14:45 |
| ← Whitebird left | 14:45 |
| → eno joined | 14:45 |
| → phlipper joined | 14:46 |
| → tiglog joined | 14:50 |
| → Mowsh joined | 14:50 |
| ← rhizo left | 14:50 |
| ← tiglog left | 14:51 |
| → tiglog joined | 14:52 |
| ← xjiujiu left | 14:52 |
| → Goplat joined | 14:53 |
| ← eno left | 14:53 |
| → CannedCorn joined | 14:53 |
| ← zeen left | 14:54 |
| → zeen` joined | 14:54 |
| → eno joined | 14:55 |
| ← eno left | 14:55 |
| → eno joined | 14:55 |
| → Russell^^ joined | 14:56 |
| ← piksi left | 14:56 |
| ← rasmusth left | 14:57 |
| ← archivebot left | 14:57 |
| → gabeh joined | 15:02 |
| → MattRichardson joined | 15:02 |
| ← eno left | 15:03 |
| → jumoit joined | 15:03 |
| → mtkd joined | 15:04 |
| → MarcusFeniX joined | 15:05 |
| → eno joined | 15:05 |
| → iamjarvo joined | 15:05 |
|
rotham
| hey.. after a conflicted merge, I resolved the issues with git mergetool .. do I just commit it, or is there something else I should do first? | 15:05 |
|
EugeneKay
| add && commit | 15:05 |
| ← Janette left | 15:07 |
| → worz joined | 15:08 |
| ← harish left | 15:08 |
| → lusers joined | 15:08 |
| ← worz left | 15:08 |
| ← gabeh left | 15:08 |
| ← johnkpaul left | 15:09 |
| → archivebot joined | 15:09 |
| → harish joined | 15:09 |
| → Bass10 joined | 15:10 |
| ← eno left | 15:11 |
| → eno joined | 15:11 |
| ← eno left | 15:11 |
| → eno joined | 15:11 |
| → archdori joined | 15:13 |
| → mischat joined | 15:13 |
| → puddy joined | 15:13 |
| → djMax joined | 15:15 |
| → yoklov joined | 15:16 |
| → limoges joined | 15:16 |
| ← archdori_ left | 15:16 |
| → cakehero joined | 15:17 |
| ← eno left | 15:18 |
| → eno joined | 15:19 |
| → mandric joined | 15:20 |
| → Destos joined | 15:21 |
| → bauruine joined | 15:21 |
| ← nrichards left | 15:22 |
| ← Jay_Levitt left | 15:24 |
| ← hyperair left | 15:25 |
| ← puddy left | 15:27 |
| ← eno left | 15:27 |
| → mancino joined | 15:28 |
| → mklappstuhl joined | 15:28 |
| → hyperair joined | 15:28 |
| → eno joined | 15:29 |
| ← mandric left | 15:29 |
| → ferdna joined | 15:29 |
| → gabeh joined | 15:29 |
| ← mancino left | 15:30 |
| ← ajaykools left | 15:33 |
| ← eno left | 15:33 |
| ← iocor left | 15:34 |
| → eno joined | 15:34 |
| ← eno left | 15:34 |
| → eno joined | 15:34 |
| ← cinjun left | 15:38 |
| → Vampire0 joined | 15:39 |
| ← gabeh left | 15:41 |
| ← eno left | 15:41 |
| → setmeaway2 joined | 15:42 |
| ← setmeaway left | 15:42 |
| → nikuyoshi joined | 15:42 |
| → hiptobecubic joined | 15:42 |
| → Bartzy joined | 15:42 |
| → species joined | 15:42 |
| ← rurufufuss left | 15:42 |
| → eno joined | 15:43 |
| → rjgonza joined | 15:43 |
| → Xizor joined | 15:43 |
| → subbyyy joined | 15:43 |
| → xlq joined | 15:43 |
| → enmand joined | 15:43 |
| → orafu joined | 15:43 |
| → LotR joined | 15:43 |
| → wanders joined | 15:43 |
| → jstemmer joined | 15:43 |
| → tightwork joined | 15:43 |
| → renan_saddam joined | 15:43 |
| → ice799_ joined | 15:43 |
| → P-l joined | 15:43 |
| calvino.freenode.net set mode: +v | 15:43 |
| ← danols_work left | 15:43 |
| ← rjgonza left | 15:43 |
| → rjgonza joined | 15:43 |
| ← akiress left | 15:47 |
| → fayaz joined | 15:49 |
| ← fayaz_ left | 15:49 |
| ← archivebot left | 15:49 |
| → archivebot joined | 15:50 |
| ← eno left | 15:51 |
| → jcrotty_ joined | 15:51 |
| → eno joined | 15:52 |
| → infogulch joined | 15:52 |
| ← archivebot left | 15:53 |
| → archivebot joined | 15:53 |
| gitinfo set mode: +v | 15:54 |
|
jcrotty_
| any ideas on this error: git: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory | 15:54 |
|
| i am on centos6 | 15:54 |
|
cbreak
| you lack a dynamic library that the git you compiled requires | 15:54 |
| ← mklappstuhl left | 15:55 |
|
cbreak
| you should compile a git that does not require this library, or install it | 15:55 |
| ← matthiaskrgr left | 15:55 |
| ← hiptobecubic left | 15:55 |
|
jcrotty_
| yeah, i poked around in yum, but can't seem to find libiconv | 15:56 |
| ← eno left | 15:56 |
|
jcrotty_
| ok, problem solved | 15:57 |
|
| thanks | 15:57 |
| ← archivebot left | 15:58 |
| ← tvw left | 15:58 |
| → archivebot joined | 15:58 |
| ← Chib left | 15:59 |
| → eno joined | 16:00 |
| ← eno left | 16:00 |
| → eno joined | 16:00 |
| ← ruskie left | 16:00 |
| → chrisgeorge joined | 16:03 |
| → akiress joined | 16:04 |
| ← dr0id left | 16:05 |
| → kukks joined | 16:05 |
| → alesan joined | 16:05 |
| ← eno left | 16:06 |
| → eno joined | 16:07 |
| ← eno left | 16:07 |
| → eno joined | 16:07 |
| → ruskie joined | 16:09 |
| ← cakehero left | 16:10 |
| → mishok13 joined | 16:11 |
| → mewm joined | 16:12 |
| → tatsuya_o joined | 16:12 |
| ← sitaram left | 16:12 |
| → sitaram joined | 16:12 |
| ← sitaram left | 16:12 |
| → sitaram joined | 16:12 |
| ← tatsuya_o left | 16:13 |
| ← cjuner left | 16:13 |
| → l1nu5r joined | 16:13 |
| ← eno left | 16:13 |
| ← mewm left | 16:15 |
| → eno joined | 16:15 |
| → solofight joined | 16:15 |
| ← eno left | 16:15 |
| → eno joined | 16:15 |
| → Q| joined | 16:15 |
| → avalarion joined | 16:16 |
| ← Q| left | 16:16 |
| → piksi joined | 16:16 |
| → cakehero joined | 16:16 |
|
avalarion
| Hey ho, my Repository does not seem to have anything to commit after "git rm" and "git add -A" ... http://pastebin.com/eC7sRTbQ | 16:16 |
| → dreiss joined | 16:17 |
|
solofight
| people is it safe to say that clone is almost the same - clone would be used in the case of a complete replica when you dont have a repository at all whereas remote would be used when you want to get or put files from or to an already existing repository | 16:17 |
|
| ?? | 16:17 |
|
| cloning a repository would also create a entry in the config named remote for the source/origin ? | 16:18 |
| → selckin joined | 16:18 |
| → babilen joined | 16:18 |
| ← Jackneill left | 16:19 |
| → gabeh joined | 16:19 |
| → lynda joined | 16:20 |
| → mewm joined | 16:20 |
| ← lynda left | 16:20 |
| → jceb joined | 16:20 |
|
cmn
| the same as what? | 16:21 |
| → mritz joined | 16:21 |
| → subh joined | 16:22 |
|
solofight
| cmn: clone == remote add + pull ?? | 16:22 |
| ← gabeh left | 16:22 |
| ← eno left | 16:23 |
|
xlq
| It's more like mkdir and git init and remote add and fetch and checkout | 16:23 |
|
cmn
| almost, it's remote add, git fetch, figure out what the remote HEAD is, git checkout -b <branch> origin/<branch> where <branch> is the remote's default branch | 16:23 |
|
| well, yeah, with git init before hand | 16:23 |
| ← selckin left | 16:23 |
| → cesc joined | 16:23 |
| → eno joined | 16:24 |
| ← FreeArtMan left | 16:24 |
| → zeen joined | 16:24 |
| → L42y joined | 16:24 |
|
solofight
| xlq: why fetch + checkout, ,why not pull directly ? | 16:24 |
|
| cmn: ^ | 16:25 |
| ← zeen` left | 16:25 |
|
cmn
| because pull is merge | 16:25 |
|
solofight
| ohh | 16:25 |
|
cmn
| and there is nothing locally | 16:25 |
|
| so there's nothing to merge with | 16:25 |
|
| and pull is porcelain anyway | 16:25 |
|
| very high-level porcelain | 16:25 |
|
| clone can't make use of it | 16:26 |
| → arvind_khadri joined | 16:26 |
| ← hyperair left | 16:26 |
|
solofight
| so it does things except merge right ? whats the issue ? | 16:26 |
|
| oh | 16:26 |
|
cmn
| issue with what? | 16:28 |
| ← dr_traktor left | 16:28 |
|
cmn
| pull is a merge, and there is no merge possible when you have nothing | 16:28 |
|
| and a merge is not what you want anyway | 16:29 |
| → dr_lepper joined | 16:29 |
| ← dr_lepper left | 16:29 |
| → dr_lepper joined | 16:29 |
| ← pfFredd left | 16:29 |
| ← eno left | 16:30 |
| → Jay_Levitt joined | 16:30 |
| → hyperair joined | 16:31 |
| → pfFredd joined | 16:31 |
| → eno joined | 16:32 |
| ← candybar left | 16:32 |
|
nick_h
| with git-show, is there a way to list the files in a commit, but not show the actual file diffs? | 16:32 |
|
wereHamster
| nick_h: git diff --name-only <commit>^! | 16:32 |
|
xlq
| git ls-files --with-tree=<commit> | 16:33 |
| → Lulzon joined | 16:33 |
|
cmn
| git show --name-only | 16:33 |
| ← solofight left | 16:33 |
|
cmn
| xlq: that would show every file, no? | 16:34 |
| ← Lulzon left | 16:34 |
| → Lulzon joined | 16:34 |
| → solofight joined | 16:34 |
|
xlq
| cmn: Yes, it doesn't seem to work. | 16:34 |
|
nick_h
| thanks, guys. much appreciated. cmn's suggestion is exactly what i'm looking for. | 16:34 |
|
| it's strange that the --name-only option isn't listed in the manpage for git-show | 16:34 |
| ← nikuyoshi left | 16:34 |
|
xlq
| It is | 16:34 |
| → candybar joined | 16:35 |
|
nick_h
| xlq: hm. it's not explained in my manpage. "man git-show | grep name-only" only spits out this: | 16:35 |
|
gitinfo
| xlq: the git-show manpage is available at http://jk.gs/git-show.html | 16:35 |
| → gabeh joined | 16:35 |
|
nick_h
| For trees, it shows the names (equivalent to git ls-tree with --name-only). | 16:35 |
| → gnufied joined | 16:36 |
|
cmn
| --name-only and friends are diff options | 16:36 |
|
nick_h
| ah. it wasn't clear to me that git-show accepts diff options | 16:37 |
| ← eno left | 16:38 |
| → eno joined | 16:38 |
| ← enmand left | 16:39 |
|
solofight
| cmn: git pull does a git fetch, checkout and then a merge right ? | 16:39 |
|
xlq
| I don't think it does a checkout. | 16:39 |
|
cmn
| no | 16:39 |
| ← limoges left | 16:40 |
|
cmn
| git pull does git fetch <appropriate remote>; git merge FETCH_HEAD | 16:40 |
|
nick_h
| solofight: pretty sure it's just a fetch and merge | 16:40 |
|
cmn
| you can read the source, it's a fairly small screipt | 16:40 |
|
solofight
| oh | 16:41 |
|
| why the checkout ? whats the reason ? | 16:43 |
|
| its a new repository anyway right | 16:43 |
|
| mkdir, init, remote add, fetch wont do ? | 16:43 |
|
cmn
| that won't create the default branch | 16:44 |
| → duckxx joined | 16:45 |
| ← subh left | 16:45 |
| → enmand joined | 16:45 |
|
| solofight is creating repo's for experiment - to understand it better | 16:46 |
| ← eno left | 16:46 |
| → Jarred joined | 16:46 |
| → guampa joined | 16:47 |
| → bibinou joined | 16:47 |
| → subh joined | 16:48 |
| → eno joined | 16:48 |
| ← eno left | 16:48 |
| → eno joined | 16:48 |
| → Yuuhi joined | 16:48 |
| ← mloskot left | 16:48 |
| ← nicxvan left | 16:48 |
| ← species left | 16:49 |
| → mloskot joined | 16:50 |
| → alexim joined | 16:50 |
| → matthiaskrgr joined | 16:51 |
| ← mloskot left | 16:51 |
| → nikuyoshi joined | 16:51 |
| → mloskot joined | 16:51 |
| ← gabeh left | 16:52 |
| → Drewch joined | 16:53 |
| → vicapow joined | 16:53 |
| → mloskot_dogwalk joined | 16:53 |
| → drizzd joined | 16:53 |
| ← eno left | 16:55 |
|
solofight
| cmn: mkdir, init, remote add, git pull -u alias master does the job equivalent to clone A ./B | 16:56 |
|
| ? | 16:56 |
| → Per4u3e joined | 16:56 |
| → hololight joined | 16:56 |
| → es joined | 16:56 |
| → shruggar joined | 16:56 |
| ← jumoit left | 16:57 |
|
cmn
| what's that pull meant to do? | 16:57 |
|
solofight
| after the pull i did a git branch and it says master* | 16:57 |
| → eno joined | 16:57 |
| ← eno left | 16:57 |
| → eno joined | 16:57 |
| ← tnzr left | 16:57 |
| ← Per4u3e left | 16:57 |
| ← es left | 16:57 |
| ← mloskot left | 16:57 |
|
cmn
| so you're in master, that's what git init does | 16:57 |
|
solofight
| pull - pulls the content, history to this repo B from repo A | 16:57 |
|
cmn
| but now you don't have any remote-tracking branches or origin/HEAD | 16:57 |
| → estevocastro joined | 16:58 |
|
cmn
| it pulls the one branch you told it to | 16:58 |
|
| and master doesn't have the tracking information that clone gives it eithe | 16:58 |
|
| there's a reason I wrote it like I did | 16:58 |
|
| and you should forget about pull if you want to figure out how things happen | 16:58 |
|
| it's very high level and nothing uses it | 16:58 |
|
estevocastro
| if I have several remote repositories, how do I specify a "default" one (that is, the one that gets used when I push or pull without specifying a particular repo)? | 16:59 |
|
solofight
| cmn: there definitely is - please dont take me wrong for me questioning it. I am trying to understand it better, i am in a confused state | 16:59 |
|
| cmn: ok will try fetch now | 16:59 |
|
cmn
| man git clone's first paragraph explains what it does | 17:00 |
|
gitinfo
| the git-clone manpage is available at http://jk.gs/git-clone.html | 17:00 |
| ← matthiaskrgr left | 17:00 |
|
cmn
| and that's what my commands did | 17:00 |
| → xsbeats joined | 17:01 |
| ← segher left | 17:01 |
| → mklappstuhl joined | 17:01 |
|
jast
| estevocastro: it's done per branch (though push doesn't default to that behaviour; you can set push.default to 'upstream' to change that). basically to tell a branch which reote branch it should be associated with, use something like git branch --set-upstream yourbranch origin/yourbranch | 17:01 |
|
| hmm, speaking of... | 17:02 |
| → segher joined | 17:02 |
| ← eno left | 17:03 |
|
jast
| .trigger_edit set_upstream To tell git which remote branch to use in pull (and push if you set push.default to upstream) for a given branch foo, use something like: git branch --set-upstream foo origin/foo | 17:03 |
|
gitinfo
| jast: Okay. | 17:03 |
| → Karmaon joined | 17:03 |
| ← gnufied left | 17:04 |
| ← phnom left | 17:04 |
| ← hololight left | 17:04 |
| → Darxus joined | 17:05 |
| → eno joined | 17:05 |
| ← eno left | 17:05 |
| → eno joined | 17:05 |
|
Darxus
| Does git really not have the ability to automatically retry when a clone fails? | 17:05 |
| → scottschulthess joined | 17:05 |
|
FauxFaux
| It really does not. | 17:06 |
|
| while ! git clone foo; do done | 17:06 |
|
Darxus
| Hmm, thanks. | 17:06 |
|
solofight
| cmn: when i do git checkout -b master origin/master it says fatal: updating path is incompatible with switching branches | 17:07 |
|
| after a remote add and git fetch i did the above ^ | 17:07 |
| ← jceb left | 17:07 |
|
charon
| Darxus: https://bundler.caurea.org/ might help you | 17:08 |
| → jceb joined | 17:08 |
| → psoo joined | 17:09 |
| ← shruggar left | 17:09 |
|
FauxFaux
| charon: Hah, implementing that was on my todo list. Ding! | 17:09 |
|
Darxus
| charon: Thanks, my problem is with qt5's init-repository script, it clones a bunch of repos, and often one of them fails, which makes doing that in another script unpleasant. When it takes about an hour to download everything. | 17:09 |
| ← eno left | 17:10 |
|
wereHamster
| FauxFaux: you didn't know that existed? It's been around for ages :) | 17:10 |
| → eno joined | 17:10 |
| ← eno left | 17:10 |
| → eno joined | 17:10 |
|
solofight
| when i tell bitbucket that i already have a git repository which i want to import after creating a new repository it asks me to add remote and then git push -u origin master. Is that safe ? | 17:10 |
|
FauxFaux
| Things being on the todo lsit doesn't imply I've done any work or research on them at all. :) | 17:11 |
| → project2501b joined | 17:11 |
|
FauxFaux
| Needs a !bundler. /me -> dinner. | 17:12 |
| → johnkpaul joined | 17:13 |
| ← solofight left | 17:13 |
| ← jceb left | 17:14 |
| ← mishok13 left | 17:14 |
| → FreeArtMan joined | 17:14 |
|
estevocastro
| thanks jast! | 17:14 |
| ← CannedCorn left | 17:14 |
| ← FreeArtMan left | 17:15 |
|
charon
| FauxFaux: well as you can see in http://article.gmane.org/gmane.comp.version-control.git/181380 you're only half a year late ;-) | 17:18 |
|
| though i wonder how much that hurts wereHamster bandwidth-wise | 17:18 |
| → CannedCorn joined | 17:20 |
| ← CannedCorn left | 17:20 |
| → Quanteek joined | 17:20 |
| ← xsbeats left | 17:21 |
| ← agile left | 17:22 |
| → agile joined | 17:22 |
| ← angelsl left | 17:23 |
| ← Jay_Levitt left | 17:24 |
| → Jay_Levitt joined | 17:24 |
| ← scottschulthess left | 17:24 |
| ← musee left | 17:26 |
| → musee joined | 17:27 |
| → ceej joined | 17:28 |
| → deltree_ joined | 17:29 |
| ← HG` left | 17:33 |
| → ceej_ joined | 17:34 |
| ← ceej left | 17:34 |
| ceej_ → ceej | 17:34 |
| → pdtpatr1ck joined | 17:35 |
| → aspotashev joined | 17:36 |
| ← l1nu5r left | 17:37 |
| ← aspotashev|| left | 17:37 |
| ← Drewch left | 17:37 |
| mloskot_dogwalk → mloskot | 17:40 |
| → mister_m joined | 17:41 |
| ← mischat left | 17:42 |
|
wereHamster
| charon: not at all. You see a counter how many bundles I have. The service is hardly ever being used. | 17:43 |
| ← airborn left | 17:44 |
| ← ceej left | 17:44 |
| ← xGambit left | 17:44 |
| → xGambit joined | 17:45 |
| → airborn joined | 17:46 |
| → rbrooks joined | 17:47 |
| → zpao|detached joined | 17:48 |
| ← zpao|detached left | 17:49 |
| ← ipalaus_ left | 17:51 |
| → ceej joined | 17:51 |
| → mishok13 joined | 17:51 |
| → abstrakt joined | 17:52 |
| ← project2501b left | 17:52 |
| ← gavin_huang left | 17:54 |
| ← akiress left | 17:56 |
| → w09x joined | 17:56 |
| → Drewch joined | 17:57 |
| ← bibinou left | 17:58 |
| ← Destos left | 17:58 |
| ← alberto56 left | 17:59 |
| ← mloskot left | 18:01 |
| ← subh left | 18:02 |
| ← duckxx left | 18:02 |
| → ericmuyser joined | 18:04 |
| → subh joined | 18:04 |
| → tolland joined | 18:05 |
| → akiress joined | 18:05 |
| → mloskot joined | 18:06 |
| ← mloskot left | 18:06 |
| → mloskot joined | 18:06 |
| ← BruceZu-CNBJ left | 18:06 |
| → BruceZu-home joined | 18:07 |
| ← BruceZu-home left | 18:08 |
| → aspotashev| joined | 18:09 |
| ← aspotashev left | 18:10 |
| ← Bartzy left | 18:11 |
| → project2501b joined | 18:13 |
| ← project2501b left | 18:13 |
| ← nikuyoshi left | 18:13 |
| ← EricInBNE left | 18:13 |
| → notjohn joined | 18:13 |
| → nikuyoshi joined | 18:14 |
| → archdori_ joined | 18:14 |
| ← jcrotty_ left | 18:15 |
| → jcrotty_ joined | 18:15 |
|
FauxFaux
| charon: Some of us get far, far more bandwidth than we can use by paying for ram. | 18:15 |
| → notola joined | 18:16 |
| ← notola left | 18:16 |
| ← jcrotty_ left | 18:17 |
| → Davey joined | 18:17 |
| ← Davey left | 18:17 |
| → Davey joined | 18:17 |
| ← archdori left | 18:18 |
| ← nikuyoshi left | 18:18 |
| → project2501b joined | 18:18 |
| ← vicapow left | 18:19 |
| → francky joined | 18:20 |
| ← L42y left | 18:20 |
| ← francky left | 18:22 |
| → francky joined | 18:22 |
| ← agile left | 18:22 |
| → mischat joined | 18:23 |
| ← Russell^^ left | 18:23 |
| → Russell^^ joined | 18:23 |
| ← w09x left | 18:23 |
| ← francky left | 18:24 |
| → francky joined | 18:24 |
| → Bartzy joined | 18:24 |
| → josefig_ joined | 18:24 |
| ← Russell^^ left | 18:26 |
| ← josefig_ left | 18:26 |
| → Russell^^ joined | 18:26 |
| → j3ffko joined | 18:27 |
| → eijk joined | 18:28 |
| ← Element9 left | 18:28 |
| ← j3ffko left | 18:29 |
| → jalama joined | 18:30 |
| ← dreiss left | 18:31 |
| → Vooloo joined | 18:31 |
| ← BlaDe^ left | 18:32 |
|
Vooloo
| is there a way to force the filesystem only to write files to disk that come from git? so it is read only if a ssh user or apache tries to write to disk | 18:32 |
| ← hyperair left | 18:32 |
|
FauxFaux
| Make a different user own the files, and give g+r. | 18:33 |
| → XayOn joined | 18:33 |
|
cmn
| it sounds like you want git-shell or gitolite | 18:34 |
| → gumnos joined | 18:34 |
| ← deltree_ left | 18:34 |
| ← jalama left | 18:35 |
| → L42y joined | 18:35 |
| → scottschulthess joined | 18:35 |
| → hyperair joined | 18:36 |
| ← Jay_Levitt left | 18:36 |
| → johnkpau_ joined | 18:36 |
| ← johnkpaul left | 18:36 |
| ← Bartzy left | 18:38 |
| ← kadoban_ left | 18:39 |
| → iocor joined | 18:39 |
| → ajaykools joined | 18:40 |
| → agile joined | 18:40 |
| → ipalaus_ joined | 18:40 |
| → mxweas_ joined | 18:41 |
| → wilmoore joined | 18:42 |
| ← zeen left | 18:42 |
| ← dang left | 18:44 |
| → dotnull joined | 18:49 |
| ← AllieBenson left | 18:49 |
| → ISF joined | 18:50 |
| ← hyperair left | 18:51 |
| → hyperair joined | 18:54 |
| → Bartzy joined | 18:55 |
| ← psoo left | 18:55 |
| johnkpau_ → johnkpaul | 18:56 |
| ← imMute left | 18:56 |
| → therod joined | 18:56 |
| → imMute joined | 18:57 |
| ← thiago left | 18:59 |
| ← mklappstuhl left | 19:00 |
| ← Bartzy left | 19:00 |
| ← gumnos left | 19:01 |
| → dvide joined | 19:02 |
| ← tolland left | 19:03 |
| → avtobiff joined | 19:03 |
| → phnom joined | 19:05 |
| ← scottschulthess left | 19:11 |
| → psoo joined | 19:14 |
| → danielss89 joined | 19:15 |
| ← yac left | 19:15 |
| ← subh left | 19:16 |
| → d3xter joined | 19:16 |
|
d3xter
| hey guys | 19:17 |
|
| how can i remove unused commits? | 19:17 |
| ← agile left | 19:18 |
| → Bartzy joined | 19:18 |
|
xlq
| git prune | 19:18 |
| → thiago joined | 19:18 |
|
wereHamster
| d3xter: are you running low on disk space? | 19:18 |
| ← danielss89 left | 19:19 |
|
d3xter
| wereHamster: no, just want them to go away :) | 19:20 |
| → stringoO joined | 19:20 |
|
variable
| If I know a commit had a certain hash | 19:21 |
|
| and I did git svn rebase | 19:21 |
|
| is there a way to figure out which branch that commit was in | 19:21 |
|
| %git branch --contains=3b4f7b77abc6a0fadb3a15ebd7e8e8d475047842 | 19:21 |
|
| doesn't show it | 19:21 |
|
| git reflog shows the commit, but not the branch | 19:22 |
| → varnie joined | 19:22 |
|
varnie
| Hi. | 19:22 |
|
gitinfo
| varnie: welcome to #git, a place full of helpful gits. If you have a question, just ask it–somebody should answer shortly. For more information about git and this channel, see the links in the topic. It can't hurt to do a backup (type !backup for help) before trying advice you receive here. | 19:22 |
| ← francky left | 19:23 |
|
varnie
| I have a fork. I made few changes (which I pushed) and now I want to pull all updates from the upstream branch. the problem is that it seems I changed some file (and commited it already) and I have the collision with the upstream changes. what should I do? | 19:24 |
| ← therod left | 19:24 |
| → therod joined | 19:24 |
|
offby1
| varnie: resolve the conflict. | 19:25 |
|
varnie
| here is the description of the warning I have: "fatal: You have not concluded your merge (MERGE_HEAD exists)." | 19:27 |
| ← airborn left | 19:27 |
|
varnie
| and it says that I need to commit my changes before I can merge, but "git status" doesn't show me any changes. | 19:28 |
|
offby1
| it doesn't? | 19:29 |
|
| that's pretty odd | 19:29 |
|
| !repro | 19:30 |
|
gitinfo
| Please paste (using https://gist.github.com/ or similar) a transcript of your terminal session. This will help immensely with troubleshooting. | 19:30 |
| ← d3xter left | 19:30 |
| → HG` joined | 19:31 |
| ← pfFredd left | 19:31 |
|
varnie
| I already used "git mergetool" and now it doesn't see any files which need merging. | 19:32 |
| → agile joined | 19:32 |
|
varnie
| maybe it can help. | 19:32 |
|
variable
| any idea of how I could go from sha -> branch on a commit which has already been rebased ? | 19:32 |
|
offby1
| can you please paste the transcript? I can't help without it | 19:32 |
| ← psoo left | 19:33 |
|
offby1
| variable: are you asking ... which branch contains the changes that this commit introduced? | 19:33 |
|
| variable: if so, !gka might help | 19:33 |
|
gitinfo
| variable: For a better way to view the reflog, try: gka() { gitk --all $(git log -g --format="%h" -50) "$@"; }; gka | 19:33 |
|
varnie
| here it is: https://gist.github.com/2187064 | 19:34 |
|
variable
| offby1: it opens up a confusing looking gui | 19:34 |
|
| and yes, that is exactly what I'm asking for though | 19:35 |
|
offby1
| variable: gitk is indeed confusing at first but I find it indispensible | 19:35 |
|
variable
| offby1: how do I use it to find this commit? | 19:36 |
|
| gitk is slooooooow ;( | 19:36 |
|
offby1
| varnie: unfortunately your "transcript" omits the most useful information: the _output_ from those commands | 19:36 |
| → cespare joined | 19:36 |
| → hex`` joined | 19:36 |
|
offby1
| variable: start it again, and pass your mystery SHA1 as an argument to it | 19:37 |
|
hex``
| how do I restore a snapshot? | 19:37 |
| ← ceej left | 19:37 |
| ← falena left | 19:37 |
|
offby1
| variable: that will highlight the commit. | 19:37 |
|
| hopefully you will then see another commit with the same log message "nearby" | 19:37 |
|
| variable: you could also "git log --grep='the log message' --all" | 19:37 |
|
hex``
| how do I get an old commit version back? | 19:38 |
|
offby1
| hex``: "git branch restored SHA-U-WANT" | 19:38 |
|
variable
| offby1: oh, so you can' actually do what I want? You have to kind of sort of guess? | 19:38 |
|
| * can't | 19:38 |
| → aspotashev|| joined | 19:38 |
| ← ericmuyser left | 19:38 |
| ← aspotashev| left | 19:38 |
| ← Dragooon left | 19:38 |
|
variable
| I mean, that is fine, I thought there might be a tool to do so though | 19:39 |
|
offby1
| variable: I'm not sure if there's a slick way. I myself would stumble around like this until I found it :) | 19:39 |
|
variable
| offby1: haha okay. | 19:39 |
|
| I was hoping for some kind of git branch --contains like thing | 19:39 |
|
| but mkay | 19:39 |
|
offby1
| pity there are no other git whizzes aroudn | 19:39 |
|
| around | 19:39 |
|
hex``
| offby1 it doesn't seem to get the files back | 19:39 |
|
offby1
| variable: if the commit you're talking about is unreferenced, I suspect there's no easy way. | 19:39 |
|
| hex``: !repro | 19:39 |
|
gitinfo
| hex``: Please paste (using https://gist.github.com/ or similar) a transcript of your terminal session. This will help immensely with troubleshooting. | 19:39 |
|
variable
| offby1: understood. I wasn't able to find another commit, so I'll just checkout; branch again; and redo the rebase | 19:40 |
|
| I wish this sort of thing was stored somewhere | 19:40 |
| → ericmuyser joined | 19:42 |
| ← mischat left | 19:47 |
| → dvalfrid joined | 19:47 |
| ← mloskot left | 19:48 |
| ← xlq left | 19:48 |
| → Jay_Levitt joined | 19:49 |
| → savid joined | 19:50 |
|
savid
| Is there a way to run git using sudo so that it still uses my regular user's pubkey? That is, I want to access the git server using my normal user, but I want to write to directories with sudo. | 19:51 |
| → blacktulip joined | 19:51 |
| ← Quanteek left | 19:51 |
| → ysawej joined | 19:53 |
| ← ysawej left | 19:53 |
|
offby1
| savid: probably some environment variable: maybe GIT_SSH="ssh -i /path/to/your/.ssh/id_rsa" git pull | 19:53 |
|
| something like that | 19:53 |
| → limoges joined | 19:53 |
|
savid
| hmm. except that won't work with agent forwarding :-) | 19:54 |
|
| at least, I don't think it will | 19:54 |
|
| I could be wrong | 19:54 |
| → kevlarman joined | 19:54 |
|
cbreak
| ssh-add | 19:54 |
|
FauxFaux
| sudo probably intentionally kills any environment variables that you wan. | 19:55 |
|
cbreak
| besides, why would you want to use sudo to clone? | 19:55 |
|
savid
| hmm. maybe itwill be easier to just sudo chown first :-P | 19:55 |
|
cbreak
| cloning would be one of the operations with git that I'd never run with sudo | 19:56 |
| → subh joined | 19:56 |
| → majuscule joined | 19:56 |
|
savid
| cbreak, yeah, you're probably right. | 19:56 |
|
cbreak
| anything that communicates should not run with elevated privileges, more maybe with lowered ones | 19:56 |
| ← xGambit left | 19:57 |
| ← scroat left | 19:57 |
|
majuscule
| I've checkout out a commit and am not currently on a branch. I ran `git reset --soft HEAD^` to go to the last commit (and keep my changes), and then ran `git diff` to try to take a look at the diff, but it says I cannot as i am not on a branch. How can I work around this | 19:57 |
|
| I can just git diff hash..hash but i want to be left there and able to edit the files | 19:58 |
|
project2501b
| hey guys: so, in order to rename a remote reference, you should rm it and then add the edited one, correct? or just edit the config file | 19:58 |
| → xGambit joined | 19:58 |
|
cbreak
| majuscule: git diff should work | 19:58 |
|
| but honestly, just make a branch | 19:58 |
|
| git checkout -b branchname | 19:58 |
| → caseymcg joined | 19:59 |
|
cbreak
| project2501a: did you read man git-remote | 19:59 |
|
gitinfo
| project2501a: the git-remote manpage is available at http://jk.gs/git-remote.html | 19:59 |
| → junrue67 joined | 19:59 |
|
project2501b
| cbreak: rtfming as we speak | 19:59 |
| → dermoth_ joined | 19:59 |
|
project2501b
| cbreak: thank you. i need to rtfm more, pull the trigger slower ;) | 20:00 |
| → pimperle joined | 20:00 |
|
cbreak
| well, it's on line 3 of the synopsis | 20:00 |
|
project2501b
| yeah, i saw it | 20:00 |
|
pimperle
| I acidentally pushed a commit containing a private API key to a repository. Is there a way to change a line of code and propagate the change backwards a couple of commits? | 20:01 |
| → tonesfrommars joined | 20:01 |
|
project2501b
| pimperle: git reset | 20:01 |
|
| or git rebase. what ever catches your fancy | 20:02 |
| ← dermoth|home left | 20:02 |
|
pimperle
| i've read the documentation of git reset and rebase a couple of times, but still didn't get all of it | 20:02 |
|
| i'll have a look though and see, how to do what i need | 20:02 |
|
| using reset i can remove the commits in question, right? | 20:03 |
|
offby1
| !fixup | 20:03 |
|
gitinfo
| So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions. For hints type !fixup_hints in IRC. Remember: if you have pushed already, there are only a few things you can do without !rewriting_public_history (type that for more info) | 20:03 |
| ← HG` left | 20:03 |
|
pimperle
| offby1: thanks | 20:03 |
|
project2501b
| pashn anhr malakia o8wmouneos | 20:04 |
|
offby1
| say wot | 20:05 |
| → fayimora joined | 20:05 |
| → boo11 joined | 20:05 |
| → mandric joined | 20:05 |
| ← boo11 left | 20:06 |
| → tqmz joined | 20:06 |
|
project2501b
| offby1: it's all greek to you ;) | 20:06 |
| → oojacoboo joined | 20:06 |
| ← kevlarman left | 20:06 |
|
offby1
| oh indeed | 20:08 |
| → saidi joined | 20:12 |
| → s0ber_ joined | 20:13 |
| → rrn joined | 20:13 |
| → gabeh joined | 20:13 |
| ← monty` left | 20:13 |
| ← s0ber left | 20:15 |
| s0ber_ → s0ber | 20:15 |
| ← enmand left | 20:16 |
| → luthander_ joined | 20:16 |
| ← babilen left | 20:17 |
| ← mgpcoe left | 20:24 |
| → mloskot joined | 20:25 |
| ← mloskot left | 20:25 |
| → mloskot joined | 20:25 |
| ← junrue67 left | 20:26 |
| ← fayimora left | 20:27 |
| → berserkr joined | 20:27 |
| ← ajaykools left | 20:27 |
| ← chronos left | 20:28 |
| ← hyperair left | 20:28 |
| ← philips left | 20:29 |
| → alberto56 joined | 20:31 |
| → dset joined | 20:32 |
| → philips joined | 20:32 |
| ← SegFaultAX left | 20:33 |
| ← mxweas_ left | 20:33 |
|
djMax
| how do I get the date of a commit? | 20:35 |
|
cmn
| man git log --format | 20:36 |
|
gitinfo
| the git-log manpage is available at http://jk.gs/git-log.html | 20:36 |
| ← gabeh left | 20:36 |
|
cmn
| it's %ad I believe | 20:36 |
| → sq-one joined | 20:37 |
| ← varnie left | 20:38 |
| → monty` joined | 20:38 |
| ← monty` left | 20:38 |
| → monty` joined | 20:38 |
| ← L42y left | 20:39 |
| → gabeh_ joined | 20:39 |
| ← alberto56 left | 20:39 |
| → hyperair joined | 20:39 |
| → L42y joined | 20:40 |
| → alberto56 joined | 20:40 |
| ← subbyyy left | 20:41 |
| → FernandoBasso joined | 20:41 |
| → mgpcoe joined | 20:41 |
|
pimperle
| offby1, project2501b: I could repair it, thanks a lot for the hints | 20:43 |
|
| i used git filter-branch | 20:43 |
|
| and a sed script as filter command | 20:43 |
| ← Goplat left | 20:45 |
| ← gabeh_ left | 20:46 |
| → codeM0nK3Y joined | 20:47 |
| → gabeh joined | 20:47 |
| ← hyperair left | 20:47 |
| → gabeh_ joined | 20:49 |
| → varnie joined | 20:49 |
| ← gabeh left | 20:49 |
| gabeh_ → gabeh | 20:49 |
| → hyperair joined | 20:50 |
| ← cantoma left | 20:51 |
| ← varnie left | 20:51 |
| ← berserkr left | 20:52 |
| ← akiress left | 20:53 |
| ← tarkus left | 20:54 |
| ← archivebot left | 20:54 |
| → archivebot joined | 20:54 |
| → sentinal8473 joined | 20:54 |
| → ysawej joined | 20:54 |
| ← sentinal8473 left | 20:56 |
| ← piksi left | 20:57 |
| ← Matrixiumn left | 20:58 |
| ← ysawej left | 20:59 |
| ← dset left | 20:59 |
| ← dotnull left | 21:01 |
| → akiress joined | 21:01 |
| → urbanmonk joined | 21:04 |
|
djMax
| Is there an odd "base date" for git dates? I get a date from nodegit for a commit but if I add it to the unix epoch it's in 1970 | 21:06 |
|
cbreak
| the base date is epoch | 21:07 |
|
FauxFaux
| git dates are stored as unix timestamps. git cat-file commit HEAD | 21:07 |
|
cbreak
| I prefer git cat-file -p HEAD | 21:08 |
|
djMax
| *1000 fixes it. | 21:08 |
|
| Trying to write a node.js script to walk git for a specific file, there's a module but seems like the command line might be easier. | 21:08 |
| ← drizzd left | 21:09 |
| ← saidi left | 21:09 |
| → TomyLobo joined | 21:09 |
|
TomyLobo
| hi | 21:09 |
|
gitinfo
| TomyLobo: welcome to #git, a place full of helpful gits. If you have a question, just ask it–somebody should answer shortly. For more information about git and this channel, see the links in the topic. It can't hurt to do a backup (type !backup for help) before trying advice you receive here. | 21:09 |
|
TomyLobo
| is there something like git pull -r, except the foreign changes end up on top? | 21:10 |
|
FauxFaux
| djMax: google git-scripts git-find-blob. | 21:10 |
|
TomyLobo
| would be particularly useful for rebasing github pull requests | 21:10 |
|
FauxFaux
| TomyLobo: fetch and cherry-pick tghem. | 21:10 |
|
TomyLobo
| yeah... that's hard to teach though ^^ | 21:11 |
|
FauxFaux
| The functionality you want is direct rewriting of public history, which is unpopular here. | 21:11 |
|
TomyLobo
| public but unpopular history | 21:12 |
|
cbreak
| djMax why not use git cat-file? | 21:12 |
|
| you can also use git ls-tree to get a parsed list of files from a tree if you want | 21:12 |
|
| TomyLobo: no | 21:13 |
| → cantoma joined | 21:13 |
|
cbreak
| TomyLobo: just rebase yourself | 21:13 |
|
FauxFaux
| See! | 21:13 |
|
cbreak
| who cares how hard to teach it is | 21:13 |
| → Malar joined | 21:13 |
|
TomyLobo
| so i guess i'll be handing out scripts :) | 21:14 |
|
cbreak
| if you want to teach that then you're a moron anyway. And for a moron, everything's hard | 21:14 |
|
djMax
| trying to grok that syntax - sha then path? | 21:14 |
|
jast
| hey now, what happened to civility :P | 21:14 |
|
FauxFaux
| People who want their coworkers to acually use stuff instead of just argh? | 21:14 |
| → archdori joined | 21:14 |
|
cbreak
| djMax: ref:path/to/file | 21:14 |
| Malar → ogm | 21:15 |
|
TomyLobo
| cbreak may i ask why you call me a moron? | 21:15 |
|
cbreak
| because you want to tell people to rewrite public history | 21:15 |
|
| they'll never be able to push again after that | 21:15 |
|
TomyLobo
| cbreak do you even know github? | 21:15 |
|
cbreak
| sure I know him. He's a nice guy. | 21:15 |
|
FauxFaux
| cbreak: The public history is a patch queue, not a real branch. | 21:15 |
|
jast
| the problem with putting the foreign changes on top is that it alters the IDs of the commits involved | 21:16 |
|
| you can't simply push that back to the upstream repository, everything will break horribly | 21:16 |
|
| and even if you don't, having two versions of those commits in different repositories will just make everything more confusing and error-prone | 21:16 |
|
TomyLobo
| ^ | 21:19 |
|
cbreak
| FauxFaux: so? | 21:19 |
|
TomyLobo
| it's a one-shot thing | 21:19 |
|
| people send in patches | 21:19 |
|
| we merge them in | 21:19 |
|
cbreak
| and what's wrong with using git merge? | 21:19 |
|
FauxFaux
| cbreak: So they were never going to push to it anyway. | 21:19 |
|
cbreak
| (--squash if you want) | 21:19 |
|
TomyLobo
| how is git merge --squash not "rewriting public history"? | 21:19 |
|
cbreak
| or cherry-pick if you want to copy the commit without its history | 21:19 |
|
| it's not rewriting any history | 21:19 |
|
TomyLobo
| how is cherry-pick not "rewriting public history"? | 21:19 |
|
cbreak
| it's also not rewriting any history | 21:19 |
| ← archdori_ left | 21:19 |
|
cbreak
| both create new history | 21:19 |
|
TomyLobo
| that's synonymous | 21:19 |
|
| rewrite = write anew | 21:19 |
|
| sorry, but your way argumenting seems rather religious to me | 21:19 |
|
cbreak
| how is it religious? | 21:19 |
|
| just try it and you'll see what you'll get yourself into | 21:19 |
|
TomyLobo
| you say i'm a moron (heathen) for not wanting to merge instead of rebase public history | 21:19 |
| ← tqmz left | 21:19 |
|
TomyLobo
| even though that particular piece of public history is never seen by anyone but the creator and me | 21:20 |
|
| i've been doing this for months now without a problem, cbreak | 21:20 |
|
cbreak
| good for you | 21:21 |
|
| maybe no one ever tried to use your or the original history at the same time | 21:21 |
|
TomyLobo
| the point is: no one ever will | 21:21 |
| → felgru joined | 21:21 |
|
TomyLobo
| did i mention we have a central repo workflow? | 21:22 |
|
FauxFaux
| TomyLobo: HOW DARE YOU!!LL!L | 21:22 |
|
TomyLobo
| zomg | 21:22 |
|
cbreak
| you didn't mention anything about the workflow | 21:22 |
|
TomyLobo
| so you knew nothing about my workflow and still criticised it? | 21:22 |
|
djMax
| does git show have some sort of built in "more"? | 21:23 |
|
cbreak
| I knew you want to rewrite public history | 21:23 |
|
TomyLobo
| djMax no, less :) | 21:23 |
|
cbreak
| and I criticized that | 21:23 |
|
cmn
| djMax: more meaning what? | 21:23 |
|
FauxFaux
| djMax: It'll run your pager, yes. | 21:23 |
|
cbreak
| djMax: it's called a pager | 21:24 |
|
| djMax: read man git | 21:24 |
|
gitinfo
| djMax: the git manpage is available at http://jk.gs/git.html | 21:24 |
|
cbreak
| it describes the --no-pager flag if you want | 21:24 |
|
| and the -p flag :) | 21:24 |
|
djMax
| --no-pager, perfect. thx. | 21:25 |
|
TomyLobo
| djMax note that it says if you pipe it somewhere, the pager is automatically deactivated | 21:25 |
|
| if you planned that | 21:26 |
| → tw__ joined | 21:26 |
| ← meLon left | 21:27 |
|
djMax
| not sure if running it from node qualifies as a pipe | 21:27 |
|
cbreak
| node? | 21:28 |
| → meLon joined | 21:28 |
| ← meLon left | 21:28 |
| → meLon joined | 21:28 |
|
djMax
| node.js. like running it from perl | 21:28 |
|
cbreak
| git probably tries to detect if an interactive terminal is used | 21:28 |
| ← Internet13 left | 21:28 |
|
jast
| yeah, should be fine | 21:28 |
|
| anyway, good night | 21:28 |
|
cbreak
| just specify that you don't want a pager if you can afford the bytes in the command line... :) | 21:29 |
|
| night | 21:29 |
| ← kaen left | 21:29 |
| → mischat joined | 21:29 |
| ← Davey left | 21:30 |
| ← caseymcg left | 21:30 |
| ← infogulch left | 21:31 |
| ← mister_m left | 21:33 |
| → Internet13 joined | 21:34 |
| → mister_m joined | 21:34 |
| ← Internet13 left | 21:34 |
| ← estevocastro left | 21:35 |
| → boombatower joined | 21:35 |
| ← tw__ left | 21:36 |
| ← djMax left | 21:37 |
| ← hyperair left | 21:41 |
| → Internet13 joined | 21:41 |
| ← khmarbaise left | 21:42 |
| ← gabeh left | 21:44 |
| → hyperair joined | 21:44 |
| _aeris_ → _aeris_|away | 21:46 |
| ← JohnBat26 left | 21:46 |
| ← mishok13 left | 21:47 |
| → T-Gunn joined | 21:48 |
|
T-Gunn
| i am setting up git on a windows 2008 vps so multiple developers can work on a website and not overwrite each others work.. we decided against tfs because of resource requirements and reviews on their source control system. is it possible to have a post commit script copy over the most up to date copy from the repository after each push? | 21:49 |
|
| or is this accomplished by cloning it to web facing directory? | 21:50 |
| ← cesc left | 21:50 |
| → gabeh joined | 21:51 |
|
cmn
| !deploy | 21:51 |
|
gitinfo
| [!website] Git is not a website deployment tool, but can sometimes play one in sufficiently simple/lax environments with a little help. One example of help is: http://toroid.org/ams/git-website-howto and another approach: https://gist.github.com/1714235 | 21:51 |
| → andygrossman joined | 21:52 |
|
T-Gunn
| this is development environment not the real thing | 21:52 |
| → kerrick joined | 21:53 |
| ← Sigma left | 21:53 |
| → babilen joined | 21:53 |
|
cmn
| no difference | 21:54 |
|
| you still need to deploy a website | 21:54 |
| ← alberto56 left | 21:55 |
|
T-Gunn
| ok | 21:56 |
|
| ill check out that site | 21:56 |
|
| thank you | 21:56 |
| ← alesan left | 21:57 |
|
T-Gunn
| this is on a linux os.. im using windows 2008.. | 21:57 |
|
cmn
| it's on a unixy environment, which you have | 21:58 |
|
| 'cos otherwise git doesn't work | 21:58 |
| → alberto56 joined | 21:59 |
| → vandemar joined | 21:59 |
|
cmn
| or use your favourite windows-friendly deployment system | 21:59 |
| → Destos joined | 21:59 |
|
bremner
| front-page! | 22:00 |
| → dreiss joined | 22:00 |
| ← ISF left | 22:00 |
|
cbreak
| can't you just switch to a unix server? | 22:00 |
|
| that'll be cheaper, probably be more reliable and secure | 22:01 |
|
| and more comfortable too since you can use state-of-the-art remote administration tools like SSH and even tools like git :) | 22:01 |
|
| and rsync! | 22:01 |
| ← kerrick left | 22:01 |
| ← leavittx left | 22:02 |
|
cmn
| indeed; I was pleasantly suprised today when I managed to copy over some data to a filesystem whilst resizing it online and rebuilding the RAID it ran on | 22:02 |
| ← zeth2571 left | 22:03 |
|
cmn
| and yeah, you also get a system everyone uses to run everything anyway | 22:03 |
| ← rrn left | 22:04 |
| → mxweas_ joined | 22:05 |
|
cbreak
| I hope you had backups... | 22:05 |
| ← Darxus left | 22:05 |
|
tango_
| what's the fun in that | 22:05 |
|
cbreak
| being able to tell the non-backup-havers "told you it'd be useful" if something fails | 22:06 |
| → vicapow joined | 22:06 |
| ← LekeFly left | 22:07 |
| ← blacktulip left | 22:07 |
| → lekefly_ joined | 22:07 |
| ← dreiss left | 22:08 |
| → blacktulip joined | 22:09 |
| ← vicapow left | 22:09 |
|
cmn
| yes, I do have backups | 22:09 |
| ← pantsman left | 22:10 |
| → fayimora joined | 22:10 |
| ← gazler left | 22:18 |
| ← limoges left | 22:19 |
| ← blacktulip left | 22:19 |
| → Guest32113 joined | 22:21 |
| ← sq-one left | 22:22 |
| ← mischat left | 22:22 |
| ← mantic0 left | 22:23 |
| ← alberto56 left | 22:24 |
| → tvw joined | 22:26 |
| ← arietis left | 22:26 |
| ← aspotashev|| left | 22:27 |
| → dsantiago joined | 22:29 |
| → maxorator joined | 22:30 |
| ← gabeh left | 22:30 |
| → Fullmoon joined | 22:32 |
|
maxorator
| hello, I'm trying to clone a new (empty) google code project, at first I kept getting this: "error: The requested URL returned error: 400 while accessing https://maxorator@code.google.com/p/my-project/ /info/refs fatal: HTTP request failed" | 22:33 |
| → rafasc joined | 22:33 |
|
T-Gunn
| it's an asp.net site, so can't use a linux vps.. already have a windows vps setup | 22:33 |
|
maxorator
| I haven't changed anything, but now I'm getting this instead: "fatal: Couldn't find remote ref HEAD Unexpected end of command stream" | 22:33 |
|
| using git gui on windows | 22:33 |
|
rafasc
| hello, how can i add the changes from the master branch to my development branch? | 22:33 |
|
| git merge development master? | 22:34 |
| ← fisted_ left | 22:34 |
|
wereHamster
| rafasc: git checkout development; git merge master | 22:35 |
| → wims joined | 22:36 |
| → francky joined | 22:36 |
| → Goplat joined | 22:37 |
| → fisted joined | 22:37 |
|
rafasc
| wereHamster: thanks. This always confuses me. | 22:38 |
|
wereHamster
| what confuses you? | 22:39 |
| → pfFredd joined | 22:39 |
| → alberto56 joined | 22:39 |
| → barr5790 joined | 22:39 |
|
rafasc
| branching , merges and rebases. | 22:39 |
|
wereHamster
| git merge always merges into the currently active branch. So if you want to merge something into X, you first have to checkout X. | 22:39 |
|
rafasc
| but it worked. Thanks. | 22:39 |
| ← minde left | 22:39 |
| johnkpaul → johnkpaul-afk | 22:42 |
| ← iamjarvo left | 22:44 |
| ← t4nkd left | 22:45 |
| _aeris_|away → _aeris_ | 22:46 |
| ← mxweas_ left | 22:47 |
| ← _iron left | 22:48 |
| ← Fullmoon left | 22:48 |
| → mxweas_ joined | 22:48 |
|
cmn
| T-Gunn: surely mono supports asp.net; but if you want to use Windows, you can use whatever deployment system works on there | 22:48 |
| → austinbv joined | 22:50 |
| → Oog joined | 22:52 |
| ← Jay_Levitt left | 22:52 |
|
Oog
| waht creates a branch like remotes/origin/HEAD -> origin/master ? | 22:53 |
|
| some of my gits have it some dont | 22:53 |
|
wereHamster
| 'what'? git does. | 22:53 |
|
Oog
| what makes it create HEAD and what is HEAD | 22:54 |
|
| is that a branch? | 22:54 |
|
| or a tag? | 22:54 |
|
cmn
| it's a symref, origin/HEAD is generally created by clone | 22:54 |
|
wereHamster
| ' remotes/origin/HEAD -> origin/master' means remotes/origin/HEAD is a symref pointing to origin/master | 22:54 |
| ← ipalaus_ left | 22:54 |
|
Oog
| i see yes these others i didnt use clone on | 22:55 |
|
| instead i did remote add | 22:55 |
|
| is that a problem? should i clone instead? | 22:55 |
| ← subh left | 22:55 |
| → gabeh joined | 22:56 |
|
cbreak
| just git remote update | 22:56 |
| → andriusm joined | 22:56 |
|
Oog
| that is the same as fetch pretty much right? doesnt seem to make HEAD | 22:56 |
|
cmn
| that's because clone creates it | 22:56 |
|
Oog
| do i need it for anythign? what is it used for? | 22:57 |
|
| should i make it manually? | 22:57 |
|
cmn
| to know origin's default branch | 22:57 |
|
| which for other remotes isn't as important | 22:57 |
|
wereHamster
| Oog: is there any specific reason why you want to have that symref? | 22:57 |
|
Oog
| wereHamster: i dont know that is why im asking. a symref is just like a name so isntead of doing git push origin master i could do git push origin HEAD ? | 22:58 |
|
wereHamster
| if it isn't there, and it doesn't cause any problems for you, then don't bother with it | 22:58 |
|
Oog
| ok | 22:58 |
|
wereHamster
| just continue using git as you were. | 22:58 |
|
canton7
| iirc, origin/HEAD is only show when there's more than one remote branch? | 22:59 |
|
Oog
| canton7: i dont think so. theone where it is only has one remote | 22:59 |
|
cbreak
| it's useless in most cases | 22:59 |
|
Oog
| the other where it does not exist has multiple | 22:59 |
|
cbreak
| don't bother with it | 22:59 |
|
| if you really care | 23:00 |
|
| Oog: man git-remote | 23:00 |
|
gitinfo
| Oog: the git-remote manpage is available at http://jk.gs/git-remote.html | 23:00 |
|
cbreak
| look for set-head -a | 23:00 |
| ← rafasc left | 23:00 |
| → rafasc joined | 23:01 |
|
Oog
| that did it | 23:02 |
| ← newbie999|3 left | 23:02 |
| ← rafasc left | 23:02 |
| → newbie999|3 joined | 23:03 |
|
Oog
| one more question - how does git push know what remote/branch to push to if you dont specify it? in the docs i dont see it mentioning a default | 23:03 |
|
| first i had to do git push origin master but now git push works | 23:03 |
|
cbreak
| it's determined with the upstream branch from the config | 23:03 |
|
| and then matched by name | 23:03 |
| ← master-lincoln left | 23:04 |
| → subh joined | 23:04 |
|
Oog
| what is the upstream branch... | 23:04 |
|
cbreak
| git branch -vv | 23:04 |
|
| Oog: man git-config | 23:04 |
|
gitinfo
| Oog: the git-config manpage is available at http://jk.gs/git-config.html | 23:04 |
|
cbreak
| look for the <branch> settings | 23:04 |
| → optixx_ joined | 23:05 |
| → Rafusek_ joined | 23:05 |
|
cbreak
| like branch.<name>.remote | 23:05 |
| → basepi_ joined | 23:05 |
| ← basepi left | 23:05 |
| ← optixx left | 23:05 |
| ← Rafusek left | 23:05 |
| basepi_ → basepi | 23:05 |
| ← XayOn left | 23:06 |
| → XayOn joined | 23:06 |
|
Oog
| thanks | 23:06 |
| → subbyyy joined | 23:07 |
| ← Oog left | 23:08 |
| ← tvw left | 23:08 |
| ← Guest32113 left | 23:09 |
| → Aron joined | 23:09 |
| Aron → Guest59356 | 23:09 |
| ← lusers left | 23:10 |
| ← gabeh left | 23:10 |
| ← subh left | 23:12 |
| ← mxweas_ left | 23:12 |
| → linusoleander joined | 23:13 |
| ← fisted left | 23:14 |
| ← whitman left | 23:14 |
| → kevlarman joined | 23:14 |
| → lusers joined | 23:14 |
| → subh joined | 23:14 |
| → Guest22560 joined | 23:14 |
| ← rbrooks left | 23:15 |
| → rbrooks joined | 23:16 |
| → fisted joined | 23:19 |
| → w09x joined | 23:21 |
| → juvenal joined | 23:22 |
| → mxweas_ joined | 23:22 |
| ← mritz left | 23:23 |
| Guest22560 → Gunni | 23:24 |
| ← d0k left | 23:25 |
| ← sontek left | 23:25 |
| ← T-Gunn left | 23:25 |
| → kadoban_ joined | 23:26 |
| ← oso96_2000 left | 23:27 |
| → sontek joined | 23:27 |
| ← Destos left | 23:28 |
| → oso96_2000 joined | 23:29 |
| → will joined | 23:30 |
| ← will left | 23:30 |
| _aeris_ → _aeris_|away | 23:30 |
| ← austinbv left | 23:30 |
| ← griotspeak left | 23:31 |
| → rhl joined | 23:31 |
| → Neptu_ joined | 23:31 |
| ← dr_lepper left | 23:34 |
| → griotspeak joined | 23:37 |
| mister_m → mister_awaym | 23:38 |
| ← rendar left | 23:38 |
| ← kadoban_ left | 23:39 |
| ← mister_awaym left | 23:42 |
| ← tiglog left | 23:44 |
| → EasyCo joined | 23:47 |
| gitinfo set mode: +v | 23:47 |
|
EasyCo
| Is there any way to go back a couple of commits and branch off from there? | 23:48 |
|
offby1
| yep! | 23:48 |
|
| git branch whatever-ya-wanna-call-it HEAD~6 | 23:48 |
|
| e.g | 23:48 |
|
cmn
| checkout and branch take a starting point as optional argument | 23:48 |
|
offby1
| verra verra easy | 23:49 |
|
EasyCo
| Will that take the last few commits and put them in the new branch? | 23:49 |
| ← abstrakt left | 23:49 |
| ← subh left | 23:50 |
| ← dvalfrid left | 23:51 |
| → andrew-g joined | 23:51 |
|
offby1
| er | 23:51 |
|
| no | 23:51 |
|
| I suspect you don't know what a branch really is | 23:51 |
|
| commits are nodes in a directed acyclic graph | 23:51 |
|
EasyCo
| Of course | 23:51 |
| → kadoban_ joined | 23:51 |
|
offby1
| branches are like little Post-It™s stuck to various nodes | 23:52 |
|
| so my command sticks a Post-It™ on the commit that you want to be the tip of the new branch | 23:52 |
| ← esc left | 23:52 |
|
EasyCo
| Basically I just made some changes to my project's master branch then realised I should have made a branch for it since it's a substantial change | 23:52 |
|
offby1
| sure | 23:52 |
|
| what you want to do is "git branch whatever-ya-wanna-call-it" | 23:52 |
|
EasyCo
| Love that you put ™ on the end of Post-It | 23:53 |
|
offby1
| and _then_ you want to "git reset --hard HEAD~6" (or whatver) | 23:53 |
|
| indeed | 23:53 |
|
| ® | 23:53 |
|
| I just like typing unicode | 23:53 |
|
| ♩♬it makes me happy♫♪ | 23:53 |
|
| anyway | 23:53 |
|
EasyCo
| Figured | 23:53 |
|
offby1
| you should make the new branch "where you are" now | 23:53 |
| → BlaDe^ joined | 23:53 |
|
EasyCo
| Yah gotcha | 23:53 |
|
offby1
| and then jerk the current branch (master, I guess) back to where it was when you started | 23:53 |
|
EasyCo
| And bring the master back | 23:53 |
|
offby1
| this is all pretty easy via gitk | 23:53 |
|
EasyCo
| All good thanks. | 23:54 |
|
offby1
| not too hard with the command line either | 23:54 |
|
EasyCo
| cli it is | 23:54 |
|
| I just hadn't thought of rewinding the master branch afterwards. | 23:55 |
|
| Thx for the help. | 23:55 |
| → marina_- joined | 23:55 |
| ← Xizor left | 23:56 |
| ← marina_- left | 23:57 |
| ← neurodrone left | 23:58 |
|
offby1
| *nod | 23:58 |
| ← Guest59356 left | 23:59 |