| 2012-01-12 |
|
Harzilein
| cmn: say you use the cmd basic command to set output to rs232. now you use socat to connect that tty and your pty. you can choose all the stty settings. none will give you cr to lf conversion. | 00:00 |
|
| s/that tty/that serial port/ | 00:00 |
|
cmn
| I see, so when you connect from a unix machine to a c64, you only get one line that gets overwritten? | 00:01 |
|
Harzilein
| yes | 00:02 |
|
| (of course you can work around that by adding them in your transfer software, but i wanted to avoid that. the idea is that i want to make a c64 rom that starts with i/o redirected to rs232) | 00:03 |
| → HardFu joined | 00:03 |
| ← steffo left | 00:03 |
| ← Laibsch left | 00:03 |
| ← HardFu left | 00:05 |
| ← ramsey left | 00:05 |
| ← NetHawk left | 00:05 |
| ← Dunhamzz left | 00:05 |
| ← sureaint left | 00:06 |
| → cakehero joined | 00:06 |
| → NetHawk joined | 00:06 |
| → subbyyy joined | 00:06 |
| ← jjido left | 00:07 |
| → KingPin joined | 00:07 |
|
Harzilein
| it kind of makes sense to have cr in microcontrollers | 00:08 |
| → Morphous_ joined | 00:09 |
| → TheFuzzball_iOS joined | 00:09 |
|
cmn
| more than LF? | 00:10 |
|
| or just because it's 1 byte instead of 2? | 00:10 |
|
Harzilein
| a tiny bit more than lf, yes. | 00:10 |
| → sattu94__ joined | 00:11 |
| ← DofLeFou left | 00:11 |
|
Harzilein
| say you want to have a protocol to communicate between two ucs: if you want to send stuff to a buffer then have it execute stuff on it after the cr is detected, then _return_ to the start of the buffer %-) | 00:12 |
| ← johnanderson left | 00:12 |
|
Harzilein
| -if | 00:12 |
|
cmn
| so you're sending just one line at a time | 00:14 |
| ← sattu94 left | 00:14 |
| → proq`` joined | 00:15 |
|
cmn
| otherwise I don't see how going to the start of the buffer makes sense | 00:16 |
|
| then again, the whole µcontroller thing confuses me | 00:16 |
| → michaelh joined | 00:17 |
| → Tabmow joined | 00:18 |
| ← fr0sty left | 00:18 |
| ← nrichards left | 00:19 |
| → fr0sty joined | 00:19 |
| → scelis joined | 00:19 |
| ← proq`` left | 00:20 |
| ← otakutomo left | 00:22 |
| → y3di joined | 00:23 |
| ← fr0sty left | 00:23 |
|
y3di
| how do i remove all the files ive currently added with git add from the commit queue | 00:23 |
|
canton7
| y3di, git status will tell you | 00:24 |
| ← baburdick left | 00:24 |
|
offby1
| Dear lazyfreenode: is there a tool which will search commits in a range (e.g., origin/master...HEAD) that add the string TODO, and then display them _with context_? "context" means the file name and line number where the TODO is found. Note that the various stuff that http://www.google.com/search?q=git+todo shows me aren't quite it. | 00:24 |
|
| if not, I gotta write it myself | 00:24 |
| → bigkm joined | 00:25 |
|
offby1
| The use case is: I've been hacking for a while, and writing TODO notes to myself; now I want to review them all. And I am not interested in TODOs that were already present when I started hacking. | 00:25 |
|
bremner
| did you try some combination of options to git-log? | 00:26 |
|
offby1
| Well, I stared at the man page for it for a while :) | 00:26 |
|
| I suspect I'm gonna have to parse the "patch" output. | 00:26 |
|
y3di
| ugh, thanks canton7. sorry about that | 00:26 |
|
| offby1 gonna need a bigger boat | 00:26 |
| → baburdick joined | 00:26 |
| → fr0sty joined | 00:26 |
|
offby1
| bremner: see, "git log -STODO origin/master..." gets me about 50% of the way there | 00:26 |
|
bremner
| and then --name-status or so? | 00:27 |
|
offby1
| ideally I'd have something whereby I could do M-x git-todo RET in emacs and then hit C-x ` and knock them off one by one :) | 00:27 |
| → rchavik joined | 00:27 |
| ← rchavik left | 00:27 |
| → rchavik joined | 00:27 |
| → pLameN_4o joined | 00:27 |
| ← ChrisAnn left | 00:27 |
|
bremner
| or --name-only, but that will have false-positives | 00:28 |
| ← neurodrone left | 00:28 |
|
offby1
| yeah, --name-status or something like it is probably essential ... but as I say, I suspect I'm still gonna have to parse the patch. | 00:29 |
|
| oh well | 00:29 |
| ← pLameN_4o left | 00:29 |
| → centipedefarmer_ joined | 00:29 |
| → pLameN_4o joined | 00:30 |
| ← pLameN_4o left | 00:30 |
| ← Tabmow left | 00:30 |
| ← bronson left | 00:30 |
| → Tabmow joined | 00:31 |
|
scelis
| canton7: 'git reset HEAD' is a quick way to completely reset the index | 00:31 |
|
| sorry, y3di | 00:32 |
|
sitaram
| offby1: when I need this sort of thing I just go "git log -p A...B" and handle the search for TODO in the pager | 00:35 |
| → rtconner_ joined | 00:35 |
|
sitaram
| offby1: and you surely didn't mean three dots in your original question did you? | 00:35 |
|
offby1
| I think I did, but I get that wrong sometimes | 00:36 |
|
| ah, it makes no sense for "git log" | 00:36 |
|
sitaram
| well it would make a difference to my method; you have to use the opposite | 00:36 |
|
| two dots | 00:36 |
|
offby1
| as usual ... *mumble* | 00:36 |
|
| we Emacs weenies like to be able to hit C-x ` without thinking and be presented with the next line to hack on :) | 00:37 |
|
sitaram
| offby1: although the page was written loooong ago for a differnt purpose, it might serve as a good mnemonic: http://sitaramc.github.com/other-stuff/eg.html#other_stuff_eg_eg_diff__ | 00:37 |
|
| offby1 unvestigates | 00:37 |
| ← scelis left | 00:38 |
| ← rtconner left | 00:38 |
| → csgeek joined | 00:38 |
|
offby1
| sitaram: hmm, that just might stick :) | 00:39 |
| mdel__ → mdel | 00:39 |
| tizzo → tizzo-afk | 00:39 |
|
offby1
| man, coming up with suitable mnemonics is really what it's all about, isn't it? | 00:39 |
|
| aides memoires | 00:39 |
|
| or "aides-mémoire", as Google Translate tells me | 00:39 |
|
sitaram
| I have a good memory. When I remember... | 00:39 |
|
offby1
| ♩♬I forgot to remember to forget♫♪ | 00:40 |
| ← joshteam left | 00:40 |
| → kpreid joined | 00:41 |
|
Mikachu
| 'good memory, but short' | 00:41 |
| ← sudoquai_ left | 00:42 |
| ← sudoquai__ left | 00:42 |
| ← sudoquai left | 00:42 |
| ← sudoq358 left | 00:42 |
| → Dragooon joined | 00:42 |
|
Dragooon
| Hola | 00:42 |
| ← poppiez left | 00:42 |
| → jmah joined | 00:42 |
| → jryans_ joined | 00:44 |
| ← jryans_ left | 00:44 |
| → secoif joined | 00:44 |
| → ISF_ joined | 00:44 |
| ← chris- left | 00:45 |
| ← jryans left | 00:46 |
| ← centipedefarmer_ left | 00:46 |
| ← ipalaus_ left | 00:49 |
| → ipalaus_ joined | 00:50 |
| ← gfto left | 00:51 |
| ← sattu94__ left | 00:51 |
| tizzo-afk → tizzo | 00:51 |
| ← yshh left | 00:53 |
| → Targen joined | 00:54 |
| → bronson joined | 00:54 |
| → yshh joined | 00:54 |
| ← baburdick left | 00:55 |
| → baburdick joined | 00:56 |
| ← brian_g left | 00:56 |
| ← Karmaon left | 00:57 |
| tizzo → tizzo-afk | 00:57 |
| ← canton7 left | 00:57 |
| → Karmaon joined | 00:58 |
| tizzo-afk → tizzo | 00:58 |
| ← yshh left | 00:59 |
| → pfloyd joined | 00:59 |
| ← baburdick left | 00:59 |
|
pfloyd
| Where can I find a list of all the git debug environment variables I can set? I'm trying to figure out why a clone goes fast up to 60%, then slows down a lot. git clone -v doesn't add any verbosity at that particular point | 00:59 |
| → otakutomo joined | 01:00 |
|
FauxFaux
| man git , but it probably won't help. The problem is probably that the percentage bar is in objects, not in bytes, so if you suddenly have a 500gb object it'll just hang waiting for the network. | 01:00 |
|
gitinfo
| the git manpage is available at http://jk.gs/git.html | 01:00 |
| → valtih joined | 01:01 |
| → neurodrone joined | 01:01 |
| ← brainbox1100 left | 01:01 |
| → Kocho joined | 01:02 |
| ← Vampire0 left | 01:03 |
| tizzo → tizzo-afk | 01:03 |
|
diverdude
| i wonder if gitlab and gitorious can co-exist | 01:03 |
| ← secoif left | 01:03 |
| Karmaon → Karmoan | 01:04 |
| → sattu94__ joined | 01:04 |
|
Harzilein
| diverdude: that's not an all or nothing thing i think | 01:04 |
|
| diverdude: gitorious _can_ be excluded from certain communities if people do not write vendor agnostic/pluggable api consumers to integrate their stuff with | 01:05 |
|
bremner
| wut? | 01:05 |
|
pfloyd
| FauxFaux: ok, that was my suspicion, just weird that it is fast up to 60-ish%, then the last 40 is consistently slow. Given the non-uniformity of the repo in question, it seems strange so I was hoping I could see which objects it was dealing with when it slows down | 01:05 |
| → cccaldas joined | 01:05 |
| → akosikeno joined | 01:06 |
|
FauxFaux
| pfloyd: Nah, it sorts them so big things are at the end. I don't know why. | 01:06 |
|
pfloyd
| ahh! that makes sense, thanks :) | 01:06 |
|
FauxFaux
| Or, at least, it seems to. | 01:06 |
| → HardFu joined | 01:06 |
|
sitaram
| diverdude: I doubt it. Both will at least want to take over your ssh authkeys file | 01:06 |
|
pfloyd
| but there is no way to see which objects it is working on while it's cloning? | 01:07 |
| → Vampire0 joined | 01:07 |
| → alexim joined | 01:07 |
|
diverdude
| sitaram, ahh right | 01:07 |
|
| sitaram, i would a user for each then i guess | 01:07 |
|
sitaram
| and both want to take over the update hook also, I suspect | 01:07 |
|
| diverdude: not enough pain in your life yet? | 01:07 |
| Karmoan → Karmaon | 01:07 |
|
sitaram
| aah to be young and masochistic! | 01:08 |
|
Harzilein
| oh *blush* | 01:08 |
| → xiangfu joined | 01:08 |
|
diverdude
| hahahaaha | 01:08 |
| → joshsmith joined | 01:08 |
|
Harzilein
| i thought this was about some ecosystem-like way of interpreting "coexisting" | 01:08 |
|
diverdude
| sitaram, believe me...gitorious has caused me SO much pain to install...and aint even done yet | 01:08 |
| ← Textmode left | 01:08 |
| → brian_g joined | 01:09 |
| → mgpcoe1 joined | 01:09 |
| tizzo-afk → tizzo | 01:10 |
|
Kocho
| hey guys, I'm not sure if git is for me (I just found out about it today). I need to make some changes to my website and I'd like to test them to make sure it all works, but I don't want the public to see the changes until I'm ready to publish them. Do I just need a testing server? | 01:10 |
| → zm joined | 01:10 |
|
sitaram
| diverdude: one of the stupidest things I did was the *name* of gitolite. I started with "gitosis-lite" since I really had no intentions of taking over the spot, then shortened it to gitolite. And now with gito(sis|rious|lite|God-alone-knows-what-else) people are getting confused | 01:10 |
|
FauxFaux
| My current project is called gitopenis. | 01:11 |
|
bremner
| gitolife. | 01:11 |
|
sitaram
| git for open Information Systems? | 01:11 |
|
diverdude
| sitaram, understandable...i was also very very confused | 01:11 |
|
FauxFaux
| sitaram: Good choice. | 01:11 |
|
sitaram
| I should have called it something very very obscure. I always wonder how they come up with names like k3b, kudzu, etc | 01:11 |
|
diverdude
| sitaram, i am starting to learn now what is what...but wont say im like with a full overview | 01:12 |
|
sitaram
| diverdude: you need to get the gitlab guys to clean up their install instructions. Too many people asking for help... they should fix it or come to the channel | 01:12 |
| ← rjcks left | 01:12 |
| ← rtconner_ left | 01:12 |
| ← mgpcoe left | 01:12 |
| → FxMasta joined | 01:13 |
|
| FauxFaux got spam from http://bamboowang.com/ earlier, which appears to actually be a legitimate company. | 01:13 |
|
diverdude
| sitaram, yes...gitlab install instructions are way to "lazy" :( | 01:13 |
|
| sitaram, its a showstopper for that frontend i think | 01:13 |
|
| sitaram, it needs to be much more accurate and descriptive if people are to use it | 01:14 |
| ← FxMasta left | 01:14 |
|
sitaram
| FauxFaux: my definition of "legitimate" does not include "sends spam" but that may be just me ;-) | 01:14 |
| → lacrymology joined | 01:14 |
| tizzo → tizzo-afk | 01:14 |
| ← jaequery left | 01:14 |
|
sitaram
| FauxFaux: at least the owner cannot be a legitimate child ;-) | 01:14 |
|
diverdude
| sitaram, and its a pitty because it looks like a nice piece of software | 01:15 |
| ← Kocho left | 01:15 |
|
sitaram
| diverdude: well what are you doing to fix it? did you even report it? join their forums/mailing list/whatever? | 01:15 |
| → hyperair joined | 01:15 |
| → rtconner_ joined | 01:15 |
| ← rtconner_ left | 01:15 |
| ← cakehero left | 01:15 |
| ← HardFu left | 01:18 |
| ← lacrymology left | 01:18 |
| ← VladGh left | 01:19 |
| ← robotmay left | 01:19 |
| → lacrymology joined | 01:20 |
| ← valtih left | 01:22 |
| → jameslordhz joined | 01:24 |
| ← lacrymology left | 01:25 |
| ← ScottE left | 01:25 |
| ← ehsan left | 01:25 |
| → Tazar joined | 01:28 |
| → amigojapan joined | 01:29 |
| ← lonewulftp left | 01:33 |
| → secoif joined | 01:33 |
| ← akosikeno left | 01:33 |
| → forsto joined | 01:34 |
| ← steveoliver left | 01:37 |
| ← brian_g left | 01:38 |
| → dwmw2_gone joined | 01:39 |
| ← TheFuzzball_iOS left | 01:40 |
| ← kenichi left | 01:42 |
| ← mandric left | 01:42 |
| ← BiggFREE left | 01:42 |
| ← v0n left | 01:45 |
| → patrick99e99 joined | 01:46 |
|
patrick99e99
| I accidentally just typed "git branch -t origin/foobar" and it says "Branch origin/foobar set up to track local branch master | 01:47 |
| ← friskd left | 01:47 |
|
patrick99e99
| how can I undo that? | 01:47 |
| ← hyperair left | 01:47 |
| → zdk joined | 01:49 |
| ← abetaha left | 01:49 |
| → abetaha joined | 01:50 |
|
nevyn
| git branch -d origin/foobar | 01:50 |
|
| will delete the local | 01:50 |
| ← acrocity left | 01:50 |
|
nevyn
| and you should be able to reference remotes/origin/foobar again | 01:50 |
|
| maybe a -D | 01:50 |
| → acrocity joined | 01:51 |
| ← nadirvardar left | 01:52 |
| ← Gizmokid2005 left | 01:52 |
| → kaushik_ joined | 01:54 |
| ← abetaha left | 01:54 |
| → lekefly_ joined | 01:57 |
| → rjcks joined | 01:57 |
| ← LekeFly left | 01:58 |
| ← Bombe left | 01:58 |
| ← alexim left | 01:58 |
| ← linusoleander left | 01:59 |
| → dzonder joined | 02:00 |
| → Bombe joined | 02:01 |
| ← happyface left | 02:02 |
| → happyface joined | 02:02 |
| ← chadi left | 02:03 |
| ← msponge left | 02:03 |
| ← kaushik_ left | 02:03 |
| → demi` joined | 02:04 |
| ← Bombe left | 02:06 |
| → chadi joined | 02:06 |
| → ivan joined | 02:07 |
| → Gizmokid2005 joined | 02:07 |
| ← quazimodo left | 02:07 |
| → ivan` joined | 02:07 |
| → ramsey joined | 02:07 |
| ← Sigma left | 02:08 |
| tizzo-afk → tizzo | 02:10 |
| → lonewulftp joined | 02:11 |
| → Crewe joined | 02:11 |
| ← iocor left | 02:11 |
| tizzo → tizzo-afk | 02:11 |
| ← ypcat_ left | 02:12 |
| → ypcat joined | 02:12 |
| → WAAJ28K joined | 02:14 |
| → spearce_ joined | 02:15 |
| ← dzonder left | 02:16 |
| → dorisabayon joined | 02:17 |
| ← spearce left | 02:18 |
| spearce_ → spearce | 02:18 |
| ← tystr left | 02:18 |
| ← Turicas left | 02:19 |
| ← spearce left | 02:19 |
| ← Fandekasp left | 02:20 |
| ← hwrdprkns left | 02:24 |
| → IsmAvatar joined | 02:24 |
| → Laibsch joined | 02:26 |
| → abetaha joined | 02:27 |
| → cgd joined | 02:27 |
| ← kenperkins left | 02:28 |
| ← mdel left | 02:28 |
|
IsmAvatar
| would this be a bad place to ask simple questions about jgit? | 02:30 |
| → Bombe joined | 02:32 |
| → centipedefarmer_ joined | 02:32 |
| → Heimidal joined | 02:33 |
| → xarthna joined | 02:33 |
| ← j0ran left | 02:34 |
|
offby1
| probably not _too_ bad. | 02:34 |
|
| Perhaps the questions will turn out to actually be about git. | 02:34 |
| ← detaer left | 02:35 |
| ← xarthna left | 02:35 |
| ← Laibsch left | 02:36 |
| ← Bombe left | 02:36 |
| → j0ran joined | 02:39 |
| gitinfo set mode: +v | 02:40 |
| ← eletuchy left | 02:40 |
| → Kronuz joined | 02:40 |
|
cgd
| is it possible to get rid of commits in a remote after i've pushed them, and just keep the one i rebased to | 02:40 |
| → Bombe joined | 02:40 |
| ← Targen left | 02:40 |
|
offby1
| sue | 02:40 |
|
| sure | 02:40 |
|
| cgd: you can "git push -f". There are all sorts of caveats, though. | 02:40 |
|
| !rewrite | 02:40 |
|
| offby1 will never learn the bot's secret keywords | 02:41 |
|
cgd
| yeah i did end up doing that | 02:41 |
|
| i have a clone of that repo though that i need to fix | 02:41 |
| → mdel joined | 02:41 |
| ← mdel left | 02:41 |
|
cgd
| git pull --rebase looked promising but i dunno :< | 02:42 |
| ← tsujiban left | 02:43 |
|
offby1
| I think that'll work fine. | 02:43 |
|
| The caveat is: _everyone_ who has a clone will need to "git pull --rebase" once, lest they suffer cryptic merge conflicts. | 02:43 |
|
| That's called "rewriting history", and is useful on occasion, but a pain in the ass. | 02:43 |
|
| offby1 stirs dinner | 02:43 |
| ← bitslip left | 02:45 |
|
cgd
| aye, luckily i'm the only one who has to deal with that headache, no one else has a clone | 02:45 |
| → Vampire0_ joined | 02:45 |
|
offby1
| then "git push -f" is fine. | 02:45 |
|
IsmAvatar
| offby1: nevermind then, lol. It's mostly just API questions. I'll just use their forums or whatnot | 02:45 |
|
offby1
| s/fine/just what the doctor ordered/ | 02:45 |
|
IsmAvatar
| thanks anyways | 02:45 |
| ← IsmAvatar left | 02:46 |
| ← mando left | 02:48 |
| → fisted_ joined | 02:49 |
| ← Vampire0 left | 02:49 |
| ← amigojapan left | 02:51 |
| ← fisted left | 02:51 |
| → bitslip joined | 02:51 |
| ← centipedefarmer_ left | 02:52 |
| → Behi joined | 02:54 |
| → zancas joined | 02:54 |
| → SiCKa joined | 02:55 |
|
sitaram
| offby1: !trigger or !shortcuts | 02:56 |
|
gitinfo
| offby1: [!triggers] See http://jk.gs/git/bot/trigger.php | 02:56 |
| ← zancas left | 02:56 |
|
EugeneKay
| .trigger_edit rewrite @!rewriting_public_history | 02:57 |
|
gitinfo
| EugeneKay: okay. | 02:57 |
|
EugeneKay
| offby1: !rewrite | 02:57 |
|
gitinfo
| offby1: [!rewriting_public_history] Rewriting public history is a very bad idea. Anyone else who may have pulled the old history will have to `git pull --rebase` and even worse things if they have tagged or branched, so you must publish your humiliation so they know what to do. You will need to `git push -f` to force the push. The server may not allow this. See receive.denyNonFastForwards (git-config) | 02:57 |
| → diegoviola joined | 02:57 |
|
EugeneKay
| ;-) | 02:57 |
| ← Destos left | 02:57 |
| → kaushik_ joined | 02:58 |
| ← ramsey left | 02:59 |
|
offby1
| sitaram: yeah, but ... I have to then put the web page under my pillow or something. I want to just _know_ them without having to _learn_ them, y'know? | 02:59 |
|
| EugeneKay: heh. Thanks for caching that :) | 02:59 |
|
EugeneKay
| offby1 - I figure it's a decent alias to have around. | 02:59 |
|
sitaram
| offby1: lazy much? ;-) | 03:00 |
|
offby1
| sitaram: I'd tell you but then I'd have to type | 03:00 |
| ← Dragooon left | 03:01 |
| → Dragooon joined | 03:04 |
| → dys` joined | 03:04 |
|
EugeneKay
| offby1 - http://www.nuance.com/dragon/ | 03:04 |
|
| Just babble in the general direction of your computer | 03:04 |
| → horieyui joined | 03:05 |
| ← dys left | 03:05 |
| ← icrazyhack left | 03:06 |
| → baburdick joined | 03:08 |
| ← Gizmokid2005 left | 03:08 |
| → brngardner joined | 03:09 |
| → Gizmokid2005 joined | 03:10 |
| → dfr|mac joined | 03:13 |
| ← brngardner left | 03:14 |
| → dv310p3r joined | 03:15 |
| → nadavoid joined | 03:15 |
| → eggman2001 joined | 03:17 |
| ← Kronuz left | 03:18 |
| gitinfo set mode: +v | 03:18 |
|
eggman2001
| hello, if I have deleted files under "changes not staged for commit" what should I do with those? | 03:18 |
|
chrisf
| eggman2001: git rm | 03:19 |
| → jryans joined | 03:19 |
|
chrisf
| eggman2001: or git add -A will pick them up too, in a slightly less fail-prone way | 03:19 |
| → krz joined | 03:20 |
|
eggman2001
| chrisf: that's what I thought but I'm getting a "fatal: Unable to create ../.git/index.lock: File exists" | 03:20 |
| ← watsonian left | 03:20 |
|
eggman2001
| getting the same message with git add -A | 03:20 |
|
chrisf
| eggman2001: long-running command in progress, or has it been left behind by some previous explosion? | 03:21 |
| ← kukks left | 03:21 |
| ← TomyLobo left | 03:21 |
|
eggman2001
| it hasn't been left behind by a previous explosion since I just deleted these files, like a minute ago | 03:22 |
| ← michaelh left | 03:22 |
| ← diogogmt left | 03:22 |
|
offby1
| EugeneKay: I was thinking "Siri" when I said that. | 03:22 |
|
chrisf
| eggman2001: remove it | 03:22 |
|
eggman2001
| chrisf: the files are gone though. I already deleted them | 03:23 |
|
chrisf
| ~ remove .git/index.lock | 03:23 |
|
| it shouldnt get left behind by any normal operation though | 03:24 |
|
eggman2001
| weird. i can't remove the .lock files either | 03:26 |
|
| i simply removed these files using rm | 03:27 |
| → remyo joined | 03:31 |
| ← boombatower left | 03:31 |
| ← Araxia_ left | 03:32 |
| → boombatower joined | 03:33 |
| → nathelm joined | 03:34 |
| ← bitslip left | 03:34 |
| ← flaguy48 left | 03:35 |
| → bitslip joined | 03:35 |
| ← boombatower left | 03:36 |
| → boombatower joined | 03:37 |
|
offby1
| I often have long rebases fail with a complaint about the lock file. | 03:37 |
| → heidar joined | 03:37 |
|
offby1
| I just "git rebase --continue", and cross my fingers | 03:37 |
| ← orafu left | 03:37 |
| → orafu joined | 03:38 |
| ← boombatower left | 03:38 |
| → ISF__ joined | 03:38 |
| ← ISF_ left | 03:38 |
| → flaguy48 joined | 03:38 |
| → boombatower joined | 03:39 |
|
eggman2001
| dang, still getting that .lock file and I can't delete it | 03:39 |
| ← boombatower left | 03:39 |
|
eggman2001
| because it apparently doesn't exists | 03:39 |
| ← otakutomo left | 03:40 |
| ← jlebar left | 03:40 |
| → mdel joined | 03:40 |
| → oriba_ joined | 03:42 |
|
offby1
| creepy | 03:44 |
|
| are you sure there's no git process already running? | 03:44 |
| ← oriba left | 03:44 |
|
eggman2001
| i think it might have been because i ran git init twice | 03:44 |
|
| i'm a little tipsy | 03:44 |
|
| i just remove .git and started over | 03:44 |
| → milki joined | 03:45 |
| ← shiba_yu36 left | 03:45 |
| → shiba_yu36 joined | 03:46 |
| ← shiba_yu36 left | 03:46 |
| → chayin joined | 03:46 |
| → bindaasomatic joined | 03:47 |
| ← kaushik_ left | 03:47 |
| → mandric joined | 03:51 |
| → robde joined | 03:51 |
| ← Nibato left | 03:51 |
| → Nibato joined | 03:52 |
| ← secoif left | 03:53 |
|
AlexMax
| Question. If someone git-svn's their svn repo, how do you push everything to a remote repository? | 03:55 |
|
| i.e. if you want to do a one time conversion | 03:55 |
| → flip_digits joined | 03:56 |
| → digid joined | 03:57 |
| ← jmah left | 03:57 |
| → kerrick joined | 03:58 |
| → boombatower joined | 03:58 |
| → przemoc joined | 03:59 |
| → Kiall joined | 03:59 |
| → stringoO joined | 04:00 |
| ← Swathe left | 04:00 |
| ← dotpot left | 04:01 |
| ← OOPMan left | 04:03 |
| → gavin_huang joined | 04:05 |
| → f0i joined | 04:05 |
|
offby1
| perhaps "git push --mirror" ... but beware, if the target repository has any branches, this will delete them | 04:05 |
| → mindlogger joined | 04:06 |
|
mindlogger
| how can I go one commit back? | 04:06 |
|
AlexMax
| Nevermind, I found svn2git | 04:06 |
|
mindlogger
| I screwed my code :( | 04:07 |
| → tellone joined | 04:08 |
|
offby1
| mindlogger: "git reset --hard HEAD^" is probably what you want | 04:08 |
| → nOStahl joined | 04:09 |
|
mindlogger
| oh yeah I just remembered, thanks it worked | 04:09 |
|
| HEAD^^ is two commits back right? | 04:09 |
| ← kermit left | 04:09 |
|
nOStahl
| hi all, I am new to git and version control stuff all over. | 04:11 |
| → friskd joined | 04:11 |
| → kermit joined | 04:11 |
| → detaer joined | 04:18 |
|
offby1
| mindlogger: yeah I think so. | 04:18 |
|
| hi nOStahl! Keep coming back. | 04:18 |
|
eggman2001
| hello, how do I find the path to a local git repo? | 04:20 |
| ← Anxi80 left | 04:20 |
| ← tango_ left | 04:22 |
| → aspotashev joined | 04:23 |
| ← mandric left | 04:23 |
| ← Behi left | 04:23 |
|
offby1
| git rev-parse --show-toplevel | 04:23 |
|
| also git rev-parse --cdup | 04:24 |
| → pabs3 joined | 04:24 |
| → beautifulmind joined | 04:24 |
| → OOPMan joined | 04:24 |
| ← koo3 left | 04:24 |
|
eggman2001
| offby1: I'm a bit confused. lets say I have the path, home/user/project/.git. would that be the path to the git repo? | 04:25 |
| ← lonewulftp left | 04:25 |
|
pabs3
| hmm, would dirname run from git filter-branch --tree-filter return . instead of the correct directory? | 04:26 |
|
| s/would/why would/. | 04:26 |
| → koo4 joined | 04:27 |
| → macRover joined | 04:28 |
| ← Crewe left | 04:29 |
| ← detaer left | 04:29 |
| → Swathe joined | 04:29 |
| ← flip_digits left | 04:30 |
|
fr0sty
| eggman2001: what is the cwd in your hypothetical situation? | 04:30 |
| ← Swathe left | 04:30 |
| ← boombatower left | 04:31 |
| → Swathe joined | 04:32 |
| → secoif joined | 04:32 |
| → brainbox1100 joined | 04:33 |
|
offby1
| eggman2001: I'd call that the "git dir" | 04:33 |
|
| the repository would be its parent. | 04:33 |
|
| I think. | 04:33 |
| ← rpg left | 04:34 |
| → Prasad joined | 04:35 |
| → sdtr443w joined | 04:35 |
| ← dreiss left | 04:36 |
| ChanServ set mode: +v | 04:37 |
| ← oriba_ left | 04:37 |
|
sdtr443w
| My remote repository got corrupted, but I have it cloned locally and I'm the only person developing on the project. Can I just copy my .git in place of the corrupt one and take it over? | 04:38 |
| ← thiago left | 04:38 |
|
sdtr443w
| I got some grief trying to do it so I figured there was more to it. | 04:38 |
|
offby1
| well, your local .git will differ from the remote one, in the names of the refs. | 04:39 |
|
| but the objects should be fine. | 04:39 |
| ← josefig left | 04:39 |
|
offby1
| I'd move the remote one aside, then create a fresh one with the original name, then "git push" various refs from your local one to it. | 04:40 |
|
sdtr443w
| I have some commits in the local one. If I copy the remote with it, does that basically make them look like they were pushed? | 04:40 |
|
| hmm | 04:40 |
|
| what would be the "various" in "various refs?" | 04:40 |
| ← mindlogger left | 04:42 |
|
sdtr443w
| Well OTOH I could try to repair the remote but I don't know what to really do there. | 04:43 |
|
| I just booted into Windows one time and it started checking for inconsistencies. I think it went and nibbled on something. Even the local had some goofs, but they all were fixed with rehashing. | 04:43 |
|
offby1
| don't understand your first question. | 04:44 |
|
| "various" means "whichever ones you want" | 04:44 |
|
sdtr443w
| oh | 04:44 |
| → igotnolegs joined | 04:44 |
|
sdtr443w
| If I pushed would that push the whole history into it or just the files as they are? | 04:45 |
|
| I mean specifically if I was creating a fresh one and pushing into it | 04:45 |
|
offby1
| when you push, you push refs. | 04:46 |
|
| Each ref points to a single commit. | 04:46 |
|
| Each commit takes with it all its history. | 04:46 |
|
| you need to learn some git basics. | 04:47 |
| → kaushik_ joined | 04:49 |
| → ericmuyser joined | 04:49 |
|
sdtr443w
| yeah you can say this here is the real crash course. I haven't had to bother too much with the architecture of it while it was working fine for single-user stuff. | 04:50 |
|
| Since I've booted up tonight to look at this, I am finding it to be more compliant. | 04:50 |
|
| I had shared the repo over the network so I could get it down on my laptop, and I think that share process did something goofy. | 04:50 |
|
| At this point it looks like it's just complaining about some merge conflicts. | 04:51 |
|
offby1
| I am never comfortable with using network file systems. | 04:51 |
|
| Windows' is probably the most reliable one out there, and I don't trust _it_ | 04:51 |
|
sdtr443w
| Yeah I saw fun stuff online about ZFS and friends. Can't be coincidence. | 04:51 |
| → DofLeFou joined | 04:52 |
| → VladGh joined | 04:54 |
| ← VladGh left | 04:54 |
| → VladGh joined | 04:58 |
|
sdtr443w
| Looks like in all the shuffling the remote claims to have some files newer than mine, but I want it to take my versions wholesale. | 05:00 |
|
| If I'm reading this right, I do "git checkout --ours [files I want to plow over]" then "git add -u" then "git commit" Should that acknowledge and take care of the conflicts? | 05:01 |
| ← eggman2001 left | 05:01 |
| → caseymcg joined | 05:02 |
| → Dave^| joined | 05:03 |
| ← beautifulmind left | 05:03 |
| ← ISF__ left | 05:04 |
| ← tewecske left | 05:04 |
|
diegoviola
| hey guys how do i make a pull request in command line | 05:04 |
|
sdtr443w
| git pull | 05:05 |
| → ISF joined | 05:05 |
| ← mgpcoe1 left | 05:05 |
| ← berserkr left | 05:06 |
| → dfr|mac_ joined | 05:07 |
| → nikuyoshi joined | 05:08 |
|
sdtr443w
| in more newbie goodness, I see I am a bad, bad man for doing all my stuff with master all the time w/o branching | 05:08 |
| ← dfr|mac left | 05:10 |
|
offby1
| diegoviola: I don't think "git pull" is a pull request. | 05:11 |
| ← digid left | 05:11 |
|
offby1
| diegoviola: I think it's git request-pull | 05:11 |
| ← cilly left | 05:12 |
|
diegoviola
| offby1: ty | 05:12 |
| ← slonopotamus left | 05:13 |
| → josefig joined | 05:13 |
| → cilly joined | 05:14 |
| → mandric joined | 05:15 |
| → friskd_ joined | 05:16 |
| ← friskd left | 05:16 |
| friskd_ → friskd | 05:16 |
| → dreiss joined | 05:16 |
| → Fandekasp joined | 05:17 |
| ← josefig left | 05:17 |
| ← gavin_huang left | 05:17 |
| ← macRover left | 05:19 |
| → slonopotamus joined | 05:19 |
| ← neurodrone left | 05:20 |
| ← Prasad left | 05:20 |
| ← dorisabayon left | 05:21 |
| → Laibsch joined | 05:22 |
| ← nadavoid left | 05:22 |
| → sambar joined | 05:23 |
|
sdtr443w
| So it looks like I got the remote reconciled from a copy, except I had to set denyCurrentBranch to ignore. | 05:24 |
| → otakutomo joined | 05:24 |
| ← Laibsch left | 05:24 |
| → petisnnake joined | 05:24 |
|
petisnnake
| Hi. How can I delete a file on a remote repo? | 05:25 |
|
sdtr443w
| git rm and commit it? | 05:25 |
| ← sambar left | 05:25 |
| ← nathelm left | 05:26 |
|
petisnnake
| tried that, but doesn't seem to remove file from github | 05:26 |
| → lonewulftp joined | 05:27 |
| ← nOStahl left | 05:27 |
|
offby1
| petisnnake: my hunch is that you deleted it in branch A, but are looking at branch B in your browser | 05:28 |
|
| either that or you forgot to push | 05:28 |
| ← cgd left | 05:28 |
|
offby1
| if the latter, then I accuse you of being used to Subversion :) | 05:28 |
| ← OOPMan left | 05:28 |
| ← aspotashev left | 05:28 |
| → pidus joined | 05:29 |
|
petisnnake
| pushed, forgot to commit :D | 05:29 |
|
| thanks | 05:29 |
|
EugeneKay
| git dowhatimeannotwhatisay | 05:32 |
| ← kermit left | 05:33 |
| → Prasad joined | 05:34 |
| → psakrii joined | 05:35 |
| → AndChat| joined | 05:36 |
| ← lonewulftp left | 05:36 |
| → dnjaramba joined | 05:36 |
| AndChat| → lonewulftp | 05:37 |
| → LongBeach joined | 05:37 |
| ← nikuyoshi left | 05:37 |
| → cloudgroup joined | 05:38 |
| → ehsan joined | 05:38 |
| → kermit joined | 05:39 |
| → nikuyoshi joined | 05:39 |
| → v0n joined | 05:39 |
| → hotswaphdd joined | 05:39 |
| → arvind_khadri joined | 05:40 |
| ← arvind_khadri left | 05:40 |
| → arvind_khadri joined | 05:40 |
|
petisnnake
| How can I add a file that I don't have on my local repo, so that I can pull it from a remote one? | 05:41 |
| → Graham joined | 05:42 |
| Graham → Guest62629 | 05:42 |
| ← guampa left | 05:42 |
| → mdel__ joined | 05:43 |
| → gianlucadv joined | 05:43 |
|
wereHamster
| petisnnake: you first copy it into your local repo? | 05:43 |
| ← Prasad left | 05:44 |
|
petisnnake
| wereHamster: using what git option? I'm assuming not simple wget | 05:44 |
|
wereHamster
| where do you want to download it from? | 05:45 |
| ← mdel left | 05:46 |
|
petisnnake
| my github repo | 05:46 |
|
| I accidentally hit $ git rm foo | 05:46 |
|
wereHamster
| that would be git fetch | 05:46 |
|
| petisnnake: git status | 05:46 |
|
| run that, it'll tell you | 05:46 |
|
petisnnake
| yes, the file is marked as deleted | 05:46 |
|
| so... $ git fetch foo? | 05:47 |
| ← dreiss left | 05:47 |
|
wereHamster
| petisnnake: can you pastebin the output from 'git status'? | 05:47 |
| → harshpb joined | 05:48 |
|
petisnnake
| Changes to be committed: deleted: foo | 05:48 |
|
wereHamster
| there's more | 05:48 |
|
petisnnake
| the rest is just untracked files | 05:48 |
| → freimatz joined | 05:48 |
|
fr0sty
| petisnnake: your local repository contains the entire project history. You don't need to get anything from github. | 05:48 |
| → cgd joined | 05:49 |
| ← Guest62629 left | 05:49 |
|
petisnnake
| fr0sty: so I just need to revert? | 05:49 |
|
wereHamster
| petisnnake: http://sprunge.us/GeNR | 05:49 |
|
| how about this 'use "git reset HEAD <file>..." to unstage', don't you have that in your output? | 05:49 |
|
petisnnake
| wereHamster: I do, and as you can see I'm an idiot | 05:50 |
| ← abetaha left | 05:51 |
| → abetaha joined | 05:51 |
|
petisnnake
| hmmm I did $ git reset HEAD foo, but file is still missing and marked for deletion | 05:51 |
| → weiyang joined | 05:51 |
|
wereHamster
| petisnnake: run git status again | 05:51 |
|
petisnnake
| I did | 05:52 |
| → maddenwg joined | 05:52 |
| ← maddenwg left | 05:52 |
|
petisnnake
| hmm worked, must have misspelled something | 05:52 |
|
| thanks wereHamster | 05:52 |
| → maddenwg joined | 05:53 |
| ← slonopotamus left | 05:54 |
|
petisnnake
| How can I remove all files matching a pattern? tried $ git rm *.py, but isn't working | 05:57 |
| ← jryans left | 05:57 |
| → Prasad joined | 05:57 |
| ← sattu94__ left | 05:58 |
| → dreiss joined | 05:59 |
| → jaequery joined | 06:00 |
| → slonopotamus joined | 06:00 |
|
fr0sty
| Try quoting: git rm "*.py" but note that will also delete the local copies. | 06:01 |
|
petisnnake
| thanks fr0sty, works | 06:02 |
| ← Bass10 left | 06:02 |
| ← cloudgroup left | 06:02 |
| ← p3rror left | 06:07 |
| ← Vortex34 left | 06:09 |
| ← serj left | 06:09 |
| → josefig joined | 06:11 |
| → dfr|mac joined | 06:11 |
| → aspotashev joined | 06:12 |
| → ThomasLocke joined | 06:12 |
| ← gianlucadv left | 06:12 |
| → TrineLocke joined | 06:13 |
| → yhager joined | 06:13 |
| → htoothrot joined | 06:13 |
| → serj joined | 06:13 |
| ← v0n left | 06:13 |
| ← dfr|mac_ left | 06:14 |
| ← jameslord1 left | 06:14 |
| ← maddenwg left | 06:15 |
| ← slonopotamus left | 06:15 |
| ← cyphase left | 06:15 |
| ← Dragooon left | 06:16 |
| → AmirBehzad joined | 06:17 |
| ← petisnnake left | 06:18 |
| ← ericmuyser left | 06:18 |
| → Ratler joined | 06:20 |
| ← jaequery left | 06:22 |
| ← madewokherd left | 06:24 |
| ← ipalaus_ left | 06:24 |
| → pro_metedor joined | 06:24 |
| ← kaushik_ left | 06:25 |
| → macRover joined | 06:25 |
| → anubhaw joined | 06:26 |
| ← aspotashev left | 06:27 |
| → v0n joined | 06:28 |
| ← pro_metedor left | 06:29 |
| ← y3di left | 06:30 |
| ← josefig left | 06:33 |
| ← queequeg1 left | 06:35 |
| ← maletor left | 06:37 |
| → dvide joined | 06:38 |
| → tomislater joined | 06:39 |
| ← fr0sty left | 06:42 |
| ← bigkm left | 06:42 |
| ← dfr|mac left | 06:43 |
| → patrakov joined | 06:43 |
| → fr0sty joined | 06:44 |
|
patrakov
| Hi. I tried to revert a commit, got "Automatic revert failed", and, after examining the conflict, decided that I don't actually want to revert it now. How do I abort the revert? | 06:44 |
| ← harshpb left | 06:45 |
| ← welly left | 06:45 |
| ← axl_ left | 06:46 |
| → axl_ joined | 06:46 |
| ← Goplat left | 06:47 |
| → welly joined | 06:47 |
|
EugeneKay
| man git-reset | 06:47 |
|
gitinfo
| the git-reset manpage is available at http://jk.gs/git-reset.html | 06:47 |
| ← jwmann1 left | 06:48 |
| ← sdtr443w left | 06:49 |
| ← Araxia left | 06:50 |
| ← axl_ left | 06:51 |
|
patrakov
| ok, did a "git reset --hard", it worked | 06:52 |
| → flijten joined | 06:52 |
| → cyphase joined | 06:53 |
|
cmn
| there's also git revert --abort | 06:53 |
|
| though the effect is probably exactly the same | 06:54 |
| → marthinal_ joined | 06:54 |
| ← drev1 left | 06:54 |
| ← txomon|nqas left | 06:55 |
| → txomon|nqas joined | 06:55 |
| → Araxia joined | 06:55 |
| ← lonewulftp left | 06:56 |
| marthinal_ → marthinal | 06:57 |
| ← jameslordhz left | 06:57 |
| → lonewulftp joined | 06:58 |
| ← mandric left | 06:59 |
| ← Spockz left | 07:00 |
| → ilteris joined | 07:00 |
| → mandric joined | 07:01 |
|
ilteris
| hey guys I am trying to ignore .htaccess and this is my gitignore file in my project folder: http://dl.dropbox.com/u/2070808/Screenshots/1u.png | 07:01 |
|
| and this is my current git status: http://dl.dropbox.com/u/2070808/Screenshots/1v.png | 07:02 |
|
| when I try to change something in the .htaccess it still throws me this :http://dl.dropbox.com/u/2070808/Screenshots/1w.png | 07:02 |
|
| why is that? | 07:02 |
|
| how can I make sure git status doesn't throw me any error (since I thought that file is not tracked anymore) | 07:03 |
| → cloudgroup joined | 07:05 |
| ← macRover left | 07:05 |
| ← thursday left | 07:05 |
| → JohnBat26 joined | 07:07 |
| ← Prasad left | 07:08 |
|
fr0sty
| ilteris: .gitignore does not work on tracked files. | 07:10 |
|
ilteris
| fr0sty how can I exclude already tracked file without deleting it? | 07:10 |
|
fr0sty
| You need to do something like 'git rm --cached .htaccess' | 07:11 |
|
| That will stop tracking it. | 07:11 |
| → jameslordhz joined | 07:11 |
| → jmah joined | 07:11 |
|
ilteris
| fr0sty I tried git rm .htaccess but it removed it | 07:12 |
|
| so --cached is the key there? | 07:12 |
| ← btanaka left | 07:13 |
|
fr0sty
| If you don't want to stop tracking it but still want git to ignore modifications you need to do something with git update-index --assume-unchanged but that is not recommended. | 07:13 |
|
| Yes, --cached is important | 07:13 |
| → sonja joined | 07:13 |
| → cbreak-work joined | 07:14 |
| ← patrick99e99 left | 07:14 |
| ← caseymcg left | 07:16 |
| → jceb joined | 07:16 |
| → Sitethief joined | 07:17 |
| ← dreiss left | 07:19 |
| ← eighty4 left | 07:19 |
| → teweWORK joined | 07:19 |
| → eighty4 joined | 07:20 |
| → papegaaij joined | 07:21 |
| → airborn joined | 07:22 |
| ← Ratler left | 07:23 |
| ← sonja left | 07:23 |
| → stoffus joined | 07:23 |
| → gebi joined | 07:24 |
| → nzee joined | 07:25 |
| ← jceb left | 07:26 |
| → frerich joined | 07:27 |
| ← frerich left | 07:27 |
| → frerich joined | 07:27 |
| → Heisenmink joined | 07:27 |
| → OOPMan joined | 07:28 |
| ← ISF left | 07:28 |
| ← mandric left | 07:29 |
| → yshh joined | 07:30 |
| ← htoothrot left | 07:31 |
| ← pfloyd left | 07:32 |
| ← lonewulftp left | 07:34 |
| → lonewulftp joined | 07:34 |
| → Ratler joined | 07:35 |
| ← friskd left | 07:35 |
| → jceb joined | 07:37 |
| → Spockz joined | 07:38 |
| → dreiss joined | 07:38 |
| ← mdel__ left | 07:39 |
| → caseymcg joined | 07:39 |
| → hyperair joined | 07:39 |
| → ngulden joined | 07:39 |
| ← dorkmafia left | 07:41 |
| ← legnaleurc left | 07:41 |
| → legnaleurc joined | 07:42 |
| ← dreiss left | 07:43 |
| → rendar joined | 07:44 |
| → nessundorma joined | 07:45 |
| → h0bbit joined | 07:46 |
| ← airborn left | 07:48 |
| → batlock666 joined | 07:48 |
| → ASIRINeiluj joined | 07:49 |
| → mishok13 joined | 07:49 |
| ← DofLeFou left | 07:53 |
| → CrazyTux[m] joined | 07:54 |
|
CrazyTux[m]
| Whats the git log command to show a condensed file name +++++------ log ? | 07:54 |
|
FauxFaux
| --shortstat | 07:54 |
| → DofLeFou joined | 07:54 |
|
FauxFaux
| Uh, stat. | 07:54 |
|
CrazyTux[m]
| That is showing me commit messages, dates, etc. | 07:55 |
|
| I only want filename and ++ ----- | 07:55 |
| → dreiss joined | 07:55 |
|
CrazyTux[m]
| for lets say maybe the last 20 commits or somethnig | 07:55 |
|
cmn
| if you don't want the messages, you'll have to play around with --pretty | 07:56 |
| → phreaknerd joined | 07:58 |
| ← phreaknerd left | 07:58 |
| ← dirkle left | 07:59 |
| ← weiyang left | 08:00 |
| → _Qman joined | 08:01 |
| ← CrazyTux[m] left | 08:02 |
| ← Spockz left | 08:03 |
| → kaushik_ joined | 08:04 |
| ← Sonderblade left | 08:05 |
| ← arvind_khadri left | 08:05 |
| → dc5ala joined | 08:07 |
| ← secoif left | 08:09 |
| → whyking joined | 08:10 |
| ← bauruine left | 08:11 |
| ← nessundorma left | 08:11 |
| ← lapistano left | 08:11 |
| ← desowin_ left | 08:12 |
| → lapistano joined | 08:12 |
| → sykop5am joined | 08:13 |
| ← dreiss left | 08:13 |
| → maletor joined | 08:16 |
| → dorisabayon joined | 08:18 |
| → toabctl joined | 08:18 |
| → marthinal_ joined | 08:18 |
| ← danols_work left | 08:19 |
| → trez` joined | 08:19 |
| ← trez` left | 08:20 |
| ← kaushik_ left | 08:20 |
| ← igotnolegs left | 08:20 |
| ← marthinal left | 08:20 |
| → weiyang joined | 08:21 |
| ← Fandekasp left | 08:21 |
| → jutaro joined | 08:21 |
| → CrazyTux[m] joined | 08:24 |
| ← teweWORK left | 08:24 |
| → giallu joined | 08:26 |
| ← hyperair left | 08:27 |
| → strk joined | 08:27 |
|
strk
| how can I add a partial patch to the index ? | 08:28 |
| → dreiss joined | 08:28 |
|
CareBear\
| git add -i | 08:28 |
|
| ? | 08:28 |
|
| -ip maybe even | 08:28 |
| → whitman joined | 08:29 |
|
strk
| -p, thanks ! | 08:30 |
| → padams joined | 08:31 |
| → cylence joined | 08:31 |
| → beautifulmind joined | 08:31 |
| → hyperair joined | 08:32 |
| ← Heisenmink left | 08:33 |
| → eijk joined | 08:33 |
| → kaushik_ joined | 08:34 |
| → ipalaus_ joined | 08:35 |
| → glcrazy joined | 08:36 |
| ← f0i left | 08:36 |
| ← toabctl left | 08:37 |
| ← Heimidal left | 08:37 |
| ← nikuyoshi left | 08:38 |
| ← kaushik_ left | 08:39 |
| ← psakrii left | 08:40 |
| → ph^ joined | 08:41 |
| ← kermit left | 08:41 |
| → stodan joined | 08:42 |
| → teweWORK joined | 08:42 |
| ← jmah left | 08:43 |
| → johnathanb joined | 08:47 |
| → nikuyoshi joined | 08:48 |
| → Element9_work joined | 08:49 |
| ← txomon|home left | 08:49 |
| → snearch joined | 08:50 |
| → txomon|home joined | 08:50 |
| → sebrock joined | 08:51 |
| ← fermianyon left | 08:51 |
| ← legnaleurc left | 08:52 |
| → xjonc joined | 08:52 |
| ← snearch left | 08:53 |
| → snearch joined | 08:53 |
| → legnaleurc joined | 08:54 |
| ← lonewulftp left | 08:54 |
| → arvind_khadri joined | 08:54 |
| ← arvind_khadri left | 08:54 |
| → arvind_khadri joined | 08:54 |
| → kaushik_ joined | 08:54 |
| ← diegoviola left | 08:54 |
| ← v0n left | 08:54 |
| ← strk left | 08:55 |
| → xjonc666 joined | 08:55 |
| ← beautifulmind left | 08:57 |
| → harshpb joined | 08:57 |
| ← xjonc666 left | 08:57 |
| → heisenmink joined | 08:58 |
| ← kaushik_ left | 08:58 |
| → soulcake joined | 08:58 |
| → Spockz joined | 08:59 |
| → TheFuzzball_iOS joined | 08:59 |
| ← mabrand left | 09:00 |
| ← JackWinter left | 09:00 |
| ← arvind_khadri left | 09:01 |
| → disappea_ joined | 09:01 |
| → tango_ joined | 09:02 |
| ← legnaleurc left | 09:02 |
| → mabrand joined | 09:03 |
| → legnaleurc joined | 09:04 |
| → gnufied joined | 09:06 |
| → Textmode joined | 09:07 |
| → Sigma joined | 09:07 |
| ← maletor left | 09:07 |
| → saschagehlich joined | 09:08 |
| ← snearch left | 09:08 |
| ← ehsan left | 09:09 |
| ← cylence left | 09:09 |
| ← gebi left | 09:09 |
| ← legnaleurc left | 09:09 |
| → FernandoBasso joined | 09:09 |
| → Chib joined | 09:10 |
| ← Textmode left | 09:10 |
| → legnaleurc joined | 09:10 |
| ← subbyyy left | 09:10 |
| → kaushik_ joined | 09:11 |
| → Textmode joined | 09:11 |
| ← disappea_ left | 09:12 |
| → eijk_ joined | 09:12 |
| ← eijk left | 09:12 |
| → lterje joined | 09:13 |
| → disappe__ joined | 09:14 |
| ← AmirBehzad left | 09:14 |
| → overbythere joined | 09:15 |
| ← Textmode left | 09:16 |
| ← kaushik_ left | 09:17 |
| → Textmode joined | 09:17 |
| → tatsuya_o joined | 09:18 |
| → arvind_khadri joined | 09:18 |
| ← OOPMan left | 09:19 |
| ← saschagehlich left | 09:21 |
| ← z0n3d left | 09:22 |
| → htoothrot joined | 09:23 |
| → tapout joined | 09:24 |
| ← whyking left | 09:24 |
| → detaer joined | 09:25 |
| ← detaer left | 09:25 |
|
tapout
| I have 2 servers.. both point to different repositories that are bare. I want to merge them to both point to the same... i did ... git remote add origin... then a git pull will say: You asked me to pull without telling me which branch you | 09:25 |
| → canton7 joined | 09:26 |
|
FauxFaux
| tapout: "git pull origin master" or so. | 09:26 |
|
tapout
| oh nice, i kept saying.. git pull origin/master :) | 09:27 |
| ← zm left | 09:27 |
| ← weiyang left | 09:28 |
| → gavin_huang joined | 09:29 |
|
tapout
| I have changes on 1 server, and changes on the other server. is there a better way to 'compare' them .. now that they are both pointing at the same repo... than to... move one of the files over... diff file /path/to/other.. and eyeball ? | 09:29 |
| ← xerora left | 09:29 |
| → marthinal joined | 09:30 |
| ← jceb left | 09:30 |
| → kaushik_ joined | 09:30 |
| → LimeBlast joined | 09:30 |
| ← Tazar left | 09:31 |
| ← marthinal_ left | 09:32 |
| → crashanddie joined | 09:32 |
| ← crashanddie left | 09:32 |
| → crashanddie joined | 09:32 |
|
pabs3
| tapout: use your favourite graphical diff tool by running git difftool server1/master server2/master | 09:33 |
| → jds joined | 09:33 |
| ← Vile left | 09:33 |
| → pro_metedor joined | 09:34 |
| ← krz left | 09:34 |
| ← htoothrot left | 09:35 |
| → friskd joined | 09:35 |
| ← kaushik_ left | 09:35 |
| → ISF joined | 09:36 |
| → kaushik_ joined | 09:36 |
| → legnaleurc_ joined | 09:36 |
| → tcurdt joined | 09:37 |
| ← TheFuzzball_iOS left | 09:37 |
| ← legnaleurc left | 09:37 |
| → dotpot joined | 09:40 |
| → marmaladex joined | 09:40 |
| → krz joined | 09:40 |
| → jceb joined | 09:40 |
| ← GunArm left | 09:40 |
| ChanServ set mode: +v | 09:41 |
| ← friskd left | 09:41 |
| → ryez joined | 09:41 |
| → nimrod10 joined | 09:41 |
| → friskd joined | 09:42 |
| → shruggar joined | 09:42 |
| → htoothrot joined | 09:42 |
|
marmaladex
| hi....I'm wondering if someone can help me with a simple mistake I made.... | 09:42 |
| ← htoothrot left | 09:42 |
| → htoothrot joined | 09:42 |
|
wereHamster
| !ask | 09:42 |
|
gitinfo
| yes, it's okay to ask questions here... in fact, you just asked one! ;) Pretty much any question is fine. We're not terribly picky. | 09:42 |
| ← legnaleurc_ left | 09:42 |
|
wereHamster
| !asktoask | 09:43 |
|
marmaladex
| I created a git repo on my documents folder, but I didn't mean to do it there, so I just want to get rid of it | 09:43 |
|
| I'm using mac terminal for this | 09:43 |
|
wereHamster
| rm -rf .git | 09:43 |
|
marmaladex
| that is depressingly sensible | 09:43 |
|
FauxFaux
| wereHamster: Arrrrgh! Your question is entirely useless. Fill in the blanks: "I tried [X] in [Y]. I got [A] but I was expecting [B]. The simplest way I can think to reproduce this is [C]." Reply on one line. If it doesn't fit, use a pastebin. Do not even think of speaking before fully filling in the question. | 09:43 |
|
| (is my alias ¬_¬) | 09:43 |
|
marmaladex
| but thank you so much | 09:43 |
| → legnaleurc joined | 09:44 |
|
wereHamster
| alias for what? | 09:44 |
|
FauxFaux
| ¡asktoask. | 09:44 |
| ← yshh left | 09:44 |
| → yshh joined | 09:45 |
|
tapout
| thanks pabs3 | 09:46 |
| → Dave^|| joined | 09:47 |
| → TheFuzzball_iOS joined | 09:47 |
| → gusnan joined | 09:47 |
| → matleh joined | 09:48 |
| ← yshh left | 09:49 |
| ← Dave^| left | 09:50 |
|
pro_metedor
| How to get know on which commit I am actually ? | 09:50 |
|
FernandoBasso
| krz: Hey, | 09:50 |
|
FauxFaux
| pro_metedor: git branch -avv; git symbolic-ref HEAD; git rev-parse HEAD; git describe --tags; # or something like that. | 09:52 |
| → Shusshu joined | 09:52 |
|
pro_metedor
| a lot of that | 09:52 |
|
ryez
| regarding shared local clone, given I have 4 repositories, namely remote.git, local.git, b1, b2, | 09:53 |
|
| among them, local.git is a normal clone of remote.git; while b1 and b2 are shared-local clone of local.git for branches with the same name respectively | 09:53 |
| ← legnaleurc left | 09:53 |
|
ryez
| then, when I'm in b1, is it possible to directly pull from remote.git? | 09:53 |
|
tapout
| so if I do; git tag -a v0.1 -m 'version 0.1' ... Is it in the -m that I should put summaries of what this new version holds? Or how do you guys do it? | 09:53 |
| → achadwick joined | 09:53 |
| → legnaleurc joined | 09:53 |
| ← matleh left | 09:54 |
| ← vervic left | 09:54 |
|
pro_metedor
| I want to add Xcode project file to repo, but I don't want git to version it further, just to store the versions that I indicate. How to do it ? | 09:55 |
| ← SiCKa left | 09:55 |
|
nacho
| charon: excellent, thank you very much. | 09:56 |
|
pro_metedor
| in other words: I want to add file to repo, but then make it untracked | 09:56 |
| → iocor joined | 09:57 |
| ← TheFuzzball_iOS left | 09:57 |
|
pro_metedor
| am I concluding in a good way ? | 09:57 |
|
tapout
| git add file.pl, git commit -am "added file" ... git rm file.pl ... git commit -am "removed file" ... now it's tracked and deleted? i dunno | 09:57 |
| ← friskd left | 09:57 |
| → rcu joined | 09:58 |
| ← legnaleurc left | 09:58 |
| → gianlucadv joined | 09:58 |
| gitinfo set mode: +v | 09:58 |
| ← htoothrot left | 09:59 |
| ← jds left | 09:59 |
|
wereHamster
| tapout: if you git rm it, it becomes untracked | 10:01 |
| → legnaleurc joined | 10:01 |
|
rendar
| at every commit i make, git must store the file tree in a tree object, and it does that for every directory, right? i mean, every directory becames a tree object with its SHA-1 based on the SHA-1 on the files in that directory, am i right? | 10:01 |
|
FauxFaux
| Yep. | 10:02 |
| → Vile joined | 10:02 |
| → jds joined | 10:02 |
|
FauxFaux
| rendar: Tree objects aren't recursive, though, they store other trees; any unmodified subtrees won't be re-stored. | 10:02 |
| ← cccaldas left | 10:03 |
| ← weeb1e_ left | 10:03 |
|
rendar
| FauxFaux: yes, thats exactly what i mean, it works just as for unmodified files.. and, there is a root tree objects which has all tree objects for every directory in the root path of the project, right? | 10:03 |
|
ryez
| am I clear in the question above? I'm curious about how do you manage multiple working branches | 10:03 |
| → htoothrot joined | 10:04 |
|
cgd
| ryez: you want to pull a branch from a remote into a local clone of that branch? | 10:05 |
|
| or am i reading that wrong | 10:05 |
| ← canton7 left | 10:05 |
| → weeb1e joined | 10:06 |
| ← legnaleurc left | 10:06 |
|
pro_metedor
| when I use git fetch, I download remote branch into my repo, but not merge? | 10:06 |
|
rendar
| FauxFaux: and, if my project is only 1 *huge* directory with thouusands of files, and without any directory, i'll only have a big root tree object which will be entirely rewritten for each commit i make, right? | 10:06 |
|
wereHamster
| pro_metedor: yes | 10:06 |
|
ryez
| +cgd, yes | 10:06 |
| → legnaleurc joined | 10:07 |
|
pro_metedor
| thnx | 10:07 |
|
cgd
| ryez: "git pull origin b1" maybe? | 10:07 |
|
pro_metedor
| how can I store the initial file and exclude it from tracking then ? | 10:07 |
|
wereHamster
| pro_metedor: don't add it at all | 10:08 |
|
| !config | 10:08 |
|
gitinfo
| [!configfiles] the recommended way is to change your application so that you can (perhaps optionally) store site-specific configuration/data in separate files, then keep those files out of version control. Still, see https://gist.github.com/1423106 for ways people have worked around the problem. | 10:08 |
|
ryez
| +cgd, I expect local.git to be a bare clone of remote.git (from a remote server), meanhwile I want to work only in b1, so that I can `git pull` directly from b1 | 10:08 |
| → plopix joined | 10:08 |
|
pro_metedor
| but I want it to be stored in repo with its first version | 10:08 |
|
cbreak-work
| don't change it | 10:08 |
|
| git can not ignore and track a file at the same time, obviously | 10:09 |
|
pro_metedor
| next changes are not predictable, cause they are done by IDE | 10:09 |
|
cbreak-work
| then write-lock the file | 10:09 |
|
wereHamster
| pro_metedor: read that pastebin. really. | 10:09 |
|
| I mean gist | 10:09 |
|
mjt
| or store a .in file | 10:09 |
|
| or .orig, whatever | 10:09 |
|
ryez
| +cgd, probably not, because for b1 origin is local.git, `git pull origin b1` might not fetch from remote.git | 10:10 |
| ← legnaleurc left | 10:10 |
|
cgd
| ryez: could make a new remote for remote.git and pull from that | 10:11 |
|
| ryez: i.e. upstream | 10:11 |
| → legnaleurc joined | 10:11 |
|
ryez
| +cgd: thanks, I'd like to give it a try | 10:12 |
|
mjt
| ryez: "+" in front of a nick isn't part of it, it is a flag. JFYI. | 10:12 |
|
ryez
| mjt: thanks, didn't know that :P | 10:12 |
| → JackWinter joined | 10:12 |
| → whyking joined | 10:13 |
|
ryez
| btw, what does that '+' mean? room OP? | 10:14 |
|
mjt
| heh. and i don't remember what does it mean. +v aka voice? | 10:14 |
|
| heh | 10:14 |
|
| chanop (operator) is marked with @ | 10:14 |
|
| but it is all off-topic here in #git :) | 10:15 |
|
cgd
| wtb a better workflow, paying in productivity boosts | 10:15 |
| ← legnaleurc left | 10:15 |
|
cgd
| downloading a whole site to develop locally feels like it takes longer in the beginning but i should just start doing it :< | 10:15 |
| ← dnjaramba left | 10:16 |
| ← pabs3 left | 10:17 |
| → dnjaramba joined | 10:17 |
| → legnaleurc joined | 10:17 |
| ← FernandoBasso left | 10:19 |
| ← AAA_awright left | 10:19 |
| → canton7 joined | 10:19 |
| → noisebleed joined | 10:20 |
| ← noisebleed left | 10:20 |
| → noisebleed joined | 10:20 |
| ← legnaleurc left | 10:20 |
| → legnaleurc joined | 10:20 |
| → ManDay joined | 10:21 |
|
ManDay
| Permission denied (publickey). | 10:21 |
|
| On git pull - any idea why? | 10:21 |
|
ryez
| cgd, directly add the remote.git for b1 works quite well, thank you | 10:22 |
| → johnkpaul joined | 10:22 |
|
wereHamster
| ManDay: because you don't have permission? Maybe? Just a wild guess. No idea why I would think that.. | 10:22 |
|
cgd
| ryez: welcome :-) | 10:22 |
|
ManDay
| wereHamster: I used to. Why would I suddenly stop having it? | 10:23 |
|
ryez
| afterward in b1, `git du -sh .git` is only 6.0M, that's great | 10:23 |
|
wereHamster
| ManDay: what did you change on your setup? | 10:23 |
|
ManDay
| wereHamster: PS: Your answer is stupid. | 10:23 |
|
| wereHamster: My hostname and username are still the same. | 10:23 |
| ← xiangfu left | 10:23 |
|
ManDay
| So is the setup on gitorious | 10:23 |
|
wereHamster
| ManDay: ps: your question is incomplete, impossible to answer without knowing more about the situation. | 10:23 |
|
ManDay
| Fair enough. | 10:24 |
|
wereHamster
| ManDay: ask the server admin what he changed. | 10:24 |
|
ManDay
| wereHamster: What components are relevant? | 10:24 |
|
cmn
| ManDay: that comes from ssh, you're failing to give the ssh daemon a key to verify who you are | 10:24 |
|
ManDay
| s/What/Which | 10:24 |
|
| cmn: I do have my usual public key in .ssh. | 10:25 |
|
cmn
| does ssh know to use it? | 10:25 |
| ← legnaleurc left | 10:25 |
|
mjt
| ssh does not use public keys | 10:25 |
| → Gorkyman joined | 10:25 |
|
mjt
| ssh client anyway | 10:25 |
|
ManDay
| I'll create a new key now. | 10:25 |
|
cmn
| mjt: what? | 10:25 |
|
mjt
| ssh client uses private key | 10:26 |
| ← forsto left | 10:26 |
|
cmn
| yes, and the server uses the public one | 10:26 |
| → legnaleurc joined | 10:26 |
|
cmn
| and the auth method which uses these keys is called publickey | 10:26 |
|
| ManDay: a new one? gitorious certainly won't know about that key | 10:27 |
|
ManDay
| After I created a new key it works | 10:27 |
|
| cmn: I added it to gitorious of course | 10:28 |
| ← Gorkyman_ left | 10:28 |
| ← rockfruit left | 10:29 |
|
mjt
| cmn: some time ago it was a common misunderstanding. people placed their public ssh keys on their client machines and wondered why they can't login... but ok. | 10:30 |
| → tomislater2 joined | 10:30 |
| → angelsl joined | 10:30 |
|
cmn
| then people need to read the instructions | 10:30 |
| → kennethreitz joined | 10:31 |
| → legnaleurc_ joined | 10:31 |
| ← legnaleurc left | 10:32 |
| ← tomislater left | 10:32 |
| → cccaldas joined | 10:32 |
| ← ryez left | 10:32 |
| → shogsbro_ joined | 10:33 |
| → hwit joined | 10:34 |
| → vervic joined | 10:34 |
| ← DofLeFou left | 10:35 |
| ← caseymcg left | 10:35 |
| ← legnaleurc_ left | 10:36 |
| ← hyperair left | 10:37 |
| → karstensrage joined | 10:37 |
| karstensrage → Guest54513 | 10:38 |
| ← hwit left | 10:38 |
| → legnaleurc joined | 10:39 |
| ← ManDay left | 10:39 |
| ← Sitethief left | 10:41 |
| → rockfruit joined | 10:41 |
| ← cortana` left | 10:43 |
| ← Gorkyman left | 10:45 |
| → cortana` joined | 10:45 |
| dys` → dys | 10:47 |
| → Gorkyman joined | 10:48 |
| ← legnaleurc left | 10:50 |
| ← shogsbro_ left | 10:50 |
| → gjoseph joined | 10:51 |
| ← Gorkyman left | 10:52 |
| ← gianlucadv left | 10:54 |
| → dzonder joined | 10:56 |
| → lonewulf` joined | 10:57 |
| → Dragooon joined | 10:58 |
| ← robde left | 10:58 |
| → legnaleurc joined | 10:59 |
| → OOPMan joined | 11:01 |
| ← legnaleurc left | 11:04 |
| → fusedreality joined | 11:04 |
| ← OOPMan left | 11:05 |
| → soulcake_ joined | 11:05 |
| ← soulcake left | 11:05 |
| → umren joined | 11:07 |
| ← segher left | 11:07 |
| ← aro left | 11:07 |
| → pur3forlyphe joined | 11:07 |
| → psakrii joined | 11:08 |
| → legnaleurc joined | 11:08 |
| → d0k joined | 11:10 |
| → Borbus joined | 11:11 |
| → herdingcat joined | 11:12 |
| ← dc5ala left | 11:12 |
| → dkannan joined | 11:12 |
| ← legnaleurc left | 11:12 |
| gitinfo set mode: +v | 11:13 |
|
Borbus
| I made a mistake the other day: I made a new branch locally, and then ran git push so it made the branch on the remote repo as well, then locally I made another branch and rebased the previous branch to that, forgetting that I had pushed it. Now what shall I do? Will deleting that first remote branch and pushing again work? | 11:13 |
| → segher joined | 11:14 |
|
FauxFaux
| Or push --force, which basically does the same thing, yes. | 11:14 |
| → Phylock joined | 11:16 |
|
Borbus
| Oh yeah, I see, so it loses the history on the remote, which is what I want | 11:16 |
| → Fandekasp joined | 11:18 |
| → robde joined | 11:18 |
| ← segher left | 11:18 |
| → legnaleurc joined | 11:18 |
| ← bartman left | 11:20 |
| ← dorisabayon left | 11:21 |
| ← jonesy left | 11:21 |
| → seivan joined | 11:22 |
| ← disappe__ left | 11:23 |
| ← legnaleurc left | 11:23 |
| → segher joined | 11:23 |
| → uu joined | 11:25 |
| → tillMorning joined | 11:25 |
| → legnaleurc joined | 11:27 |
| → bartman joined | 11:27 |
| → OOPMan joined | 11:28 |
|
tillMorning
| Hello. How I can 'pull request' for branch? I have a Github repository url and here's branch. I have created a branch in my localhost with the same name as it is in a GitHub, but how to add (commit) to github rep? | 11:28 |
|
FauxFaux
| You have to fork the github repo, then push your branch to your fork, then pull-request. #github. | 11:29 |
|
tillMorning
| I've done: git branch ; git branch testsoft ; git checkout testsoft ; git commit -m 'test' ; git push git@... | 11:29 |
|
| how I can do pull request | 11:29 |
|
| 1,2 steps i've done | 11:29 |
|
FauxFaux
| #github | 11:30 |
|
tillMorning
| ok | 11:30 |
| ← Element9_work left | 11:31 |
| ← dr_ick left | 11:32 |
| → Xizor joined | 11:32 |
| ← marthinal left | 11:32 |
| → senny joined | 11:35 |
| ← rjcks left | 11:36 |
| ← johnkpaul left | 11:37 |
| ← nzee left | 11:37 |
| ← tellone left | 11:38 |
| → faber joined | 11:39 |
| ← shruggar left | 11:41 |
| → jatt joined | 11:44 |
| ← Fandekasp left | 11:44 |
| → lyth_ joined | 11:44 |
| → shruggar joined | 11:46 |
| → secoif joined | 11:47 |
| → vdv joined | 11:50 |
| ← lyth_ left | 11:51 |
| → lyth_ joined | 11:51 |
| → tellone joined | 11:51 |
| ← swombat left | 11:53 |
| ← tellone left | 11:53 |
| ChanServ set mode: +v | 11:53 |
|
lyth_
| hi | 11:54 |
| → brian_g joined | 11:54 |
|
lyth_
| I have a question about using a user-based ACL system | 11:54 |
| → yshh joined | 11:55 |
| ← secoif left | 11:55 |
|
_ikke_
| !question | 11:56 |
|
gitinfo
| You know, you have not actually asked a question. Without asking a question, it is hard to get any responses. Please explain what you are trying to do, what you typed in, and exactly what came back. Use http://pastebin.com for exact command sessions. | 11:56 |
|
_ikke_
| lyth_: Just ask your question | 11:56 |
|
lyth_
| If I have a server-side ACL which specifies which user can push changes to which directory .. How can I assure that the commiting user a is really user a and not b. How does authentication with acl works? | 11:57 |
| → gebi joined | 11:57 |
| → thiago joined | 11:58 |
| → Q| joined | 11:58 |
|
_ikke_
| lyth_: systems like !gitolite use ssh keys to identify users | 11:58 |
|
gitinfo
| lyth_: gitolite allows you to host any number of repositories with extensive access control options for any number of users, using just one system account: http://github.com/sitaramc/gitolite | 11:58 |
| → Cromulent joined | 11:58 |
|
FauxFaux
| lyth_: Most people do security based purely upon the user that is executing the push, not on the committer at all. There exist systems to ensure that you can only push your own commits, but they're stupid. | 11:58 |
| ← shruggar left | 11:58 |
| → shruggar1 joined | 11:58 |
| → leen^| joined | 11:58 |
|
_ikke_
| lyth_: But directory based ACL is very uncommon in git | 11:59 |
| → amitprakash joined | 11:59 |
|
jast
| that's because ACLs aren't used much in general | 12:01 |
|
amitprakash
| Hi, for a given project, I cloned the remote master branch locally and branched local/master to local/newfeature.. however, while working oin newfeature | 12:01 |
| ← zdk left | 12:01 |
| ← Dave^|| left | 12:01 |
|
amitprakash
| I also made changes to files existing in master .. meanwhile I've kept my newfeature updated with origin/master using gitl pulls and resolving conflicts | 12:02 |
|
| now if I wish to send a clean patch to remote to apply, how can I create it? | 12:02 |
| ← Borbus left | 12:02 |
|
cmn
| git diff newfeature master ? | 12:02 |
|
wereHamster
| amitprakash: rebase the commits and clean up the history | 12:02 |
|
amitprakash
| cmn, with diff.. remote won't be able to sign off will it? | 12:03 |
|
lyth_
| Okay ... well .. I´m using EGit and in EGit I change the committer´s and author´s name. Are there any possibilities to disable this? | 12:03 |
|
amitprakash
| wereHamster, wont rebase cause the conflicts I resolved during git pull all over again? | 12:03 |
|
cmn
| lyth_: you could use a pre-commit hook, but then a malicious user would just disable it | 12:03 |
|
wereHamster
| maybe | 12:03 |
| ← [1]Kichael left | 12:03 |
| → Element9_work joined | 12:03 |
|
jast
| lyth_: you'd have to write a hook on the server side that verifies uploaded history | 12:03 |
|
amitprakash
| wereHamster, whiel I now realize that I should have after every commit updated local/master and done a rebase on local/newfeature | 12:03 |
|
wereHamster
| amitprakash: you could als git fetch; git rebase origin/master; without having to touch local master at all | 12:04 |
| ← stringoO left | 12:04 |
| → secoif joined | 12:05 |
|
_ikke_
| lyth_: Maybe something like this: http://mwop.net/blog/236-GPG-signing-Git-Commits | 12:05 |
|
amitprakash
| wereHamster, that makes sense too.. sadly now I have to re-resolve conflicts I've already resolved | 12:05 |
| → johnkpaul joined | 12:05 |
| ← shruggar1 left | 12:05 |
| → shruggar joined | 12:05 |
| ← brainbox1100 left | 12:05 |
|
cmn
| lyth_: if you don't trust people not to lie about their name, why can they push to your repo? | 12:06 |
| → mr_mustard joined | 12:06 |
| ← mr_mustard left | 12:06 |
|
wereHamster
| amitprakash: only once if you use git-rerere | 12:06 |
|
cmn
| lyth_: such a hook would forbid a new branch based on someone else's work as well | 12:06 |
|
jast
| cmn: you could do a reachability test using existing branches, too | 12:06 |
|
cmn
| jast: unless dev A pulled from dev B directly | 12:07 |
| → brainbox1100 joined | 12:07 |
|
jast
| well too bad :) | 12:07 |
|
cmn
| sure | 12:08 |
|
| I find the premise flawed anyway | 12:08 |
| → hyperair joined | 12:08 |
|
jast
| in decentralized development, sure | 12:08 |
|
cmn
| not just that | 12:08 |
|
| why does this person have push permissions if I don't trust them not to lie about the commit's author? | 12:09 |
|
lyth_
| I don´t ask these questions because I don´t trust a special person, that can commit to the remote repository. I ask this because I woult like to know, if it is possible in general | 12:12 |
|
cmn
| it's possible, but it's generally the wrong answer | 12:14 |
|
_ikke_
| lyth_: Git is distributed, so it's hard to enforce locally | 12:16 |
|
| lyth_: hard / impossible | 12:16 |
| → RaceCondition joined | 12:18 |
|
wereHamster
| hard with current git, probably somewhat possible with signed pushes | 12:18 |
|
| s/hard/impossible/ | 12:18 |
|
RaceCondition
| I'm using git-svn and want to do a merge using git and then commit back to SVN... this worked out nicely, except SVN only sees the merge commit.. so I was thinking: is it possible to tell "git merge" to re-commit all commits from the other branch? mmth like cherry-pick'ing one by one but automatically and with proper conflict resolving | 12:19 |
|
wereHamster
| RaceCondition: use git rebase to make the history linear | 12:19 |
| ← shruggar left | 12:20 |
| ← jceb left | 12:20 |
|
RaceCondition
| wereHamster: did you read the part where I said "git-svn"? | 12:20 |
|
wereHamster
| so? | 12:20 |
|
RaceCondition
| you cannot use git rebase with remote tracked SVN branches | 12:20 |
|
wereHamster
| ah, you want to merge two svn branches? | 12:20 |
|
RaceCondition
| yes | 12:20 |
| ← Chib left | 12:21 |
|
wereHamster
| does git-svn even support svn mergeinfo? | 12:21 |
|
jast
| not really | 12:21 |
|
wereHamster
| maybe try to merge with git, resolve the conflicts, then copy the working tree into a svn checkout | 12:21 |
|
RaceCondition
| I could just loop over `git log mybranch..master` and `git cherry-pick` each commit.. but I'm not sure if I'll then get all the git merge conflict resolution goodness | 12:21 |
| → DaveIngram joined | 12:21 |
|
jast
| well mergeinfo is supported, but you need to do it manually | 12:22 |
|
RaceCondition
| I want to commit ALL COMMITS from the other branch, not just a single "Merged blabla" commit | 12:22 |
|
jast
| oh, actually there's a config option now | 12:22 |
|
| not sure how well it works | 12:22 |
|
RaceCondition
| what config option? | 12:23 |
|
wereHamster
| RaceCondition: in a svn checkout, merge the two branches. You'll get conflicts. go to a git-svn clone, merge the exact same two branches, resolve the conflicts, copy working tree to the svn checkout. in the svn checkout mark all files as resolved and commit | 12:23 |
|
jast
| for enabling git-svn to record merge information in svn | 12:23 |
|
| svn.pushmergeinfo | 12:23 |
| ← harshpb left | 12:23 |
|
cmn
| git svn --merginfo needs the whole file so it learnt recently how to set the right info itself | 12:23 |
|
RaceCondition
| wereHamster: that will not keep the history; it will just commit everything in a single commit | 12:23 |
| → vervic_ joined | 12:24 |
| ← segher left | 12:24 |
| → jceb joined | 12:24 |
|
wereHamster
| RaceCondition: I assume that svn correctly records the history, right? | 12:24 |
|
| if you merge two branches with svn ... | 12:24 |
|
jast
| sure, but merging in svn is painful | 12:24 |
|
RaceCondition
| ah, well, in that sense | 12:24 |
|
| yeah, OK, I get your idea, but I prefer svn.pushmergeinfo :) | 12:25 |
|
| thanks for pointing it out, jast | 12:25 |
|
jast
| you're welcome | 12:25 |
|
| fwiw I didn't know about it until now, either | 12:25 |
|
| I found it by reading the manpage | 12:25 |
| ← dv310p3r left | 12:26 |
| → shruggar joined | 12:26 |
| → the_cybersphinx joined | 12:26 |
|
RaceCondition
| I didn't even have an idea what to look for in the manpages | 12:27 |
|
| also, I didn't know svn had mergeinfo (never used pure SVN... started with darcs and then moved on to git) | 12:27 |
| ← vervic left | 12:28 |
| vervic_ → vervic | 12:28 |
|
cmn
| svn:mergeinfo is the only way svn knows that a merge happened | 12:28 |
|
RaceCondition
| I thought it was simply ignorant about it altogether | 12:28 |
|
cmn
| that's why svn:merginfo is there | 12:28 |
|
RaceCondition
| glad to know that it's not the case | 12:28 |
|
cmn
| svn doesn't handle merges that well | 12:28 |
| ← kennethreitz left | 12:28 |
|
cmn
| it doesn't recognise a reintegrate-merge, you have to tell it yourself | 12:28 |
|
| and in svn:merginfo you have to put each every single merge in the repo | 12:29 |
| ← setmeaway left | 12:29 |
|
cmn
| and a typo in that file (say you use git-svn --mergeinfo and do it manually) makes the repo unusable | 12:29 |
| ← cybersphinx left | 12:29 |
| → segher joined | 12:29 |
| ← tillMorning left | 12:30 |
|
RaceCondition
| yeah, svn totally sucks, I'm aware of that :) | 12:30 |
|
lyth_
| cmn_: could you please give me a tip how it´s possible to disable changing commiters name? | 12:30 |
|
cmn
| you can't really unless the system has knowledge of the user's name | 12:32 |
|
| so in the pre-commit hook, you could ask git for ident and tell it to ignore any configuration | 12:32 |
|
| so it'll give you its primary diea | 12:32 |
| ← robde left | 12:32 |
|
cmn
| which may or may not be right | 12:32 |
|
| to check on push, with e.g. gitolite, you can check $GL_USER against some database | 12:33 |
|
jast
| RaceCondition: svn introduced merge info in version 1.5. before that you were right about it not doing proper merges. and even now it's cumbersome to use. | 12:33 |
|
cmn
| the $GL_USER check would be in update | 12:33 |
| ← johnkpaul left | 12:33 |
| → RaceCondishun joined | 12:34 |
| tizzo-afk → tizzo | 12:34 |
| ← gebi left | 12:35 |
| ← RaceCondition left | 12:36 |
| RaceCondishun → RaceCondition | 12:36 |
| ← pidus left | 12:36 |
| → Targen joined | 12:36 |
| ← lonewulf` left | 12:36 |
| → johnkpaul joined | 12:37 |
| ← seivan left | 12:39 |
| → berserkr joined | 12:41 |
| → feindbild joined | 12:41 |
| ← cgd left | 12:41 |
|
RaceCondition
| btw, if I make a git commit under a different author name than myself and then `git svn dcommit`, will SVN simply override the author's name based on my auth credentials? | 12:45 |
|
| (this is really not a 100% #git question, but people in #svn would know even less.. :) ) | 12:45 |
|
cmn
| svn will use whatever user you manage to auth against | 12:45 |
|
RaceCondition
| ok, so unless I can auth as the other user, SVN won't let me commit as him | 12:46 |
|
cmn
| not as far I know | 12:46 |
|
| it'd be silly/dangerous is a centrealised system | 12:46 |
| ← secoif left | 12:47 |
| ← horieyui left | 12:47 |
| → plaugg joined | 12:48 |
| ChanServ set mode: +v | 12:48 |
| ← johnkpaul left | 12:50 |
| ← amitprakash left | 12:50 |
| ← hyperair left | 12:50 |
|
RaceCondition
| yeah, but it was worth asking :P | 12:51 |
| → AAA_awright joined | 12:51 |
| → ajaykools joined | 12:51 |
| ← babilen left | 12:51 |
|
ajaykools
| Hi, I am in detached head state, and I did a commit in that, I am not able to see my other branches. What do I do? | 12:52 |
|
cmn
| what do you mean you can't see them? git branch doesn't show anything? | 12:52 |
| → _pingu joined | 12:53 |
| ← _pingu left | 12:53 |
|
ajaykools
| cmn- it shows me the present branch I am at. | 12:53 |
|
wereHamster
| ajaykools: can you pastebin the output from 'git branch' ? | 12:53 |
|
cmn
| so it only shows (no branch) ? | 12:53 |
|
ajaykools
| wereHamster- just a moment | 12:54 |
|
| cmn- it shows both. I tried to rectify it by fetching branches, seems to be badly gone wrong. | 12:54 |
|
cmn
| ok, so you only have one local branch (and on detached HEAD you're not on any branch) | 12:55 |
|
| what do you want to do? | 12:55 |
|
| did you use to have other branches? | 12:55 |
|
| local branches, that is | 12:55 |
|
ajaykools
| cmn- Ya I had. I want to go back to a state where I can get all my branches. | 12:55 |
|
cmn
| if branch doesn't show them, you've deleted them at some point | 12:56 |
|
wereHamster
| explain what you mean by a 'state where you can get all your branches'? | 12:56 |
|
| you already have all your brnaches, what more do you want? | 12:56 |
|
ajaykools
| cmn wereHamster http://paste.pocoo.org/show/533749/ | 12:56 |
|
| but I can see them in github | 12:56 |
|
| the remote still has it basically | 12:56 |
|
wereHamster
| what can you see on github? | 12:57 |
|
ajaykools
| wereHamster- my branches | 12:57 |
|
wereHamster
| ajaykools: can you pastebin output from 'git branch -a'? | 12:57 |
| ← alberto56 left | 12:57 |
|
cmn
| it looks like you've created a branch called HEAD which is going to cause problems | 12:57 |
|
| and another one called 'origin/gh-pages' | 12:57 |
|
| which is also going to cause problems | 12:58 |
|
ajaykools
| wereHamster- http://paste.pocoo.org/show/533751/ | 12:58 |
|
wereHamster
| it's interesting to see in what interesting way people can screw up theeir repository | 12:58 |
|
ajaykools
| cmn- I see, but that it is still at local right, I can clone my remote again. | 12:59 |
|
| :) | 12:59 |
|
_ikke_
| ajaykools: You can still fix your local repository | 12:59 |
|
cmn
| they're local but origin/gh-pages looks like a remote branch | 12:59 |
|
| gtg | 12:59 |
|
_ikke_
| ajaykools: You have some branches with names that confuse git | 13:00 |
|
ajaykools
| _ikke_- that sounds really motivating. :) | 13:00 |
| ← psakrii left | 13:00 |
|
ajaykools
| _ikke_- so how do I fix them? | 13:00 |
|
_ikke_
| ajaykools: like cmn said, you have a branch called HEAD and a branch called origin/gh-pages | 13:01 |
|
ajaykools
| _ikke_- so I delete them? | 13:01 |
|
wereHamster
| if you want that.. | 13:01 |
|
_ikke_
| ajaykools: If your sure you don't 'loose' some work | 13:02 |
|
ajaykools
| wereHamster- yes, how do I do that | 13:02 |
|
wereHamster
| ajaykools: git branch -d | 13:02 |
|
| read the man page | 13:02 |
|
ajaykools
| wereHamster- thanks a lot :) | 13:02 |
| → RaceCondishun joined | 13:02 |
| → cannonball joined | 13:03 |
| ← uu left | 13:03 |
| ← shruggar left | 13:03 |
| → shruggar joined | 13:03 |
| → kermit joined | 13:04 |
| → bauruine joined | 13:04 |
|
ajaykools
| wereHamster- _ikke_ So now, how do I get the branches at my remote, when I clone the repo, it does not get fetched. | 13:04 |
|
_ikke_
| !remote_branches | 13:05 |
|
gitinfo
| Remote branches are not created locally on clone. They show up as remote branches (git branch -r). To create local branches form them use git checkout -b local_name remote/branch_name or more recently git checkout -t remote/branch_name | 13:05 |
| → Fandekasp joined | 13:06 |
| ← RaceCondition left | 13:06 |
| RaceCondishun → RaceCondition | 13:06 |
| ← Targen left | 13:06 |
| → t4nkd joined | 13:08 |
| → robde joined | 13:08 |
| → impulze joined | 13:10 |
|
impulze
| sitaram: ping :P | 13:10 |
| ← robde left | 13:10 |
|
_ikke_
| impulze: !anyone | 13:10 |
|
gitinfo
| impulze: Usually, it does not help to ask for someone specific to answer your question. No one is the sole expert on anything, or even if they may be, there are plenty of others who know enough to help you | 13:10 |
|
ajaykools
| _ikke_- thanks a lot :) | 13:11 |
|
impulze
| _ikke_: thanks, don't teach me irc ;) | 13:11 |
|
_ikke_
| impulze: I don't know everyone here, so I don't know how much each person knows | 13:11 |
|
| impulze: So please see it as a guide, not as some sort of command | 13:12 |
|
impulze
| yeah, it would be scary if you would know everyone here | 13:12 |
|
| sure, i didn't mean it literally, hence the smiley :P | 13:12 |
|
_ikke_
| right | 13:12 |
| tizzo → tizzo-afk | 13:13 |
| → TomyLobo joined | 13:14 |
| → vervic_ joined | 13:14 |
| → swombat joined | 13:15 |
| ← vervic left | 13:16 |
| vervic_ → vervic | 13:16 |
| ← spvensko left | 13:16 |
| ← fusedreality left | 13:17 |
| → lonewulf` joined | 13:17 |
| ← Vampire0_ left | 13:18 |
|
patrakov
| if I push some commits that change, say, the README file, change other files, change the README back to its original state, would that create conflicts for other people who also want to change the README? | 13:18 |
| → akosikeno joined | 13:19 |
|
_ikke_
| patrakov: Only if you change the same lines | 13:19 |
|
| or they | 13:19 |
|
Mikachu
| patrakov: git only looks at the endpoints of branches when merging, so no | 13:20 |
| ← gusnan left | 13:20 |
|
Mikachu
| unless someone is rebasing your branch on their edits.. which they should never do :) | 13:20 |
| → nardev joined | 13:21 |
| ← tomislater2 left | 13:22 |
| → pfsmorigo joined | 13:22 |
| ← canton7 left | 13:24 |
| → johnfarrell joined | 13:24 |
| ← johnfarrell left | 13:25 |
| → ahmedkotb joined | 13:25 |
| → canton7 joined | 13:26 |
| → digitalfiz joined | 13:27 |
| → babilen joined | 13:28 |
| ← babilen left | 13:28 |
| → babilen joined | 13:29 |
| tizzo-afk → tizzo | 13:30 |
|
diverdude
| i have a repo on my server. I also have a git-user, which i created like this: adduser --system --home /var/www/gitorious/ --no-create-home --group --shell /bin/bash git && chown -R git:git /var/www/gitorious. When i try to clone the repo, it asks me for a password. Which password is that? I did not set a password | 13:30 |
| ← brian_g left | 13:30 |
| → jsick3 joined | 13:31 |
| → nardev1 joined | 13:31 |
|
patrakov
| you gave to either set a password ("passwd git") or, better, register a public key | 13:31 |
| → soc42 joined | 13:32 |
| ← digitalfiz left | 13:32 |
| → Vampire0_ joined | 13:32 |
|
diverdude
| patrakov, but i did register a public key | 13:32 |
| → digitalfiz joined | 13:32 |
|
patrakov
| diverdude: then sshd is for some reason ignoring it | 13:32 |
|
diverdude
| dammit | 13:32 |
|
patrakov
| could you please paste the output of the following commands to a pastebin? | 13:32 |
|
wereHamster
| `sl` | 13:33 |
| ← digitalfiz left | 13:33 |
| → digitalfiz joined | 13:33 |
| → Ryback_ joined | 13:33 |
| ← Ryback_ left | 13:33 |
| → Ryback_ joined | 13:33 |
|
patrakov
| ls -ld /var/www/gitorious/.ssh/authorized_keys /var/www/gitorious/.ssh /var/www/gitorious /var/www /var / | 13:33 |
| ← nardev left | 13:33 |
| → sattu94 joined | 13:34 |
| → Error404NotFound joined | 13:35 |
| ← Error404NotFound left | 13:35 |
| → Error404NotFound joined | 13:35 |
| → brian_g joined | 13:35 |
| ← whyking left | 13:36 |
| ← soc42 left | 13:37 |
| → beaufour joined | 13:38 |
| → erichynds joined | 13:38 |
| → tommyvyo joined | 13:39 |
| tizzo → tizzo-afk | 13:39 |
| → nixmaniack joined | 13:39 |
| ← EricInBNE left | 13:39 |
| ← segher left | 13:39 |
| → khmarbaise joined | 13:40 |
| → neurodrone joined | 13:43 |
| ← Cromulent left | 13:44 |
| → pikpik joined | 13:44 |
| → vervic_ joined | 13:44 |
|
pikpik
| Hi. Is there a way to have Git do its processing on-disk instead of in-memory? | 13:45 |
| ← stodan left | 13:45 |
| tizzo-afk → tizzo | 13:45 |
|
IcePic
| add swap files? =) | 13:45 |
|
pikpik
| What if my platform doesn't have those? :D | 13:46 |
| ← vervic left | 13:46 |
| vervic_ → vervic | 13:46 |
|
wereHamster
| you're out of luck | 13:46 |
|
pikpik
| Great. Thanks. | 13:47 |
|
FauxFaux
| Build with an allocator that implements swap? I've seen at least one. | 13:47 |
|
wereHamster
| pikpik: which platform does not have swap if I may ask? | 13:47 |
| ← ahmedkotb left | 13:47 |
|
pikpik
| wereHamster: MINIX. | 13:47 |
|
FauxFaux
| Also, when do you run out of memory (what operation)? | 13:48 |
|
diverdude
| how can i list all available repos`? | 13:48 |
|
pikpik
| FauxFaux: And rebuild Git with that allocator? | 13:48 |
| tizzo → tizzo-afk | 13:48 |
|
wereHamster
| diverdude: available repos where? | 13:48 |
|
| in the whole world? | 13:48 |
|
pikpik
| FauxFaux: When I checkout a branch of pkgsrc (a Git version): http://git.minix3.org/?p=pkgsrc.git | 13:49 |
|
diverdude
| wereHamster, on my server | 13:50 |
|
pikpik
| (Pkgsrc is huge: http://pkgsrc.se/statistics.php ) | 13:50 |
|
wereHamster
| diverdude: find / -name .git -type d | 13:50 |
| → guampa joined | 13:51 |
|
pikpik
| FauxFaux: I have 256 MB of memory and ~8 GB of storage. | 13:51 |
| → centipedefarmer_ joined | 13:51 |
| → jwmann joined | 13:51 |
|
pikpik
| I think the same thing happens with 512 MB of memory. It just takes a little longer. | 13:52 |
| → spvensko joined | 13:52 |
| ← spvensko left | 13:52 |
| → spvensko joined | 13:52 |
| → pepr joined | 13:52 |
| ChanServ set mode: +v | 13:52 |
|
diverdude
| wereHamster, thx....it seems my gitorious is not working after all :( | 13:52 |
| → zulax joined | 13:53 |
| ← spvensko left | 13:53 |
|
wereHamster
| diverdude: that will find only non-bare repos.. | 13:53 |
|
diverdude
| wereHamster, non-bare? | 13:53 |
|
FauxFaux
| pikpik: I wonder what it's doing that needs memory. Not that I can think what operations checkout uses, except maybe unpacking the pack-files wrong. | 13:53 |
| → acl_ joined | 13:54 |
|
wereHamster
| diverdude: gitorious stores all repositories in a single directory. It is configurable. So just look where it stores them, and look there | 13:54 |
| → eggman2001 joined | 13:54 |
|
t4nkd
| Hey git, I have a single commit in my branch that I want to like, undo/remove -- but I want to keep the other commits above it -- how might I do this? | 13:55 |
|
FauxFaux
| t4nkd: !fixup | 13:56 |
|
gitinfo
| t4nkd: So you made a bad commit and want to remove/fix it? (1) NOT PUSHED/PUBLISHED: `git rebase -i $COMMIT^` or perhaps `git commit --amend` (or `git reset HEAD^`). (2) OTHERWISE, `git revert $COMMIT` to make a reverse commit. (3) If you have pushed and MUST remove it, use rebase or filter-branch and type !rewriting_public_history in IRC. | 13:56 |
|
t4nkd
| sweet, ty | 13:56 |
|
pikpik
| FauxFaux: Do you know of a verbose/diagnostic/debugging option? | 13:56 |
|
t4nkd
| What is '$COMMIT^' indicative of? | 13:56 |
|
FauxFaux
| There's GIT_TRACE=1 git checkout whatever #, or strace. | 13:56 |
|
| t4nkd: The name of the commit you want to edit, followed by a "^". | 13:57 |
|
SethRobertson
| and many git commands support -v | 13:57 |
|
pikpik
| Ok. | 13:57 |
|
t4nkd
| oh okay cool, tyty again | 13:57 |
|
SethRobertson
| t4nkd: aka the (first) parent of $COMMIT | 13:57 |
| ← nikuyoshi left | 13:57 |
|
t4nkd
| Hrm okie, when I use '^' it says no matches can be found... but ZSH tells me this | 13:58 |
|
FauxFaux
| Either quote it, or use ~ instead. | 13:58 |
|
| (Identical meaning in this case.) | 13:58 |
|
diverdude
| wereHamster, hmm yeah ok...it does actually create repo | 13:58 |
| → cemerick joined | 13:59 |
|
diverdude
| wereHamster, but it gets some weird name like: f8c/166/6cfce7a632ca258f14ead6d217fc92f862.git | 13:59 |
|
| wereHamster, maybe thats why i cannot clone it | 13:59 |
|
cemerick
| How would I go about getting numstats out of git log via --format? | 13:59 |
|
t4nkd
| Awesome, thanks for all the quick help guys | 13:59 |
| → dv310p3r joined | 13:59 |
|
t4nkd
| K+ FauxFaux SethRobertson | 13:59 |
| ← helgikrs1 left | 14:00 |
| → alisonken1home joined | 14:01 |
|
cemerick
| Or, let's put it this way: I'd like to get the output of `git shortlog -ns`, but with line change stats added. What is the best way to do that? | 14:01 |
| → jonesy joined | 14:01 |
| ← alisonken1home left | 14:01 |
| → spvensko joined | 14:02 |
| ← spvensko left | 14:02 |
| → spvensko joined | 14:02 |
|
diverdude
| wereHamster, do you have any idea why i cant clone my repo? | 14:02 |
| → segher joined | 14:03 |
| ← Nibato left | 14:03 |
| → bartek joined | 14:03 |
| → Nibato joined | 14:04 |
| → glennpratt joined | 14:08 |
| ← bindaasomatic left | 14:08 |
| ← DaveIngram left | 14:09 |
| → AaronMT joined | 14:09 |
| → cakehero joined | 14:10 |
| → sudoquai joined | 14:11 |
| → Cromulent joined | 14:11 |
| ← rchavik left | 14:12 |
| ← centipedefarmer_ left | 14:12 |
|
SethRobertson
| !repro | 14:12 |
|
gitinfo
| please paste (e.g. using http://git.pastebin.com/) a transcript of your terminal session in which the problem occurred so that we can troubleshoot more easily. | 14:12 |
| → FabTG joined | 14:13 |
| ← eggman2001 left | 14:13 |
| ← anubhaw left | 14:13 |
| → anubhaw_ joined | 14:13 |
|
SethRobertson
| cemerick: You may need to post-process the output of `git log` to get what you want | 14:13 |
| → VladimirZ joined | 14:14 |
| → vervic_ joined | 14:14 |
| → heptadecagram joined | 14:14 |
|
VladimirZ
| Does anyone know if Fisheye supports smth like github "pull requests" ? making branches or posting diffs at forum just for pre-commit review not good | 14:15 |
|
| https://github.com/symfony/symfony/pulls https://github.com/symfony/symfony/pull/3102 | 14:15 |
| → helgikrs1 joined | 14:15 |
| → Bass10 joined | 14:15 |
|
VladimirZ
| now if i want to publish some patch for review i 1) posting diff at forum 2) making a branch at main repo with patch 3) just pushing into master | 14:15 |
|
SethRobertson
| Why not create a new repo like github does if you don't like the other options | 14:16 |
| ← [M]ax left | 14:16 |
| → GunArm joined | 14:16 |
| ← vervic left | 14:16 |
| vervic_ → vervic | 14:16 |
|
diverdude
| if i make an empty project, can i then clean it? | 14:17 |
|
| sorry, empty repo i mean | 14:17 |
|
FauxFaux
| What the hell are you even doing?! | 14:17 |
|
diverdude
| FauxFaux, me? | 14:17 |
| → ISF_ joined | 14:17 |
| ← OOPMan left | 14:18 |
| → dorisabayon joined | 14:18 |
| → alan_w joined | 14:18 |
| ← vervic left | 14:18 |
| ← rcu left | 14:18 |
|
PerlJam
| diverdude: If it's already empty, why would you want to clean it? | 14:18 |
| ← swombat left | 14:18 |
| ← lyth_ left | 14:19 |
|
diverdude
| PerlJam, clean it? | 14:19 |
|
| ack | 14:19 |
|
| i mmean clone it | 14:19 |
|
| sorry bout that | 14:19 |
| → shruggar1 joined | 14:19 |
| → [M]ax joined | 14:19 |
|
PerlJam
| oh! heh, yes you can clone any repo | 14:19 |
| ← shruggar left | 14:19 |
| ← ISF left | 14:19 |
|
diverdude
| hmm ok...damn then there is some problem | 14:19 |
|
VladimirZ
| SethRobertson, its more overhead i guess than simple branch | 14:20 |
|
| just need to find a way to cleanup branches from fisheye | 14:20 |
| ← alan_w left | 14:20 |
|
SethRobertson
| VladimirZ: Why not push a delete of the branch? | 14:20 |
| → alan_w joined | 14:20 |
| → swombat joined | 14:21 |
| ← Fandekasp left | 14:22 |
| ← spvensko left | 14:22 |
|
sitaram
| impulze: if it's something simple I can help you right now. Otherwise wait for another 30 min or so | 14:22 |
|
impulze
| sitaram: i'll wait, i don't know yet if it's simple ;) take your time | 14:23 |
|
sitaram
| impulze: (and _ikke_ ) I was the one who created the ! anyone trigger on our bot | 14:23 |
|
impulze
| :) | 14:24 |
|
| too many requests? :P | 14:24 |
| → ahmedkotb joined | 14:24 |
|
impulze
| maybe you need #gitolite :D | 14:24 |
|
sitaram
| have you checked? | 14:24 |
|
impulze
| not on freenode | 14:24 |
|
sitaram
| there *is* #gitolite | 14:24 |
| ← ryanakca left | 14:24 |
|
impulze
| :( | 14:24 |
|
sitaram
| me "dont teach me IRC" you are wrong | 14:24 |
|
| _ikke_: ^ :-) | 14:25 |
|
impulze
| hihi | 14:25 |
|
diverdude
| did anybody experience cloning problems with a locally hosted gitorious system? | 14:25 |
|
t4nkd
| Hrm, I just made a commit, but I actually wanted to checkout to a new branch /then/ commit, what's the easiest way to backtrack and make that happen? | 14:26 |
| ← patrakov left | 14:26 |
|
sitaram
| s/me/mr/ | 14:26 |
| → oriba joined | 14:26 |
|
VladimirZ
| SethRobertson, for some reason it doesn't | 14:27 |
| ← jds left | 14:27 |
|
VladimirZ
| Looks like Fisheye keeps branch history or something | 14:28 |
| → mandric joined | 14:29 |
| ← Cromulent left | 14:29 |
| ← swombat left | 14:30 |
| ← dzonder left | 14:31 |
|
VladimirZ
| http://gitready.com/beginner/2009/02/02/push-and-delete-branches.html | 14:31 |
|
| This is how I'm trying to delete a branch | 14:31 |
|
| but for some reason it doesn't do anything | 14:31 |
|
| I still see a branch on t he server | 14:31 |
|
| the* | 14:31 |
|
| any idea ? | 14:31 |
| → alansaul joined | 14:31 |
| → nikuyoshi joined | 14:32 |
| ← canton7 left | 14:32 |
| ← dnjaramba left | 14:32 |
| ← sh[4]rm4 left | 14:32 |
| → gusnan joined | 14:33 |
| ← Spockz left | 14:35 |
|
pepr
| Hi, I am confused with the following git log results... | 14:35 |
| → jpalmer joined | 14:35 |
| → Spockz joined | 14:35 |
|
pepr
| git log --pretty=format:"%ad %s (%an)" --date=short >log.txt | 14:35 |
|
| It generates about 80 lines. | 14:36 |
|
FauxFaux
| Stop pressing return every four words. /o\ | 14:36 |
|
VladimirZ
| Can someone help me please, it's really important =/ | 14:36 |
| → menace joined | 14:37 |
| → psakrii joined | 14:37 |
|
menace
| if i create a git tag without signing it, will it be pushed too to my origin? | 14:37 |
| ← zulax left | 14:37 |
| → zi joined | 14:37 |
| → polygonpusher joined | 14:37 |
| zi → Guest1669 | 14:38 |
|
polygonpusher
| whats the cmd to check the status of a remote repo? | 14:38 |
|
pepr
| The other git log command should add the --tags | 14:38 |
|
| git log --pretty=format:"%ad %s (%an)" --date=short --tags >logT.txt | 14:38 |
|
| but it generates much more lines and no tag lines. Why? | 14:38 |
| → TeckniX joined | 14:38 |
|
diverdude
| did anybody experience cloning problems with a locally hosted gitorious system? | 14:39 |
|
_ikke_
| polygonpusher: What do you want to see? | 14:39 |
| → markkalderon joined | 14:41 |
| ← freimatz left | 14:42 |
| ← antix left | 14:43 |
| ← markkalderon left | 14:43 |
| tizzo-afk → tizzo | 14:44 |
| → sh[4]rm4 joined | 14:45 |
| ← cemerick left | 14:45 |
| → Borbie joined | 14:45 |
| → antix joined | 14:45 |
| → tomislater joined | 14:46 |
| → canton7 joined | 14:47 |
| → OOPMan joined | 14:47 |
| ← cortana` left | 14:47 |
| → empity joined | 14:48 |
| ← Borbie left | 14:48 |
| ← kerrick left | 14:48 |
| → whyking joined | 14:48 |
| ← alansaul left | 14:50 |
| ← alecat left | 14:50 |
| ← krz left | 14:51 |
|
binjured
| is there a simple command to ask git if a commit is a merge commit or not? | 14:51 |
| → cortana2 joined | 14:51 |
|
binjured
| i'm trying to cherry-pick a range of commits but if it hits a merge commit without "-m" it dies | 14:51 |
| ← psakrii left | 14:52 |
|
cortana2
| is 'git config --global url.foo.bar' supposed to work with 'git submodule update'? when I update, the rewritten URL is not used. a manual clone uses the rewrite, however | 14:52 |
| → alansaul joined | 14:53 |
| → robde joined | 14:53 |
| → dfr|mac joined | 14:53 |
| → Gorkyman joined | 14:54 |
| ← Gorkyman left | 14:54 |
| → Gorkyman joined | 14:54 |
| ← bandroidx left | 14:54 |
| ← demi` left | 14:55 |
|
cmn
| binjured: I'm not sure if there's a command, but with 'git cat-file commit <hash> | grep ^parent' yo ucan see how many parents it has | 14:55 |
| → shruggar joined | 14:55 |
| ← shruggar1 left | 14:55 |
|
binjured
| cmn: ah, okay, thanks | 14:55 |
| ← robde left | 14:56 |
| ← neurodrone left | 14:56 |
| ← ProperNoun left | 14:56 |
|
SethRobertson
| binjured: You can do a `git log -n 1 --pretty="%p" caa9913 | grep ' '` | 14:56 |
| ← polygonpusher left | 14:56 |
| → robde joined | 14:56 |
| → y3di joined | 14:56 |
| → mercutio22 joined | 14:57 |
| ← sudoquai left | 14:57 |
| → airborn joined | 14:58 |
| → Prasad joined | 14:58 |
| ← robde left | 14:58 |
| → squentin joined | 14:58 |
| → spvensko joined | 14:59 |
| → robde joined | 14:59 |
| → FernandoBasso joined | 14:59 |
| ← spvensko left | 14:59 |
| ← sattu94 left | 15:00 |
| ← cbreak-work left | 15:00 |
| → cbreak-work joined | 15:00 |
|
menace
| let's say i have a git repo, pushed it into a bare repo (with a tag) and cloned that repo to another location. if i delete the tag at the other location, and i push --tags and pull from the bare repo (which is origin btw) to the first repo.. is the tag there deleted, too? | 15:00 |
| → sudoquai joined | 15:01 |
|
VladimirZ
| SethRobertson, http://pastebin.com/ndbhAzbf - I'm doing it correctly, right ? | 15:01 |
| ← gavin_huang left | 15:01 |
| → bandroidx joined | 15:01 |
| ← tcurdt left | 15:02 |
| → jetienne_ joined | 15:02 |
| ← Xizor left | 15:02 |
|
jetienne_
| q. on macos, the fs ignore char cases. is there a way to force git to not ignore it ? | 15:03 |
| ← _Qman left | 15:03 |
| → kukks joined | 15:03 |
|
SethRobertson
| VladimirZ: Looks like it. You could log into the server and run `git branch` on the server repo to make sure it was gone | 15:03 |
|
binjured
| SethRobertson: oh, nice; and if it comes up empty, then it's not a merge commit. | 15:04 |
|
SethRobertson
| Right, or if it exits true it will be a merge commit | 15:04 |
| ← khmarbaise left | 15:04 |
| ← zivester left | 15:05 |
| ← canton7 left | 15:05 |
| → gavin_huang joined | 15:06 |
| → marthinal joined | 15:06 |
| ← gavin_huang left | 15:06 |
| → canton7 joined | 15:07 |
| ← spiette left | 15:07 |
| → spiette joined | 15:07 |
| → tcurdt joined | 15:07 |
| ← mercutio22 left | 15:08 |
| ← teweWORK left | 15:09 |
| ← tizzo left | 15:09 |
| → teweWORK joined | 15:09 |
| → tizzo joined | 15:10 |
|
teweWORK
| hi | 15:10 |
|
VladimirZ
| SethRobertson, it's still there :/ | 15:10 |
|
SethRobertson
| VladimirZ: `git branch` shows that it is there? Please pastebin. | 15:11 |
| ← Q| left | 15:11 |
| ← Gorkyman left | 15:11 |
|
teweWORK
| can i do git submodule foreach on selected submodules with an alias? | 15:11 |
| ← Spockz left | 15:12 |
| → Gorkyman joined | 15:12 |
|
SethRobertson
| teweWORK: It doesn't look like git-submodule-foreach has a selector. | 15:12 |
| → dr0id joined | 15:12 |
|
teweWORK
| I know, that's why I ask :) | 15:12 |
|
SethRobertson
| teweWORK: Of course you can do the "foreach" work manually | 15:13 |
| → mercutio22 joined | 15:13 |
| ← Hapz left | 15:13 |
| ← eeanm left | 15:14 |
| → jacobat joined | 15:15 |
| ← JohnBat26 left | 15:15 |
| → ufk joined | 15:15 |
|
ufk
| hello | 15:15 |
|
| can i configure .gitignore to ignore *swf file recursively or do i need to add .gitignore to each and every directory in the tree ? | 15:15 |
| → Q| joined | 15:16 |
|
jacobat
| ufk: just add it to the root | 15:16 |
|
VladimirZ
| SethRobertson, http://img822.imageshack.us/img822/7668/branch.png | 15:16 |
|
ufk
| just to add "*swf" to the root and it ignores it recursively ? | 15:16 |
|
| didn't know that :) cool | 15:16 |
|
jacobat
| yup | 15:16 |
| ← pepr left | 15:16 |
| → snearch joined | 15:17 |
| → jryans joined | 15:17 |
|
jacobat
| Any ideas on how to debug a merge strategy not running based on a gitattributes file? | 15:17 |
|
| I've got: "db/schema.rb merge=railsschema" in my ~/.gitattributes | 15:17 |
|
SethRobertson
| VladimirZ: I'm more interested in what git has to say, not what some GUI has to say. If you don't have server access you can `git ls-remote origin` | 15:17 |
|
jacobat
| But it seems to have no effect | 15:17 |
| → thannoy joined | 15:17 |
| ← iocor left | 15:17 |
|
jacobat
| I've got [merge "railsschema"] in ~/.gitconfig | 15:17 |
| → luxurymode joined | 15:18 |
| ← oriba left | 15:18 |
| → amigojapan joined | 15:18 |
| ← dfr|mac left | 15:18 |
| → axl_ joined | 15:18 |
| → thannoy_ joined | 15:19 |
| ← thannoy left | 15:19 |
| ← brian_g left | 15:19 |
|
luxurymode
| Simple question here (I think…): git is telling me that in order for me to merge originm/master into master, i need to commit changes to some file first because its gonna be overwritten by the merge. Now, I happen to know that in origin/master, the file was accidentally deleted. How can I merge origin/master but ensure that I can quickly grab back the file I currently have in my working directory? | 15:19 |
| → Danielpk joined | 15:19 |
| thannoy_ → thannoy | 15:19 |
| → iocor joined | 15:20 |
|
luxurymode
| like this? git rev-list -n 1 HEAD -- <file_path> | 15:21 |
|
SethRobertson
| Do a merge --no-commit and then we can do something like `git checkout HEAD -- filename` to recover the file. | 15:21 |
|
luxurymode
| SethRobertson, sweet. thanks a lot! | 15:21 |
|
| SethRobertson, but i still need to commit first or does --no-commit allow me to merge w/o commit? | 15:21 |
| → Chani joined | 15:22 |
|
SethRobertson
| luxurymode: Strangely enough, man git-merge suggests that using --no-commit asks the system to…wait for it…not commit | 15:22 |
|
gitinfo
| luxurymode: the git-merge manpage is available at http://jk.gs/git-merge.html | 15:22 |
|
luxurymode
| lol arite thanks | 15:22 |
| jetienne_ → jetienne | 15:23 |
| ← h0bbit left | 15:23 |
|
menace
| pushing/pulling removed/renamed tags aka keeping removed tags in a synchronized state across several repositories seems to be a little issue? | 15:23 |
|
Chani
| I have a git repo with about a dozen commits. I need to push it into a folder in an existing svn repo. is there an easy way to get the history over to svn, or should I just dump it in one commit? | 15:23 |
| ← airborn left | 15:24 |
|
luxurymode
| SethRobertson, still says "Please, commit your changes or stash them before you can merge." | 15:24 |
| ← glcrazy left | 15:24 |
| → psakrii joined | 15:24 |
| → Gorkyman_ joined | 15:25 |
| ← Gorkyman left | 15:25 |
|
SethRobertson
| Yes, that is true | 15:25 |
|
fr0sty
| Just move the file aside for now... | 15:25 |
|
| mv thefile thefile.save | 15:25 |
|
| Then merge... | 15:25 |
|
luxurymode
| i just committed it | 15:26 |
|
| then did the merge | 15:26 |
|
| and checked out HEAD for the file name | 15:26 |
|
| fine right? | 15:26 |
| → hyperair joined | 15:26 |
| → Spockz joined | 15:27 |
|
SethRobertson
| Then commit, talking about hte merge and the file restoral. | 15:27 |
|
| Only you can say if the working directory is in the right state | 15:27 |
| → centipedefarmer_ joined | 15:28 |
|
luxurymode
| so i committed my local stuff, then did the merge --no-commit, then right after i checkedout HEAD --filename | 15:28 |
|
| now git status says my branch and origin/master have divereged, 4 and 1 different commits each, respectively | 15:28 |
|
| and nothing to commit | 15:29 |
|
| and i dont see the changes i was expecting from the merge | 15:29 |
| ← kpreid left | 15:29 |
| ← plaugg left | 15:29 |
| ← jutaro left | 15:29 |
| ← koo4 left | 15:29 |
| → ProperNoun joined | 15:29 |
| ← gjoseph left | 15:30 |
|
SethRobertson
| luxurymode: What does `git show HEAD^2` show? A patch hopefully? Does the result of the patch appear in your code? | 15:30 |
| → gjoseph joined | 15:30 |
|
gjoseph
| hey there | 15:30 |
| ← OOPMan left | 15:31 |
|
luxurymode
| SethRobertson, HEAD^2? | 15:31 |
|
| eh? | 15:31 |
|
SethRobertson
| Quite so | 15:31 |
|
luxurymode
| fatal: ambiguous argument 'HEAD^2': unknown revision or path not in the working tree. | 15:31 |
|
gjoseph
| how can i tell with git tag -l (or otherwise) if a tag is annotated or lightweight ? (other than by analyzing and guessing if the message is a tag's or a commit's with -n) | 15:31 |
| → eean joined | 15:31 |
|
pikpik
| FauxFaux: Never mind. I must've been using 128 MB of memory when I had problems. | 15:32 |
| → khmarbaise joined | 15:32 |
|
SethRobertson
| luxurymode: Hmm. It does feel like the merge didn't happen. | 15:32 |
| → keystr0k joined | 15:32 |
| → LouisJB joined | 15:32 |
|
pikpik
| FauxFaux: My system's memory did get very low this time, but it scrapped by (which isn't great, but I don't know of a solution). | 15:32 |
| → havocologe joined | 15:32 |
|
luxurymode
| SethRobertson, when i did the merge --no-commit it told me that there was a conflict where one file was deleted in origin and modified in HEAD and it left the HEAD file in tree | 15:32 |
| → Aikawa joined | 15:33 |
| → beatak joined | 15:33 |
|
luxurymode
| SethRobertson, and then i didnt actually do anything when it said that. Instead i just did a CHECKOUT of head on the file | 15:33 |
|
| whoops | 15:33 |
| ← eean left | 15:33 |
|
luxurymode
| so try the merge again and just resolve the conflict? | 15:33 |
|
SethRobertson
| gjoseph: If you `git show` the tag, you will get information about the tag in the annotated case, but only the commit in the non-annotated case | 15:33 |
|
pikpik
| FauxFaux: This was during the fetch and checkout stages of an initial init, fetch, branch, and checkout series. | 15:34 |
|
luxurymode
| SethRobertson, also if i try a merge now it says "fatal: You have not concluded your merge (MERGE_HEAD exists)." | 15:34 |
|
cmn
| I think git cat-file -t refs/tags/whatever should tell you | 15:34 |
|
havocologe
| if i do a git pull /path/to/my/cloned/repository.git then i get an error: "fatal : not a git repsitory" but it really is a repo | 15:34 |
|
luxurymode
| SethRobertson, so how do i complete it... | 15:34 |
|
| ? | 15:34 |
|
cmn
| gjoseph: ^^ | 15:34 |
|
gjoseph
| SethRobertson: that's if i know the tag | 15:34 |
| ← stoffus left | 15:34 |
|
SethRobertson
| luxurymode: git merge --abort | 15:34 |
|
cmn
| git tag tells you what tags there are | 15:34 |
|
SethRobertson
| gjoseph: Perhaps you can explain your desired end goal | 15:35 |
|
gjoseph
| i was hoping to be able to list them and get some symbol or so next to their name to tell me which ones are annotated | 15:35 |
|
luxurymode
| SethRobertson, ok..now what? :) | 15:35 |
|
gjoseph
| SethRobertson: but really here i wanted to see what kind of tag the tool i'm trying to use just did | 15:35 |
| ← nardev1 left | 15:35 |
|
SethRobertson
| luxurymode: Now restart the merge | 15:35 |
|
gjoseph
| so git show should do | 15:35 |
|
luxurymode
| same way with --no-commit? | 15:35 |
| → steveoliver joined | 15:36 |
|
SethRobertson
| luxurymode: Doesn't matter too much. You can always restore it in a second commit. | 15:36 |
| → brngardner joined | 15:36 |
| ← steveoliver left | 15:36 |
| → steveoliver joined | 15:36 |
|
diverdude
| YEEEAHAAA GITORIUS IS WORKING :D | 15:36 |
| → brian_g joined | 15:36 |
|
luxurymode
| ok, so now auto merge fails. so if it just left deleted file in tree, i can simply add it to mark as resolved? | 15:36 |
|
SethRobertson
| Seems likely | 15:37 |
|
luxurymode
| git status just shows "unmerged paths and… deleted by them: path/to/file" | 15:37 |
| ← xjonc left | 15:37 |
|
gjoseph
| is there a switch for git show to *not* show the diff/commit ? | 15:38 |
|
FauxFaux
| gjoseph: git cat-file commit $COMMIT | 15:38 |
| → fisted joined | 15:38 |
|
wereHamster
| gjoseph: git log -1 | 15:38 |
|
| or git log <commit>^! | 15:38 |
|
luxurymode
| SethRobertson, so everything that could be auto-merged was merged except this? or do i need somehow complete the merge now after resolving the conflict? | 15:38 |
|
gjoseph
| wereHamster: i don't think that'll work since i'm (at the moment) looking into using git show with tags | 15:38 |
| → kpreid joined | 15:39 |
|
wereHamster
| gjoseph: so what do you want to get? | 15:39 |
|
| just the tag message? | 15:39 |
|
gjoseph
| everything else ? | 15:39 |
|
| and the metadata ? tagger: etc | 15:39 |
|
FauxFaux
| git show --shortstat. ¬_¬ | 15:39 |
|
wereHamster
| gjoseph: git log with a custom format? | 15:39 |
| ← Spockz left | 15:39 |
|
gjoseph
| FauxFaux: that was it thx! didn't see that in the man... | 15:39 |
|
wereHamster
| ah, maybe that won't work | 15:39 |
|
SethRobertson
| luxurymode: The man git-merge page says: Resolve the conflicts. Git will mark the conflicts in the working tree. Edit the files into shape and git add them to the index. Use git commit to seal the deal | 15:40 |
|
gitinfo
| luxurymode: the git-merge manpage is available at http://jk.gs/git-merge.html | 15:40 |
| → spearce joined | 15:40 |
|
luxurymode
| SethRobertson, great. thanks very much for your help. and your patience :) really appreciate it | 15:40 |
| ← fisted_ left | 15:41 |
| ← jacobat left | 15:41 |
| → scelis joined | 15:41 |
| ← scelis left | 15:42 |
| → scelis joined | 15:42 |
| → swombat joined | 15:42 |
| → joch_n joined | 15:42 |
| → airborn joined | 15:43 |
| → koo4 joined | 15:43 |
| ← mandric left | 15:43 |
| → alex__c2022 joined | 15:43 |
| → demi` joined | 15:44 |
| ← flijten left | 15:45 |
| ← Shusshu left | 15:45 |
| → Spockz joined | 15:45 |
| → ramsey joined | 15:45 |
| → neurodrone joined | 15:46 |
| ← robde left | 15:47 |
| → kevwil joined | 15:48 |
| ← Guest1669 left | 15:48 |
| → robde joined | 15:51 |
| ← papegaaij left | 15:51 |
| → papegaaij joined | 15:52 |
| ← tomislater left | 15:53 |
| ← shruggar left | 15:53 |
| → gianlucadv joined | 15:53 |
| → shruggar joined | 15:53 |
| → zivester joined | 15:53 |
| ← y3di left | 15:53 |
| → weiyang joined | 15:54 |
| → v0n joined | 15:54 |
|
VladimirZ
| SethRobertson, from 'git ls-remote origin' there is no such branch any more. But I don't know why I still see it in that Gui :/ | 15:54 |
| ← JackWinter left | 15:54 |
|
SethRobertson
| Cannot help you there, sorry | 15:54 |
| ← angelsl left | 15:54 |
| ← zivester left | 15:55 |
|
weiyang
| could git clone --mirror clone all the branch from remote? | 15:55 |
| → zivester joined | 15:55 |
|
diverdude
| i wonder hwy github isn't opensource | 15:56 |
|
| *why | 15:56 |
|
cbreak-work
| because they want to earn money with it | 15:56 |
|
weiyang
| they want to earn money... | 15:56 |
| ← zivester left | 15:56 |
| ← kpreid left | 15:56 |
| → zivester joined | 15:57 |
| ← robde left | 15:57 |
|
diverdude
| but they can still earn on hosting | 15:57 |
| ← jetienne left | 15:57 |
|
diverdude
| if its opensource | 15:57 |
|
cmn
| the web app is their secret sauce | 15:58 |
|
diverdude
| hehe yes it is | 15:58 |
| ← teweWORK left | 15:58 |
|
cmn
| and hosting probably isn't even the main income earner | 15:58 |
|
| or maybe it is, but that's not that important anyway | 15:58 |
|
diverdude
| i wonder what the main income is | 15:59 |
|
cmn
| you can ask on #github | 15:59 |
| → johnanderson joined | 15:59 |
|
cmn
| but many companies do want to have github locally, so they pay the licence | 15:59 |
|
Chani
| damnit. I ended up with noting but one merge commit, with a terrible commit message >.< | 15:59 |
| ← herdingcat left | 15:59 |
| ← Chani left | 16:00 |
| → robde joined | 16:00 |
|
diverdude
| its probably also a big work making such a webapp | 16:01 |
| ← papegaaij left | 16:01 |
| → EyesIsServer joined | 16:01 |
| → JackWinter joined | 16:01 |
| → y3di joined | 16:01 |
| ← y3di left | 16:01 |
| → papegaaij joined | 16:02 |
| ← robde left | 16:02 |
| ← papegaaij left | 16:02 |
|
gjoseph
| silly and probably not very useful, but something like this is what i was hoping for initially (albeit with a simpler command :D) git for-each-ref --sort=subject refs/tags | awk '{print $2, $3}' | sed 's,tag refs/tags/, * ,' | sed 's,commit refs/tags/, ,' | 16:03 |
| → papegaaij joined | 16:03 |
| ← dorisabayon left | 16:03 |
| ← heisenmink left | 16:04 |
| → Fandekasp joined | 16:04 |
| ← kevwil left | 16:05 |
| → ScottE joined | 16:05 |
|
FauxFaux
| gjoseph: git branch; git tag | sed 's/^/ * /' # ? | 16:05 |
|
gjoseph
| FauxFaux: in my example, the * denotes annotated tags, where as lightweight ones are just prefixed by space | 16:07 |
| ← gianlucadv left | 16:07 |
|
FauxFaux
| Oh. | 16:07 |
| ← mercutio22 left | 16:07 |
| → robotmay joined | 16:12 |
| ← cbreak-work left | 16:12 |
| ← papegaaij left | 16:12 |
| → kerrick joined | 16:13 |
| ← Aikawa left | 16:14 |
| ← cyfi left | 16:14 |
| ← brian_g left | 16:15 |
| ← dr0id left | 16:16 |
| → n8o-mba joined | 16:16 |
| → Codif joined | 16:17 |
| ← jamiejackson left | 16:17 |
| → spvensko joined | 16:18 |
| → ehsan joined | 16:18 |
| → mklappstuhl joined | 16:19 |
| ← scelis left | 16:19 |
| ← robotmay left | 16:19 |
| ← Internet13 left | 16:19 |
| → sureaint joined | 16:20 |
| → Internet13 joined | 16:20 |
| → ddkilzer joined | 16:20 |
|
weiyang
| how could i clone all the branches from a repo? | 16:21 |
|
FauxFaux
| weiyang: That's the default behaviour. git branch -avv | 16:22 |
| → scelis joined | 16:22 |
| → robotmay joined | 16:22 |
| → mercutio22 joined | 16:22 |
|
weiyang
| FauxFaux, really? | 16:22 |
|
| FauxFaux, I use git clone, but see there are many other branches | 16:22 |
|
SethRobertson
| They are remote tracking branches, but you have all of the data | 16:22 |
|
FauxFaux
| weiyang: Perhaps if you ran what I said you'd see what I mean. | 16:23 |
|
weiyang
| FauxFaux, let me try again | 16:23 |
| → icrazyhack joined | 16:24 |
|
SethRobertson
| What is there to try again? Just run the command he told you to. | 16:25 |
|
twisted`
| any Xcode users here? | 16:25 |
| ← pro_metedor left | 16:25 |
|
FauxFaux
| twisted`: !question | 16:25 |
|
gitinfo
| twisted`: You know, you have not actually asked a question. Without asking a question, it is hard to get any responses. Please explain what you are trying to do, what you typed in, and exactly what came back. Use http://pastebin.com for exact command sessions. | 16:25 |
|
FauxFaux
| Is there a good writeup of the fact that remote tracking branches exist, that we can link people to, btw? I can't think of one. | 16:26 |
|
twisted`
| FauxFaux: technically, it is a question :D | 16:26 |
|
| I'm having problems with git and xcode | 16:26 |
|
FauxFaux
| I'd kick you if I had rights. | 16:26 |
|
twisted`
| or well, xcode and git, the combo if it :D | 16:26 |
| ← batlock666 left | 16:26 |
| ← sykop5am left | 16:26 |
|
twisted`
| but, seeing how this channel doesn't neccesarily have anything to do with Xcode it's a normal question imo | 16:26 |
|
impulze
| still no question | 16:26 |
|
SethRobertson
| FauxFaux: http://progit.org/book/ch3-5.html is OKish | 16:27 |
|
cmn
| is it telling you that file doesn't exist? | 16:27 |
|
FauxFaux
| Seriously, do people like you not actually want help? | 16:27 |
| → _iron joined | 16:27 |
|
FauxFaux
| SethRobertson: The first paragraph does a better job than I probably would have done. :) | 16:28 |
|
twisted`
| in Xcode I've added a remote repository, it's now (afaik) completely empty cause it has just been made. Now I want to commit/push my whole local git project to the remote server. | 16:28 |
| ← ajaykools left | 16:28 |
|
twisted`
| I do this using the Source Control -> Push method | 16:28 |
|
| however, it's done within 2s and I can't find anything in the remote repo in my Organizer | 16:28 |
|
weiyang
| FauxFaux, i run the command and shows, | 16:28 |
|
impulze
| did you commit yet? | 16:28 |
|
twisted`
| so either I'm doing something wrong (wrong config) or something | 16:28 |
| → saml joined | 16:28 |
|
weiyang
| remote/origin/next | 16:28 |
|
saml
| how can I undo changes of one file? | 16:28 |
|
weiyang
| remote/origin/upstream | 16:28 |
| ← senny left | 16:29 |
| ← arvind_khadri left | 16:29 |
|
FauxFaux
| saml: git checkout -- path/to/file # will destroy your changes for you. | 16:29 |
| ← Spockz left | 16:29 |
|
saml
| ah. tahnks. iw as doing git reset --hard HEAD | 16:29 |
|
FauxFaux
| There's basically no reasons to use reset unless git specifically tells you to. | 16:29 |
| ← kaushik_ left | 16:29 |
|
cmn
| twisted`: it might be using the matching rules, and as nothing matches in an empty repo, it's not pushing anything | 16:30 |
|
weiyang
| saml, git reset --hard HEAD will reset all the file | 16:30 |
| ← akosikeno left | 16:30 |
|
saml
| yup | 16:30 |
| → DaveIngram joined | 16:30 |
|
twisted`
| cmn: hmm... I just also read something about creating a new project, specifiying the remote git repo, do a checkout and then move my files into that new project | 16:31 |
|
weiyang
| FauxFaux, but I can't use git checkout remote/origin/next | 16:31 |
| → kaushik_ joined | 16:31 |
|
cmn
| and did it help or something? | 16:31 |
|
FauxFaux
| weiyang: Type "git checkout next". | 16:31 |
|
cmn
| you'd have to look at the xcode docs to see if it'll let you push out one branch | 16:31 |
|
| (or --all if you prefer) | 16:31 |
|
twisted`
| cmn: hmm ok | 16:32 |
|
cmn
| or just use the command line | 16:32 |
| → fermianyon joined | 16:32 |
|
SethRobertson
| weiyang: Why not? !repro | 16:32 |
|
gitinfo
| weiyang: please paste (e.g. using http://git.pastebin.com/) a transcript of your terminal session in which the problem occurred so that we can troubleshoot more easily. | 16:32 |
|
weiyang
| FauxFaux, oh... | 16:32 |
| → jamiejackson joined | 16:32 |
| ← sureaint left | 16:32 |
|
impulze
| oopsi | 16:32 |
|
SethRobertson
| weiyang: You can of course checkout origin/next (or remotes/origin/next) you just cannot commit to it since it is a detached head | 16:33 |
| → brian_g joined | 16:34 |
| → mando joined | 16:35 |
| ← spearce left | 16:35 |
| → papegaaij joined | 16:35 |
| → Yuuhi joined | 16:36 |
| → mandric joined | 16:37 |
| ← giallu left | 16:38 |
|
weiyang
| SethRobertson, http://pastebin.com/chUNRqsh | 16:38 |
|
| SethRobertson, maybe i use the wrong command | 16:39 |
|
| SethRobertson, so I should use "git checkout next " instead of "git checkout remote/origin/next"? | 16:39 |
| ← brainbox1100 left | 16:40 |
|
SethRobertson
| weiyang: It depends on what your goal is. What is your goal? | 16:40 |
|
| What do you want to do to the branches | 16:40 |
| → michaelh joined | 16:40 |
|
twisted`
| cmn: yeah just tried the commandline: git push reponame master | 16:40 |
|
| and I get back: Everything up-to-date | 16:40 |
| ← shruggar left | 16:40 |
|
weiyang
| SethRobertson, I am asked to compile the code for a specific branch | 16:40 |
| → shruggar joined | 16:41 |
|
weiyang
| SethRobertson, not the master branch | 16:41 |
|
SethRobertson
| weiyang: Then `git checkout origin/old-master; make` | 16:41 |
| → john2496 joined | 16:41 |
|
SethRobertson
| You do not need a local tracking branch (like next and master are) in order to check out a remote's branch. | 16:41 |
| ← Codif left | 16:42 |
| ← bauruine left | 16:43 |
| → akosikeno joined | 16:43 |
|
weiyang
| SethRobertson, not work, please see http://pastebin.com/BTeVLUa6 | 16:43 |
|
cmn
| twisted`: if git says so, then it's probably right | 16:43 |
|
twisted`
| I know my internet is fast but it cannot have sent 2.3M of files in less then 1s | 16:44 |
| → alvaro_o joined | 16:44 |
|
wereHamster
| twisted`: 'git checkout old-master' | 16:44 |
|
cmn
| git ls-remote reponame | 16:44 |
|
wereHamster
| with a recent enough git | 16:44 |
| ← alvaro_o left | 16:44 |
|
twisted`
| 023065515d5cc8a84d79ec36ae93de04b27608b5HEAD | 16:45 |
|
| 023065515d5cc8a84d79ec36ae93de04b27608b5refs/heads/master | 16:45 |
|
SethRobertson
| weiyang: It did work. git is just warning you that you cannot effectively commit. | 16:45 |
|
twisted`
| is all there is according to it | 16:45 |
|
cmn
| git rev-parse master should also give you that hash | 16:45 |
|
twisted`
| yep | 16:45 |
|
cmn
| then everything's fine | 16:46 |
| → gianlucadv joined | 16:47 |
| → SeySayux_ joined | 16:47 |
|
weiyang
| SethRobertson, then what is the difference between "git checkout old-master" and "git checkout origin/old-master" ? | 16:47 |
| ← jceb left | 16:47 |
|
wereHamster
| weiyang: one detaches head, the other doesn't | 16:48 |
|
SethRobertson
| `git checkout old-master` will, if old-master does not exist, create a local tracking branch tracking old-master to the remote tracking branch origin/old-master (which in turn tracks the origin's old-master branch) | 16:48 |
| SeySayux_ → SeySayux | 16:48 |
| → cylence joined | 16:48 |
|
SethRobertson
| weiyang: You can commit to old-master, since that is your local branch. You cannot commit to origin/old-master since it is (your copy of) the remote's branch. So git puts you in a detached head | 16:48 |
|
| The working directory will be identical in both cases | 16:49 |
|
weiyang
| SethRobertson, this makes me more clear | 16:49 |
|
SethRobertson
| Of course, the process of keeping old-master up to date is a little more complicated than keeping origin/old-master up to date. Not too bad | 16:49 |
| ← LongBeach left | 16:49 |
|
SethRobertson
| weiyang: Perhaps you should get some opaque makeup. The invisible man showed that being more clear isn't all that you might think it is. | 16:50 |
|
twisted`
| wtf!!!! | 16:50 |
| ← spvensko left | 16:50 |
|
twisted`
| it actually commited everything | 16:50 |
|
| amazingly quick | 16:50 |
|
weiyang
| SethRobertson, your last sentence makes me confused. | 16:51 |
| ← brngardner left | 16:51 |
|
SethRobertson
| weiyang: Don't worry about it. I was poking fun at your language usage by making a reference to http://en.wikipedia.org/wiki/The_Invisible_Man | 16:51 |
| → guns joined | 16:52 |
|
weiyang
| SethRobertson, at least I get the code of a specific branch. Thanks! | 16:52 |
|
| oh... | 16:52 |
|
| let me seee | 16:52 |
| ← kaushik_ left | 16:52 |
| → kaushik_ joined | 16:53 |
| ← johnathanb left | 16:53 |
|
cmn
| twisted`: you mean pushed? committing should always be very fast | 16:53 |
| → robde joined | 16:54 |
| ← robde left | 16:54 |
| → robottinosino joined | 16:54 |
|
cmn
| the 2.3M were probably pushed the first time when you weren't paying attention and you've been doing no-ops since | 16:54 |
| ← n8o-mba left | 16:54 |
| → gdmfsob joined | 16:55 |
| ← brian_g left | 16:55 |
| → jaequery joined | 16:55 |
| → johnathanb joined | 16:55 |
| ← mishok13 left | 16:56 |
| ← Fandekasp left | 16:56 |
| ← weiyang left | 16:56 |
|
twisted`
| cmn: well, I added the remote branch to Xcode and it was complaining about cannot doing a push cause not everything was comitted locally and once I did I went to Push to remote and it was *poof* done | 16:56 |
|
| but no matter... | 16:56 |
| ← robotmay left | 16:56 |
| → sureaint joined | 16:56 |
|
twisted`
| reminds me of compiling a Linux kernel on an insanely fast machine and it was done *too* quick (imo) so something *had* to be wrong ;) | 16:57 |
| → drev1 joined | 16:57 |
| → joshteam joined | 16:58 |
| → pidus joined | 16:58 |
| ← VladimirZ left | 16:59 |
| → MiiGo joined | 17:00 |
| → brian_g joined | 17:00 |
| → DofLeFou joined | 17:01 |
| ← brian_g left | 17:02 |
| ← whitman left | 17:02 |
| → AmirBehzad joined | 17:02 |
| ← ipalaus_ left | 17:02 |
| → brian_g joined | 17:03 |
| → brngardner joined | 17:03 |
| → zi joined | 17:05 |
| ← mklappstuhl left | 17:05 |
|
binjured
| is there a simple one-liner to tell me if my working directory is clean? | 17:06 |
|
SethRobertson
| git status? | 17:06 |
| ← papegaaij left | 17:07 |
| ← yshh left | 17:07 |
| → spearce joined | 17:08 |
| → alberto56 joined | 17:08 |
| ← zivester left | 17:09 |
| ← RaceCondition left | 17:09 |
| → iamjarvo joined | 17:10 |
| ← centipedefarmer left | 17:11 |
| ← kaushik_ left | 17:11 |
| ← Prasad left | 17:11 |
| ← Element9_work left | 17:12 |
| → Know1edge1 joined | 17:13 |
| gitinfo set mode: +v | 17:14 |
| ← jatt left | 17:14 |
|
Know1edge1
| whats the best way to get the contents of a remote repo but not get the .git data...like an svn export | 17:14 |
|
cmn
| archive --remote | 17:15 |
| → Element9_work joined | 17:15 |
| → kenichi joined | 17:15 |
|
Know1edge1
| ah thanks perfect | 17:15 |
|
| thanks cmn | 17:15 |
| → dzonder joined | 17:15 |
| ← iamjarvo left | 17:16 |
| → tewecske joined | 17:16 |
| ← t4nkd left | 17:17 |
| → iamjarvo joined | 17:17 |
| ← iamjarvo left | 17:17 |
| ← Vile left | 17:18 |
| → marthinal_ joined | 17:18 |
| → vjacob joined | 17:18 |
| ← Element9_work left | 17:18 |
| → Vile joined | 17:18 |
|
vjacob
| hello all | 17:19 |
| → Heisenmink joined | 17:20 |
| ← marthinal left | 17:20 |
| → jaalto joined | 17:20 |
| → Targen joined | 17:21 |
| → lugzer joined | 17:21 |
| ← tcurdt left | 17:21 |
|
jaalto
| Would anyone have idea why simple "git clone" doesn't clone all branches? http://pastebin.com/n44utH21 Or is it something I forgot? | 17:22 |
| → Voziv joined | 17:22 |
| ← DaveIngram left | 17:23 |
| → zivester joined | 17:23 |
|
vjacob
| any of you use egit and know how to relocate/or "refacture" the location of a repository in terms of local directory? | 17:23 |
|
zi
| Why doesn't git work, when I set default shell to /bin/false? | 17:24 |
|
PerlJam
| jaalto: looks like it cloned all *local* branches to me | 17:24 |
| ← mando left | 17:24 |
| → DaveIngram joined | 17:24 |
|
jaalto
| PerlJam: Why did it not clone remotes/origin/pristine-tar ? | 17:24 |
| ← thannoy left | 17:24 |
| ← joch_n left | 17:25 |
|
jaalto
| PerlJam: Never mind. I get it now. | 17:25 |
|
| PerlJam, obvious, yes. Thanks. | 17:25 |
| → joch_n joined | 17:25 |
| → macmartine joined | 17:26 |
| ← joch_n left | 17:26 |
| ← dzonder left | 17:27 |
| → maletor joined | 17:27 |
| ← gnufied left | 17:27 |
| → kennethreitz joined | 17:27 |
| ← soulcake_ left | 17:28 |
| ← marthinal_ left | 17:28 |
|
vjacob
| so like moving the location of the repositories (multiple) from C:\repositories to X:\git-repos and updatin eclipse/egit config accordingly? | 17:28 |
| ← DaveIngram left | 17:29 |
| → bindaasomatic joined | 17:30 |
| ← gianlucadv left | 17:33 |
| ← LimeBlast left | 17:33 |
| → marthinal joined | 17:34 |
| → friskd joined | 17:34 |
| ← friskd left | 17:35 |
| → russ joined | 17:35 |
| ← jajmon left | 17:36 |
| → cybersphinx joined | 17:36 |
| ← russ left | 17:36 |
| → mgpcoe joined | 17:36 |
| → churp joined | 17:37 |
| → rustifer joined | 17:37 |
| ChanServ set mode: +v | 17:38 |
| → friskd joined | 17:38 |
| → ipalaus_ joined | 17:38 |
| ← the_cybersphinx left | 17:38 |
|
lugzer
| Soda theme no good anymore, new update is breaking the "modified" flag in a tab | 17:39 |
| → ziggles joined | 17:39 |
|
lugzer
| probably Soda needs an update ;) | 17:39 |
| → kenperkins joined | 17:39 |
|
EugeneKay
| Cool story bro. | 17:40 |
|
lugzer
| EugeneKay, all - sorry, wrong chan! :/ | 17:40 |
|
EugeneKay
| ;-) | 17:40 |
| ← padams left | 17:41 |
| ← sureaint left | 17:42 |
|
rustifer
| So, came in to ask a question about setting up a work flow. My normal process is to get some files together, do a git init, set up an unfuddle repository, add a remote master, do a git push. | 17:43 |
| ← ph^ left | 17:43 |
| → Gorkyman joined | 17:43 |
|
rustifer
| I was just handed a zip archive of someone's work dir that already includes .git and configuration | 17:43 |
| → sureaint joined | 17:43 |
|
rustifer
| I'm sure I could just rip it out and set up a new repo but that seems counterproductive. | 17:43 |
|
EugeneKay
| Unzip & use. | 17:44 |
|
wereHamster
| NO, THAT'S TOO EASY! | 17:44 |
|
rustifer
| Don't be silly. I don't have credentials for that other repo. | 17:44 |
|
EugeneKay
| You'll probably need to fiddle the remotes and such | 17:44 |
|
wereHamster
| rustifer: of course you have. It's yours | 17:44 |
| ← Gorkyman_ left | 17:44 |
|
wereHamster
| the zip archive is yours, correct? | 17:44 |
|
rustifer
| The zip archive was handed to me by the client | 17:45 |
|
wereHamster
| rustifer: but you now do have access to all the files within it | 17:45 |
|
rustifer
| It has their .git stuff. | 17:45 |
|
wereHamster
| so what? | 17:45 |
|
| you have read and write access to everythign within the zip if you extract it, right? | 17:45 |
| ← alansaul left | 17:45 |
|
wereHamster
| so first step: extract the archive somewhere | 17:45 |
| ← lonewulf` left | 17:45 |
|
rustifer
| Yes, yes, but we keep all our repos at unfuddle.com, less of a distributed model. | 17:45 |
| → patrick99e99 joined | 17:45 |
|
wereHamster
| step 2: cd into that directory, and push the code into your unfuddle repository | 17:46 |
| → alester joined | 17:46 |
|
rustifer
| ... could it be that simple? | 17:46 |
| ← dreiss left | 17:46 |
| → disappea_ joined | 17:46 |
| → kaushik_ joined | 17:46 |
|
rustifer
| I'm overthinking the problem, aren't I? | 17:46 |
|
wereHamster
| you know.. distributed and that stuff.. | 17:46 |
| → fir31ight joined | 17:47 |
|
rustifer
| You've been very reassuring. Thanks! | 17:47 |
| → tomislater joined | 17:49 |
| ← Vampire0_ left | 17:49 |
| ← VladGh left | 17:49 |
| ← ASIRINeiluj left | 17:50 |
| → billy_ran_away joined | 17:51 |
| ← sureaint left | 17:51 |
| ← achadwick left | 17:51 |
|
billy_ran_away
| Is there a way to revert a single file from a commit? | 17:51 |
| → Araxia_ joined | 17:51 |
|
FauxFaux
| billy_ran_away: git checkout THATCOMMIT~ -- path/to/file will grab the version of the file from the previous commit. | 17:52 |
|
billy_ran_away
| And how can I get a listing of merge commit's parents? I.e. which parent was 1 and 2? | 17:52 |
|
| FauxFaux: Awesome, why didn't I think of that... | 17:52 |
| ← kaushik_ left | 17:52 |
|
billy_ran_away
| FauxFaux: Thanks! | 17:52 |
| → delight joined | 17:54 |
|
wereHamster
| billy_ran_away: <commit>^1 is first parent, ^2 second parent and so on | 17:55 |
|
FauxFaux
| billy_ran_away: And "git show" shows the merge parents, in order. | 17:55 |
| → tystr joined | 17:56 |
|
billy_ran_away
| FauxFaux: Okay cool | 17:56 |
| ← marthinal left | 17:56 |
|
billy_ran_away
| wereHamster: THanks | 17:56 |
| ← csgeek left | 17:57 |
| ← lugzer left | 17:57 |
| ← LouisJB left | 17:58 |
| ← magnus___ left | 17:59 |
| ← shruggar left | 17:59 |
| ← overbythere left | 17:59 |
| ← vjacob left | 17:59 |
| → csgeek joined | 17:59 |
| ← disappea_ left | 18:01 |
| → marthinal joined | 18:01 |
| ← nikuyoshi left | 18:02 |
| → iamjarvo joined | 18:04 |
| → lobolife joined | 18:05 |
| → davidcoallier joined | 18:05 |
| → Spockz` joined | 18:06 |
| ← ipalaus_ left | 18:06 |
| ← scelis left | 18:06 |
|
iamjarvo
| say there is a branch called new-design and then there is a staging branch, then there is feature branch i am working on. i should merge my branch into new-design and then merge new-design into staging ? question about process | 18:06 |
| → ipalaus_ joined | 18:06 |
| → Vampire0_ joined | 18:07 |
| → kpreid joined | 18:09 |
| → apok joined | 18:09 |
| → kevwil joined | 18:09 |
| ← rockfruit left | 18:10 |
| → codeshah joined | 18:10 |
| → t4nkd joined | 18:12 |
| tizzo → tizzo-afk | 18:12 |
| → secoif joined | 18:14 |
| → dvide_ joined | 18:17 |
| → spvensko joined | 18:17 |
| ← dvide left | 18:19 |
| ← spvensko left | 18:20 |
| → aldodelgado joined | 18:20 |
| ← pikpik left | 18:20 |
| ← JEEB left | 18:22 |
| → Goplat joined | 18:22 |
| tizzo-afk → tizzo | 18:23 |
| → Chillance joined | 18:23 |
| → LouisJB joined | 18:23 |
| ← brian_g left | 18:24 |
| ← brngardner left | 18:25 |
| → gianlucadv joined | 18:26 |
| ← abetaha left | 18:26 |
| → dreiss joined | 18:27 |
| → Topcat joined | 18:28 |
|
Voziv
| When I do a git push I get the error "! [rejected] HEAD -> refs/for/refs/heads/master (non-fast-forward)" If I do a "git push origin master" it works fine. Any idea why it tries to push HEAD -> refs/for/refs/heads/master by default? | 18:28 |
| → fr0sty|mobile joined | 18:28 |
|
steveoliver
| Should I be able to just pop a .gitmodules file into a repo and git submodule init to get them started up (checked out)? | 18:28 |
|
Topcat
| is there an equivilent to git add . like git rm . that won't empty my whole project | 18:28 |
|
steveoliver
| *a populated .gitmodules file, of course | 18:29 |
|
thiago
| Voziv: did you configure anything in .git/config? | 18:30 |
| ← fr0sty left | 18:30 |
|
Voziv
| Me personally, no, but I do see the line "push = HEAD:refs/for/refs/heads/master" under my remote | 18:31 |
|
| Sorry, in .git/config under the remote section | 18:32 |
| → tanob joined | 18:33 |
| → nadirvardar joined | 18:33 |
| → JEEB joined | 18:34 |
| ← babilen left | 18:35 |
|
tanob
| hey guys, sometimes I'm getting failures on "unpack-objects" when doing a `git fetch`: https://gist.github.com/1602271 Any idea on why is this happening or how to debug/fix? | 18:37 |
|
matthiaskrgr
| I'm not a git dev, but did you try checking if /tmp/ is full ? | 18:38 |
| → DarkAR joined | 18:39 |
| → aspotashev joined | 18:39 |
|
tanob
| matthiaskrgr: actually no, let me check that | 18:39 |
| ← mugwump left | 18:39 |
|
matthiaskrgr
| :) | 18:39 |
| → Gorkyman_ joined | 18:40 |
| → VladGh joined | 18:40 |
| ← psakrii left | 18:41 |
| ← Gorkyman left | 18:42 |
| ← canton7 left | 18:43 |
| ← kevwil left | 18:43 |
| → kevwil joined | 18:43 |
|
steveoliver
| I'm trying to take a populated .gitmodules file from one existing repo and copy it into another, effectively adding all the same submodules to the second repo... init and update don't do anything, and status doesn't show any registration of the submodules.... Ideas? | 18:43 |
| ← cortana2 left | 18:45 |
| → abetaha joined | 18:45 |
|
tanob
| matthiaskrgr: /tmp isn't full | 18:45 |
|
matthiaskrgr
| mh | 18:45 |
|
| meh, it was just an idea :P | 18:45 |
|
tanob
| but I see that the repo is broken, I can't run `git status`, it says "unable to read tree …" | 18:46 |
|
matthiaskrgr
| I'd try to run git gc or git fsck and try again no idea if that helps | 18:46 |
|
GNUcifer
| tanob: maybe permissions? | 18:46 |
| ← ahmedkotb left | 18:47 |
|
SethRobertson
| steveoliver: You also need to `git add` the submodule at the correct SHA checkout. | 18:47 |
|
GNUcifer
| or filesystem errors .. | 18:47 |
| ← ziggles left | 18:48 |
| → brian_g joined | 18:48 |
| ← menace left | 18:48 |
| → Suhana joined | 18:48 |
| ← empity left | 18:48 |
|
SethRobertson
| steveoliver: submodules consist of three bits of state. .git/config, .gitmodules, and the committed work tree SHA state. The last two are committed state. | 18:48 |
| → LouisJB_ joined | 18:48 |
| ← Spockz` left | 18:49 |
|
tanob
| GNUcifer: permissions are ok, just checked. About FS errors, how could I check that? | 18:49 |
| ← marthinal left | 18:49 |
|
GNUcifer
| how did you obtained that repo, git clone? | 18:49 |
| ← LouisJB left | 18:49 |
| LouisJB_ → LouisJB | 18:49 |
|
cmn
| tanob: can you change the script so it runs on /home/ maybe? | 18:50 |
|
steveoliver
| SethRobertson: are you saying there's no real way to shortcut like I'm trying to? I've got to add each submodule manually? | 18:50 |
| → kahrl joined | 18:50 |
| → Prateek joined | 18:50 |
| Prateek → Guest15958 | 18:50 |
|
SethRobertson
| Yes and no. You can copy the .gitmodules and then you can copy the repos checked out at the right SHA into the correct paths, and then you can `git add` the correct paths. However, you cannot do it by just copying .gitmodules. | 18:51 |
|
tanob
| cmn: that is the output of a job in the project's CI server, I could copy the repo to the home directory and try to fetch from there, but I believe the repo is a broken state, right? | 18:51 |
|
| GNUcifer: yes, the CI server did a git clone in the very first job it ran | 18:51 |
|
cmn
| maybe, maybe not | 18:51 |
|
| the error comes locally | 18:52 |
|
GNUcifer
| dunno really .. needs some debugging, which CI do you use? | 18:52 |
|
cmn
| at least the output seems to come from rev-lit | 18:52 |
|
steveoliver
| SethRobertson: I think that makes sense | 18:52 |
| ← Guest15958 left | 18:52 |
| ← rustifer left | 18:52 |
|
tanob
| GNUcifer: Go | 18:52 |
|
cmn
| if the repop were corrupted on the remote, upload-pack should have complained | 18:52 |
|
| can you cone it to your machien? | 18:52 |
| ← delight left | 18:53 |
| ← kahrl_ left | 18:53 |
|
tanob
| cmn: yes, we have the repo cloned in all dev machines and we don't have that issue locally | 18:53 |
|
GNUcifer
| maybe the ci does some cleanup it isnt supposed to do | 18:54 |
| ← robottinosino left | 18:54 |
|
tanob
| cmn: and yes, rev-list is crying "error: Could not read df4a53ec7432445ca73bc0ffe4c04c4857a89409" | 18:54 |
|
cmn
| well if you can clone on your machine, but the clone to /tmp on the CI fails, that's a strong hint that the problem is in whatever the CI does | 18:55 |
|
| cloning to /tmp is probably not the best idea | 18:55 |
|
| are you sure that you have enough space there? many distros put that in tmpfs, so you don't have that much storage space there | 18:55 |
|
Harzilein
| can i have git log show me the commits as HEAD~n tree-ishs? | 18:55 |
| → jceb joined | 18:55 |
|
tanob
| I could probably clone the repo again on the CI machine, I believe the repo got corrupted at some point in time | 18:55 |
|
cmn
| have you run 'git fsck' on the remote repo? | 18:56 |
|
tanob
| cmn: the remote repo is hosted at codebasehq | 18:56 |
| ← mercutio22 left | 18:57 |
|
cmn
| I've no idea what that is; some hoster? | 18:57 |
|
tanob
| cmn: and about the /tmp space, there isn't any mount point for /tmp, just "/dev/simfs on / type simfs (rw,relatime)", there are 6.2G free | 18:57 |
|
| cmn: yep, it is like github | 18:58 |
| → OOPMan joined | 18:58 |
| → blueadept joined | 18:58 |
|
cmn
| OK, so it's not space, can you do a clone from your machine? | 18:58 |
| ← Vile left | 18:58 |
|
tanob
| cmn: yes | 18:58 |
|
blueadept
| how do you get the status of how many lines have been deleted and added before you commit ? | 18:58 |
| → Vile joined | 18:58 |
|
cmn
| then the CI is doing somthing wrong | 18:58 |
|
tanob
| could it get corrupt because of connection errors? | 18:58 |
|
blueadept
| like i do git status, but only see modified files | 18:58 |
|
cmn
| blueadept: you mean the --stat option to diff ? | 18:59 |
| ← lapistano left | 18:59 |
| → metcalfc joined | 18:59 |
| ← beatak left | 18:59 |
|
blueadept
| ah yes, cool | 18:59 |
| → lapistano joined | 18:59 |
|
blueadept
| thanks! | 18:59 |
| → detaer joined | 19:00 |
| → agliodbs joined | 19:01 |
| ← secoif left | 19:01 |
|
agliodbs
| what's the name of the base git package on ubuntu? I can't seem to find it | 19:01 |
|
FauxFaux
| git | 19:01 |
| → beatak joined | 19:01 |
|
tanob
| cmn: i've copied the repo to my machine and it is really corrupted | 19:02 |
| ← steveoliver left | 19:02 |
|
cmn
| agliodbs: if it's old, it might be git-core | 19:02 |
| ← OOPMan left | 19:02 |
|
agliodbs
| git-core | 19:03 |
|
cmn
| tanob: you mean the one that the CI failed to clone properly, right? | 19:03 |
|
agliodbs
| apparently, thanks | 19:03 |
| → mercutio22 joined | 19:03 |
|
tanob
| cmn: the error is fetching | 19:03 |
|
Harzilein
| anyone? | 19:03 |
|
cmn
| tanob: silly me, I've been thinking it was a clone | 19:04 |
|
tanob
| cmn: yes, I've scp'ed the repo from the CI server to my machine | 19:04 |
|
cmn
| maybe the tree that's failing was fetched at some point in the past | 19:04 |
| → LouisJB_ joined | 19:05 |
|
cmn
| and has since been corrupted by power failure, bad blocks or some such | 19:05 |
|
| does git fsck report heavy damage? | 19:05 |
|
tanob
| haven't done it yet | 19:05 |
| ← jceb left | 19:05 |
| ← detaer left | 19:05 |
| ← gdmfsob left | 19:05 |
|
tanob
| lots of broken links and missing blobs | 19:05 |
| → detaer joined | 19:05 |
| ← detaer left | 19:06 |
| → crisp joined | 19:06 |
| → detaer joined | 19:06 |
| → marthinal joined | 19:06 |
| ← LouisJB left | 19:07 |
| LouisJB_ → LouisJB | 19:07 |
|
cmn
| well, something blew up there | 19:07 |
|
| the large amount of missing blobs might just be unpack-objects not finishing properly | 19:07 |
| ← cakehero left | 19:08 |
|
cmn
| if there were missing or corrupt objects and the server sent a thin pack, it would account for the breakage | 19:08 |
| → hwit joined | 19:09 |
| → jceb joined | 19:09 |
| ← vdv left | 19:10 |
| ← CrazyTux[m] left | 19:11 |
| → dorkmafia joined | 19:11 |
| ← ngulden left | 19:11 |
| → robde_ joined | 19:12 |
| ← kermit left | 19:15 |
| → Crewe joined | 19:15 |
| ← gjoseph left | 19:16 |
|
tanob
| cmn: i'm going to delete the existing cache repo and watch if this happens again in the future | 19:16 |
|
| thanks guys! | 19:17 |
|
cmn
| that'll be the easiest option, yeah | 19:17 |
|
| you might want to schedule a fsck on the server | 19:17 |
|
GNUcifer
| does the CI system run client commands (including git) under some restrictions (ulimits)? | 19:18 |
|
cmn
| git generally doesn't kill its own repo | 19:18 |
| → OOPMan joined | 19:19 |
| → MANCHUCK joined | 19:19 |
| ← faber left | 19:20 |
| → ocharles joined | 19:22 |
|
ocharles
| hey, does anyone know how to generate a patch from a repository against the very start of it? | 19:22 |
|
| ie, dump the entire current tree as a patch file | 19:22 |
| → ericdc joined | 19:22 |
|
FauxFaux
| ocharles: git checkout --orphan OMGPONIES && git diff master | 19:22 |
|
malphaet
| dude | 19:23 |
| ← BlaDe^ left | 19:23 |
|
ocharles
| FauxFaux: naw, that doesn't seem to work | 19:23 |
| → btx94 joined | 19:24 |
| → cccaldas_ joined | 19:24 |
|
tanob
| GNUcifer: I'm not aware of that | 19:24 |
|
FauxFaux
| ocharles: Can probably make it work. --cached, rm .git/index, etc. | 19:25 |
| → Cromulent joined | 19:25 |
|
GNUcifer
| well there must be some reason, had a unexpected reboot or power failure? | 19:25 |
| → spvensko joined | 19:26 |
| ← spvensko left | 19:26 |
| → spvensko joined | 19:26 |
| → btanaka joined | 19:26 |
| ← spvensko left | 19:26 |
|
cmn
| git diff master would compare the worktree with the master branch, which is probably equal | 19:26 |
| ← marthinal left | 19:26 |
|
cmn
| git diff HEAD master should either work or blow up on your face | 19:26 |
|
ocharles
| right | 19:26 |
|
yrlnry
| Is there way to ask git-log to list commits that touch any file whose name has the form *.notyet, regardless of where such files appear in the tree ? | 19:27 |
| ← cccaldas left | 19:27 |
| → whyking_ joined | 19:27 |
|
cmn
| yrlnry: git log -- '*.notyet' should do it | 19:27 |
|
MANCHUCK
| is there a way i can turn a branch into a submodule? | 19:28 |
|
GNUcifer
| man git-filter-branch | 19:28 |
|
gitinfo
| the git-filter-branch manpage is available at http://jk.gs/git-filter-branch.html | 19:28 |
| → dankest joined | 19:28 |
| ← dankest left | 19:28 |
|
GNUcifer
| err .. that was for dirs .. branche (heads) can be submodules by just committing them as submodules | 19:29 |
| ← whyking left | 19:29 |
|
yrlnry
| cmn: Thanks, I see what happened. I tried it without quotes by mistake, and of course the shell expanded the * and so I got only the commits touching files in the current directory. | 19:29 |
|
cmn
| indeed | 19:29 |
|
| GNUcifer uses that to have submodules as branches in the same repo as the main stuff | 19:29 |
|
GNUcifer
| its a bit tricky to set up | 19:29 |
| → spvensko joined | 19:30 |
|
MANCHUCK
| Well i have the CMS Expression Engine and a branch and Magento in the master I want to make the Expression Engine branch be in its own folder. I figured that converting that branch to a submodule then adding that submodule to my Magento branch will do the trick | 19:30 |
| ← spvensko left | 19:30 |
| → spvensko joined | 19:30 |
|
yrlnry
| Is there a way to get git-log's --stat option to mention zero-length files? It seems to omit them. | 19:30 |
| → babilen joined | 19:30 |
| → jetienne joined | 19:30 |
|
yrlnry
| I want to see which *.notyet files were touched in each commit, but each one is zero-length. | 19:31 |
|
| Hmm, maybe dirstat. | 19:31 |
| → ManDay joined | 19:31 |
|
tanob
| GNUcifer: definitely there is a reason for this, it happened in 3 of 20 agents that we have in our CI system, but it is difficult to track this kind of issue | 19:31 |
|
cbreak
| touched? | 19:31 |
|
yrlnry
| created or deleted. | 19:31 |
| → mishok13 joined | 19:31 |
|
cbreak
| git log -- file? | 19:32 |
|
ManDay
| Does git create junk in my .git dir? I just stumbled across ".sample" file. What kind of crap is that? Does it also put a full copy of the documentation into every .git dir? | 19:32 |
|
cbreak
| or if you want to view from the other side, git log --name-only and then grep those you want to have | 19:32 |
|
| ManDay: no | 19:32 |
|
yrlnry
| cbreak: I do git log --stat -- '*.notyet' and I want to see, for each commit, which "noetyet" files were created or deleted. But because they are all 0-length, --stat omits them | 19:32 |
| → nwp_ joined | 19:33 |
|
ManDay
| cbreak: Thank you, here is your award for most obvious answer of the evening. | 19:33 |
|
cbreak
| not obvious for you to answer it I guess :) | 19:33 |
|
| but thanks | 19:33 |
|
GNUcifer
| --prefix=.git .. make install :) | 19:33 |
|
ManDay
| I was being sar-cas-tic... | 19:33 |
| → drizzd joined | 19:33 |
|
cbreak
| yrlnry: even --name-only? | 19:33 |
| ← crisp left | 19:34 |
|
yrlnry
| cbreak: --name-only is perfect, thanks. | 19:34 |
| → crisp joined | 19:35 |
| ← ajt left | 19:36 |
|
Harzilein
| so | 19:37 |
| ← mishok13 left | 19:37 |
| → mando joined | 19:37 |
| → maheshk_ joined | 19:38 |
|
Harzilein
| this might be common but i have not found it: i started with a history-less checkout (from last night). now there _is_ another repo whose history i would like to have in my branch (i already added a branch that tracks it). so now i have a history-less branch, a branch with the full history and a commit-id from shortly after my distribution tarball. how can i merge those? | 19:39 |
|
yrlnry
| Harzilein: you can add the other repo as a remote, and fetch it into the historyless repo. | 19:39 |
|
| Then you can rebase the fetched history onto your branch. | 19:39 |
|
Harzilein
| yrlnry: as i said, i already added the repo for a new branch | 19:40 |
|
yrlnry
| Then you can rebase the fetched history onto your branch. | 19:40 |
|
| Maybe I don't understand the question. | 19:40 |
|
Harzilein
| yrlnry: so now i have a branch with history and one without. i want all the history (and of course as i modified my version, do merges where necessary) | 19:40 |
|
| oops | 19:41 |
| → pantsman joined | 19:41 |
| ← pantsman left | 19:41 |
| → pantsman joined | 19:41 |
|
cbreak
| history less? | 19:41 |
|
Harzilein
| all the history back to a certain commit | 19:41 |
| → mloskot joined | 19:41 |
|
cbreak
| you mean an --orphan? | 19:41 |
| ← mloskot left | 19:41 |
| → mloskot joined | 19:41 |
|
Harzilein
| historyless as in "without the remote history in it" | 19:41 |
|
| it has my changes though | 19:41 |
| ← Cromulent left | 19:41 |
| ← tanob left | 19:41 |
|
cbreak
| git can not make history less clones | 19:41 |
|
| one of the few ways to start new history is to git init a fresh repo | 19:42 |
|
Harzilein
| i did not clone it originally. i used a distribution tarball. | 19:42 |
|
bremner
| git-archive ? | 19:42 |
|
EugeneKay
| git clone --depth | 19:42 |
|
cbreak
| or to use something like git checkout --orphan | 19:42 |
|
EugeneKay
| It's a hack, but it /can/.... | 19:42 |
|
Harzilein
| sorry? | 19:42 |
|
cbreak
| --depth doesn't give you that eugen | 19:42 |
|
Harzilein
| i think we are all confused | 19:42 |
|
cbreak
| it still has history | 19:42 |
|
| you just don't have it local | 19:42 |
|
jetienne
| q. on macos, the fs ignore char cases. is there a way to force git to not ignore it ? | 19:42 |
|
EugeneKay
| Terminology, I spose | 19:42 |
|
proq
| am I correct in noticing that when I have uncommitted changes, then checkout a different branch, I can commit my changes to the branch I just switched to? | 19:42 |
|
cbreak
| if you git init a fresh repo from an archive | 19:42 |
| ← beatak left | 19:42 |
|
cbreak
| then you can just merge it | 19:42 |
|
| or rebase onto the commit the archive was made form | 19:43 |
|
| and then merge it | 19:43 |
|
Harzilein
| again | 19:43 |
|
cbreak
| (that's what I'd do) | 19:43 |
| → marthinal joined | 19:43 |
| ← pfsmorigo left | 19:43 |
|
EugeneKay
| jetienne - man git-config for "core.ignorecase" | 19:44 |
|
gitinfo
| the git-config manpage is available at http://jk.gs/git-config.html | 19:44 |
|
cbreak
| jetienne: git doesn't ignore case | 19:44 |
|
jetienne
| EugeneKay: Oh this exists ? too cool, i will read | 19:44 |
|
cbreak
| not even on mac os | 19:44 |
|
EugeneKay
| cbreak - I /think/ core.ignorecase might default to true on some OS Xes | 19:44 |
|
cbreak
| it all depends on the file system you use | 19:45 |
|
jetienne
| cbreak: macos fs does and this create significant issue with renaming | 19:45 |
|
EugeneKay
| (rather, git distros) | 19:45 |
|
proq
| mac os? no one has used that for 11 years | 19:45 |
| ← tgunr left | 19:45 |
| ← LouisJB left | 19:45 |
|
Harzilein
| so | 19:45 |
|
EugeneKay
| I'm lucky enough to not own any Apple products myself | 19:45 |
|
cbreak
| proq: there's a new version that's rather nice | 19:45 |
|
proq
| cbreak: no, there isn't | 19:45 |
|
| 9.2.2 isn't new or nice | 19:45 |
| → sontek joined | 19:45 |
|
cbreak
| you should look up version 20 | 19:45 |
|
Harzilein
| i added the local "upstream" branch (which in turn has the upstream as remote) as upstream to my "ugly" branch | 19:46 |
|
jetienne
| proq is stuck in the 90s :) | 19:46 |
| → oso96_2000 joined | 19:46 |
|
sontek
| I need to pull a commit out of master and push it to a branch (its not as good as I thought when I pushed it) | 19:46 |
|
| is this easy? | 19:46 |
|
proq
| jetienne: no, your lingo is | 19:46 |
|
Harzilein
| how can i now effect the rebase/merge to start with a certain commit id? | 19:46 |
|
jetienne
| EugeneKay: well thanks i will look | 19:46 |
|
| proq: carefull my lingo is just behind you | 19:46 |
|
cbreak
| Harzilein: do what I proposed above: | 19:46 |
| ← jetienne left | 19:46 |
|
cbreak
| git rebase --onto the commit the archive was built from | 19:46 |
|
Harzilein
| and can i somehow make it incrementally? as in rebase until there is a conflict, merge, then continue adding history until the next conflict? | 19:46 |
|
proq
| it's called os x. "mac os" hasn't been updated in a decade | 19:47 |
| → beatak joined | 19:47 |
|
EugeneKay
| Apple Mac OS X 10.8 Giant Cat RC2 x64 Intel nocompat Hurd | 19:47 |
| ← bindaasomatic left | 19:47 |
|
cbreak
| Harzilein: why? | 19:47 |
|
Harzilein
| cbreak: again, i don't _know_ which commit my files are from. i have identified a commit where it would make sense for my histoy to be merged into theirs | 19:48 |
|
| s/my history/my local changes/ | 19:48 |
|
cbreak
| Harzilein: no version number or date/time? | 19:48 |
|
Harzilein
| no | 19:48 |
|
proq
| EugeneKay: is that supposed to prove something? | 19:48 |
|
cbreak
| try to find a commit that looks similar then. or just pick one. | 19:48 |
| → tgunr joined | 19:48 |
|
cbreak
| the closer it is to the one you had, the less likely there will be conflicts | 19:48 |
|
EugeneKay
| proq - that people are obsessed with names in the face of an obvious reality. | 19:48 |
|
cbreak
| Harzilein: due to your special circumstances, you probably want to use the --root flag for rebase too | 19:49 |
|
proq
| EugeneKay: Mac OS is an insecure operating system with no kernel. os x is based on BSD. welcome to 2012. | 19:49 |
|
| EugeneKay: it has a different name because they have nothing in common | 19:49 |
|
EugeneKay
| proq - and it's GNU/Linux, not "linux". Yes, yes, whatever. | 19:49 |
|
cmn
| my MacBook claims to be running Mac OS version 10 | 19:49 |
|
cbreak
| no kernel? | 19:49 |
|
Harzilein
| cbreak: that's what i did | 19:49 |
|
cbreak
| Harzilein: if you get a conflict, resolve it, git add the files, git rebase --continue | 19:50 |
| ShooterMG → ShooterMG_lunch | 19:50 |
|
cbreak
| repeat until the branch is rebased completely | 19:50 |
|
| after that you can merge it | 19:50 |
| → infogulch joined | 19:50 |
|
cbreak
| I'd advise against doing anything like merging during the rebase | 19:50 |
| ← tatsuya_o left | 19:50 |
|
Harzilein
| cbreak: basically i wrote a git-tarball.sh: TREEISH="master~$1" ; git archive "$TREEISH" > ../prvm-tarball || exit 1 ; shortcommit=`git get-tar-commit-id < ../prvm-tarball | head -c 12` ; mv ../prvm-tarball ../prvm-tarball-"$1"-"$shortcommit".tar | 19:50 |
| ← t4nkd left | 19:50 |
|
cbreak
| (because it'd introduce ahuge bit of new history with potential conflicts) | 19:50 |
|
Harzilein
| cbreak: then ran: for i in `seq 0 100` ; do git-tarball "$i" || break ; done | 19:51 |
|
| cbreak: and after for i in `seq 0 7` ; do (cd prvm-check && rm -fr * && tar xf ../prvm-tarball-"$i"-* ; echo "$i" ; git diff --color=always ../prvm/ . ) ; done | less -R | 19:51 |
|
cbreak
| and what for? | 19:51 |
| → jerQ joined | 19:53 |
| ← amigojapan left | 19:53 |
| ← noisebleed left | 19:53 |
|
Harzilein
| cbreak: first i excluded those commits where i have files they don't have. then i searched for the first that makes sense (does not remove my files, has commits that look like the future, not the past) | 19:54 |
| → _macro joined | 19:54 |
| → t4nkd joined | 19:54 |
|
cbreak
| you could just use git log and look for a commit with the same tree hash as your original one | 19:54 |
|
Harzilein
| i'm not sure such a thing exists... how do i compute the tree hash from some unmanaged directory btw? | 19:55 |
| ← hwit left | 19:55 |
|
cbreak
| make it a git repository | 19:55 |
|
| commit | 19:56 |
|
| instant tree hash :) | 19:56 |
|
| besides, didn't you say you had a git repository already? | 19:56 |
|
| just take the tree hash of the initial commit | 19:56 |
| ← marmaladex left | 19:56 |
|
cbreak
| if they used git archive, and didn't filter out files, then you should get the same for the first commit... | 19:56 |
|
| should. | 19:56 |
| ← jaequery left | 19:56 |
|
cbreak
| lots of things that can go wrong of course :) | 19:57 |
| ← kennethreitz left | 19:57 |
|
proq
| EugeneKay: odd notion. I don't refer to my ubuntu and debian systems as "linux" | 19:58 |
|
bremner
| guys, please, drop it | 19:59 |
| ← ipalaus_ left | 19:59 |
| ← MiiGo left | 19:59 |
| → dbdot joined | 20:00 |
| → tomislater2 joined | 20:00 |
| ← infogulch left | 20:00 |
| ← pidus left | 20:00 |
| ← swombat left | 20:00 |
| ← tomislater left | 20:01 |
| ← bartek left | 20:02 |
| → gjoseph joined | 20:02 |
| → infogulch joined | 20:02 |
| → vdv joined | 20:02 |
| → ASIRINeiluj joined | 20:03 |
| ← FernandoBasso left | 20:03 |
| ← spvensko left | 20:04 |
| → tsujiban joined | 20:04 |
| → bartek joined | 20:05 |
| ← Targen left | 20:05 |
| ← kevwil left | 20:06 |
| → kevwil joined | 20:06 |
| → brngardner joined | 20:07 |
| ← kevwil left | 20:07 |
| → devth joined | 20:07 |
|
devth
| there's no short flag for --amend is there? (getting tired of typing amend) | 20:07 |
| ShooterMG_lunch → ShooterMG | 20:07 |
| ← khmarbaise left | 20:07 |
| → ipalaus_ joined | 20:07 |
|
EugeneKay
| man git-commit | 20:08 |
|
gitinfo
| the git-commit manpage is available at http://jk.gs/git-commit.html | 20:08 |
|
devth
| yeah. i read it. | 20:08 |
|
| confirming there's no undocumented flag | 20:08 |
|
EugeneKay
| Doubt it. Feel free to abuse alias, though. | 20:08 |
|
devth
| k. will do | 20:08 |
|
dbdot
| i was using drupal features on a blog content type, more files than were expected show as changed | 20:08 |
| ← AmirBehzad left | 20:09 |
|
devth
| cia = commit -a --amend it is | 20:09 |
|
cmn
| did those files not change? | 20:09 |
|
| EugeneKay calls the black helicopters | 20:10 |
|
dbdot
| the diff warning indicates crlf used vs lf, how to reset these files? | 20:10 |
| → LouisJB joined | 20:10 |
|
dbdot
| i can run them through dos2unix but they still show as changed | 20:11 |
|
devth
| EugeneKay: :D | 20:11 |
| → tatsuya_o joined | 20:11 |
| ← LouisJB left | 20:11 |
| ← ManDay left | 20:11 |
| dwmw2_gone → dwmw2_LHR | 20:12 |
|
dbdot
| and yes i'm the onnly one in my group on wamp | 20:12 |
| ← lobolife left | 20:13 |
| → whitman joined | 20:14 |
| → boombatower joined | 20:14 |
|
EugeneKay
| Easy way? Don't use Windows. | 20:14 |
| → lobolife joined | 20:14 |
|
EugeneKay
| Painful way? man git-config; grep for crlf | 20:14 |
|
gitinfo
| the git-config manpage is available at http://jk.gs/git-config.html | 20:14 |
|
Harzilein
| cbreak: nopes, no luck. did git log --pretty=raw, copied the tree hash, switched to the branch w/ history, git log --pretty=raw | grep thehash | 20:15 |
|
dbdot
| lol heard that one a lot, stuck on this until I can afford to replace this one | 20:15 |
|
EugeneKay
| VMware Player ;-) | 20:15 |
|
cbreak
| Harzilein: maybe they filtered it first, or somehow an executable bit wasn't transfered | 20:15 |
| ← jpalmer left | 20:16 |
| → steffo joined | 20:16 |
|
dbdot
| could the repository be config'd for the windows crlf when i created it? | 20:16 |
| ← Vile left | 20:17 |
|
dbdot
| changes were made in drupal not outside at os | 20:17 |
| → twisted joined | 20:17 |
| ← tgunr left | 20:18 |
| ← twisted left | 20:18 |
|
EugeneKay
| dos2unix the files. ;-) | 20:18 |
|
cmn
| then drupal is messing with stuff, you can configure git to change the line endings | 20:18 |
|
cbreak
| use a proper text editor | 20:18 |
| ← twisted` left | 20:18 |
| ← gianlucadv left | 20:18 |
|
jast
| dos2unix ALL THE FILES | 20:18 |
| → twisted` joined | 20:19 |
| ← aldodelgado left | 20:19 |
| → aldodelgado joined | 20:19 |
|
dbdot
| thanks all | 20:19 |
|
kevlarman
| jast: heh | 20:19 |
| ← zivester left | 20:20 |
| ← aldodelgado left | 20:20 |
| ← dbdot left | 20:20 |
| ← kukks left | 20:20 |
| ← axl_ left | 20:21 |
| → axl_ joined | 20:21 |
| → dep3ndant joined | 20:21 |
|
cbreak
| dos2unix can destroy files that are not dos text files :/ | 20:21 |
|
proq
| is there an easy way to merge all changes in a branch into master? | 20:21 |
|
cbreak
| yes. | 20:22 |
|
| git checkout master && git merge branchnamehere | 20:22 |
| → AAA_awright_ joined | 20:22 |
|
proq
| thanks | 20:22 |
| → tgunr joined | 20:23 |
| ← AAA_awright left | 20:24 |
| → canton7 joined | 20:24 |
| dwmw2_LHR → dwmw2_gone | 20:25 |
|
Harzilein
| cbreak: i don't understand --root | 20:25 |
| → j416 joined | 20:25 |
|
saml
| hey, git mv good? | 20:25 |
| ← cylence left | 20:25 |
| → c0_stawberryy joined | 20:25 |
| → CE_BISPAK_SMG joined | 20:25 |
| → Emo_Princezz joined | 20:25 |
| → woww joined | 20:25 |
| → artihidup joined | 20:25 |
| → [[Nanda_sweet]] joined | 20:25 |
|
cbreak
| Harzilein: makes you rebase the whole branch | 20:25 |
| ← Emo_Princezz left | 20:26 |
| ← [[Nanda_sweet]] left | 20:26 |
| → sair_ah joined | 20:26 |
| → ce_bg02_an joined | 20:26 |
| → ce_MuTz joined | 20:26 |
| → Cewe_sexI_cantIk joined | 20:26 |
| → phil\ joined | 20:26 |
| → DimaS40 joined | 20:26 |
| → PEJANTAN_TANGGU joined | 20:26 |
| → rise_up joined | 20:26 |
| → loneguy joined | 20:26 |
| → Gordy joined | 20:26 |
| → dimana joined | 20:26 |
| → COWOK_MANADO joined | 20:26 |
| → citronade03 joined | 20:26 |
| → Cwo_caRi_tmen joined | 20:26 |
| → cew_juaal_haandp joined | 20:26 |
| → CIBUBUR_CR_TEMAN joined | 20:26 |
| → co_jkt_27_chn_ joined | 20:26 |
| → Black_Boss joined | 20:26 |
| → exmud_bthceww_4f joined | 20:26 |
| → Op-Gaul-Game joined | 20:26 |
| → BigEars joined | 20:26 |
| → Hiicham joined | 20:26 |
| → JustinJ joined | 20:26 |
| → kept joined | 20:26 |
| → Rhei joined | 20:26 |
| → tasikcrew joined | 20:26 |
| → eno_ce_loencha joined | 20:26 |
| → co`jomblo`esia joined | 20:26 |
| → zZzZ_bOys joined | 20:26 |
| → wanita_dewasa_bt joined | 20:26 |
| → LeD|oC joined | 20:26 |
| → stiffmeister joined | 20:26 |
| → wolf31r-s joined | 20:26 |
| → cari_agen joined | 20:26 |
| → PRIA^DEWASA joined | 20:26 |
| → ce-debate joined | 20:26 |
| → WAPPO joined | 20:26 |
| → deep_ joined | 20:26 |
| → harry joined | 20:26 |
| → c0_fb joined | 20:26 |
| → Faisal_36 joined | 20:26 |
| → AanG___ joined | 20:26 |
| → cwokK-pngen-susu joined | 20:26 |
| → CEWE_NDUTZ_BOUKE joined | 20:26 |
| → c0_baek joined | 20:26 |
| → co_mw_ML joined | 20:26 |
| → cow_t4_curhat joined | 20:26 |
| → Oki_jie joined | 20:26 |
| → Chn_Co_JKt_LIke_ joined | 20:26 |
| → man_romantic joined | 20:26 |
| → yuke_07 joined | 20:26 |
| → StePH[G] joined | 20:26 |
| → Aimen joined | 20:26 |
| → beaublack joined | 20:26 |
| → co_kes3p1an joined | 20:26 |
| → RiE_aLOnE joined | 20:26 |
| → joetherich joined | 20:26 |
| → easly joined | 20:26 |
| → KlausFuchs joined | 20:26 |
| → Ce_H1N1 joined | 20:26 |
| → MarcAndreQc joined | 20:26 |
| ← Cewe_sexI_cantIk left | 20:26 |
| → cari_ce-eksibisi joined | 20:26 |
| → AnakAyam joined | 20:26 |
| harry → Guest26960 | 20:26 |
| ← loneguy left | 20:26 |
| ← CIBUBUR_CR_TEMAN left | 20:26 |
| ← AanG___ left | 20:26 |
| ← artihidup left | 20:26 |
| ← sudoquai left | 20:26 |
| → co_co_co joined | 20:26 |
| → CoWw__Cr__tmnCE joined | 20:26 |
| → rHya3 joined | 20:26 |
| → seSha joined | 20:26 |
| → ekki joined | 20:26 |
| → Bluey_RoSe joined | 20:26 |
| → cO_gOgilzzz joined | 20:26 |
| → NoHoper joined | 20:26 |
| → buns0til_25 joined | 20:26 |
| → Fun_jkp joined | 20:26 |
| → IcHanTiQue joined | 20:26 |
| → cow_suka_cow joined | 20:26 |
| → PijatSensualUtkW joined | 20:26 |
| → Adiib joined | 20:26 |
| → Aldana_32Cal joined | 20:26 |
| → aaderaai joined | 20:26 |
| → georges70 joined | 20:26 |
| → steven28t joined | 20:26 |
| ← aaderaai left | 20:26 |
| ← BigEars left | 20:26 |
| ← beaublack left | 20:26 |
| ← co_jkt_27_chn_ left | 20:26 |
| ← c0_baek left | 20:26 |
| ← Aimen left | 20:26 |
| ← ce_MuTz left | 20:26 |
| ← kept left | 20:26 |
| ← Chn_Co_JKt_LIke_ left | 20:26 |
| ← Hiicham left | 20:26 |
| ← cwokK-pngen-susu left | 20:26 |
| ← Aldana_32Cal left | 20:26 |
| ← eno_ce_loencha left | 20:26 |
| ← JustinJ left | 20:26 |
| ← Gordy left | 20:26 |
| ← Black_Boss left | 20:26 |
| ← PEJANTAN_TANGGU left | 20:27 |
| → Cwok_dws_ajak joined | 20:27 |
| → nurse_akbeth joined | 20:27 |
| ← Dragooon left | 20:27 |
|
cmn
| saml: good in comparison to what? | 20:27 |
| → Assuradda joined | 20:27 |
| → cwo_ngajak_Nonto joined | 20:27 |
| → andreas_mks joined | 20:27 |
| → muthia joined | 20:27 |
| → sallyna joined | 20:27 |
| → co_cakepz_sby joined | 20:27 |
| → moccacino joined | 20:27 |
| → DinDa_aZa joined | 20:27 |
| → yuga joined | 20:27 |
| → satria_pingit joined | 20:27 |
| → jancok joined | 20:27 |
| ← Fun_jkp left | 20:27 |
| ← exmud_bthceww_4f left | 20:27 |
| ← Adiib left | 20:27 |
| ← jancok left | 20:27 |
| → CIBUBUR_CR_TEMAN joined | 20:27 |
| → Pryde joined | 20:27 |
| → LfcGirl joined | 20:27 |
| → gund joined | 20:27 |
| → prjonzy87 joined | 20:27 |
| → pretty_Nice joined | 20:27 |
| → BOLIHUANGGA joined | 20:27 |
| → naq joined | 20:27 |
| → Cow_kece joined | 20:27 |
| → junky[\[a] joined | 20:27 |
| → cE_imOoet joined | 20:27 |
| → louis_43 joined | 20:27 |
| → Co__cr__serius joined | 20:27 |
| → Guest89457 joined | 20:27 |
| → Hot_Date joined | 20:27 |
| → pim joined | 20:27 |
| → tara_aja joined | 20:27 |
| → shady_777 joined | 20:27 |
| → siNgLeLady79 joined | 20:27 |
| → maria_dpk joined | 20:27 |
| → joni_adams joined | 20:27 |
| → sukroo joined | 20:27 |
| → ZOE`S joined | 20:27 |
| → Bnt_aBohaa joined | 20:27 |
| → cr_cewk joined | 20:27 |
| → DoGGy_StyLe^ joined | 20:27 |
| → Adi_jogja joined | 20:27 |
| → GOODFatheR7 joined | 20:27 |
| → Leo_Lee joined | 20:27 |
| → nee_a joined | 20:27 |
| → meLL_InBndung_ju joined | 20:27 |
| → Sushmita joined | 20:27 |
| → Invierno joined | 20:27 |
| → dirka joined | 20:27 |
| → cantikz_maniz_im joined | 20:27 |
| → agas joined | 20:27 |
| → h26 joined | 20:27 |
| → co_cr_kepuasan joined | 20:27 |
| → caleb32 joined | 20:27 |
| ← Sushmita left | 20:27 |
| ← meLL_InBndung_ju left | 20:27 |
| ← siNgLeLady79 left | 20:27 |
| ← Leo_Lee left | 20:27 |
| ← GOODFatheR7 left | 20:27 |
| ← DoGGy_StyLe^ left | 20:27 |
| ← cr_cewk left | 20:27 |
| ← ZOE`S left | 20:27 |
| ← joni_adams left | 20:27 |
| ← maria_dpk left | 20:27 |
| → squ1z5 joined | 20:27 |
| → cO_TebInK_pEngEn joined | 20:27 |
| → cochn29 joined | 20:27 |
| → galnk joined | 20:27 |
| → putra_yg_lagi_pu joined | 20:27 |
| → and1k4 joined | 20:27 |
| → F^i^r^s^t joined | 20:27 |
| → co_in_here joined | 20:27 |
| → aryo799 joined | 20:27 |
| → zibeon joined | 20:27 |
| → Zyrcov joined | 20:27 |
| → _Reptyl_ joined | 20:27 |
| → zie joined | 20:27 |
| → MeCindy joined | 20:27 |
| → amie joined | 20:27 |
| → polarman joined | 20:27 |
| ← aryo799 left | 20:27 |
| ← F^i^r^s^t left | 20:27 |
| ← and1k4 left | 20:27 |
| ← putra_yg_lagi_pu left | 20:27 |
| ← galnk left | 20:27 |
| ← cochn29 left | 20:27 |
| → Oddity joined | 20:27 |
| ← deep_ left | 20:27 |
| → eric joined | 20:27 |
| → Fedotenko joined | 20:27 |
| → LNI_communityFOR joined | 20:27 |
| → ^pHoLLene^ joined | 20:27 |
| → PrAyInG^EyEs joined | 20:27 |
| → The_Rev joined | 20:27 |
| → CO_LG_NGCOK_KONT joined | 20:27 |
| → poelon joined | 20:27 |
| → micael_go joined | 20:27 |
| → boy_boring joined | 20:27 |
| → MarocSlave joined | 20:27 |
| → ikki_jie joined | 20:27 |
| → c0_aL joined | 20:27 |
| → Mr-Lonely joined | 20:27 |
| → maya^k}ar8in joined | 20:27 |
| → co_pengen_ML_ma_ joined | 20:27 |
| ← Hot_Date left | 20:27 |
| ← citronade03 left | 20:27 |
| ← DimaS40 left | 20:28 |
| → and1k4 joined | 20:28 |
| ← ce_bg02_an left | 20:28 |
| ← dimana left | 20:28 |
| ← tasikcrew left | 20:28 |
| ← wanita_dewasa_bt left | 20:28 |
| → [iMMoRtaL] joined | 20:28 |
| → JoLiEfLeUr20 joined | 20:28 |
| → DaveIngram joined | 20:28 |
| → A7EB_ALsadaqa joined | 20:28 |
| ← Cwo_caRi_tmen left | 20:28 |
| ← cari_agen left | 20:28 |
| ← micael_go left | 20:28 |
| ← CO_LG_NGCOK_KONT left | 20:28 |
| ← pretty_Nice left | 20:28 |
| ← CoWw__Cr__tmnCE left | 20:28 |
| ← steven28t left | 20:28 |
| ← wolf31r-s left | 20:28 |
| eric → Guest34583 | 20:28 |
| ← vdv left | 20:28 |
| ← boy_boring left | 20:28 |
| ← h26 left | 20:28 |
| ← cantikz_maniz_im left | 20:28 |
| → ^co_biasa_aja joined | 20:28 |
| → co_MKS joined | 20:28 |
| ← Bnt_aBohaa left | 20:28 |
| ← nee_a left | 20:28 |
| → Sapi joined | 20:28 |
| ← Guest34583 left | 20:28 |
| ← Fedotenko left | 20:28 |
| ← seSha left | 20:28 |
|
Harzilein
| cbreak: i don't get what you mean with "whole". what would be omitted when i don't specify --root? i'm wondering how i can still do the evil thing and suppress the history that clearly is earlier than my branch | 20:29 |
| → Cow_santai joined | 20:29 |
| → aRaLe joined | 20:29 |
| → jpalmer joined | 20:29 |
| ← buns0til_25 left | 20:29 |
| ← co_mw_ML left | 20:29 |
| ← co_kes3p1an left | 20:29 |
| ← aRaLe left | 20:29 |
| ← Mr-Lonely left | 20:29 |
| ← junky[\[a] left | 20:29 |
| ← cE_imOoet left | 20:29 |
| ← nurse_akbeth left | 20:29 |
| ← moccacino left | 20:29 |
|
cbreak
| just use --root | 20:29 |
| ← cenuij left | 20:29 |
| ← Guest26960 left | 20:29 |
|
cbreak
| otherwise you have to specify your own merge base, and lose your first commit | 20:29 |
| → vdv joined | 20:30 |
| → diogogmt joined | 20:30 |
| ← sair_ah left | 20:30 |
| ← rise_up left | 20:30 |
| → cenuij joined | 20:30 |
| ← cenuij left | 20:30 |
| → cenuij joined | 20:30 |
| → sudoquai joined | 20:30 |
| → Gorkyman joined | 20:31 |
| → mee joined | 20:31 |
| → E3FeeNi joined | 20:31 |
| → mishok13 joined | 20:31 |
| ← easly left | 20:31 |
| ← co_cr_kepuasan left | 20:31 |
| ← Pryde left | 20:31 |
| ← georges70 left | 20:31 |
| ← ikki_jie left | 20:31 |
| ← satria_pingit left | 20:31 |
| ← tara_aja left | 20:31 |
| ← polarman left | 20:31 |
| ← IcHanTiQue left | 20:31 |
| ← cow_suka_cow left | 20:31 |
| ← cow_t4_curhat left | 20:31 |
| ← CIBUBUR_CR_TEMAN left | 20:31 |
| ← Adi_jogja left | 20:31 |
| ← dirka left | 20:31 |
| ← ce-debate left | 20:31 |
| ← Oddity left | 20:31 |
| ← Cow_santai left | 20:31 |
| ← Assuradda left | 20:31 |
| ← MarcAndreQc left | 20:31 |
| ← _Reptyl_ left | 20:31 |
| ← co`jomblo`esia left | 20:31 |
| ← Zyrcov left | 20:31 |
| ← cO_gOgilzzz left | 20:31 |
| ← ekki left | 20:31 |
| ← DinDa_aZa left | 20:31 |
| ← c0_fb left | 20:31 |
| ← StePH[G] left | 20:31 |
| ← Faisal_36 left | 20:32 |
| ← MarocSlave left | 20:32 |
| ← zibeon left | 20:32 |
| ← Rhei left | 20:32 |
| ← Cwok_dws_ajak left | 20:32 |
| ← E3FeeNi left | 20:32 |
| ← JoLiEfLeUr20 left | 20:32 |
| ← c0_stawberryy left | 20:32 |
| ← cew_juaal_haandp left | 20:32 |
| ← rHya3 left | 20:32 |
| ← pim left | 20:32 |
| ← Oki_jie left | 20:32 |
| ← Cow_kece left | 20:32 |
| ← naq left | 20:32 |
| ← prjonzy87 left | 20:32 |
| ← Guest89457 left | 20:32 |
| ← Sapi left | 20:32 |
| ← CEWE_NDUTZ_BOUKE left | 20:32 |
| ← Co__cr__serius left | 20:32 |
| ← MeCindy left | 20:32 |
| ← caleb32 left | 20:32 |
| ← louis_43 left | 20:32 |
| ← cO_TebInK_pEngEn left | 20:32 |
| ← Ce_H1N1 left | 20:32 |
| ← The_Rev left | 20:32 |
| ← RiE_aLOnE left | 20:32 |
| ← LNI_communityFOR left | 20:32 |
| ← BOLIHUANGGA left | 20:32 |
| ← amie left | 20:32 |
| ← yuke_07 left | 20:32 |
| ← man_romantic left | 20:32 |
| ← WAPPO left | 20:32 |
| ← ^pHoLLene^ left | 20:32 |
| ← co_in_here left | 20:32 |
| ← andreas_mks left | 20:32 |
| ← muthia left | 20:32 |
| ← cwo_ngajak_Nonto left | 20:32 |
| ← phil\ left | 20:32 |
| ← zZzZ_bOys left | 20:32 |
| ← KlausFuchs left | 20:32 |
| ← Op-Gaul-Game left | 20:32 |
| ← co_pengen_ML_ma_ left | 20:32 |
| ← ^co_biasa_aja left | 20:32 |
| ← co_cakepz_sby left | 20:32 |
| ← gund left | 20:32 |
| ← PrAyInG^EyEs left | 20:32 |
| ← and1k4 left | 20:32 |
| ← yuga left | 20:32 |
| ← AnakAyam left | 20:32 |
| ← cari_ce-eksibisi left | 20:32 |
| ← PijatSensualUtkW left | 20:32 |
| ← co_MKS left | 20:32 |
| ← joetherich left | 20:32 |
| ← sallyna left | 20:32 |
| ← NoHoper left | 20:32 |
| ← Bluey_RoSe left | 20:32 |
| ← A7EB_ALsadaqa left | 20:32 |
| ← poelon left | 20:32 |
| ← Invierno left | 20:32 |
| ← zie left | 20:32 |
| ← woww left | 20:32 |
| ← CE_BISPAK_SMG left | 20:32 |
| ← COWOK_MANADO left | 20:32 |
| ← shady_777 left | 20:32 |
| ← LfcGirl left | 20:32 |
| ← PRIA^DEWASA left | 20:32 |
| ← sukroo left | 20:32 |
| ← agas left | 20:32 |
| ← LeD|oC left | 20:32 |
| ← stiffmeister left | 20:32 |
| ← maya^k}ar8in left | 20:32 |
| ← squ1z5 left | 20:32 |
|
Harzilein
| cbreak: will --onto still work if i don't have commits in common with the upstream? | 20:32 |
|
cbreak
| yes | 20:33 |
|
| I think so | 20:33 |
|
hyperair
| rebase is like cherry-picking | 20:33 |
| ← Bricktop left | 20:33 |
| → zivester joined | 20:33 |
| → riskynet joined | 20:33 |
| ← Gorkyman_ left | 20:33 |
| ← dep3ndant left | 20:33 |
|
Harzilein
| "This has the exact same effect as git reset --hard <upstream>" <- but i would not be able to reset to the upstream's HEAD if i did not have commits in common i think | 20:33 |
| ← co_co_co left | 20:34 |
|
hyperair
| reset --hard always works | 20:34 |
|
cmn
| it always does what you tell it to, at any rate | 20:34 |
|
hyperair
| yeah | 20:34 |
|
cmn
| whether it makes sense or not... | 20:34 |
| ← [iMMoRtaL] left | 20:34 |
|
hyperair
| a branch points to a commit | 20:34 |
|
| reset --hard $commit makes your current branch point to $commit | 20:35 |
| ← dv310p3r left | 20:35 |
|
cbreak
| you can reset to anything | 20:35 |
|
hyperair
| yep | 20:35 |
|
cbreak
| as long as it's a commit :) | 20:35 |
| ← bburhans left | 20:35 |
| → spvensko joined | 20:36 |
| ← spvensko left | 20:36 |
| → spvensko joined | 20:36 |
| → bburhans joined | 20:36 |
|
Harzilein
| if i leave out --onto, will it use the HEAD of my upstream? | 20:36 |
|
| of my remote i mean | 20:36 |
|
| uhm, whatever | 20:36 |
|
cbreak
| you have one single HEAD | 20:36 |
|
Harzilein
| the one i'm tracking | 20:36 |
|
cbreak
| it's the current branch | 20:36 |
|
Harzilein
| ah | 20:36 |
|
| right | 20:36 |
| ← mishok13 left | 20:38 |
| → psoo joined | 20:38 |
| → cjb joined | 20:38 |
| ← nixmaniack left | 20:39 |
| → tazrover joined | 20:40 |
|
cbreak
| you have to specify an --onto, and --root | 20:40 |
| → Gorkyman_ joined | 20:41 |
|
Harzilein
| yay, it worked :) | 20:41 |
|
| it got the old history i would have wanted to avoid, but oh well | 20:41 |
| AAA_awright_ → AAA_awright | 20:41 |
| → rcu joined | 20:42 |
| ← bburhans left | 20:42 |
| → bauruine joined | 20:42 |
|
cbreak
| it got onto what you told it to | 20:42 |
| ← c0_aL left | 20:43 |
| → martinjlowm joined | 20:44 |
| → bburhans joined | 20:44 |
| → DONIEE joined | 20:44 |
| ← Gorkyman left | 20:44 |
| → DhimmEr joined | 20:44 |
| → Ronin`[CRF] joined | 20:44 |
| ← mercutio22 left | 20:45 |
| ← ipalaus_ left | 20:45 |
| ← GunArm left | 20:46 |
| → rtconner joined | 20:46 |
| → [David]KS[Lee] joined | 20:46 |
|
Harzilein
| okay, now i did this on a backup branch... | 20:46 |
| → Gorkyman joined | 20:46 |
| ← DONIEE left | 20:46 |
|
Harzilein
| how can i bring the master branch to the same branch? | 20:46 |
| ← mloskot left | 20:47 |
|
Harzilein
| same state* | 20:47 |
|
cjb
| Hi everyone. I'm using signed tags -- I say "git request-pull master <url> tagname", but the generated pull request says "<url> <branch name>", where there happens to be a branch at the same HEAD as the tag, and it doesn't mention the tag name. Should I replace the branch name with the tag name in the pull message? | 20:47 |
| → foldedcat joined | 20:47 |
| → rpg joined | 20:48 |
|
foldedcat
| any reason I would be getting On branch master nothing to commit (working directory clean) even after I've done git add first | 20:48 |
|
canton7
| foldedcat, git status ? | 20:48 |
|
cjb
| foldedcat: maybe you did git add on a file that doesn't actually contain any changes | 20:48 |
| → empity joined | 20:48 |
| ← [M]ax left | 20:49 |
|
foldedcat
| it gives me the same error when doing git status after doing git add | 20:49 |
|
albel727
| in any case, if git status says "working directory clean" then it's clean. it's not an error. | 20:49 |
|
canton7
| it's not an error... It's just telling you that you have nothing to commit | 20:49 |
|
foldedcat
| hmm the file should contain changes, I've done a push since and the file on github isn't the same | 20:49 |
|
| gotcha | 20:49 |
| ← Gorkyman_ left | 20:49 |
| → tgunr_ joined | 20:50 |
| → whyking joined | 20:50 |
| ← bburhans left | 20:50 |
| → Destos joined | 20:51 |
| → fairuz_ joined | 20:51 |
| → tkellen joined | 20:51 |
| → bburhans joined | 20:51 |
| → [M]ax joined | 20:52 |
|
tkellen
| can anyone tell me how would i overwrite files in a branch using files from another branch (in this case, master) | 20:52 |
| → Gorkyman_ joined | 20:52 |
| → GunArm joined | 20:52 |
| ← rcu left | 20:53 |
|
canton7
| tkellen, git checkout branch_to_overwrite; git checkout another_branch -- path/to/file | 20:54 |
| ← whyking_ left | 20:54 |
| ← Gorkyman left | 20:54 |
| ← Ronin`[CRF] left | 20:55 |
| ← kpreid left | 20:55 |
| ← blueadept left | 20:55 |
| → mercutio22 joined | 20:55 |
| → Gorkyman joined | 20:56 |
| ← Gorkyman_ left | 20:56 |
| ← robde_ left | 20:56 |
| ← bburhans left | 20:57 |
| → jryans_ joined | 20:58 |
| → bburhans joined | 20:59 |
| ← cccaldas_ left | 21:00 |
| → niko joined | 21:01 |
| ← jryans left | 21:01 |
| jryans_ → jryans | 21:01 |
| ← DaveIngram left | 21:02 |
| → kpreid joined | 21:02 |
| → dv310p3r joined | 21:02 |
| → aliguori joined | 21:04 |
| ← bburhans left | 21:05 |
|
aliguori
| Hi, i've been thinking about how to better work with cover letters when sending patch series. in many ways, git commit --allow-empty is perfect for this, the only problem is git-rebase doesn't add use --allow-empty so it gets upset about it, i was thinking about trying to fix this but was wondering if I'm barking up the wrong tree | 21:05 |
|
billy_ran_away
| How can I do a git show with a file that's been deleted but exists in previous commits? | 21:05 |
|
aliguori
| any advice? | 21:06 |
| → kennethreitz joined | 21:06 |
| → stefanha joined | 21:06 |
| → bburhans joined | 21:07 |
| ← Crewe left | 21:07 |
| ← DhimmEr left | 21:07 |
|
canton7
| aliguori, git-format-patch. There's an option to generate a cover letter | 21:08 |
|
aliguori
| canton7, right, but that doesn't help when you resubmit a patch series | 21:08 |
|
| that's the problem i'm trying to solve | 21:08 |
|
| i need to keep around the cover letter, and i'd like to store that cover letter in git (in the same branch that I used to send the series) | 21:08 |
| ← cjb left | 21:09 |
|
canton7
| git notes maybe? I'm loathe to stick that sort of info in a commit | 21:09 |
|
aliguori
| git notes tags an object, right? so a note wouldn't survive a rebase | 21:09 |
|
| and rebasing a feature branch is a pretty common thing when sending a v2 | 21:09 |
| → bitkiller joined | 21:09 |
|
Mikachu
| aliguori: notes are a special ref, and rebase can copy them, though it doesn't by default | 21:10 |
|
yrlnry
| billy_ran_away: git show commitid:path-to-file | 21:10 |
| ← tgunr_ left | 21:10 |
| → tgunr_ joined | 21:10 |
|
billy_ran_away
| yrlnry: Thank you!!! | 21:10 |
|
Mikachu
| [notes] | 21:10 |
|
| rewriteRef = refs/notes/* | 21:10 |
|
| that enables it, iirc | 21:10 |
|
yrlnry
| billy_ran_away: you're welcome | 21:10 |
|
aliguori
| Mikachu, ah, cool, i'll look into that, thanks! | 21:10 |
| gitinfo set mode: +v | 21:11 |
|
tgunr_
| I just did a `git filter-branch --index-filter 'git rm -r --cached --ignore-unmatch private' --prune-empty -- --all' and watched a slew of rewrites, followed by some warnings like at https://ideone.com/N8xpO, should I run it again with the suggested option? And what is `cat'? | 21:11 |
| ← erichynds left | 21:12 |
|
Mikachu
| cat passes input to output without changing it | 21:12 |
| → Chaser joined | 21:12 |
|
Mikachu
| which will cause the tag to change to point to the rewritten commit ;) | 21:12 |
| ← anubhaw_ left | 21:13 |
| ← brngardner left | 21:13 |
| → kukks joined | 21:13 |
| ← dv310p3r left | 21:13 |
|
tgunr_
| ok, I'm not sure where to put that | 21:13 |
| ← bburhans left | 21:13 |
|
Mikachu
| before or after the --prune-empty would work | 21:13 |
|
tgunr_
| cc, trying | 21:13 |
|
Mikachu
| or after filter-branch | 21:14 |
| ← leen^| left | 21:14 |
| → bburhans joined | 21:14 |
| ← sebrock left | 21:15 |
|
tgunr_
| hmm, getting `Cannot create a new backup. previous backup already exists' | 21:15 |
|
| This is first time I've tried this filter stuff | 21:15 |
|
Mikachu
| right, did you make a backup of the repo first? :) | 21:16 |
|
tgunr_
| not intentional | 21:16 |
|
| ly | 21:16 |
|
Mikachu
| but you have one? :) | 21:16 |
|
tgunr_
| h yes | 21:16 |
|
| oh yes | 21:16 |
| ← martinjlowm left | 21:16 |
| ← nwp_ left | 21:16 |
|
Mikachu
| okay, then try rm -rf .git/refs/original and then try the command again ;) | 21:17 |
| → Spockz joined | 21:17 |
|
canton7
| or you can pass --force to git-filter-branch, irrc? | 21:17 |
| → martinjlowm joined | 21:17 |
|
canton7
| *iirc | 21:17 |
|
tgunr_
| might as well remove the backup, i don't need it | 21:17 |
| ← [David]KS[Lee] left | 21:18 |
|
Mikachu
| heh | 21:18 |
| ← jdav_gone left | 21:18 |
|
Mikachu
| at least keep it until this copy is how you want it? | 21:18 |
|
sontek
| I need to pull a commit out of master and push it to a branch (its not as good as I thought when I pushed it) | 21:18 |
| → fisted_ joined | 21:20 |
| → GunArm__ joined | 21:20 |
| ← bburhans left | 21:20 |
| ← GunArm left | 21:20 |
| ← heptadecagram left | 21:20 |
| → dzonder joined | 21:21 |
| ← keystr0k left | 21:21 |
|
PerlJam
| sontek: cherry-pick it to the other branch and revert it in master? | 21:21 |
| → Gorkyman_ joined | 21:21 |
| → bburhans joined | 21:22 |
|
sontek
| PerlJam: well, its already in master, so if I create a branch it'll already be in there as well.. right? | 21:22 |
| ← fisted left | 21:22 |
|
sontek
| PerlJam: so if I just git revert it'll do what I want? | 21:22 |
| ← Gorkyman left | 21:23 |
|
PerlJam
| should. | 21:23 |
|
| assuming I understood what you wanted. | 21:23 |
| ← Spockz left | 21:23 |
| → jdav_gone joined | 21:23 |
|
tgunr_
| ok, i have pruned my local repo and the private folder is gone, can I just `git push origin master' and the folder will be gone on the remote? | 21:23 |
|
sontek
| thanks | 21:24 |
| → jmontross joined | 21:24 |
| → i42n joined | 21:25 |
| ← gusnan left | 21:26 |
| ← joshteam left | 21:27 |
| ← fairuz_ left | 21:27 |
| ← thiago left | 21:27 |
| ← marthinal left | 21:28 |
| → ipalaus_ joined | 21:28 |
| → nardev1 joined | 21:28 |
| ← bburhans left | 21:28 |
| → brngardner joined | 21:28 |
| ← nadirvardar left | 21:28 |
| → bburhans joined | 21:29 |
| ← signal-9 left | 21:29 |
| ← aliguori left | 21:30 |
| → dv310p3r joined | 21:30 |
| ← bartek left | 21:30 |
| ← spvensko left | 21:31 |
| ← psoo left | 21:31 |
| ← proq left | 21:32 |
| ← luxurymode left | 21:32 |
| ← martinjlowm left | 21:32 |
| ← jceb left | 21:32 |
| ← mercutio22 left | 21:32 |
| → martinjlowm joined | 21:33 |
| → marshall joined | 21:33 |
|
marshall
| hey git | 21:33 |
|
| what's the proper way to update all submodules of a project to their latest remote heads? | 21:34 |
|
| I'm trying to update all my submodules in my dotfiles repo, so they're like vim scripts and stuff that have been updated by their authors | 21:35 |
| ← bburhans left | 21:35 |
|
iamjarvo
| so i merged a branch into another branch and there should have been conflicts but it didnt give me any conflicts and gave me one the version of the file i didnt want | 21:35 |
|
| well there was an edit in the one file that i wanted to combine | 21:35 |
| → thiago joined | 21:36 |
| → cylence joined | 21:36 |
|
SethRobertson
| marshall: !submodule_change | 21:37 |
|
gitinfo
| marshall: In order to change a submodule you must go into the submodule repository, check it out to the appropriate branch, make the needed change (possibly involving git pull), commit the change, cd .. (out of the submodule), git commit -m "Updated submodule" submodulepath | 21:37 |
| ← brngardner left | 21:37 |
|
cmn
| a git submodule foreach git pull might work | 21:37 |
|
SethRobertson
| iamjarvo: Presumably you can `git merge --no-commit` and then fix up what it did wrong. | 21:37 |
|
| cmn: As step one in the process, certainly | 21:38 |
|
| Well, step two. You need to be on a branch first | 21:38 |
|
iamjarvo
| SethRobertson: should i do git merge —abort then? and try what you suggested? | 21:38 |
| → EricInBNE joined | 21:38 |
|
cmn
| oh, right, submodules are detached | 21:38 |
|
SethRobertson
| ?? If the merge did not complete you can just fix it now. If the merge did complete it is too late to abort. You can `git reset --hard HEAD^` to undo the merge, if you have not pushed | 21:39 |
| ← guns left | 21:40 |
| → mercutio22 joined | 21:40 |
| ← Q| left | 21:41 |
| → AmirBehzad joined | 21:41 |
| ← AmirBehzad left | 21:41 |
| ← billy_ran_away left | 21:41 |
| ← jonesy left | 21:41 |
| ← churp left | 21:42 |
| ← jryans left | 21:43 |
|
iamjarvo
| SethRobertson: so there was a change in the branch and i had a change on my feature branch. i need that part of the file on the branch im trying to merge into | 21:43 |
| → jryans joined | 21:44 |
| ← noz left | 21:44 |
| ← Know1edge1 left | 21:44 |
|
SethRobertson
| Copying partial-commit changes always leads to tears | 21:45 |
|
marshall
| SethRobertson: thanks mate | 21:45 |
| → churp joined | 21:45 |
|
iamjarvo
| not sure what to do | 21:46 |
|
| should i just edit it? | 21:47 |
| → mloskot joined | 21:47 |
| ← ipalaus_ left | 21:47 |
| ← mloskot left | 21:47 |
| → mloskot joined | 21:47 |
|
SethRobertson
| iamjarvo: If the change you want on the feature branch is a commit by itself, then cherry-pick it. If you have pushed the feature branch then just edit it. If you have not pushed the feature branch, then you can rewrite the commit on the feature branch to split it into the stuff you want to cherry pick and everything else | 21:48 |
|
| If after reading that twice your mind is still blown, then just edit it | 21:48 |
|
iamjarvo
| lol | 21:49 |
| ← Gorkyman_ left | 21:49 |
|
iamjarvo
| thanks SethRobertson | 21:49 |
| → lmi joined | 21:49 |
|
lmi
| hi | 21:49 |
| ← tazrover left | 21:49 |
|
SethRobertson
| ~hi | 21:49 |
| → Gorkyman joined | 21:49 |
|
lmi
| can format-patch strip prefix the way patch -p does? | 21:49 |
|
SethRobertson
| !hi | 21:50 |
|
gitinfo
| [!welcome] Welcome to this channel. Go ahead and ask your question. Very few people are responding to greetings, but will respond if a question is asked. | 21:50 |
|
SethRobertson
| git format-patch is designed to feed to git, not to normal patch systems. | 21:50 |
| ← tomislater2 left | 21:50 |
|
SethRobertson
| However, see --src-prefix and --dest-prefix and --no-prefix | 21:50 |
| ← churp left | 21:51 |
|
lmi
| well, i'm using git-svn, so want a patch that applies with -p1 in a release tarball | 21:51 |
|
SethRobertson
| So --no-prefix sounds like it is what you want | 21:52 |
|
lmi
| aka, want to get rid of trunk/ from it | 21:52 |
|
| let me see, thanks | 21:52 |
| martinjlowm → martinjlowm-lapt | 21:52 |
| martinjlowm-lapt → martinjlowm-lptp | 21:53 |
|
lmi
| yeah, that will do, thanks! | 21:53 |
| → FernandoBasso joined | 21:53 |
| ← TrineLocke left | 21:53 |
| malphaet → Malphaet[away] | 21:53 |
| → churp joined | 21:54 |
| → magnus___ joined | 21:55 |
| ← jsick3 left | 21:55 |
| ← ThomasLocke left | 21:56 |
| → noz joined | 22:00 |
| ← detaer left | 22:01 |
| ← tommyvyo left | 22:01 |
| ← saml left | 22:01 |
| → detaer joined | 22:02 |
| → spvensko joined | 22:02 |
| ← spvensko left | 22:02 |
| → spvensko joined | 22:02 |
| ← Heisenmink left | 22:03 |
| → linusoleander joined | 22:03 |
| ← mercutio22 left | 22:03 |
| → mercutio22 joined | 22:05 |
| ← churp left | 22:05 |
| ← tatsuya_o left | 22:06 |
| ← cannonball left | 22:06 |
|
tgunr_
| After doing `git filter-branch --index-filter 'git rm -r --cached --ignore-unmatch private' --prune-empty --tage-name-fileter cat -- --all' and the private folder is now gone from my local repo. But not getting how to update the remotes, if I try to push it complains and wants me to pull but if I pull it wants to overwrite the folder I just deleted. | 22:06 |
| ← bauruine left | 22:06 |
|
SethRobertson
| You need to do a force push. This may be denied by default by the remote server | 22:07 |
|
tgunr_
| ok, so just add a -f eh? | 22:07 |
| → the_cybersphinx joined | 22:08 |
| ← i42n left | 22:08 |
|
SethRobertson
| Assuming you understand the drawbacks of !rewriting_public_history, yes | 22:08 |
|
gitinfo
| Rewriting public history is a very bad idea. Anyone else who may have pulled the old history will have to `git pull --rebase` and even worse things if they have tagged or branched, so you must publish your humiliation so they know what to do. You will need to `git push -f` to force the push. The server may not allow this. See receive.denyNonFastForwards (git-config) | 22:08 |
|
cbreak
| filter-branch is meant to rewrite history | 22:08 |
| ← devth left | 22:08 |
|
tgunr_
| no one but me is using it :) so i think it is ok | 22:08 |
|
SethRobertson
| that doesn't necessarily mean they understand the problems | 22:08 |
|
cbreak
| and as it is tradition, he who writes history controls the future | 22:08 |
|
| so use that power responsibly | 22:09 |
| ← phishy left | 22:09 |
| ← cyphase left | 22:09 |
|
tgunr_
| thats the whole point of doing this, I want to prune this folder out before someone does use it | 22:09 |
| ← kpreid left | 22:10 |
| → tatsuya_o joined | 22:10 |
| ← cybersphinx left | 22:10 |
| martinjlowm-lptp → martinjlowm | 22:10 |
|
tgunr_
| so when the repo is cloned this folder will not be known to exist | 22:10 |
| → NiklasFiekas joined | 22:10 |
| ← spvensko left | 22:10 |
| → iamjarvo1 joined | 22:11 |
| ← axl_ left | 22:12 |
|
tgunr_
| I guess another way would be to create a new bare repo after the folder is pruned no? | 22:12 |
| ← martinjlowm left | 22:12 |
| → ipalaus_ joined | 22:13 |
| ← iamjarvo left | 22:13 |
|
SethRobertson
| Sure, whatever is best for your case | 22:13 |
| → cyphase joined | 22:14 |
| → rjcks joined | 22:14 |
| → gnufied joined | 22:14 |
| ← dotpot left | 22:15 |
| → jjasinski joined | 22:16 |
| → jdav_gon` joined | 22:16 |
| ← macmartine left | 22:16 |
| → stringoO joined | 22:16 |
| → kpreid joined | 22:18 |
| ← drizzd left | 22:18 |
| → bencahill joined | 22:18 |
| ← mercutio22 left | 22:18 |
| ← gnufied left | 22:19 |
| ← kpreid left | 22:19 |
| → axl_ joined | 22:19 |
| ← jdav_gone left | 22:19 |
| → kpreid joined | 22:19 |
|
bencahill
| hey guys, can you recommend a good introduction to git? | 22:21 |
|
SethRobertson
| Lots. See !book | 22:21 |
|
gitinfo
| 'Pro Git' is a complete book about git that is available online for free (there's a print version, too): http://progit.org/book/ | 22:21 |
|
SethRobertson
| !cs | 22:21 |
|
gitinfo
| 'Git for Computer Scientists' explains the basic structures used by git, which is very helpful for understanding its concepts. http://sitaramc.github.com/gcs/ | 22:21 |
| ← whitman left | 22:21 |
|
SethRobertson
| !doc | 22:21 |
|
gitinfo
| A list of useful documentation of all kinds is here: http://git-scm.com/documentation -- or try the wiki at http://git.wiki.kernel.org/. Also try typing "!book" "!cs" "!bottomup" here in IRC, or reading http://www.webdesignerdepot.com/2009/03/intro-to-git-for-web-designers/ | 22:21 |
| → cccaldas joined | 22:21 |
|
SethRobertson
| !bottomup | 22:21 |
|
gitinfo
| 'Git from the bottom up' starts with explaining the building blocks of git and proceeds to tell you how they fit together. http://ftp.newartisans.com/pub/git.from.bottom.up.pdf | 22:21 |
| ← tgunr_ left | 22:22 |
|
bencahill
| SethRobertson: online book looks perfect, thanks! | 22:22 |
| → tgunr_ joined | 22:22 |
| ← ISF_ left | 22:22 |
| → giallu joined | 22:22 |
| ← tgunr_ left | 22:24 |
| → ISF joined | 22:24 |
|
marshall
| \exit | 22:24 |
| ← marshall left | 22:24 |
| → tgunr_ joined | 22:24 |
| ← Goplat left | 22:26 |
| → soulcake joined | 22:27 |
| → Vile joined | 22:27 |
| → erichynds joined | 22:28 |
| → martinjlowm joined | 22:28 |
| ← erichynds left | 22:29 |
| clone1018_ → clone1018 | 22:30 |
| → DaveIngram joined | 22:31 |
| ← rleigh left | 22:32 |
| ← claudiu__ left | 22:32 |
| ← martinjlowm left | 22:33 |
| → martinjlowm-lptp joined | 22:33 |
| ← maletor left | 22:35 |
| ← d0k left | 22:36 |
| → eletuchy joined | 22:36 |
| → maletor joined | 22:37 |
| ← whyking left | 22:37 |
| ← jmcantrell left | 22:37 |
| → jmcantrell joined | 22:37 |
| ← cccaldas left | 22:38 |
| ← tgunr_ left | 22:40 |
| ← acl_ left | 22:40 |
| → tgunr_ joined | 22:40 |
| → thursday joined | 22:40 |
| ← vdv left | 22:43 |
| ← tgunr left | 22:44 |
| ← tgunr_ left | 22:44 |
| → tgunr joined | 22:44 |
| ← gjoseph left | 22:45 |
| ← rendar left | 22:45 |
| ← giallu left | 22:47 |
| → Cromulent joined | 22:47 |
| ← _iron left | 22:48 |
| → gebi joined | 22:48 |
| ← Ryback_ left | 22:49 |
| ← digitalfiz left | 22:50 |
| ← jmontross left | 22:50 |
| ← DarkAR left | 22:51 |
| ← davidcoallier left | 22:51 |
| ← mando left | 22:52 |
| → vdv joined | 22:52 |
| ← kpreid left | 22:53 |
| → kpreid joined | 22:53 |
| ← metcalfc left | 22:55 |
| → MarcoSousa joined | 22:56 |
| → erichynds joined | 22:57 |
| → tellone joined | 22:58 |
| ← dv310p3r left | 22:58 |
| → t4nkd`workin joined | 22:59 |
| ← maletor left | 23:00 |
|
bencahill
| in the progit book, chapter 2,2 it says when you run the git status command on a fresh clone, there are no tracked and modified files. | 23:00 |
|
| does it mean that there are no tracked files that have been modified? | 23:00 |
| → oriba joined | 23:01 |
|
lmi
| yes | 23:02 |
| ← thiago left | 23:02 |
|
lmi
| after clone you shouldn't have untracked files either, anyways | 23:02 |
|
bencahill
| ok, thanks...if that's maintained, it could use a little more specificity | 23:02 |
|
| lmi: correct | 23:02 |
|
| (correct = I understand) ;) | 23:02 |
| → mdel_ joined | 23:03 |
| ← diogogmt left | 23:03 |
| ← neurodrone left | 23:03 |
| ← soulcake left | 23:03 |
| ← t4nkd left | 23:04 |
| ← alan_w left | 23:05 |
| ← t4nkd`workin left | 23:05 |
| → nax__ joined | 23:05 |
| → dsheets joined | 23:06 |
| ← alester left | 23:06 |
| ← john2496 left | 23:06 |
| ← pantsman left | 23:06 |
| ← AaronMT left | 23:06 |
| → madewokherd joined | 23:06 |
| ← Gitzilla left | 23:06 |
| → maletor joined | 23:06 |
|
dsheets
| When should I use a version-based release branch vs a tag? Aren't tags just like branches? | 23:06 |
|
wereHamster
| dsheets: tags can't move, branches can | 23:07 |
| Malphaet[away] → Malphaet | 23:07 |
| ← rpg left | 23:07 |
| → eggman2001 joined | 23:08 |
| ← eletuchy left | 23:08 |
|
dsheets
| wereHamster: by move you mean change? I suspect there may be bugfixes at a later time so I should branch for the minor version and tag the revs? | 23:08 |
| → billy_ran_away joined | 23:08 |
|
billy_ran_away
| Is there a convenient way to look at the commit of the last time a file was changed? | 23:09 |
|
FauxFaux
| git show $(git log --format=%h -1 path/to/file) | 23:10 |
| → eletuchy joined | 23:10 |
|
wereHamster
| dsheets: yes | 23:10 |
|
billy_ran_away
| FauxFaux: Thank you | 23:10 |
|
dsheets
| wereHamster: cool. thanks for your guidance. i really appreciate your help :-) | 23:11 |
| ← DaveIngram left | 23:11 |
| ← aspotashev left | 23:12 |
| → s0undt3ch joined | 23:12 |
| ← berserkr left | 23:12 |
| ← akosikeno left | 23:13 |
| ← FernandoBasso left | 23:13 |
| ← Sir_Rai left | 23:13 |
| → berserkr joined | 23:14 |
| ← kaimi left | 23:14 |
| → basepi joined | 23:14 |
| ← canton7 left | 23:14 |
| → cccaldas joined | 23:16 |
| → giallu joined | 23:17 |
| → kaimi joined | 23:17 |
| → Sir_Rai joined | 23:17 |
| → FernandoBasso joined | 23:17 |
| ← j416 left | 23:18 |
|
dsheets
| One more question: should I start my version tags and branches with an alpha like 'v' or can I use %d.%d.%d directly? Will the decimal-first format mess up some system? | 23:19 |
|
cbreak
| tags and branches are file names | 23:19 |
|
| does your system allow file names starting with a number? | 23:20 |
|
bencahill
| hehe | 23:20 |
| ← MANCHUCK left | 23:20 |
| → polygonpusher joined | 23:20 |
|
dsheets
| it does. I assume there are some systems that may not, though? Windows or something? | 23:20 |
| ← localhost left | 23:21 |
|
dsheets
| It seems like a common identifier limitation to require the first character to be alpha or _. Is 'v%d.%d.%d' community convention? | 23:21 |
| ← mandric left | 23:21 |
|
bencahill
| dsheets: Windows may not be that great, but it's not that bad ;) | 23:22 |
|
cbreak
| I read windows only allows one letter names for volumes | 23:22 |
| ← eggman2001 left | 23:22 |
|
cbreak
| no numbers | 23:22 |
|
bencahill
| cbreak: like just 'a' ? | 23:22 |
|
cbreak
| or C | 23:22 |
| → mandric joined | 23:22 |
|
bencahill
| ok, I'll try... | 23:22 |
|
cbreak
| C is the most popular for who knows why | 23:22 |
|
dsheets
| floppy-only machines? A and B are floppy vols | 23:23 |
|
bencahill
| cbreak: I just touched a file named C on a Windows system (share), and it seemed to work fine... | 23:23 |
| → localhost joined | 23:23 |
|
polygonpusher
| I'm working on a django project where I init the repo inside the source of the project on the remote sever then I pulled the git repo into my local eclipse ide but when I went to push I got error about the master being checked out | 23:23 |
|
| is that cause the remote repo considered to be the working folder? | 23:24 |
|
bencahill
| cbreak: just made one named C with Windows Explorer (myth busted!) | 23:24 |
| ← beaufour left | 23:24 |
| → martinjlowm joined | 23:24 |
| → beaufour joined | 23:24 |
|
bencahill
| cbreak: 0 also worked | 23:25 |
|
polygonpusher
| also is there a guide I could read about best practice when from creating a repo for server hosted project like website | 23:25 |
| → thiago joined | 23:25 |
| ← boombatower left | 23:26 |
|
polygonpusher
| err. Sorry bad typing. I hope you understood that. | 23:26 |
| ← umren left | 23:26 |
| ← mandric left | 23:27 |
| → diegoviola joined | 23:27 |
| ← martinjlowm left | 23:27 |
| ← MarcoSousa left | 23:27 |
| → martinjlowm joined | 23:28 |
| ← empity left | 23:28 |
| → BlaDe^ joined | 23:28 |
| → DaveIngram joined | 23:29 |
| ← FernandoBasso left | 23:29 |
| ← beaufour left | 23:29 |
| → FernandoBasso joined | 23:29 |
| ← martinjlowm left | 23:30 |
| → martinjlowm joined | 23:30 |
| ← eijk_ left | 23:31 |
| ← lobolife left | 23:31 |
| ← alex__c2022 left | 23:32 |
| → empity joined | 23:32 |
| → iamjarvo joined | 23:34 |
| ← martinjlowm left | 23:35 |
| ← iamjarvo1 left | 23:35 |
| tizzo → tizzo-afk | 23:37 |
| → Gorkyman_ joined | 23:38 |
| ← babilen left | 23:38 |
| → nOStahl joined | 23:38 |
| ← Gorkyman left | 23:39 |
|
nOStahl
| hi all | 23:39 |
| → seivan joined | 23:39 |
| ← sudoquai left | 23:40 |
| ← empity left | 23:40 |
| ← ipalaus_ left | 23:41 |
| → Gorkyman joined | 23:42 |
| ← Gorkyman_ left | 23:42 |
| → macRover joined | 23:45 |
| ← thiago left | 23:46 |
| ← Cromulent left | 23:47 |
| ← snearch left | 23:47 |
| → nadavoid joined | 23:47 |
| → thiago joined | 23:48 |
| → cronin joined | 23:52 |
| ← dsheets left | 23:52 |
| ← Morphous_ left | 23:53 |
| → shiba_yu36 joined | 23:53 |
| ← DaveIngram left | 23:54 |
| → Anxi80 joined | 23:56 |
| ← Vampire0_ left | 23:57 |
| → Vampire0 joined | 23:58 |
| ← zivester left | 23:58 |
| → zackiv31 joined | 23:58 |