IRCloggy #git 2013-11-13

Logs Search ←Prev date Next date→ Channels Documentation

Provider of IRC logs since 2005.
WARNING: As Freenode became unjoinable and lost all warnings in topics, we cannot log channels on Freenode anymore.

2013-11-13

jarr0dsz joined00:00
elplatt left00:00
elplatt joined00:00
ItSANgo left00:00
Fernandos joined00:00
Fernandos hi00:00
juvenaljuvenal_away00:01
juvenal_awayjuvenal00:01
Fernandos can anyone tell me howto find out the the date something was commited on github? Github only tells me 2years ago. But not exactly when. Doing a comparison and am curious when this was first released: https://github.com/zurb/foundation/tree/v2.0.000:01
iron_houzi left00:03
Brmm joined00:03
hiroyuki left00:03
Misan left00:04
Watabou left00:05
Droolio joined00:05
knighthawk thegorn you still here?00:05
Fernandos k, I had to clone the entire thing to find it out manually, but doesn't github show the date somewhere?.. would be pain in the ass for them to let people clone repos just for finding that out.00:05
canooon joined00:06
akurilin joined00:07
ItSANgo joined00:07
PeterBooker left00:07
mklappstuhl left00:07
bakers left00:08
nottombrown left00:09
daito_ joined00:09
nottombrown joined00:09
jhulten left00:09
[emmajane]emmajane00:10
srji left00:10
tang^ left00:11
emmajane[emmajane]00:11
ruskie joined00:11
kriks left00:12
elplatt left00:12
offby1 Fernandos: I assume that if you use the API you'll get a nice Unix-y timestamp00:12
harish left00:13
Fandekasp left00:13
daito_ left00:13
iron_houzi joined00:13
bits8mybytes joined00:13
bits8mybytes left00:13
bits8mybytes joined00:13
Fandekasp joined00:13
TenJack joined00:13
boombatower left00:14
Zarthus left00:14
matthiaskrgr joined00:14
gitinfo set mode: +v00:15
matthiaskrgr I'm recompressing (from scratch) a repo of around 150 MB size00:15
TenJack Hey, is there any way to write a git plugin of sorts that would observe commits and be able to send that information to an API?00:15
matthiaskrgr and git already ate around 3GB of ram for this00:15
how can this be?00:15
johnnyfuchs left00:15
King_Hual left00:16
Brmm left00:16
matthiaskrgr its even using just one thread00:16
canooon TenJack, http://git-scm.com/book/en/Customizing-Git-Git-Hooks00:16
samuel02 joined00:16
Dougie187 joined00:17
TenJack canooon: cool, thanks!00:17
offby1 Fernandos: e.g., curl https://api.github.com/repos/offby1/rudybot/git/refs/heads/master gives me (among other things) "url": "https://api.github.com/repos/offby1/rudybot/git/commits/fe96936d185def903565a8598345a7540c9b7318", and that second URL gives me author.date and committer.date, both in Zulu as God intended.00:17
threesome joined00:18
mklappstuhl joined00:19
TenJack canooon: and im assuming you could make an http request within a hook?00:19
canooon TenJack, yeah they are just shell scripts you can do curl/wget or w/e00:19
[emmajane]emmajane00:19
canooon well shell scripts or any executable00:19
TenJack canooon: sweet00:19
Fernandos offby1: nice, gonna make a shell alias to g.remote.date (autosuggest makes typing that g.r.d)00:20
emmajane[emmajane]00:20
imachuchu matthiaskrgr: what commands did you run to compress your repo?00:20
samuel02 left00:21
Fernandos offby1: thanks00:21
matthiaskrgr imachuchu: git reflog expire --expire=1.minute --all00:22
git pack-refs --all --prune00:22
git gc --prune=now --aggressive00:22
offby1 pretty complex alias00:22
Fernandos: you ight find http://stedolan.github.io/jq/ handy00:22
matthiaskrgr imachuchu: but I usually can compress fare bigger repos with this without getting problems :/00:22
galaris joined00:23
Pieter_ joined00:23
mribeirodantas joined00:23
AaronMT joined00:24
JustinMac joined00:24
krixxkraxx left00:24
SHyx0rmZ left00:24
corygibbons joined00:25
elplatt joined00:25
imachuchu matthiaskrgr: just in case something really weird is going on, fun git fsck00:25
dorkmafia left00:25
imachuchu matthiaskrgr: (though most likely one of those commands call it anyway)00:25
primitive left00:26
Brmm joined00:26
boombatower joined00:26
jfoy joined00:26
thecha joined00:27
imachuchu *run00:29
thecha left00:29
freestyl3r left00:31
SonicX joined00:31
jarr0dsz left00:31
boombatower left00:32
Brivelt left00:32
dyng joined00:32
freestyl3r joined00:32
Entomo joined00:33
CreativeEmbassy left00:34
Derega left00:34
Advocation joined00:34
BSaboia joined00:35
thiago joined00:35
robinsmidsrod left00:36
jason237 joined00:36
hellopat joined00:37
Sigma joined00:38
robinsmidsrod joined00:38
Gavrisimo left00:39
Advocation left00:39
Derega joined00:40
sebrock joined00:41
gustavo__ joined00:41
tagava|2 left00:42
tagava left00:42
Jasper joined00:42
snuffeluffegus left00:42
Jasper git-send-email can't seem to find my CA certificates.00:43
R1KRDO left00:43
Jasper It keeps failing with: "STARTTLS failed! SSL connect attempt failed with unknown error error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed at /usr/libexec/git-core/git-send-email line 1236."00:43
raonyguimaraes left00:43
Jasper Does anybody know where git-send-email looks for CA certificates?00:44
canoon left00:44
canooon left00:44
canoon joined00:45
jrnieder Jasper: see --smtp-ssl-cert-path in man git-send-email00:45
gitinfo Jasper: the git-send-email manpage is available at http://jk.gs/git-send-email.html00:45
mklappstuhl left00:45
sebrock left00:45
Jasper jrnieder, ctrl+f on that page for "ssl-cert" gives an error00:46
dyng left00:46
Jasper Are those webpages just out of date?00:46
cenuij left00:46
Jasper Aha, yeah, my local man pages have it.00:46
jrnieder "Last updated 2013-04-18"00:47
that option was added in july00:47
dyng joined00:47
jrnieder hm, ^jast00:47
Jasper jrnieder, hm, it seems that it's already pointing to the right place.00:47
jrnieder Jasper: maybe someone is trying to MITM you? :)00:48
cmn left00:48
Jasper I'd prefer a better error message and cert dump then.00:48
koptein left00:48
Jasper Just giving up with "unknown error error" isn't too pleasant00:48
koptein joined00:48
jrnieder nods00:49
jrnieder the message is from IO::Socket::SSL::errstr()00:49
nottombr_ joined00:49
kcj joined00:49
cmn joined00:50
nottombr_ left00:50
nottombr_ joined00:51
nottombrown left00:52
nottombrown joined00:53
srji joined00:53
bwreilly left00:53
Jasper meh00:53
just going to use GIT_SSL_NO_VERIFY=true for now00:54
so the NSA will see my X server patches. who cares00:54
jrnieder and your email password :(00:54
Jasper it's gail00:55
gmail00:55
they already have direct access anyway00:55
want me to care more? make better error messages00:55
grr, still didn't work00:56
shinnya joined00:56
nottombr_ left00:56
Gavrisimo joined00:57
eijk left00:58
yhager left00:58
groglogic joined00:58
dreiss left00:59
echo-area left00:59
yhager joined00:59
PaulCapestany joined01:00
Kayra left01:01
neo1691 joined01:02
yhager left01:04
Brmm left01:04
MattMaker joined01:04
dyng left01:05
shinnya left01:05
Jasper $ git config --global sendemail.smtpsslcertpath /etc/pki/ca-trust/extracted/pem/email-ca-bundle.crt01:05
that fixed it01:05
srji left01:05
jfoy left01:06
hyperair left01:06
dyng joined01:06
jfoy joined01:07
decotii left01:07
srji joined01:07
ehmatthes left01:08
Brmm joined01:08
raonyguimaraes joined01:09
nailora left01:09
neo1691 left01:12
pheaver left01:13
unkmar joined01:14
tmcmahon joined01:14
unkmar git me happy01:14
I'm seeing lots of ^M as the cause of my files being diff-erent.01:15
as in CRLF problems or EOL problems.01:15
penguin42 left01:15
zaczee joined01:16
unkmar How might I go about getting git to return a sane git status without modifying the repo or the local files.01:16
Use of a switch or .gitattribute or .gitconfigure is fine.01:16
thiago_ joined01:18
thiago left01:19
weiyang joined01:19
ehmatthes joined01:19
maestrojed left01:20
TheMoonMaster left01:20
lacrosse left01:20
jhulten joined01:20
Jasper left01:21
abelsiqueira left01:21
nailora joined01:21
felixsamora left01:21
raonyguimaraes left01:21
EugeneKay !crlf01:22
gitinfo to fix problems with line endings on different platforms, check out http://line-endings.gitrecipes.de/01:22
boombatower joined01:22
AaronMT left01:22
NBhostin_ joined01:24
NBhosting left01:24
unkmar 1.7.2 settings aren't going to help me when I still have 1.7.1. Missed it by, 'that' much01:24
knighthawk anyone have a recommended git diff tool for sublime text? (I guess I'm just assuming there is a sublime plugin)01:25
boombatower_ joined01:25
felixsamora joined01:25
neo1691 joined01:25
jhulten left01:25
gustavo__ left01:27
rchavik joined01:27
wbill joined01:29
richwestcoast left01:30
knighthawk unkmar I here there is a config but I used used dos2unix.01:30
pheaver joined01:30
Snibble joined01:31
unkmar knighthawk: Won't modify the time and date of every file I use it on?01:31
tmcmahon left01:31
bronson_ joined01:33
srji left01:33
thiago_thiago01:33
CreativeEmbassy joined01:33
Mars__ left01:33
knighthawk unkmar not if you use the -k switch (I think that's the right one)01:34
Mars__ joined01:34
thelorax123 left01:34
knighthawk unkmar yeah -k or --keepdate01:34
unkmar knighthawk: thank you.01:35
Snibble left01:35
knighthawk I haven't decided how yet but I think I'm going to use create a hook to run dos2unix on every push up.01:36
thelorax123 joined01:36
knighthawk that way I don't have to become the line ending police.01:36
Watabou joined01:36
unkmar that shouldn't be needed there are plenty of switches for that.01:36
HenryG left01:37
Brmm left01:38
Mars__ left01:38
jfoy left01:39
unkmar knighthawk: find ./ -type f -iname '*.php' -exec dos2unix -k {} \;01:40
mribeirodantas left01:40
occupant left01:41
occupant joined01:41
sebrock joined01:41
knighthawk thanks unkmar01:42
I'll need it for .js file and a few other types too but thanks.01:42
elplatt left01:42
boombatower_ left01:43
ni__ left01:44
abdostar left01:44
unkmar broke my website. :(01:45
chuckharmston joined01:45
abdostar joined01:45
tvw left01:45
unkmar it should be fixed now.01:45
that process changed owner of the files.01:46
sebrock left01:46
unkmar I had to set the chgrp the files back to ftp01:46
diegoviola joined01:46
knighthawk oh sorry about that. (I'm sure there is a switch for that as well though)01:46
bronson_ left01:47
Sigma left01:47
unkmar knighthawk: yeah, I'll look for it next time and... Just wanted to warn you about it.01:47
kaawee left01:48
dev__ joined01:48
abdostar left01:49
Targen_ left01:49
neo1691 left01:49
abdostar joined01:50
rafaqueque left01:50
jaimef left01:50
unkmar nope, don't see a way to keep owner:group01:50
rnsanchez left01:51
jaimef joined01:51
Davey left01:51
staafl left01:51
TheMoonMaster joined01:53
bronson_ joined01:53
NBhostin_ left01:54
DonRichie left01:54
DonRichie joined01:54
Davey joined01:54
srji joined01:54
alvaro_o left01:55
renatow left01:56
shuaib joined01:56
rjhunter joined01:56
imachuchu left01:58
asQuirreL left01:58
hahuang65 left01:59
renatow joined01:59
kaawee joined01:59
johnnyfuchs joined02:00
bitkiller left02:00
johnnyfuchs left02:00
felixsamora left02:01
pixelgremlins_ba joined02:01
ivan\ left02:01
daito joined02:01
lresende joined02:01
ivan\ joined02:02
breadfruitman joined02:02
breadfruitman left02:02
akurilin Is there any kind of mnemonic for remembering what gets rebased onto what by default?02:03
I can never remember which direction things go if I say something like `git rebase mybranch`02:03
I think it means "rebase branch x onto current branch"02:03
pixelgremlins left02:03
samuel02 joined02:04
thiago left02:04
kaawee left02:05
Goplat joined02:05
SirFunk_ left02:06
luc_ joined02:06
daito left02:06
wrouesnel1 joined02:06
echo-area joined02:06
samuel02 left02:09
jrnieder akurilin: the original purpose of 'git rebase' is "I am maintaining a set of patches and want to move them to a new base before mailing them out"02:10
akurilin: so, your patches are the current branch, and the new base is the argument02:10
srji left02:10
jrnieder akurilin: alternatively you can pass no arguments at all, to make it behave roughly speaking like "git rebase @{u}"02:11
daito joined02:11
AaronMT joined02:11
akurilin jrnieder, so with rebase I'm effectively saying "take current HEAD and make it point to branch X"?02:12
SocalNick left02:12
akurilin to whatever ref is pointed to by branch X I mean02:12
etcetera left02:14
geomyidae joined02:14
AaronMT left02:14
jrnieder nah, you're taking the commits X..HEAD02:14
Gavrisimo left02:14
jrnieder and re-applying them on top of X02:14
e.g., if you wrote 5 patches on top of "master" a year ago02:15
etcetera joined02:15
jrnieder and now you have a newer version of "master"02:15
then "git rebase master" will give you 5 (or fewer!) patches on top of the new "master"02:15
("or fewer" because if some of the patches were already applied in "master" then your extra copies of them will be dropped)02:15
etcetera left02:16
jrnieder s/copies/copy/02:16
SirFunk joined02:16
akurilin yeah that just went over my head...02:16
adamwathan joined02:16
jrnieder sorry02:16
what was your question?02:17
akurilin I need to find a solid point of reference and grok this02:17
etcetera joined02:17
mattattaque joined02:17
jrnieder taking a step back, what are you trying to do?02:17
akurilin Just trying to remember well what exactly goes on behind the scenes of a rebase.02:17
jrnieder ok02:17
akurilin so I don't have to use a reference every time I need to use it02:17
to remember what goes where and in which order02:18
chuckharmston left02:18
jrnieder I think it's easier to put in context if I know why you are using rebase in the first place02:18
chuckharmston joined02:18
Watabou left02:20
akurilin jrnieder, all I'm doing is either keeping master <--> develop in sync with a clean history (both acquire commits independently of each other). I'm already using interactive rebase to squash topic branches into a single blob.l02:20
ecube left02:20
jrnieder akurilin: so, you want a mnemonic for the order of arguments to 'git rebase --interactive'?02:21
akurilin so my steps are usually: fetch master from repo, rebase on local master, go to develop, rebase master to it etc.02:21
make some changes to develop, go to master and rebase from develop02:21
rinse and repeat02:21
jrnieder hm, for this kind of thing I'd usually use 'git pull --rebase'02:21
CreativeEmbassy left02:21
jrnieder i.e., 'git branch --set-upstream-to=origin/master master; git branch --set-upstream-to=origin/master develop'02:22
etcetera left02:22
Boohbah left02:22
jrnieder and then whenever I'm on "master" and want to pull in the upstream changes, I'd run "git pull --rebase"02:23
chuckharmston left02:23
jrnieder likewise when on "develop"02:23
CreativeEmbassy joined02:23
qknight left02:23
mtx_init left02:23
moondoggy left02:23
qknight joined02:23
jrnieder There's a little terminology issue in how you're describing the steps02:23
akurilin jrnieder, that's neat, thanks for sharing. That won't cause develop to update origin/master on push, will it?02:23
Luke-Jr left02:23
jrnieder by default in current git, "git push" does something you don't want :)02:24
Luke-Jr joined02:24
jrnieder "git push origin develop" does the right thing (pushes your local develop branch to the remote develop branch) and doesn't care about the upstream02:24
In git 2.0, plain "git push" without further arguments would act like "git push origin master" when you're on the 'master' branch02:25
and would just complain that it doesn't know what you mean when you're on the 'develop' branch02:25
btree joined02:26
jfoy joined02:26
BSaboia left02:26
chamunks joined02:27
jrnieder Maybe what I called "something you don't want" is might be actually the behavior you want if you're used to it.02:27
I should have asked.02:27
s/is might be/might be/02:27
delasteve left02:28
dabar joined02:28
akurilin jrnieder, I somehow learned to use the full git push <remote> <branch> form, so that hasn't affected me personally, but I remember reading about that change recently02:29
jrnieder, so do you know of a good resource for more low-level explanations of something like rebase?02:30
chamunks left02:30
akurilin or should I be able to understand everything completely in depth from git-scm book?02:30
(the online version at least)02:30
moondoggy joined02:30
sebhoss joined02:30
nwertman left02:30
JokerxHarley left02:31
jfoy left02:33
jrnieder akurilin: man git-rebase isn't bad02:33
gitinfo akurilin: the git-rebase manpage is available at http://jk.gs/git-rebase.html02:33
SonicX left02:34
SonicX joined02:34
dabar Hello. The team and I are trying out a new branching workflow. Somehow somewhere it looks like code from one of the commits is changed, but I don't see that in the git log -p output. I suspect it is because of the merges and such. Any insight into where to look next?02:34
sebhoss left02:35
Advocation joined02:35
chrisss404 left02:35
jrnieder dabar: -m can show more detail about merges02:35
dabar: it mixes well with --first-parent02:35
Skrypter left02:35
ledtc_ joined02:36
ledtc_ Hi, how do i clean out my current repo and add fresh files ?02:36
jfoy joined02:36
d2dchat joined02:37
btree left02:37
ledtc_ Another funny thing, i cant press the "send" button on the final stage of the gui ?02:37
mtx_init joined02:37
dabar thank you02:37
akurilin jrnieder, thanks again!02:37
chrisss404 joined02:37
jaimef left02:38
Kromitvs left02:38
jaimef joined02:38
fangismfangism-shadow02:39
Kromitvs joined02:39
Advocation left02:40
ledtc_ Anyone ?02:41
thelorax123 left02:42
sebrock joined02:42
ecube joined02:42
ecube left02:42
ecube joined02:42
Snibble joined02:42
Guest59632 joined02:43
Vampire0_ joined02:43
thelorax123 joined02:44
diegoviolaGuest2739702:44
Guest59632diegoviola02:44
Watabou joined02:44
Mars__ joined02:44
Guest27397 left02:45
sebrock left02:46
Vampire0 left02:47
jfoy left02:47
CheckDavid left02:47
mintyFresh joined02:47
Mars__ left02:49
mintyFreshGuest2480302:49
dhruvasagar joined02:49
TenJack left02:50
Guest24803minty02:50
aberrant joined02:50
Kromitvs left02:50
Kromitvs joined02:51
intripoon_ joined02:51
Watabou left02:52
geomyidae left02:53
bronson_ left02:53
dhruvasagar left02:55
intripoon left02:55
Kromitvs left02:55
dyng left02:56
Kromitvs joined02:56
Watabou joined02:57
geomyidae joined02:57
mintmoney joined02:58
dhruvasagar joined03:00
PaulCapestany left03:00
dabar left03:01
minty left03:01
silviof1 joined03:01
dyng joined03:01
ledtc_ left03:02
jrnieder akurilin: any time03:03
Destos joined03:03
silviof left03:03
knigitz left03:07
Samual left03:11
Samual joined03:11
Samual left03:11
Samual joined03:11
TheMoonMaster left03:11
hellopat left03:12
Guest99488 joined03:12
whunt left03:12
hellopat joined03:13
Kromitvs left03:13
dyng left03:13
Kromitvs joined03:14
diegoviola left03:14
knighthawk left03:14
knighthawk joined03:15
diego1 joined03:15
hellopat left03:17
lacrosse joined03:17
Guest99488 left03:18
Kromitvs left03:18
nwertman joined03:18
Kromitvs joined03:18
knighthawk left03:19
oojacoboo joined03:20
jkremser left03:20
diego1diegoviola03:20
GreenAsJade joined03:21
aberrant left03:22
GreenAsJade I can tell the difference, in diff terms, between two remotes using git diff origin/master other_remote/master ...03:22
SirFunk left03:22
GreenAsJade ... but how can I get the difference in terms of "commits" instead of patches?03:22
mtx_init left03:22
GreenAsJade I would like to know that other_remote is one commit ahead of origin, for exampe03:22
SimonNa left03:22
jrnieder GreenAsJade: try "git log --left-right --oneline origin/master...other_remote/master"03:23
SirFunk joined03:23
aberrant joined03:24
jerius joined03:25
dhruvasagar left03:25
nwertman left03:25
shruggar left03:26
GreenAsJade That is awesome!!03:27
offby1 tries03:28
CKyle_ joined03:28
GreenAsJade takes his hat off to jmieder03:28
jday_ left03:29
dsdeiz_ joined03:29
dsdeiz left03:29
GreenAsJade I never would have worked that out from reading the man page of git log, I can tell you that! :)03:29
Snibble left03:30
jonez left03:30
LuxuryMode joined03:31
caseydriscoll left03:31
adamwathan left03:31
jerius left03:32
caseydriscoll joined03:32
rc111 joined03:32
ikoo_ left03:33
hwrd|work left03:35
Kromitvs left03:36
Kromitvs joined03:36
Advocation joined03:36
adamwathan joined03:37
rurufufuss joined03:39
AWinterman left03:40
Advocation left03:41
hwrd|work joined03:41
ikoo joined03:42
sebrock joined03:43
Katafalkas joined03:43
skorgon joined03:43
jonez joined03:43
wrouesnel2 joined03:44
CKyle_ left03:45
SirFunk left03:45
mmitchell left03:45
sebrock left03:47
juvenal left03:47
juvenal joined03:48
etcetera joined03:48
pheaver left03:49
TheMoonMaster joined03:50
dsdeiz_ left03:50
dsdeiz joined03:51
cmpera joined03:51
samuel02 joined03:53
GreenAsJade left03:53
juvenaljuvenal_away03:53
GreenAsJade joined03:55
GreenAsJade left03:57
hellopat joined03:57
samuel02 left03:58
diego1 joined03:58
MattStratton joined03:59
Dougie187 left03:59
diegoviola left04:00
diego1diegoviola04:00
Kromitvs left04:01
Kromitvs joined04:01
hellopat left04:01
el3ctron_ joined04:04
twoface88 joined04:05
Sigma joined04:05
CKyle_ joined04:06
diegoviola left04:06
thelorax123 left04:06
Kromitvs left04:06
Kromitvs joined04:06
juvenal_awayjuvenal04:07
germanoak joined04:07
fairuz joined04:07
Guest65320 joined04:07
Brmm joined04:07
adamwathan left04:07
Luke-Jr left04:08
Luke-Jr joined04:08
thelorax123 joined04:08
Guest65320diegoviola04:09
d2dchat left04:10
hwrd|work left04:11
chuckharmston joined04:13
dyng joined04:14
germanoak left04:14
sabgenton joined04:16
daito left04:17
sabgenton how do I show a commits information (parents)04:17
daito joined04:18
nottombrown left04:18
deryni git show <commit> ?04:18
preflex_ joined04:18
guampa left04:18
sabgenton deryni: doesn't show the parrent or tree sha's04:19
dyng left04:19
hahuang65 joined04:20
skorgon sabgenton: add '--parents'04:20
preflex left04:20
preflex_preflex04:21
sabgenton skorgon: yay that worked04:21
shows in in the same line as commit:04:21
I rember it saying parents: in the past04:21
mabye it was something else04:22
daito left04:22
SirFunk joined04:22
skorgon sabgenton: don't know. just found it in man git log. and for some reason it apparently also works for git show.04:23
gitinfo sabgenton: the git-log manpage is available at http://jk.gs/git-log.html04:23
freestyl3r left04:23
guns left04:23
deryni Merge commits lists a 'Merge:' line with parents or did you mean 'git cat-file -p <commit>'?04:24
hahuang61 joined04:24
hahuang65 left04:24
sabgenton ok so git log stuff works with git show04:24
GT4066 joined04:24
sabgenton ah cat-file -p way beter :D04:26
beautifulmind joined04:27
skorgon or, git show --pretty=raw <commit>04:28
misterpink left04:28
knighthawk joined04:28
CKyle_CKyle04:28
skorgon or you can define your own output format for log/show04:29
R1KRDO joined04:29
R1KRDO left04:30
akiva left04:30
ezekielnoob joined04:31
sebhoss joined04:31
ErKa joined04:33
SonicX left04:35
abdostar left04:35
abdostar_ joined04:35
jnavila joined04:35
diegoviola left04:36
mattcen Hi all. Can anybody think of a one-liner that will let me list all branches whose most recent commit was before $date?04:36
sebhoss left04:36
abdostar_ left04:36
abdostar joined04:37
diegoviola joined04:37
abdostar left04:37
CKyle left04:37
abdostar joined04:38
mizu_no_oto joined04:38
yhager joined04:39
mattcen Ah. I can cheat by showing exactly 1 commit, and ensuring that commit is *newer* than "$date", which will give no output if the branch matches my desired criterua04:40
criteria*04:40
jfoy joined04:41
abdostar left04:41
abdostar joined04:41
PaulCapestany joined04:41
mattcen git branch -a | while read -r branch; do git log --after=2013-11-05 --color=always -1 "$branch" | grep -q ^ || echo "$branch"; done04:42
sebrock joined04:43
zeograd joined04:44
wrouesnel2 left04:46
mudmaster left04:46
maslowbeer joined04:47
mudmaster joined04:47
sebrock left04:48
deryni [ $(git rev-list --after=2013-11-05 --count "$branch" -gt 0 ] && echo "$branch" ?04:48
Sigma left04:49
yhager left04:49
cmpera left04:50
maslowbeer left04:50
maslowbeer joined04:50
yhager joined04:51
gustavo__ joined04:51
Katafalkas left04:51
Katafalkas joined04:52
Amogh joined04:53
Katafalkas left04:53
Katafalkas joined04:53
gitinfo set mode: +v04:53
delasteve joined04:53
nottombrown joined04:54
ErKa left04:55
shoshin joined04:55
mizu_no_oto left04:55
juvenaljuvenal_away04:56
Amogh left04:56
renegaderyu left04:57
jnavila left04:58
dyng joined04:58
Katafalkas left04:58
Katafalkas joined04:59
jnavila joined04:59
sabgenton left05:00
hobodave joined05:00
donmichelangelo left05:00
lresende left05:01
donmichelangelo joined05:01
diegoviola left05:01
rc111 left05:03
Katafalkas left05:04
danecando left05:05
tang^m joined05:05
SynthesizerPatel left05:05
tang^m left05:08
jperry left05:08
rjhunter left05:10
jperry joined05:10
juvenal_awayjuvenal05:10
juvenaljuvenal_away05:11
rjhunter joined05:11
mintmoney left05:14
sqlnoob joined05:15
caktux left05:16
daito joined05:18
Guest74408 joined05:19
guest242 joined05:19
Brmm left05:20
maslowbeer left05:21
Guest74408diegoviola05:21
robbyoconnor joined05:22
jnavila left05:24
aberrant left05:26
jazz264 joined05:27
saurabh joined05:28
saurabhGuest1199305:28
harish_ joined05:28
lresende joined05:29
lresende left05:29
toobluesc joined05:29
joelm left05:30
jazz264 left05:31
Brmm joined05:32
cotton left05:32
jazz264 joined05:32
mintyFresh joined05:33
maslowbeer joined05:34
mintyFreshGuest1458305:34
Guest14583 left05:34
mintmoney joined05:34
maestrojed joined05:36
CKyle joined05:37
ErKa joined05:37
Advocation joined05:38
dcpc007_ joined05:39
Brmm left05:41
samuel02 joined05:41
dcpc007 left05:41
Advocation left05:42
ewnd9 joined05:42
LuxuryMode left05:42
nicedice_ left05:43
harish_ left05:44
sebrock joined05:44
Brmm joined05:44
hellopat joined05:45
matanya left05:45
dhruvasagar joined05:46
samuel02 left05:46
hobodave left05:47
Tommy[D] joined05:48
SporkWitch left05:48
master_j joined05:49
sebrock left05:49
matanya joined05:49
hellopat left05:50
el3ctron_ left05:51
Brmm left05:51
Tommy[D]_ left05:52
rflktr joined05:53
groglogic left05:54
matanya left05:55
kpreid left05:55
kpreid joined05:56
matanya joined05:57
robbyoconnor left05:58
robbyoconnor joined05:59
robbyoconnor left05:59
svector joined06:00
mfulz joined06:01
Sigma joined06:01
diegoviola left06:01
Droolio left06:02
tpollard left06:03
bits8mybytes left06:03
svector left06:03
svector joined06:04
jperry left06:05
the_cybersphinx left06:06
jperry joined06:07
dunin joined06:07
dunin left06:08
dunin joined06:08
dsdeiz left06:09
dsdeiz joined06:09
CKyle left06:09
PaulCapestany left06:10
hoschi joined06:11
canoon left06:11
rflktr left06:12
ayaz joined06:12
rjhunter left06:13
silviof1silviof06:13
johnkevinmbasco left06:13
canoon joined06:14
canoon left06:14
canoon joined06:14
akiva joined06:15
abdostar left06:15
abdostar joined06:15
yhager left06:16
h0bbit_ joined06:17
tomplast left06:18
Katafalkas joined06:18
longbeach joined06:18
Search12 joined06:19
Bass10 left06:20
abdostar left06:20
dsdeiz left06:21
dunin left06:21
dsdeiz joined06:22
BiggFREE joined06:24
ewnd9 left06:24
chuckharmston left06:26
kukks left06:27
chuckharmston joined06:27
Sigma left06:29
BiggFREE left06:30
dunin joined06:30
Katafalkas left06:31
chuckharmston left06:31
lite_ joined06:32
Katafalkas joined06:32
sebhoss joined06:32
N0body99 left06:32
User458764 joined06:33
Katafalk_ joined06:35
kloeri left06:35
kloeri joined06:35
Gamecubic left06:36
jfoy left06:36
Katafalkas left06:36
sebhoss left06:37
dunin left06:37
pantsman joined06:37
pantsman left06:37
pantsman joined06:37
vipzrx joined06:38
vipzrx left06:38
jargon joined06:39
Katafalk_ left06:39
vipzrx joined06:39
vipzrx left06:39
Goplat left06:39
kukks joined06:40
daito left06:41
arvind_khadri joined06:41
daito joined06:41
surfdue left06:41
h0bbit_ left06:42
surfdue joined06:42
madewokherd left06:43
dyng left06:44
madewokherd joined06:44
sebrock joined06:44
dyng joined06:45
daito left06:46
sebrock left06:49
Katafalkas joined06:49
dburba joined06:50
vipzrx joined06:52
Brmm joined06:52
vipzrx left06:52
marthinal joined06:53
bluesm Do you know any repo that have decent amount of tags ?06:55
To make exerciese on tags ?06:56
nottombrown left06:56
yacks left06:56
sente joined06:56
Nevik bluesm: linux.git06:57
or git.git06:57
cjh` http://git.koha-community.org/gitweb/?p=koha.git;a=summary has about 400 tags06:57
nottombrown joined06:57
avolz left06:58
nottombrown left06:58
User458764 left06:58
nottombrown joined06:58
nottombrown left06:58
nottombrown joined06:59
mfulz left06:59
mlechner joined06:59
thierryp joined07:00
MattMaker left07:00
kukks left07:00
MattMaker joined07:00
arvind_khadri left07:02
bluesm Neptu: cjh` : Thanks :)07:03
acl_ left07:03
kukks1 left07:04
nottombrown left07:04
woollyams left07:04
JustinMac left07:04
SirFunk left07:05
lun__ joined07:05
daito joined07:05
johnkevinmbasco joined07:07
pantsman left07:07
sebrock joined07:07
jargon left07:08
BiggFREE joined07:08
SirFunk joined07:08
guest242 left07:08
guest242 joined07:08
jargon joined07:09
papegaaij joined07:09
cbreak-work joined07:10
Brmm left07:10
freimatz joined07:10
dunin joined07:11
mitz left07:11
dunin left07:11
delasteve left07:11
dunin joined07:12
mitz joined07:12
mishok13 joined07:13
arvind_khadri joined07:13
fRAiLtY- joined07:13
Brmm joined07:14
soee joined07:14
SirFunk left07:16
SergeyPenkin joined07:16
JohnBat26 joined07:16
ErKa left07:17
nafg left07:18
Mars___ joined07:18
sebhoss joined07:18
jrobichaud left07:19
Rix joined07:19
dhruvasagar left07:20
dhruvasagar joined07:21
galaris left07:22
Katafalkas left07:23
Katafalkas joined07:23
maestrojed left07:24
cenuij joined07:25
cenuij left07:25
cenuij joined07:25
Katafalkas left07:25
Katafalkas joined07:25
matanya left07:26
samuel02 joined07:27
chuckharmston joined07:27
brandonw left07:28
TomyLobo joined07:28
brandonw joined07:30
Gonzo89 joined07:30
mishok13 left07:31
robbyoconnor joined07:31
chuck8 joined07:31
ciampix joined07:31
guest242 left07:32
Xethron joined07:33
Xethron left07:33
Xethron joined07:33
chuckharmston left07:33
Mars___ left07:33
magnus^p joined07:33
hellopat joined07:33
Mars___ joined07:33
jast .man_update07:34
gitinfo jast: You must be logged into NickServ in order to use this command.07:34
magnus^^p left07:34
jast .man_update07:34
gitinfo jast: Manpage index updating. Please allow a few seconds before using again.07:34
jast jrnieder: ^ :)07:34
takamichi joined07:35
vipzrx joined07:35
noname001__ left07:35
h0bbit_ joined07:36
chuck8 left07:36
nnyk_ joined07:37
nnyk_ left07:37
Mars___ left07:38
sm0ke joined07:38
mattattaque left07:38
hellopat left07:38
nnyk_ joined07:38
nnyk_ left07:39
dunin left07:39
ngladitz joined07:39
ngladitz left07:39
ngladitz joined07:39
Advocation joined07:39
arvind_khadri left07:40
srajan joined07:41
srajan left07:41
srajan joined07:41
srajan left07:41
threesome left07:42
beautifulmind left07:43
JustinMac joined07:43
blahdodo joined07:43
maestrojed joined07:43
samuel02 left07:44
Advocation left07:44
madewokherd left07:44
knighthawk left07:44
acharlieh joined07:45
knighthawk joined07:45
eijk joined07:45
netiul joined07:49
netiul left07:49
netiul joined07:49
knighthawk left07:49
simesy left07:51
Cassiel left07:51
simesy joined07:52
mitz left07:52
h_kon joined07:54
mitz joined07:55
SirFunk joined07:56
simesy left07:56
thierryp left07:56
twoface88 left07:56
thierryp joined07:56
joelmo joined07:57
chuckharmston joined07:58
simesy joined07:59
mishok13 joined07:59
luc_ left08:00
Kicer86 left08:00
TomyLobo left08:00
noname001__ joined08:01
Kicer86 joined08:01
thierryp left08:01
chuckharmston left08:02
kermit left08:02
shoshin left08:03
_Vi left08:03
Raging_Hog joined08:04
Guest4410 joined08:04
fairuz left08:05
fairuz joined08:05
fairuz left08:05
blahdodo left08:05
qknight left08:05
luc_ joined08:06
lb1a joined08:06
thelorax123 left08:08
occup4nt joined08:08
harobed joined08:09
nottombrown joined08:09
juril joined08:10
thelorax123 joined08:10
xerxas joined08:11
occupant left08:11
blahdodo joined08:12
Exdaix left08:15
nottombrown left08:15
fightback joined08:15
acharlieh left08:15
mitz left08:16
sebhoss left08:17
mitz joined08:17
sebhoss joined08:17
WECoyote joined08:18
WECoyote left08:18
Norm__ left08:19
dev__ left08:19
staafl joined08:19
mf_ joined08:21
Chwing joined08:21
threesome joined08:21
sebhoss left08:22
shruggar joined08:23
rendar joined08:23
neo1691 joined08:24
_Qman joined08:25
galaris joined08:27
aChatir joined08:28
honk joined08:28
maestrojed left08:29
marhaban joined08:29
oojacoboo left08:29
shoshin joined08:29
marhaban left08:29
Sonderblade joined08:30
juvenal_awayjuvenal08:30
Sonderblade left08:30
Sonderblade joined08:31
Katafalkas left08:31
CreativeEmbassy left08:31
jayrobot left08:31
HelloShitty joined08:31
guest242 joined08:31
_Vi joined08:32
aChatir left08:32
thierryp joined08:32
sebhoss joined08:33
vurma joined08:33
snql joined08:33
khushildep joined08:33
guest2421 joined08:35
honk Hello, I've got a question regarding git-svn and the resulting git repository: I'm trying to migrate a project from svn to git via "git svn clone --stdlayout", but most of the branches from svn have a pretty broken history in git: the first commit on the branch in git does not have a parent at all and is completely empty, the second commit (with the same commit message) adds all files.08:35
garrilla joined08:35
honk this breaks merging pretty much completely as far as I can tell :/08:35
guest242 left08:35
honk (the branches were created via eclipse's svn plugin and show up properly in the svn history)08:35
_ikke_ honk: It's a limitation in git svn. You can use git grafts to manually add those references08:36
joelmo left08:36
guest2421 left08:36
guest242 joined08:37
garrilla i want to include (but not alter) someone else's repo in my project - for example, d3.js - is there something I have to do with git to do this?08:37
sebrock left08:37
_ikke_ !subprojects08:38
gitinfo So, you want to add git repositories inside of other git repositories? Well, you have four main options. First is to just do it, add the repo to the outer project's .gitignore, and treat them entirely separately. Best if they are entirely separate. Otherwise your best options are "!submodule", "!gitslave", and "!subtree". Try those commands in this channel, or in a PM to avoid flooding.08:38
_ikke_ garrilla: Sounds like a usecase for !submodules08:38
gitinfo garrilla: [!submodule] git-submodule is ideal to add subsidiary git repositories to a git superproject when you do not control the subprojects or more specifically wish to fix the subproject at a specific revision even as the subproject changes upstream. See http://book.git-scm.com/5_submodules.html08:38
honk _ikke_: I see. I'll try to google a bit and see if I understand that. thanks so far08:38
Brmm left08:39
bgerber left08:39
_iron joined08:40
Advocation joined08:40
bgerber joined08:40
khushildep left08:40
garrilla ok, so what are the scenarios where I would use gitignore or submodule ?08:41
_ikke_ with .gitignore, you just clone the project in a directory and ignore it. That means when someone else clones the project, he has no clue there is still a submodule required08:42
chovy joined08:42
cenuij left08:42
chovy is it bad if i do 'git push origin master' and 'git push test master' and 'git push prod master' simultaneously in 3 different windows from my working copy?08:43
Mars___ joined08:44
Advocation left08:44
_Vi left08:44
Xethron left08:45
Misan joined08:46
moritz chovy: I don't think so08:46
dabi joined08:46
thierryp left08:46
jarr0dsz joined08:46
thierryp joined08:47
garrilla as you can tell I'm very *noob* - my case is is simple, I'm make a web-app that takes some open data and builds a graph. It will have a page each for html,css,js,& php. It will use the d3.js library, which I have downloaded. I don't understand if I should include this in my repo... it seems like if everyone who ever used jquery added it to their repo it would get messy... so I'm guessing I...08:48
...should download it to my project folder but gitignore it?08:48
Mars___ left08:48
intellix joined08:48
j416 left08:49
TomyWork joined08:49
juvenaljuvenal_away08:49
alorence joined08:50
dcpc007_ left08:50
dabi left08:50
juvenal_awayjuvenal08:50
sebhoss_ joined08:51
dcpc007 joined08:51
sebhoss left08:51
stardiviner joined08:51
thierryp left08:51
shruggar left08:51
h0bbit joined08:51
dreiss joined08:52
moritz garrilla: there are basically three options08:52
1) adding it to your repo08:52
2) include it as a submodule08:52
3) don't include it, .gitignore it08:52
nnyk_ joined08:52
wrouesnel2 joined08:52
nnyk_ left08:52
moritz 1) is easiest to deploy, but gets messy if you update to a new d3.js version often08:52
2) is a rather clean solution, but requires messing with submodules08:53
halu joined08:53
moritz and 3) is problematic, because there is no validation or automatic provision of the correct d3.js version08:53
so I'd go either with 1) or 2)08:54
ewnd9 joined08:54
stardiviner Is there a good way to to manage a github repository's wiki repo in current repository's directory ?08:55
harish_ joined08:55
brammm joined08:55
brammm I have accidentily done a git commit -am and committed two files I didn't want to commit. Now I would like to amend that commit by adding two more files (but also extracting the other two), what would be my best approach?08:56
lun__ left08:56
brammm amend first and then take out the other two?08:56
or undo the entire commit?08:56
FernandoBasso joined08:57
garrilla moritz thx08:57
Watabou left08:57
thierryp joined08:57
luc_ left08:58
canoon brammm, you can revert the other files by doing `git checkout HEAD^ file; git add file`08:58
then just ammend08:58
moritz brammm: undo the commit with 'git reset HEAD^', bring the staging area to the state you want it, then commit08:58
or what canoon said :-)08:58
brammm aha, okay , thanks ^^08:58
moritz there's more than one way to do it :-)08:59
brammm all roads lead to Rome, clearly ^^08:59
teran left08:59
fightbac_ joined08:59
fightbac_ left08:59
err_ok How did i miss this happening... http://www.reddit.com/r/programming/comments/1qefox/jenkins_developers_accidentally_do_git_push_force/08:59
Watabou joined08:59
fightback left08:59
brammm god damnit, now I do git commit -am again >.<08:59
stupid muscle memory08:59
moritz brammm: I know, I do that all the time too, and always curse afterwards09:00
cenuij joined09:00
cenuij left09:00
cenuij joined09:00
moritz err_ok: not reading hackernews or r/programming, I presume :-)09:00
err_ok moritz: as yes09:00
tty-1 joined09:00
err_ok ah *09:00
guest242 left09:00
guest242 joined09:01
guest242 left09:01
guest242 joined09:02
Bass10 joined09:02
luc_ joined09:02
Rob___ left09:03
srji joined09:04
Watabou left09:04
Kayra joined09:04
Nicholas_Rishel joined09:05
Nicholas_Rishel left09:05
j416 joined09:05
Rob___ joined09:05
thierryp left09:07
wrouesnel2 left09:07
j416 left09:08
thierryp joined09:08
germanoak joined09:08
Bass10 left09:08
Mars___ joined09:09
j416 joined09:09
v0n left09:11
sebrock joined09:11
sebrock left09:11
thierryp left09:13
lun__ joined09:13
vadym joined09:14
Serus joined09:15
rath joined09:15
chovy left09:16
Octalot joined09:16
j416 left09:16
j416 joined09:16
juvenaljuvenal_away09:17
mdiers joined09:17
Mars___ left09:19
Mars___ joined09:19
twoface88 joined09:20
user258467 joined09:20
shruggar joined09:20
hellopat joined09:22
sabgenton joined09:22
m0ltar joined09:22
sabgenton is there any way to supress the bla bla detatched head message?09:23
well ok it usefull but at least shorten it?09:23
git config detatchedhead.warning.shorter = true ?09:24
_ikke_ You can only disable them09:24
Mars___ left09:24
sabgenton how?09:24
germanoak left09:24
mattattaque joined09:24
_ikke_ git config --global advise.detachedHead false09:24
git config --global advice.detachedHead false09:24
mbuf joined09:24
dreiss left09:25
sabgenton ah thanks, I'm using __git_ps1 in my $PS1 anyways09:25
moritz doesn't quite see the relation09:25
SimonNa joined09:26
guest242 left09:26
sabgenton when you in detatched head you prompt says d0cea0209:26
_ikke_ moritz: it would tell you you are in a detached HEAD09:26
sabgenton not09:26
master09:26
etc09:26
hellopat left09:26
moritz _ikke_: ah09:26
sabgenton moritz: the prompt gives you a sha1 rather than a branch etc09:27
mbuf is there a way that git can identify which C function changed? or if language support needs to be included where can it be done inside git?09:27
zaczee left09:27
j416 left09:28
j416 joined09:28
zaczee joined09:28
maslowbeer left09:28
osse mbuf: the diff header (@@ blabla @@) usually says which function the diff hunk belongs to09:28
teran joined09:29
h_kon left09:29
DaisyTheCow joined09:29
mbuf osse: if there are changes in multiple functions in a file, I have observed that the diff header only mentions the first function09:30
h_kon joined09:30
mbuf osse: git log -p | grep -E '^(commit|@@)' | sed 's/@@.*@@//'09:31
osse but there are multiple headers :O09:31
mbuf osse: it doesn't list for all the functions09:32
sabgenton _ikke_: so my only way to change the detached msg would be to recompile git?09:32
_ikke_ sabgenton: afaik, yes09:32
osse mbuf: du you have an example?09:32
sabgenton :(09:32
thierryp joined09:34
hotsyk joined09:34
j0ran1 joined09:34
hotsyk left09:34
dyng left09:34
v0n joined09:35
hotsyk joined09:35
hotsyk left09:35
hotsyk joined09:36
mbuf osse: https://github.com/kushaldas/retask09:36
hotsyk left09:36
mbuf osse: SHA1 5ae123bfec78751831a8743c59c1662f3d6b479409:36
takamichi left09:36
hotsyk joined09:36
hotsyk left09:37
harobed left09:37
_ikke_ https://github.com/kushaldas/retask/commit/5ae123bfec78751831a8743c59c1662f3d6b479409:37
hotsyk joined09:37
hotsyk left09:37
sqlnoob left09:38
takamichi joined09:38
Norm_ joined09:38
hotsyk joined09:38
hotsyk left09:38
juvenal_awayjuvenal09:38
beautifulmind joined09:38
calcifea left09:39
harobed_ joined09:39
harobed_ left09:39
hotsyk joined09:39
faBimon joined09:39
hotsyk left09:39
calcifea joined09:39
Kayra left09:39
hotsyk joined09:40
hotsyk left09:40
hotsyk joined09:40
hotsyk left09:41
Advocation joined09:41
hotsyk joined09:41
dyng joined09:42
hotsyk left09:42
h0bbit left09:42
neo1691 left09:42
sm0ke left09:42
hotsyk joined09:42
hotsyk left09:42
hotsyk joined09:43
calcifea left09:43
hotsyk left09:43
neo1691 joined09:43
calcifea joined09:43
calcifea left09:44
calcifea joined09:44
maslowbeer joined09:44
hotsyk joined09:45
hotsyk left09:45
Advocation left09:45
Kayra joined09:45
Xethron joined09:45
Xethron left09:45
Xethron joined09:45
hotsyk joined09:45
hotsyk left09:46
hotsyk joined09:46
hotsyk left09:47
tty-1 left09:47
achadwick joined09:47
j416 left09:47
j416 joined09:47
hotsyk joined09:47
hotsyk left09:48
hotsyk joined09:48
hotsyk left09:49
hotsyk joined09:49
RaceCondition joined09:49
hotsyk left09:49
hotsyk joined09:50
hotsyk left09:50
hotsyk joined09:51
hotsyk left09:51
Vinnie1991 joined09:51
BSaboia joined09:51
hotsyk joined09:51
hotsyk left09:52
weiyang left09:52
hotsyk joined09:52
hotsyk left09:53
Sendoushi joined09:53
Tuna-Fish joined09:53
raonyguimaraes joined09:53
hotsyk joined09:53
hotsyk left09:53
juvenaljuvenal_away09:54
hotsyk joined09:54
hotsyk left09:54
hotsyk joined09:55
hotsyk left09:55
hotsyk joined09:56
hotsyk left09:56
hotsyk joined09:56
hotsyk left09:57
asakura joined09:57
osse hmm09:57
oscarholmedo left09:57
osse seems like as far as Git is concerned there's only two hunks09:57
hotsyk_ joined09:57
osse mbuf: you can look at man gitattributes ("Defining a custom hunk-header")09:58
gitinfo mbuf: the gitattributes manpage is available at http://jk.gs/gitattributes.html09:58
jkremser joined09:58
jkremser left09:58
jkremser joined09:58
GT4066 left09:59
SirFunk left10:00
Mars___ joined10:00
FernandoBasso left10:00
echo-area left10:00
srji left10:01
mbuf osse: thanks!10:01
Mars___ left10:01
m0ltar left10:01
johnkevinmbasco left10:02
Mars___ joined10:02
osse Hmm, I get more relevant hunk headers with Git 18.4 locally than what github gives10:03
(I come from the future where Git 18 was released to wide critical acclaim last year)10:04
matthiaskrgr left10:05
staafl left10:05
dsantiago left10:06
Mars___ left10:06
Search12 left10:07
Gonzo89 left10:07
Mars___ joined10:08
neo1691 left10:08
neo1691 joined10:08
harobed joined10:09
terminalRepeat left10:09
harobed left10:09
_ikke_ cool10:09
harobed joined10:10
harobed left10:10
harobed joined10:11
harobed left10:11
spaceonline joined10:11
harobed joined10:12
harobed left10:12
ChrisAnn joined10:12
diget_diget10:12
arvind_khadri joined10:12
harobed joined10:12
harobed left10:13
lb1a osse, is it compatible with linux 42.2834.2323.21 ?10:13
takamichi left10:13
lb1a LTS10:13
nnyk_ joined10:13
harobed joined10:13
harobed left10:14
nnyk_ left10:14
takamichi joined10:14
mklappstuhl joined10:15
harobed joined10:15
raonyguimaraes left10:15
ChanServ changed the topic to: Welcome to #git, the place for git-related help and french toast | Current stable version: 1.8.4.3 | Start here: http://jk.gs/git | Seeing "Cannot send to channel" or unable to change nick? /msg gitinfo .voice | When you play the game of clones, you merge or you reset --hard.10:16
abdostar joined10:16
osse lb1a: of course10:16
lb1a good10:16
:)10:16
osse lb1a: everywhere libe runs, Git runs10:17
vtunka joined10:17
lb1a faboulubuntu sould be compatible then10:17
should*10:17
neo1691 left10:18
osse E is the prevailing language in my time, the successor to D. (Not to be confused with the party drug)10:19
BiggFREE left10:20
Mars___ left10:20
lite_ left10:20
Mars___ joined10:20
harobed left10:21
johanhar joined10:21
abdostar left10:21
harobed joined10:21
harobed left10:21
johanhar I am working in a submodule. I have a detached HEAD. Changes has been done on remote. If I checkout master, fetch and merge, will I lose all my commits and changes?10:21
harobed joined10:22
harobed left10:22
mattattaque left10:22
halu left10:23
m0ltar joined10:23
_ikke_ johanhar: Have you made changes in the submodule itself?10:23
(on a detached HEAD)?10:23
lite_ joined10:23
Vinnie1991 left10:23
mattattaque joined10:23
j0ran2 joined10:24
johanhar Yes10:24
I even commited10:24
:(10:24
_ikke_ so git branch --contains HEAD returns nothing?10:24
just create a branc10:24
git branch -b <new_branch>10:24
Vinnie1991 joined10:24
j0ran1 left10:24
codiez joined10:25
johanhar When I tried to push, git said that I was not working on any branch. When I tried to push to origin remote HEAD:master it said I needed to fetch first, because of changes in the repository on remote.10:25
_ikke_ johanhar: correct10:25
Mars___ left10:25
johanhar So if I do checkout master, fetch, merge origin/master (or was it master/origin, I dont remember the syntax), will I lose my commits and changes?10:25
_ikke_ johanhar: You first need to create a branch!10:26
Mars___ joined10:26
thierryp left10:26
johanhar Ok, thanks...10:26
strk joined10:26
strk how do I automaticall resolve conflicts to pick a "stash-popped" change ?10:26
johanhar Then I merge that new branch with master later on?10:26
_ikke_ johanhar: correct10:27
strk git checkout stash@{0} <the_file> # did it, it looks like10:27
mklappstuhl left10:27
strk but I'm not sure I hadnt checkout the _next_ stashed thing, since "git stash pop" should supposedly remove what's been just appled from the stack ?10:28
Mars___ left10:28
Mars___ joined10:28
_ikke_ strk: git stash pop doesn't drop the stash when conflicts happen10:28
dunin joined10:29
Draconis left10:29
dunin left10:29
johanhar _ikke_: so I create the branch, checkout master, fetch, merge origin/master (or master/origin, which syntax?), and then merge master with that branch (syntax for this? thanks)10:29
h_kon left10:29
Draconis joined10:29
dunin joined10:30
dunin left10:30
_ikke_ johanhar: Yes. The syntax is origin/master (<remotename>/<branchname>)10:30
SirFunk joined10:30
_ikke_ johanhar: But you should merge that new branch into master10:30
dunin joined10:31
dunin left10:31
juvenal_awayjuvenal10:31
johanhar Ok.. Hmm10:32
dunin joined10:32
dunin left10:32
Mars___ left10:33
eletuchy_ joined10:33
sm0ke joined10:33
dunin joined10:34
guest242 joined10:34
Kayra left10:34
dunin left10:34
Kayra joined10:35
eletuchy left10:36
ciampix left10:36
zaczee left10:37
m0ltar left10:37
eletuchy_ left10:37
luc_ left10:38
Kayra left10:39
m0ltar joined10:40
galaris left10:41
pradeepc left10:42
pradeepc_ left10:42
Brmm joined10:42
lb1a .trigger_edit cgit http://git.zx2c4.com/cgit/about/ web interface (cgi) for git repositories, written in C10:43
gitinfo lb1a: Okay.10:43
dbuch joined10:43
mattattaque left10:43
gustavo__ left10:43
molten_tar joined10:44
ni__ joined10:44
mattattaque joined10:44
lb1a !botsnack10:45
gitinfo Om nom nom10:45
zhost joined10:45
m0ltar left10:46
Brmm left10:47
mattattaque left10:49
dhruvasagar left10:49
PeterBooker joined10:49
pradeepc joined10:49
ni__ left10:49
h_kon joined10:50
dhruvasagar joined10:50
frgtn left10:50
eletuchy joined10:50
victorbjelkholm joined10:51
frgtn joined10:51
Serus .random10:51
gitinfo that's normal. Next patient! [18]10:51
frgtn left10:51
Ozch joined10:51
frgtn joined10:51
wet88 joined10:52
mikecmpbll joined10:53
guest242 left10:53
cbreak-work https://arstechnica.com/security/2013/11/hoping-to-avert-collision-with-disaster-microsoft-retires-sha1/10:54
when will git follow microsoft's lead?10:54
BSaboia left10:55
Chwing left10:55
mitz left10:56
penguin42 joined10:56
halu joined10:56
dhruvasagar left10:56
zarubin left10:57
dhruvasagar joined10:57
_ikke_ I deem the risk with git using sha1 lower then using it for secure connections10:57
cbreak-work using it to sign one of the most popular server kernel source codes?10:58
secure connections are less critical, their exposure is time limitted.10:58
but git history persists over year10:58
_ikke_ Siging uses pgp / gpg10:59
Mars___ joined10:59
cbreak-work unlike the ephemeral ssl connections secured by certificates that expire within one or two years, git has to prepare for a much more long term exposure10:59
DaisyTheCow left10:59
guest242 joined10:59
cbreak-work _ikke_: gpg/pgp is worthless if you can just change the commit with a colliding one.10:59
gpg only signs a hash.10:59
_ikke_ I know11:00
shoshin left11:00
sebhoss_ left11:00
guest2421 joined11:00
guest242 left11:00
daito left11:00
daito joined11:01
guest2421 left11:01
guest242 joined11:01
lite_ left11:01
h0bbit_ left11:02
guest242 left11:02
guest242 joined11:02
jazz264 left11:03
dhruvasagar left11:03
angelsl joined11:03
shoshin joined11:03
juvenaljuvenal_away11:03
dhruvasagar joined11:03
h0bbit_ joined11:03
bvi joined11:04
jazz264 joined11:04
SpecialK joined11:04
pikpik left11:05
SpecialK is it possible for a shallow clone to result in a repo with a detached HEAD?11:05
zhost left11:05
daito left11:05
corygibbons left11:06
_ikke_ cbreak-work: You could ask the question on the mailing list ;-)11:06
Mars___ left11:07
corygibbons joined11:07
SpecialKMaior11:08
Maior er, right, now again with the ability to speak11:09
is it possible for a shallow clone to result in a repo with a detached HEAD?11:09
Norm_ left11:09
Maior (a shallow clone of a branch, or so it should be)11:09
_ikke_ Maior: Your previous message came through too11:10
hellopat joined11:10
Maior _ikke_: ah whoops, apologies11:10
brammm left11:10
juvenal_awayjuvenal11:10
Maior "We have a spam protection system that prevents unregistered users from talking."; I wasn't registered, but yeah, probably should have expected a better failure UX than silence11:10
dyng left11:11
_ikke_ Maior: That was disabled again because gitinfo wasn't present a while ago11:11
dyng joined11:11
Maior ah right11:11
zapb_ joined11:12
dyng left11:13
dyng joined11:13
strk left11:14
beautifulmind left11:14
hellopat left11:14
Gavrisimo joined11:15
teran left11:15
vjacob joined11:15
teran joined11:15
teran left11:16
teran joined11:16
dhruvasagar left11:17
caseydri_ joined11:17
dhruvasagar joined11:17
samuel02 joined11:17
echo-area joined11:18
teran left11:18
teran joined11:19
donmichelangelo left11:19
aisbaa_ left11:19
amcsi_work left11:19
dyng left11:20
teran left11:20
hotsyk_ left11:20
teran joined11:20
donmichelangelo joined11:20
Norm_ joined11:20
asQuirreL joined11:21
aisbaa joined11:21
beautifulmind joined11:23
brammm joined11:23
galaris joined11:24
dyng joined11:24
snql left11:25
juvenaljuvenal_away11:25
blahdodo left11:27
bvi left11:27
JustinMac left11:27
d33tah could I somehow configure git status so that it'd first show me the untracked files, then a newline and untracked directories?11:27
dyng left11:28
guest242 left11:29
abelsiqueira joined11:30
ezekielnoob left11:31
the_cybersphinx joined11:31
beautifulmind left11:32
ezekielnoob joined11:32
boblehest left11:32
jnewt left11:33
_ikke_ d33tah: I don't think so11:33
boblehest joined11:34
vjacob left11:35
canoon lol unless you want "git status --porcelain | grep '/$' ; echo ; git status --porcelain | grep -v '/$'"11:35
lb1a canoon, just thought of that ;)11:35
dhruvasagar left11:35
canoon d33tah, directories aren't really "tracked" anyway11:36
just the files11:36
d33tah yeah, i know, but they're in git status results and obfuscate it11:38
ewnd9 left11:38
davividal joined11:38
canoon d33tah, do you actually just want the files then?11:40
no directories11:40
Maior hm so actually this looks like a Bamboo bug11:40
canoon --untracked-files=all sounds like what you want11:40
d33tah canoon: yeah, that could work as well.11:40
Maior 'til I get it fixed - is there a decent way to approximately go from commit hash, to "these branches have that in their history"?11:40
dhruvasagar joined11:41
err_ok left11:41
jnewt joined11:41
Advocation joined11:42
Entomo left11:42
lb1a Maior, git branch --contains <sha>11:43
arand left11:43
molten_tar left11:43
codiez left11:43
jnewt i'm trying to squash two commits in a branch that was merged with master. everytime i do, it creates a new branch. is it possible to do an in-place squash?11:43
beautifulmind joined11:43
tureba joined11:43
codiez joined11:43
kcj left11:44
lb1a jnewt, "in a branch that was merged with master" ? i guess you mean change the history of the master branch and squash these 2 commits11:44
in that case git rebase -i can help you11:45
but be aware of !rewrite11:45
gitinfo [!rewriting_public_history] Rewriting public history is usually bad. Everyone who has pulled the old history have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push -f` to force (and the remote may reject that, anyway). See http://goo.gl/waqum11:45
HenryG joined11:45
Kayra joined11:45
jnewt lbla: i'm aware of the history rewriting.11:45
lb1a good11:45
s/lbla/lb1a/11:46
Advocation left11:46
jnewt but, everytime i do git rebase -i, and set the two commits to squash, the original lines remain, but a new branch is created, which doesn't merge with master11:46
Maior lb1a: thanks11:46
aChatir joined11:46
lb1a jnewt, !repro11:46
gitinfo jnewt: Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session -- or, even better for complex issues, design a minimal case in which your problem can be reproduced, and share it with us. This will help immensely with troubleshooting.11:46
aChatir left11:47
Vinnie1991 left11:48
tirengarfio left11:49
Kayra left11:50
tirengarfio joined11:50
asQuirreL left11:51
paulweb515 left11:52
guest242 joined11:52
Misan left11:53
Misan joined11:54
aChatir joined11:55
codiez_ joined11:55
guest242 left11:56
harobed joined11:57
harobed left11:57
jnewt lbla: seems to happen on a branch with no merge too. i just do rebase -i <sha of commit i want to squash into> then select to squash a couple commits after that one.11:58
harobed joined11:58
jnewt then i get Successfully rebased and updated detached HEAD11:58
dhruvasagar left11:58
canoon jnewt, sounds like you aren't on a branch to begin with11:58
codiez left11:59
boombatower left11:59
brammm left12:00
penguin42 left12:00
sebhoss joined12:01
dsantiago joined12:02
lite_ joined12:03
cmpera joined12:03
chuckharmston joined12:03
Mars___ joined12:03
dhruvasagar joined12:03
Brmm joined12:04
juvenal_awayjuvenal12:05
canoon left12:07
nnyk_ joined12:07
Mars___ left12:08
arand joined12:08
tty-1 joined12:09
tirengarfio left12:09
tureba left12:09
Brmm left12:10
lun___ joined12:10
tirengarfio joined12:11
lun__ left12:11
thierryp joined12:11
Xethron left12:11
mklappstuhl joined12:12
ni__ joined12:13
eletuchy left12:13
eletuchy joined12:13
dhruvasagar left12:13
Xethron joined12:14
Xethron left12:14
Xethron joined12:14
jnewt cannon: yeah, you're right, when the branch is not merged, it works fine, i just didn't have it checked out12:14
Kayra joined12:14
dhruvasagar joined12:14
jnewt canoon ^12:14
but if it's merged, the original commits and the subsequent merge remain, and the branch them becomes unmerged12:15
xpirator left12:15
omarek joined12:16
omarek Hi, I just restored 2 of my modified files with 'git checkout -- filename' and made a commit. Can I retrieve these modified versions ?12:17
_ikke_ What do you mean with modified versions?12:17
omarek those from before 'git checkout -- filename'12:17
_ikke_ you can't12:18
Unless you have git added them before12:18
nnyk_ omarek: you basically removed the changes before the commit...git had no record of changes during the commit.12:19
rethus joined12:19
srji joined12:20
mbuf left12:20
dsdeiz left12:21
dhruvasagar left12:22
thierryp left12:22
Snibble joined12:23
Snibble left12:24
codiez_ left12:24
tirengarfio left12:24
rethus if i do git status, i got one antracked file. But if i try to checkout another branch, 1. I got no response on cli, but 2. The branch is not changed.12:25
ewnd9 joined12:25
amcsi_work joined12:25
bluesm left12:25
_ikke_ rethus: Why do you think the branch is not changed?12:25
rethus git status show the wrong one12:26
tirengarfio joined12:26
daito joined12:26
warbaque what is the easiest way to get origin/master current sha id? currently I just checkout, use reflog and select id by hand12:26
_ikke_ warbaque: Where do you need the id for?12:26
bitkiller joined12:26
frgtn left12:27
warbaque _ikke_: for logging purposes12:27
_ikke_ git rev-parse origin/master would do that12:27
frgtn joined12:27
ni__ left12:28
DoniRS joined12:28
gasbakid joined12:28
thierryp joined12:29
frgtn left12:31
safinaskar joined12:31
Guest11993 left12:32
rethus i also use egit from eclipse, if i try to switch the branch with it, he say many non comitted files. But if i try to stash, reset or commit, it also dosent work. if i trd to commit, the list is empty12:33
trooney left12:33
Fandekasp left12:33
daito left12:33
jnewt lbla: here's a simplified version of what i tred: http://pastebin.com/zHgDLnB712:34
tty-1_ joined12:34
hellopat joined12:35
Fandekasp joined12:35
rethus switch to master worked. but switch to those both branches are not wored12:36
wokod12:36
worked12:36
:D12:36
a-l-e joined12:36
zhost joined12:37
omarek nnyk_: Thank you.12:37
jnewt question is how do i squash those commits "in-place"12:37
nnyk_ omarek: yw12:37
tty-1 left12:38
bgerber left12:39
hellopat left12:39
rethus ok, no checkout to each other branch still work12:40
bgerber joined12:40
tty-1_tty-112:40
johanhar I'm in a submodule that had detached HEAD. I did many commits and when I wanted to push I got an error. Also remote has changes which needs to be fetched. So I made a branch, with git checkout -b work_13_11. When I try to say git push now, I get a fatal error: The current branch work_13_11 has no upstream branch. What does that mean?12:41
sebhoss left12:41
sebhoss joined12:41
dyng joined12:43
tmcmahon joined12:43
tirengarfio left12:43
Advocation joined12:43
marhaban joined12:43
rethus are any hardcore git expert here which can help me to save all my work in the branches :)12:44
Misan left12:44
Silex johanhar: it means that git doesn't know on what to push the local branch you created12:45
johanhar How can I fix that Silex?12:45
Silex johanhar: you have work_13_11 which is your saved work. Now what do you want to do exactly?12:45
tirengarfio joined12:45
tmcmahon left12:45
Silex get the latest changes and add yoru changes on top of that?12:45
sebhoss left12:46
neo1691 joined12:46
Silex merge your changes with the latest changes?12:46
johanhar I had many commits in detached HEAD. I want those commits to master, but there is changes so I need to fetch. This is inside a submodule12:46
Silex ok12:46
johanhar Someone told me to make a branch, and then merge with master12:46
Silex yes, but you don't merge by pushign12:46
johanhar I thought maybe I had to push the new branch before doing so12:47
dyng left12:47
guampa joined12:47
johanhar Can I checkout master and from there say merge work_13_11?12:47
Silex no. if you are afraid of losing work_13_11 and you want to push it upstream to keep it you can type "git push -u origin work_13_11". If you want to merge to your local master branch you shoudld type "git checkout master; git merge work_13_11;"12:48
Advocation left12:48
Silex and if you want to get the latest changes you should then type "git pull" when on the master branch12:48
johanhar Thanks12:48
Silex the git pull could come in between the checkout and the merge12:48
johanhar What if I merge local branch and master, then pull?12:49
Silex it probably doens't matter12:49
johanhar The order of things here is confusing :)12:49
Ok12:49
Silex I mean, you can have conflicts both ways12:50
aChatir left12:50
johanhar Yeah..12:50
Silex either teh conflcits are with the pull, or with the merge12:50
it depends which you prefer to have12:50
johanhar Dont know12:50
kaawee joined12:50
johanhar I'm new to git, don't know which is preferable12:50
Silex hum12:50
johanhar I'll try to push -u origin12:50
checkout master from there, and merge, and pull12:50
in that order, sounds ok?12:51
Silex yeah12:51
johanhar I'll try that then :) Thanks12:51
Kayra left12:51
Silex keep in mind you can _always_ cancel and start over because of the reflog12:51
neo1691 left12:51
Silex just make sure work_13_11 really do contain all your latest changes12:51
jkremser left12:51
Kayra joined12:51
johanhar When HEAD was detached I did git checkout -b work_13_1112:52
Guess that the changes are not lost then12:52
Silex it looks ok. type "git log --oneline --all --graph --decorate"12:52
it'll show you your commits and the branches they are onto12:52
mikecmpbll left12:53
xpe joined12:53
sm0ke left12:53
gae7a joined12:53
Silex you should see the old master, and then your commits on top of it leading to work_13_1112:53
johanhar Thanks, its a mess because it is a submodule12:53
Silex well, remove --all maybe12:53
johanhar can make a gist12:53
https://gist.github.com/bstcm/744861212:54
GT4066 joined12:54
johanhar It's norwegian, the commit messages12:54
rethus ok, now it works. Don't know why, or why not, sometime time does a good job :D12:54
johanhar But ok, trying the push -u origin now12:54
tincricket joined12:56
Kayra left12:56
johanhar Silex: no conflicts :)12:57
Lovely, thanks man!12:57
keller joined12:57
gae7a left12:58
mikecmpbll joined12:59
Silex yw12:59
gae7a joined12:59
Fandekasp left12:59
rethus what is the best way to create a orgin master on staging-Server? Till now, i have git-repo only locally13:00
jnewt hwo do i squash commits in-place? here's my example: http://pastebin.com/zHgDLnB7 i don't want the branch moved out on it's own, i want the commits to be squashed "in-place"13:00
Silex johanhar: it helps to think of branches as "post its" put on a tree of commits13:00
Kayra joined13:01
vtunka left13:01
rudak joined13:01
frgtn joined13:02
Exdaix joined13:02
boblehest left13:02
staafl joined13:03
Kayra left13:03
neo1691 joined13:03
Kayra joined13:04
johnkevinmbasco joined13:04
Mars__ joined13:04
erichynds joined13:04
guest242 joined13:04
BigBlueBacon joined13:04
kriks joined13:04
Kayra left13:05
vmiklos left13:05
guest242 left13:05
Kayra joined13:06
guest2421 joined13:06
Exdaix left13:06
dbuch left13:07
fightback joined13:08
MattStratton left13:08
fightback left13:08
Mars__ left13:08
SimonNa left13:08
safinaskar left13:09
Brmm joined13:09
guest242 joined13:09
guest242 left13:09
thegorn jnewt: yea, this gets kinda complicated13:09
vmiklos joined13:10
guest2421 left13:10
jargon left13:10
thegorn jnewt: because of the fact that you are trying to merge an already merged branch13:10
Kayra left13:10
Exdaix joined13:10
mklappstuhl left13:11
thegorn jnewt: what you did so far is correct, but you'll need to redo the merge to master or whatever that other branch is13:11
jargon joined13:11
j0ran2 left13:11
whaley joined13:11
thegorn so git checkout -b fixitup 4896e1f && git merge dev-track_rpm13:11
hyperair joined13:11
MacGyver left13:11
thegorn and then you can use rebase to put the post-merge commits on master onto fixitup13:12
MacGyver joined13:12
guest242 joined13:13
thegorn but yea, once you merge you're kinda out of luck, it is recorded in the other branch's history so you can't just rewrite the merged branch and expect it to rewrite the merged-into branch as well13:13
dort joined13:13
Brmm left13:13
garrilla left13:14
rafeca joined13:14
jonatasnona joined13:14
guns joined13:14
gasbakid_ joined13:14
abelsiqueira left13:15
freestyl3r joined13:15
gasbakid left13:15
j0ran joined13:16
MacGyver left13:16
MacGyver joined13:17
MacGyver left13:17
MacGyver joined13:17
gae7a left13:17
hyperair left13:20
breakingthings joined13:20
jpalmer joined13:21
jpalmer left13:21
jpalmer joined13:21
marhaban left13:21
TheWarden joined13:23
Sonderblade say im working on branch a, now i want to import all file changes from branch b into a, without adding any new commits, is that possible?13:23
vadym left13:23
fightback joined13:23
TheWarden Hi13:24
yacks joined13:24
TheWarden Is it possible to clone a repo and then have it automatically setup a few directories and then auto set permissions and ownership of the files/directories?13:24
_ikke_ Sonderblade: "git checkout branchB ."13:25
(uncommitted changes will be overwritten)13:25
Sonderblade that's a really nice trick13:28
dglambert joined13:30
thierryp left13:30
thegorn TheWarden: !backup13:30
gitinfo TheWarden: Worried about your data while trying out stuff in your repo? To back up commit history on all branches/tags: `git clone --mirror`. To backup everything, including work tree and staging area: `tar cf repo-backup.tar repodir`. Or do your experiment in a throwaway clone instead. See also http://sethrobertson.github.com/GitBestPractices/#backups13:30
cmpera left13:30
d1b_d1b13:30
cmpera_ joined13:30
thegorn ah, nm, no such luck13:30
TheWarden: i know gitinfo has some information about using git as a backup13:31
dglambert after I do my initial push "git push -u origin master" if I want to make another push, can I just say push13:31
TheWarden thegorn: thanks, not sure that is what I'm looking for. I want to git clone and then have permissions, ownership and a couple directories setup after the clone occurs.13:32
thegorn TheWarden: git doesn't track ownership/permissions13:32
and doesn't automatically run scripts post-clone (security nightmare)13:32
Snibble joined13:32
thegorn TheWarden: you could have a script in your git repo which sets up the permissions/ownership but past that you can't do it with stock git13:33
TheWarden thegorn: well normally I would agree but in the case that I'm using this in it would be very helpful. As it is now I have to do all this manually which takes quite some time to do. Maybe a git hook. I've never done hooks before.13:33
thegorn TheWarden: hooks are not part of the repository13:34
security nightmare again13:34
Tectu I'm trying to git svn rebase and I get "needs update" on every file. HOw to fix this? I want to get the state of the remote svn repo13:34
no local changes should be kept13:34
thegorn TheWarden: you need to just set up a script in your git clone called setup_permissions.sh and run that, in any case there is no point in doing it all manually13:34
but there isn't going to be something in git that does it automatically13:34
abelsiqueira joined13:36
mklappstuhl joined13:36
sebrock joined13:36
thegorn TheWarden: you might take a look at this list https://git.wiki.kernel.org/index.php/Interfaces,_frontends,_and_tools#Backups.2C_metadata.2C_and_large_files13:37
rafeca left13:37
TheWarden thegorn: ok, thanks for your help.13:37
thegorn there might be some frontend that helps you out, gitperms/metastore/etckeepa/git-cache-meta13:37
those all look interesting for your situation13:37
paulweb515 joined13:37
kanyl joined13:38
Tectu can I tell git rebase to ignore all local files and just get the remote ones? I get a bunch of conflict on binary files13:39
cbreak-work Tectu: you can resolve them with git checkout --theirs -- file13:39
kanyl Can git do "sudo" on a remote server before pushing the changes?13:39
Tectu cbreak, can I do that on the whole repo?13:40
cbreak-work Tectu: see man git-merge for the theirs suboption for the recursive strategy too13:40
gitinfo Tectu: the git-merge manpage is available at http://jk.gs/git-merge.html13:40
Tectu I see13:40
_ikke_ kanyl: no13:40
cbreak-work Tectu: only for ours13:40
fightback left13:40
Tectu cbreak, I really don't want to do them all manually :(13:40
cbreak-work theirs exists as a conflict resolution strategy13:40
but not as a "ignore EVERYTHING I have"13:40
if you want that, why bother with rebase anyway?13:40
chuckharmston left13:40
cbreak-work just use reset --hard13:40
kanyl _ikke_: What do I do instead?13:41
Tectu cbreak, It's a git mirror of an existing svn repo. It used to work fine by just running "git svn rebase && git push" so far. But now it's completely out of sync13:41
kanyl The repo is owned by another user13:41
_ikke_ kanyl: Use a proper deployment system13:41
whaley left13:41
Tectu cbreak-work, ^13:41
asQuirreL joined13:41
_ikke_ kanyl: It's just for pushing?13:41
TheBrainWork joined13:42
cbreak-work Tectu: so... use git svn fetch instead13:42
Kayra joined13:42
cbreak-work then, instead of rebasing, use git reset --hard13:42
_ikke_ kanyl: either setup the repo to be shared, or use something like gitolite13:42
cbreak-work look at git branch -a to find a branch to reset to13:42
Tectu cbreak-work, git svn fetch and then git reset --hard without any merging?13:42
cbreak-work yes13:42
mklappst_ joined13:42
cbreak-work you will lose local work13:42
but I assume you don't have any13:42
kanyl I got access to a customers server to do some changes on their website, the account I got has read access to the repo, so I cloned it over ssh, but then I can't push to it. sudo requires no password. I don't really want to mess around with the permissions if possible, I don't want to break anything on their server13:42
jkremser joined13:43
jkremser left13:43
jkremser joined13:43
Dudalus joined13:44
vtunka joined13:44
sHeemskerk joined13:44
mklappstuhl left13:45
dglambert left13:45
glebihan left13:46
aartist joined13:46
keller left13:46
Kayra left13:46
sHeemskerk Hello. can I ask here about EGit?13:46
Bass10 joined13:46
glebihan joined13:46
YoungFrog kanyl: this may be silly and I don't even know if it works, but I'd try, as user@remote, to do `git clone website.git' ; then set that cloned repo as your remote and push to it, and then you can push using your ssh access to the actual remote.13:47
kanyl: does that make sense ?13:47
cbreak-work kanyl: if you need sudo to push, then something's seriously broken13:47
kanyl: you should ask them how their deployment procedure works.13:48
MattStratton joined13:48
kanyl YoungFrog: Hmm, yes, so I have a copy in my home folder that I push to, and then push from that to the production one13:48
cbreak-work: Will do13:49
rethus what is the best way to create a orgin master on staging-Server? Till now, i have git-repo only locall13:49
Jackneill joined13:49
leeN joined13:49
rethus and is it recommended to put the orgin-master same time as staging-document-root?13:49
lb1a rethus, !deploy13:50
gitinfo rethus: Git is not a deployment tool, but you can build one around it(in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/the-list-and-irc/deploy.html13:50
lazers left13:50
glebihan left13:51
GarethAdams left13:51
glebihan joined13:51
hiroyuki joined13:52
dyng joined13:52
chuckharmston joined13:52
tvw joined13:53
Zarthus joined13:53
stardiviner left13:53
alfadir joined13:54
rethus what better easy way to deploy are recommended for php projekts ?13:55
penguin42 joined13:55
rethus any suggestions?13:55
Sigma joined13:56
rc111 joined13:56
GarethAdams joined13:57
GarethAdams left13:57
GarethAdams joined13:57
hyperair joined13:57
scampbell joined13:57
kevwil joined13:57
gasbakid_ left13:57
gasbakid joined13:58
neo1691 left13:58
adamwathan joined13:58
glebihan left13:58
Serus left13:58
_ikke_ I use capistrano, but that's written in ruby13:58
hellopat joined13:59
glebihan joined13:59
rethus _ikke_: in this hard to start with, if not working with it before?13:59
Roots47 joined13:59
lun__ joined13:59
kaawee left14:00
kaawee_ joined14:00
macabre joined14:00
garrilla joined14:00
lun___ left14:01
YoungFrog left14:02
gasbakid_ joined14:02
gasbakid left14:02
_ikke_ rethus: I used a railsless deploy module, which removed a lot of rails specific assumptions14:03
mizu_no_oto joined14:03
neo1691 joined14:03
_ikke_ rethus: If you're not afraid of writting ruby, it's not that difficult14:03
saorge_ left14:03
_ikke_ rethus: (I have very little experience with ruby, but still managed to use capistrano)14:04
Squarism joined14:04
Mars__ joined14:05
CreativeEmbassy joined14:05
rethus i have no experience with ruby, need only to get a running deployment-enviroment within 2 hours14:05
caseydriscoll left14:06
_ikke_ rethus: What entails deployment? Is it mainly putting code there, or does a lot of other things need to happen?14:06
snql joined14:06
kaawee_ left14:06
kW_ joined14:06
IrishPrime joined14:06
caseydri_caseydriscoll_14:07
stardiviner joined14:07
FabTG_ left14:07
Snetty joined14:07
FabTG joined14:08
rethus only deploy code to staging and live14:08
from dev14:08
joshbetz joined14:08
m0ltar joined14:09
alfadir hi, have a beginner question : cloned a public repo, made 2 commits, sent them as patches (format-patch), they got accepted. when pulling i get a conflict. should it not just recognize that origin have thouse two patches now ? no other changes than my 2 patches were made to origin in this time.14:09
Mars__ left14:09
alfadir the commits were added with git am so I thought they would have the same hash ? but they do not..14:10
my commit 160c53a389.. the same commit from git am 43d6..14:11
danicampa901 joined14:11
rethus k, first of all, i'll create an own folder as my git-remote -orgin master, right?14:11
caseydriscoll_caseydriscoll14:11
dyng left14:12
Bass10 left14:12
TheHoneyBadger joined14:12
TheHoneyBadger left14:12
TheHoneyBadger joined14:12
ojacobson left14:13
gasbakid_ left14:14
Brmm joined14:14
j0ran2 joined14:14
jerius joined14:14
gasbakid joined14:14
RaceCondition left14:14
shinnya joined14:14
j0ran left14:14
mizu_no_oto left14:15
HelloShitty left14:15
Destos left14:16
rc111 left14:16
koleS320 joined14:16
cannonball joined14:17
koleS320 How can I move file to current revision, which was added, commited and then removed from repo?14:17
checkout that revision copy it somewhere , go back to HEAD and copy it there?14:18
pikpik joined14:18
lov huh?14:18
I'm a little confused about what you're asking14:18
lazers joined14:18
lov if you know what revision it was in, you can just do "git checkout <SHA> -- path/to/file14:18
iirc14:18
Brmm left14:18
neo1691 left14:19
TomyWork left14:19
Jackneill left14:19
Jackneill joined14:20
koleS320 and that file will appear in current revision?14:20
paulweb515 left14:20
Kayra joined14:20
scathen^C left14:21
koleS320 lov: thx, exactly what I needed14:21
shruggar left14:23
jonez left14:23
paulweb515 joined14:23
Snibble left14:24
shruggar joined14:24
hobodave joined14:25
beautifulmind left14:25
h_kon left14:26
rchavik left14:26
russoneto joined14:26
h_kon joined14:26
rflktr joined14:26
jatt joined14:27
SergeyPenkin left14:27
srji_ joined14:27
tty-1_ joined14:27
MattStratton left14:28
kW_ left14:28
nnyk_ left14:29
tty-1 left14:30
srji left14:30
Snibble joined14:30
mmitchell joined14:30
aberrant joined14:30
h_kon left14:31
CKyle joined14:31
h0bbit_ left14:31
h0bbit_ joined14:34
yargy left14:34
kW_ joined14:35
joelrobichaud joined14:35
jonez joined14:35
jazz264 left14:35
TomyWork joined14:35
lb1a left14:36
davividal left14:36
Sigma left14:37
CheckDavid joined14:38
LuxuryMode joined14:39
Destos joined14:39
jargon left14:39
CKyle left14:40
qsusOFFcsqsuscs14:40
aChatir joined14:41
snql left14:41
sebhoss joined14:41
simesy left14:42
simesy joined14:42
lb1a joined14:44
tufflax joined14:44
Advocation joined14:44
dsdeiz joined14:44
SynthesizerPatel joined14:44
omarek left14:45
lite_ left14:45
srji joined14:45
lite_ joined14:45
adamwathan left14:46
Guest____ joined14:46
Ozch left14:46
ktosiek_ left14:47
simesy left14:47
cagedwisdom left14:47
TomyWork left14:48
srji_ left14:48
Advocation left14:49
boblehest joined14:49
davividal joined14:49
lite_ left14:50
soee left14:50
bgerber left14:51
Dougie187 joined14:51
boblee joined14:51
sebhoss left14:51
k4rtik joined14:52
johanhar left14:52
sebhoss joined14:52
rethus i have dublicate the staging-folder to /git/staging.14:53
now i init git on this folder.14:53
bgerber joined14:53
rethus this repo should be the orgin master for my project.14:53
TomyWork joined14:54
snql joined14:54
lb1a a repo isn't a origin master14:54
rethus have i to add git .ignore for cacheFolders on this repo?14:54
so how can i create a orgin master14:54
lb1a in fact "origin" is just a default name for a remote that you initially cloned a repo from.14:55
gua_ould joined14:55
el3ctron_ joined14:55
rethus ok, but now this:14:55
lb1a "master" ist just a the default name of a new repo to give you something to start with14:55
args14:55
"master" ist just a the default name of a branch in a new repo to give you something to start with14:55
"master" is a branchname14:56
"origin" is a remote name14:56
hobodave left14:56
lb1a just names. like dust in the wind.14:56
rethus ok. but now this situation14:56
i still has a git on local machine. tlii now, i've developed localy and push changed files via ftp to staging.14:56
sebhoss left14:56
Kayra left14:57
lb1a what's "a git" ?14:57
rethus so the staging-folder, i've copy now is simlar to my local master14:57
lb1a a repo that you work on?14:57
aChatir left14:57
jab416171 left14:57
rethus i work on branches. if they work, i merge to master14:57
xpe left14:57
rethus never working on master14:57
lb1a what are you talking about? what's " so the staging-folder, i've copy now is simlar to my local master" ??14:58
ktosiek joined14:58
strk joined14:58
rethus please be patient and let me explain14:58
strk can a remote tag be removed ?14:58
mklappst_ left14:59
PerlJam strk: yes14:59
mikecmpbll left14:59
strk did it.. push :<tag>14:59
mklappstuhl joined14:59
abelsiqueira left14:59
gasbakid left14:59
PerlJam rethus: perhaps you should think through your problem, then compose a paste that describes everything relevant and finally show the link to the paste here.14:59
boblee left15:00
donmichelangelo left15:00
strk left15:00
JPohlman1JPohlmann15:00
JPohlmann left15:00
JPohlmann joined15:00
boblee joined15:00
lb1a PerlJam, +115:00
apipkin joined15:00
PerlJam rethus: that way, you won't get interrupted in your explanation and there will be less "wtf?" from #git15:00
donmichelangelo joined15:00
jerius left15:01
rethus I developed local. There i have the master which is the actually state of the staging-server. cause if i finished a local branch, i merge it to master and then put changed files via FTP to STAGING-Server.15:01
Thats as its now.15:01
PerlJam ... or just ignore me.15:01
Gavrisimo left15:01
Gavrisimo joined15:02
YoungFrog joined15:02
rethus So i want to put the master on the staging-server, cause other developer should join the project.15:02
rudak left15:02
rethus I have copy the staging-document-root to /git/staging (this should become the new git master-repo for all developers)15:03
now my question:15:03
etcetera left15:04
rethus Can i only do a git init on /git/staging, and configure this as orgin master in my local git?15:04
elplatt joined15:04
nwertman joined15:04
cmpera_ left15:04
Kayra joined15:04
rudak joined15:04
jerius joined15:04
apipkin left15:05
richgilbank joined15:05
Mars__ joined15:05
rethus cause i want to have all the commit-messages on this master15:05
PerlJam rethus: you have a confusion of terminology in your question, but if I decipher you correctly, it sounds like you want to make "/git/staging" as a remote for your local git repo. If that's what you're asking, the answer is "yes"15:06
rethus PerlJam: didn't see your post,sorry. was busy by writing15:06
King_Hual joined15:06
rethus yes15:06
Gavrisimo left15:06
bluesm joined15:08
Sigma joined15:09
Mars__ left15:09
shinnya left15:10
JSharpe_ joined15:10
Ozch joined15:10
aspiers joined15:11
knighthawk joined15:11
paulweb515 left15:12
JSharpe__ left15:13
petey joined15:14
brammm joined15:15
brammm left15:15
brammm joined15:15
TomyWork left15:15
brammm left15:15
tty-1 joined15:16
keller joined15:16
zeknox joined15:17
rethus so any hint PeelJam?15:17
zeknox if i clean / reset all local changes on a git branch that have not been staged or commited, will it affect any other branch?15:17
lb1a rethus, he/she/it already gave you the answer "yes"15:17
dewdrop left15:17
rethus lb1a: which answer15:18
lb1a zeknox, no, since uncommited/unstaged changes dont belong to any branch15:18
Maior left15:18
rethus ah ok,15:18
lb1a rethus, to repeat PerlJam : "rethus: you have a confusion of terminology in your question, but if I decipher you correctly, it sounds like you want to make "/git/staging" as a remote for your local git repo. If that's what you're asking, the answer is "yes""15:18
rethus i missread it15:18
zeknox lb1a: thats what I was thinking, so I must atleast stage changes with git add filename in order to not loose those branch changes15:18
rethus lb1a: thanks15:18
bwreilly joined15:19
lb1a zeknox, changes dont belong to any branch, as long as you don't commit them. !float15:19
gitinfo zeknox: If you have made a change in your working directory and have NOT YET COMMITTED, you may "float" that change over to another (`git checkout oldbranch`) or new (`git checkout -b newbranch`) branch and commit it there. If the files you changed differ between branches, the checkout will fail. In that case, `git stash` then checkout, and `git stash apply` and go through normal conflict resolution.15:19
Gavrisimo joined15:19
mribeirodantas joined15:20
lb1a and yes you will !destroy those changes if you reset/clean your workdir without commiting those changes to a branch ( or stash them )15:20
gitinfo The operation/command sequence just mentioned will destroy uncommitted changes. Please apply caution.15:20
tty-1_ left15:20
Gavrisimo left15:20
TomyWork joined15:20
mikecmpbll joined15:20
Gavrisimo joined15:21
zeknox gitinfo: thanks for the info, i created a branch from my master so I could add additional functionality. The functionality it not working yet and I have made no stages / commits. I would like to be able to go back to master branch and clean it without loosing anything from the new branch15:21
gitinfo zeknox: you're welcome, but please note that I'm a bot. I'm not programmed to care.15:21
mlechner left15:21
zeknox doh! bot got me15:21
Serus joined15:21
bamj0rb joined15:22
rouf left15:22
johnnyfuchs joined15:23
rouf joined15:23
shoshin left15:23
papegaaij left15:23
lc0dd0cl left15:25
rouf left15:25
Gavrisimo left15:25
honk left15:25
ShooterMG left15:25
rouf joined15:25
MacGyver left15:25
CreativeEmbassy left15:26
MacGyver joined15:26
MacGyver left15:26
MacGyver joined15:26
glebihan left15:26
thelorax123 left15:26
glebihan joined15:27
petey left15:27
petey joined15:28
bwreilly left15:28
thelorax123 joined15:28
zeknox i've staged some changes within a branch using 'git add filename'. how do I make these staged changes stay with this branch, when i do 'git checkout master' all the staged changes float15:28
Kakera joined15:28
ToxicFrog You commit them.15:28
Kakera I just committed something and noticed my autocrlf setting was wrong. How to recommit the same thing after fixing the setting?15:29
aberrant left15:29
zeknox ToxicFrog: is commiting them the only way, i would be commiting broken functionality, doesn't seem logical to me15:30
but at the same time I dont want to loose my progress that ive made15:30
lb1a zeknox, it is logical. you want to save those changes. even if they aren't complete yet.15:30
mj12albert left15:30
CKyle joined15:30
lb1a zeknox, since your commit will never leave your pc, you cann always finish it later, and maybe fix your history with squashed commits before pushing your stuff out to the world to know15:31
mizu_no_oto joined15:31
zeknox lb1a: ok, thanks for the help, much appreciated15:31
mj12albert joined15:32
PaulCapestany joined15:32
glebihan left15:32
mj12albert left15:32
Kayra left15:33
glebihan joined15:33
mj12albert joined15:33
lb1a zeknox, you're welcome15:33
snag joined15:33
MyTallest joined15:34
lb1a zeknox, i for example, often commit ~15 WIP commits a day while trying new stuff. end of the day i do a git rebase to pack my stuff into logical commits with correct messages and push it to our company repo15:34
iamjarvo_ joined15:35
sabgenton when in a merge does git check file do something different?15:36
it seems like it's checking out a potential merge15:36
caktux joined15:36
zeknox lb1a: thanks for the tip, didn't know you could rebase / tweak you previous commits other than removing sensitive data. watching more git videos to learn the ways of the force15:36
sabgenton rather that the local HEAD15:36
caktux left15:37
guest242 left15:38
guest242 joined15:38
Gamecubic joined15:40
akitada joined15:40
Artpicre joined15:41
ciampix joined15:41
tham joined15:42
m0viefreak left15:42
etcetera joined15:43
lc0dd0cl joined15:43
glebihan left15:43
rpg joined15:44
glebihan joined15:44
snql left15:44
Advocation joined15:45
MyTallest left15:45
Xethron left15:45
tang^ joined15:45
Kaapa joined15:46
Norm_ left15:46
CKyle left15:46
Kaapa hey guys15:46
I have 2 remote servers15:47
(2 github remotes, that I usually keep in sync manually from the shell)15:47
however, for some reason (well, user error for sure), I can't get the tags to sync15:47
dyng joined15:48
whaley joined15:48
milki tags have a single namespace15:48
and arent tied to remotes15:48
Kaapa not sure I understand what that means15:49
milki do you know what a namespace is?15:49
Advocation left15:49
Kaapa git tag shows nothing; git ls-remote --tags origin shows nothing; git ls-remote --tags origin2 shows tags15:49
ciampix_ joined15:49
milki o15:49
ayaz left15:50
milki so you didnt even pull the tags15:50
Kaapa yep - that's probably what I'm missing15:50
milki in some cases, tags arent automatically pulled15:50
ciampix__ joined15:50
milki and you need to add --tags somewhere15:50
Kaapa I thought git pull origin2 master would do that15:50
milki sometimes15:50
man git pull for when tags are automatically pulled15:50
gitinfo the git-pull manpage is available at http://jk.gs/git-pull.html15:50
Kaapa cause the manual says --no-tags is not the default15:50
ciampix__ left15:50
milki same with push15:50
thats not where you want to look15:51
ciampix left15:51
ciampix_ left15:51
milki you want the conditions for automatic tags15:51
--no-tags disables the condition for the automatic part15:51
cbreak-work you only get tags for hashes you own.15:51
bgerber left15:51
milki looks like its only on the man git fetch page15:52
gitinfo the git-fetch manpage is available at http://jk.gs/git-fetch.html15:52
r00tWearsRedHats left15:52
glosoli joined15:52
r00tWearsRedHats joined15:53
znode joined15:53
simesy joined15:53
iamjarvo_ left15:53
Misan joined15:53
rath left15:54
halu_ joined15:54
bgerber joined15:55
Kaapa hum15:55
ok, a simple git -t pull origin2 master brought the tags15:55
r00tWearsRedHats left15:56
Kaapa would have been helpful if that was documented15:56
thanks guys!15:56
srji left15:56
a-l-e left15:56
lun__ left15:56
sHeemskerk left15:56
lb1a Kaapa, man git fetch documents -t15:56
gitinfo Kaapa: the git-fetch manpage is available at http://jk.gs/git-fetch.html15:56
dyng left15:57
adamwathan joined15:57
snql joined15:57
scampbell left15:57
halu left15:57
simesy left15:58
snql left15:58
netiul left15:58
ciampix joined15:59
dyng joined15:59
ciampix left16:00
tang^ Kaapa: git pull issues a git fetch and a git merge. so the documentation for fetch is usable for pull16:00
takamichi left16:00
hwrd|work joined16:00
keller left16:00
Kaapa tang^: got it - thanks16:01
ciampix joined16:02
zarubin joined16:02
cbreak-work Kaapa: in general it is not advisable to pull a specific branch16:02
ciampix left16:02
takamichi joined16:02
RaceCondition joined16:03
cbreak-work if your upstream is configured, you can simply git pull -t16:03
Kaapa this is for sync'ing different remotes16:03
jatt left16:03
glebihan left16:03
Kaapa (eg: main github rep and my fork)16:03
glebihan joined16:04
dyng left16:04
lb1a left16:04
daivyk joined16:04
tang^ I do that with a git fetch --all; git rebase upstream/master; git push origin. where origin is my fork and upstream is the original16:04
lb1a joined16:04
a-l-e joined16:05
Cromulent joined16:05
Mars__ joined16:06
srji joined16:06
LeMike joined16:06
milki might as well fetch --mirror and push --mirror16:06
hm, or maybe its pull --mirror16:07
theres a mirror somethwere16:07
lb1a milki, clone --mirror see !backup16:07
gitinfo milki: Worried about your data while trying out stuff in your repo? To back up commit history on all branches/tags: `git clone --mirror`. To backup everything, including work tree and staging area: `tar cf repo-backup.tar repodir`. Or do your experiment in a throwaway clone instead. See also http://sethrobertson.github.com/GitBestPractices/#backups16:07
Raging_Hog left16:07
LeMike hi there. i ignored some files. with "git status -u" all i want appear. but with "git add . && git status" only one fresh new touched file appears. why could that be?16:07
dyng joined16:08
daivyk hi, I have lot of projects on the same repo and we are going to split. let say proj A and proj B, can I do this on the same repo? test the soft. with version proj A 1.3 and proj B 2.0 ?! because as far as I know this will not be possible on the same repo, right ?16:08
so the better thing to do is one project = one repo, right ?16:08
milki yes, one repo one project16:08
_iron left16:08
lb1a LeMike, you said you ignored them. git add dont care about files that are ignored.16:09
RaceCondishun joined16:09
DoniRS left16:09
lb1a daivyk, yup one repo per project is the git way16:09
daivyk ok, thanks!16:09
Snibble left16:10
joelmo joined16:10
RaceCondition left16:10
RaceCondishunRaceCondition16:10
Moosya joined16:10
cbreak-work left16:10
adamwathan left16:10
Mars__ left16:10
rudak left16:10
lun__ joined16:11
adamwathan joined16:11
faBimon left16:11
adamwathan left16:11
threesome left16:11
_Qman left16:11
LeMike left16:12
nottombrown joined16:12
r00tWearsRedHats joined16:12
Snibble joined16:12
ciampix joined16:12
iamjarvo joined16:13
ciampix left16:13
ulkesh joined16:13
boblee left16:13
chisler joined16:14
Brmm joined16:15
boblee joined16:16
Roots47 left16:16
zedsix left16:17
abelsiqueira joined16:18
Variantdataaa joined16:19
thierryp joined16:19
Brmm left16:19
Sonderblade if you do "git checkout branch1 ." on branch2, can you get git not to stage "undo changes" that branch1 didn't touch?16:19
Cromulent left16:20
Matt_R joined16:21
_iron joined16:21
garrilla left16:21
CKyle joined16:21
Roots47 joined16:21
oonska joined16:22
rethus git config -f /html/git/.gitignore_global16:22
why this not work?16:22
lb1a Sonderblade, ?16:22
Kaapa left16:22
lb1a rethus, !doesnt16:22
gitinfo rethus: [!doesntwork] Sorry to hear it doesn't work, but how about some details? At this point we don't even know whether it did nothing, spit out an error message, or abducted your pet unicorn in a flying saucer. That makes it hard to troubleshoot – unicorn abduction requires a completely different solution than an error message, for instance. So, please be specific...16:22
Sonderblade lb1a: what?16:23
rethus if i enter, git config open the help menu16:23
vurma left16:23
lb1a Sonderblade, what are you trying to do?16:24
rethus https://help.github.com/articles/ignoring-files16:24
tvw left16:24
rethus add those global config16:24
tvw joined16:24
rethus but on mittwald (hoster) its not possible as global, cause missing permission.16:25
joelmo left16:25
rethus so i want to use the file in the folder above my git-repo16:25
therefor --file or -f16:25
Sonderblade lb1a: im working on branch a, now i want to import all file changes from branch b into a, without adding any new commits, is that possible?16:26
lb1a rethus, you do understand the difference between a config file and a .gitignore file?16:26
Sonderblade lb1a: and with "all file changes from branch b" i mean the diff between master and branch b16:26
lb1a Sonderblade, import in the sense of, get the changes of branch b into my workdir?16:27
dougsland left16:27
Sonderblade yes16:27
lb1a Sonderblade, git checkout a ; git checkout b -- .16:27
dougsland joined16:27
danicampa901 left16:27
apipkin joined16:28
jfoy joined16:28
LeMike joined16:28
jfoy left16:28
NBhosting joined16:29
wrouesnel1 left16:30
bamj0rb git merge --no-commit?16:30
fletch49er joined16:31
paulweb515 joined16:31
foucist joined16:31
lb1a rethus, you didn't read your own link very well. read again and try to copy/paste the correct comand mentioned ni that help article16:31
ojacobson joined16:31
vtunka left16:32
St_Marx joined16:32
gua_ould left16:32
paulweb515 left16:32
koleS320 left16:32
paulweb515 joined16:32
dyng left16:32
foucist what do you guys do when you make a commit locally and it turns out you totally don't need it, but you might want to keep it around? just doing a git revert immediately after seems a bit messy heh16:33
arvind_khadri left16:33
marhaban joined16:33
marhaban left16:33
Moosya left16:34
lb1a foucist, you want to keep a commit you dont need, but you dont want it in your history?16:34
yacks left16:34
noname001__ left16:35
takamichi left16:35
tang^ put it into a branch and reset to the previous commit before going forward on the original branch?16:36
bwreilly joined16:36
bronson_ joined16:36
galaris left16:37
Sonderblade lb1a: that command will stage "undo changes" that weren't touched in branch b16:37
takamichi joined16:38
Variantdataaa left16:38
etcetera left16:38
lb1a Sonderblade, what are "undo changes" ?16:39
lavaman joined16:40
AWinterman joined16:40
tommcdo joined16:40
sabgenton left16:40
etcetera joined16:41
Sonderblade lb1a: change diffs that undo previous work16:41
qsuscs do i miss something or is Pro Git not available as mobipocket in german?16:41
Variantdataaa joined16:41
PaulCapestany left16:41
Skrypter joined16:41
JohnBat26 left16:42
tommcdo left16:42
glebihan left16:42
Cromulent joined16:43
axl_ joined16:43
ketas- joined16:43
glebihan joined16:43
matteo joined16:43
Snibble left16:44
Targen joined16:44
rouf left16:44
lb1a qsuscs, not directly. but you can create it from source16:45
LeMike left16:45
Snetty left16:45
ketas left16:45
lb1a qsuscs, https://github.com/progit/progit?source=cc see "making ebooks"16:46
joelm joined16:46
Octalot left16:46
natechan joined16:46
BigBlueBacon left16:46
mribeirodantas left16:46
qsuscs thanks16:46
rethus left16:46
BigBlueBacon joined16:47
maestrojed joined16:47
tirengarfio left16:48
lb1a Sonderblade, so you dont want to checkout the the state of b onto branch a? did you try to use git checkout a ; git merge --no-commit b16:49
danicampa901 joined16:49
Snibble joined16:49
tirengarfio joined16:50
Sonderblade lb1a: that seems to work better, only the changes from master..b seem to be applied iiuc16:50
SocalNick joined16:51
luxgeek joined16:51
luxgeek1 left16:51
asQuirreL left16:51
PaulCapestany joined16:51
qsuscs mhh on readme for the german pro git, it says that some parts ar missing or not as good as they should be16:52
ah screw it, i actually understood the english one quite well16:52
Moosya joined16:52
unkmar I've made several changes I don't want to commit right now. I don't want to save my changes for later. but I need to roll back to previous commit to make different changes.16:52
I'm not sure how to proceed in this form of branching.16:52
foucist lb1a: i guess so, but if it's not in the history, how will i ever find it :P16:52
Kayra joined16:53
aberrant joined16:53
Variantdataaa left16:53
nottombrown left16:53
lb1a qsuscs, the english version is the master. all translations are more or less complete. german one is ok as far as i know. but the english version is always the best way to go16:53
snql joined16:53
mishok13 left16:53
lb1a unkmar, !revert16:54
gitinfo unkmar: That's a rather ambiguous question... options: a) make a commit that "undoes" the effects of an earlier commit [man git-revert]; b) discard uncommitted changes in the working tree [git reset --hard]; c) undo committing [git reset --soft HEAD^]; d) restore staged versions of files [git checkout -p]; e) move the current branch to a different point(possibly losing commits)[git reset --hard $COMMIT]?16:54
ehmatthes left16:54
unkmar in other words, how do I save my current state. Roll back to previous commit, make some changes and commit then come back to what I was working on.16:54
nottombrown joined16:54
qsuscs the mobipocket is really nicely done btw16:54
Sonderblade left16:54
lb1a unkmar, so you do want to save your stuff or not? you just said yes and no16:54
nicedice_ joined16:55
threesome joined16:55
glebihan left16:55
Kupo24z joined16:55
unkmar lb1a: branching16:55
qsuscs one of the reasons why i use git - the hg book is not available as mobipocket, the svn book mobi is poorly done (and it's centralized anyway) and darcs no mobi neither16:55
glebihan joined16:55
Kupo24z Hey all, is it possible to do git pulls as a user with no shell access?16:55
cotton joined16:55
unkmar the long if it. A co-worker continued making changes on his local without commits. We were working from svn. during that time I was attempting to migrate svn to git.16:56
lb1a Kupo24z, it's not a question of git. it's about access right. if your repo is served over other ways than ssh, then maybe (https/git)16:56
ezekielnoob left16:56
daivyk left16:57
Kupo24z lb1a: its only via SSH, am I out of luck then?16:57
unkmar the state of the migration is the proper current state. His work should be branch of to a future roll out.16:57
lb1a Kupo24z, yup16:57
Kupo24z Thanks16:57
unkmar And current things need to change without that branch effecting current work.16:58
ewnd9 left16:58
Robarelli joined16:58
unkmar In otherwords. I feel he is down a branch without having previously CREATING the branch.16:59
lb1a unkmar, still not completely understand your question.16:59
LeMike joined17:00
lb1a unkmar, are you 2 working with git?17:00
angelsl left17:01
unkmar 3 states. C = current website. B = Bob's changes without commits since C. I = immediate changes from state C.17:01
we are now.17:01
I managed to migrate us to git Yesterday.17:01
lb1a good17:01
so your all work on the same branch ? ("master" i guess )17:01
s/your/you/17:02
unkmar currently, yes, "master" is the only branch.17:02
iamjarvo left17:03
tirengarfio left17:03
lb1a so you have 2 repos? each has it's master branch. unkmar/master and bob/master. both have changes that are not commited?17:03
iderik joined17:03
teran left17:04
tirengarfio joined17:04
unkmar there are more than the 3 repos, but yes.17:04
adamwathan joined17:04
unkmar and I doubt I have any changes that haven't been committed.17:04
lb1a so what prevents you from commiting your work and merge the 2 states?17:05
a-l-e left17:05
unkmar Absoultely nothing.17:05
I want to know how to branch his work.17:05
He needs to be able to switch in and out of "master"17:06
lb1a he can !float his stuff over to a (new)branch .17:06
gitinfo If you have made a change in your working directory and have NOT YET COMMITTED, you may "float" that change over to another (`git checkout oldbranch`) or new (`git checkout -b newbranch`) branch and commit it there. If the files you changed differ between branches, the checkout will fail. In that case, `git stash` then checkout, and `git stash apply` and go through normal conflict resolution.17:06
znode left17:06
znode joined17:06
Mars__ joined17:06
ehmatthes joined17:06
znode left17:07
alorence left17:08
lb1a unkmar, that's what branches are about in git17:08
thierryp left17:09
adamwathan left17:09
glebihan left17:10
glebihan joined17:10
Mars__ left17:11
tty-1 left17:11
primitive joined17:11
sebhoss joined17:11
sebhoss left17:12
imachuchu joined17:12
srji left17:13
unkmar lb1a: thank you17:13
LzrdKing_ joined17:13
j416 left17:13
j416 joined17:13
weltall left17:13
LzrdKing_ is there a way to have git reject commits without a valid username set?17:13
yacks joined17:14
freimatz left17:14
pixelgremlins_bapixelgremlins17:14
TomyWork left17:14
intellix left17:14
ShooterMG joined17:15
devbug joined17:15
Snibble left17:15
LeMike left17:15
weltall joined17:15
apipkin left17:15
joel_falcou left17:15
Guest4410 left17:16
glebihan left17:16
Kayra left17:16
glebihan joined17:16
_ikke_ LzrdKing_: Define valid username?17:16
LzrdKing_: And when do you want to reject them?17:17
ErKa joined17:18
LzrdKing_ _ikke_: it looks like when there is no username set, it shows up as "unknown"17:18
i suppose valid is anything other than blank or unknown17:18
sonOfRa http://git-scm.com/book/en/Customizing-Git-An-Example-Git-Enforced-Policy <- this chapter has a lot of things on policy enforcement17:18
lb1a LzrdKing_, where does it show up?17:18
sonOfRa I don't know if that has what you need, though17:18
LzrdKing_ and then when should be as soon as possible17:18
s/then/the/17:18
snql left17:19
_ikke_ LzrdKing_: for whom? Because git is decentralized, you can't enforce it on other repos17:19
LzrdKing_: Git will btw show a message when make a commit an don't have one set17:19
chuck8 joined17:19
takamichi left17:20
mikecmpbll left17:20
KillYourTV left17:20
chisler left17:21
LzrdKing_ i see it in Redmine, "Added by unknown about 11 hours ago"17:21
danicampa901 left17:21
zapb_ left17:21
LzrdKing_ thats the only repo that needs to enforce this17:21
warbaque how do I take only few changes from my stash?17:22
chisler joined17:22
warbaque I noticed I've made too many edits and would like to apply my work in smaller batches17:23
Pullphinger joined17:23
_ikke_ LzrdKing_: You can add a pre-receive hook which does that17:23
rurufufuss left17:23
Norm_ joined17:23
lb1a warbaque, man git stash use the -p option ( --patch )17:23
gitinfo warbaque: the git-stash manpage is available at http://jk.gs/git-stash.html17:23
KillYourTV joined17:23
galaris joined17:23
_ikke_ git checkout -p stash@{N}17:24
where N is the stash #17:24
hahuang61 left17:25
beastd joined17:25
Misan left17:25
Brmm joined17:25
warbaque _ikke_: thank you17:26
johnkevinmbasco left17:26
mfulz joined17:27
johnkevinmbasco joined17:28
oojacoboo joined17:29
mikecmpbll joined17:29
Brmm left17:30
donmichelangelo left17:30
txomon|fon left17:30
rcu joined17:30
mikecmpbll left17:30
donmichelangelo joined17:31
rflktr left17:31
Moosya left17:31
mizu_no_oto left17:31
thierryp joined17:32
apipkin joined17:32
oojacoboo left17:33
Sigma[Mtp] joined17:34
hiroyuki_ joined17:34
yhager joined17:34
rouf joined17:34
duxbarak joined17:35
axl_ left17:35
hiroyuki_ left17:35
duxbarak I'm trying to clone an SVN repository into a new git repository and I get ""perl: /build/buildd/subversion-1.7.9/subversion/libsvn_subr/dirent_uri.c:321: canonicalize: Assertion `*src != '/'' failed.17:35
10:31:24 AM - duxbarak: error: git-svn died of signal 6"" Any help?17:35
rflktr joined17:35
Sigma left17:35
zapb_ joined17:35
RaceCondition left17:36
Kupo24z left17:36
duxbarak er, disregard that "10:31:24 AM - duxbarak: "17:36
hiroyuki_ joined17:36
hiroyuki left17:36
snql joined17:36
Artpicre_ joined17:36
johnkevinmbasco left17:38
fRAiLtY- left17:38
tham left17:38
_ikke_ What version of svn do you have?17:38
nhmood left17:39
thierryp left17:39
duxbarak 1.7.917:39
nhmood joined17:39
unkmar how do I list files associates with a commit?17:39
chuckharmston left17:39
nhmood left17:39
_ikke_ unkmar: git show --name-only <commit>17:39
nhmood joined17:39
nhmood left17:39
axl_ joined17:39
_ikke_ duxbarak: Oh, the message showed that17:40
nhmood joined17:40
nhmood left17:40
chuckharmston joined17:40
kukks joined17:40
kukks left17:40
kukks joined17:40
nhmood joined17:40
nhmood left17:40
unkmar s/assocaites/associated/ sorry.17:40
Shusshu joined17:40
thierryp joined17:40
arand left17:41
_ikke_ duxbarak: what is the command you are executing?17:41
johnkevinmbasco joined17:41
Shusshu left17:41
duxbarak git svn clone /var/svn/oldrepo/ --no-metadata -s17:41
_ikke_ duxbarak: https://trac.macports.org/ticket/32753 ?17:42
nhmood joined17:42
nhmood left17:42
cenuij left17:42
nhmood joined17:42
nhmood left17:42
_ikke_ Are you on a mac?17:42
duxbarak Nope, Ubuntu17:43
_ikke_ ok17:43
duxbarak but from my googling, it does seem to be something only affecting certain version combinations of svn and git, does that sound right?17:43
LzrdKing_ i was able to get the emails for the "unknown" users from git log and sent them to the project lead so he can yell at them17:44
_ikke_ duxbarak: Yup17:44
duxbarak your link supports that theory17:44
_ikke_ I ran into a problem with svn 1.8.017:44
Downgrading to 1.7.x, solved my problem, but you already are17:44
chuckharmston left17:44
shruggar left17:44
duxbarak right17:44
TomyLobo joined17:45
nhmood joined17:45
nhmood left17:45
nhmood joined17:45
nhmood left17:45
nhmood joined17:45
nhmood left17:46
nhmood joined17:46
nhmood left17:46
srji joined17:46
Sylario_ joined17:46
Matt_R left17:46
nhmood joined17:46
nhmood left17:46
nhmood joined17:46
nhmood left17:46
RaceCondition joined17:46
Advocation joined17:46
nhmood joined17:46
duxbarak ok, I tried pulling from a copy of the svn repo on a different system, and it get ""E: 'trunk' is not a complete URL and a separate URL is not specified"" any idea from that?17:47
_ikke_ are you using official ubuntu packages?17:47
duxbarak yes, just upgraded to 13.1017:47
lb1a left17:48
_ikke_ ok17:48
chuckharmston joined17:48
chuckharmston left17:49
glebihan left17:49
chuckharmston joined17:49
glebihan joined17:50
hobodave joined17:50
johnkevinmbasco left17:50
juril left17:50
Advocation left17:51
lite_ joined17:51
_ikke_ If it is a mismatch between two packages, you might want to inform ubuntu17:51
harobed left17:51
elplatt left17:51
bgerber left17:51
richgilbank left17:51
tham joined17:51
duxbarak Ok, I checked their bug reports and couldn't find one, but I'll look into it.17:52
johnkevinmbasco joined17:52
bgerber joined17:52
elplatt joined17:52
elplatt left17:53
jonatasnona left17:53
SonicX joined17:54
elplatt joined17:54
mmitchell left17:54
mmitchell joined17:55
RaceCondition left17:55
duxbarak so, I'm brand new to git, been using svn for years, I work by myself, but from multiple locations, but I'm starting to do things that I think git would be better at than svn, like branching. Any tips on making the transition?17:55
PaulCapestany left17:56
ketas-ketas17:56
aspiers left17:56
_ikke_ duxbarak: Don't try to lean too much on your svn experience, because it's not going to help17:57
tham left17:57
Guest32031 joined17:57
whunt joined17:57
duxbarak specifically, my workflow is: get to location, update from svn server, work on stuff, commit, go to different location, update, work on same stuff, commit. How is that going to compare?17:57
m8 joined17:58
looper joined17:58
abelsiqueira left17:58
_ikke_ in git, comitting things, and "sharing" those commits are two separate steps17:58
joelmo joined17:58
skorgon but the fundamental flow works with git as well17:59
_ikke_ http://git.or.cz/course/svn.html17:59
maqr joined17:59
duxbarak _ikke_: right, I'm guessing I'll be needing to do both of those from each location, right?17:59
jhulten joined17:59
Xethron joined18:00
Xethron left18:00
Xethron joined18:00
_ikke_ duxbarak: yeah, but you commit more often then you push18:00
mmitchell left18:00
saorge joined18:00
_ikke_ duxbarak: You don't need to push after every commit18:00
looper left18:00
arand joined18:00
_ikke_ You can make a bunch of commits, and after you are done, you can push them18:00
ChrisAnn left18:00
johnkevinmbasco left18:01
duxbarak well, I work mornings at home, and afternoons in my client's office, often on the same code each day from both locations18:01
_ikke_ duxbarak: But because of this model, you can create implicit branches18:01
duxbarak so I'll need to push before leaving each location?18:01
_ikke_ duxbarak: yes18:01
duxbarak ok18:01
moritz ... unless you use the same laptop on both locations :-)18:01
duxbarak but perhaps multiple commits while working at one location?18:02
_ikke_ duxbarak: Correct18:02
johnkevinmbasco joined18:02
_ikke_ duxbarak: It works best if you keep your commits smallish18:02
duxbarak laptop there, desktop here, no carrying equipment :)18:02
_ikke_ duxbarak: containing logical changes18:02
duxbarak _ikke_: makes sense18:02
_ikke_ also read !book18:03
gitinfo There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable18:03
Serus !svn bad18:03
gitinfo [!svn_upstream] git-svn determines the upstream branch to push to by finding the topmost commit in your current branch that has a "git-svn-id" line (i.e., 'git log --grep=^git-svn-id: --first-parent -1'), and using the branch mentioned in it.18:03
_ikke_ It'll explain you git concepts18:03
Serus: triggers can't contain spaces18:04
Serus oh18:04
duxbarak so, when setting this all up, should I have a master copy on my desktop at home, and pull/commit/push from a separate working copy on both my desktop and laptop, or would it make just as much sense to just use my working copy on the desktop as the master copy?18:04
Serus How do I explain my schoolmates they shouldn't use svn?18:04
dburba left18:04
tang^ don't18:04
johnkevinmbasco left18:04
tang^ explain why git is better18:05
Serus I did18:05
but they seem to be glued to a wall called svn18:05
_ikke_ Serus: You can't convince them if they don't want to change18:05
master_jjuls18:05
sq-one joined18:05
twoface88 left18:05
tang^ and some large corporations still use CVS18:05
_ikke_ duxbarak: It's easiest if you have one 'master' repo which you can push to from both locations18:06
duxbarak ok, perfect18:06
Serus tang^: I heard yes.18:06
pixelgremlins left18:06
NBhosting left18:06
tang^ Serus: invite them to work on a project with you and only provide a git repository18:06
_ikke_ Serus: If they see version control as a place to dump their code, nothing is going to convince them git is better18:06
Serus My main problem with svn is that I always get a ton of conflicts.18:06
tang^ that's not limited to svn18:07
chuck8 left18:07
Mars__ joined18:07
Serus tang^: I'll probably never see them again after this project.18:07
Slush- left18:07
_ikke_ If you get conflicts because you keep editing the same code, no vcs is going to help you18:07
hahuang61 joined18:07
duxbarak Thanks for the help all.18:07
frgtn left18:08
juls left18:08
milli left18:08
Serus _ikke_: I have been doing it wrong all the time...18:08
Slush- joined18:08
Moosya joined18:08
juls joined18:08
jcarouth left18:08
frgtn joined18:08
achadwick left18:09
petey left18:09
looper joined18:10
Serus _ikke_: would the correct way to work with any source control be to create a separate branch per person? and merge them later on18:10
petey joined18:10
MacGyver left18:10
MacGyver joined18:10
MacGyver left18:10
MacGyver joined18:10
joshbetz left18:11
Matt_R joined18:11
jfoy joined18:11
frgtn left18:11
_ikke_ Serus: No, because that would still cause merge conflicts when merging when the same code has changed18:11
edwardly left18:11
Mars__ left18:11
_ikke_ The only thing helping against that is good communication18:11
frgtn joined18:12
_ikke_ Serus: The key is to make smallish feature branches18:12
Serus: And letting the person who wants to merge that branch in take care of any conflict18:12
Serus: Because those branches are small, the conflicts also are small18:12
Serus wouldn't megre tools allow you to choose what to merge into the master branch?18:12
_ikke_ Serus: Sure, merge conflicts aren't a problem per se18:13
rednaks joined18:13
PaulCapestany joined18:13
_ikke_ Serus: But lots of them is a pain18:13
ArtpicreArtpicre__18:13
MadDog31 joined18:13
Artpicre_Artpicre18:13
CreativeEmbassy joined18:13
_ikke_ Serus: So you want to avoid large branches which only get merged in after a long period18:13
Serus I'm sure you know of hginit18:13
_ikke_ The tutorial from fogcreek?18:14
SonicX left18:14
petey left18:14
Serus http://hginit.com/00.html18:14
stardiviner left18:14
_ikke_ Yeah, from fogcreek18:14
Serus There he mentions that merging, supposedly a 5 minute job, takes very long with svn.18:15
Artpicre__ left18:15
Serus Let me try to find the actual thing he said18:15
Gavrisimo joined18:15
kW_ left18:16
_ikke_ Serus: Merging can take a long time with dvc's too if you don't merge / rebase regularly18:16
_kW joined18:16
Snibble joined18:16
Pyrogerg left18:16
_ikke_ But the reason a conflict happens can make a difference18:16
aard joined18:16
kukks left18:16
Serus "What should have been a five minute process ended up with six programmers around a single computer working for two weeks trying to manually reapply every single bug fix from the stable build back into the development build."18:16
_ikke_ The problem with older svn versions was that it didn't track merges. So any merge you created would look like a normal commit, causing conflicts the next time you merged again18:17
[emmajane]emmajane18:17
davividal I have a big legacy project that I'll be working on a upgrade project. This upgrade project will last for at least one year. My strategy is to migrate the app module by module. So, my new project must include/embed the legacy, and the legacy project will continue to run and be updated until we are done. What's the best git tool for the job? Submodule or subtree?18:18
_ikke_ How are the modules currently arranged?18:19
maestrojed left18:19
duxbarak can I make a repository bare after creating it?18:19
edwardly joined18:20
Snibble left18:20
_ikke_ duxbarak: Easiest way to is to clone --bare that repo18:20
duxbarak 'git init --bare'?18:20
_ikke_ duxbarak: No, that won't help on an existing repo18:20
duxbarak ok, so go into the repo, and just "git clone --bare"? or clone it somewhere else as bare, and then move?18:21
jerius left18:21
_ikke_ duxbarak: the latter18:21
duxbarak gotcha18:21
Serus _ikke_: would you avoid large files of code? As with large files people could edit the same file.18:22
davividal _ikke_: are you talking to me? The legacy project is a symfony 1.4 project and the new will be a symfony 2. So I have legacy/apps/frontend/modules/* , while the new modules will be src/Company/*18:22
maslowbeer left18:22
_kW left18:22
_ikke_ davividal: But they are in one repo, correct?18:22
davividal _ikke_: yes.18:22
_ikke_ But you need them in separate repositories?18:23
mklappstuhl left18:24
chuck8 joined18:24
Kayra joined18:24
phoenixSunset joined18:24
vurma joined18:24
phoenixSunset hey everyone... I just made a horrible mistake.. was in a branch.. stashed changes.. checked out master to look at some stuff. forgot to checkout my branch again... and then did git stash pop18:25
and now i have a billion conflicts and lost my stash18:25
is there a way to undo this, or am i screwed?18:25
jerius joined18:25
_ikke_ phoenixSunset: When conflicts happen, your stash is still there18:26
Brmm joined18:26
phoenixSunset _ikke_: oh.. ok so I can just git reset HEAD --hard18:26
_ikke_ yes18:26
phoenixSunset and then switch to my branch and all should be ok18:26
occup4nt left18:26
_ikke_ aye18:26
git stash list18:26
git stash show -p stash@{0}18:27
phoenixSunset whew.. i was scared18:27
thanks18:27
stodan joined18:27
Snibble joined18:27
milli joined18:28
davividal _ikke_: I don't need them in separate repositories.18:28
Artpicre left18:28
sr105 joined18:28
duxbarak left18:28
gitinfo set mode: +v18:28
dreiss joined18:29
_ikke_ Is the legacy app still being worked on?18:29
davividal _ikke_: in fact, I need something like: ROOT/src/Company/* => ROOT is my main repo. ROOT/legacy => legacy is the legacy project.18:29
_ikke_ davividal: Then you need neither submodules nor subtree merges18:29
davividal _ikke_: yes and it will continue to be.18:29
sr105 How do I clone remotes from one repo to another?18:29
Artpicre joined18:29
sr105 or rather fetch18:29
Kayra left18:29
_ikke_ sr105: What do you mean with remotes?18:29
davividal BUT: if I want to change the legacy project I'll do it using the legacy clone, I'll never update the legacy project from the new one.18:29
Snibble1 joined18:30
MadDog31 left18:30
_ikke_ davividal: ok18:30
nottombr_ joined18:30
_ikke_ Do updates from the legacy project need to be ported to the new one?18:30
kriks left18:30
sr105 so I create a repo cloned from some upstream source and I get a bunch of remote branches. I do my own work and push to a new local git repo. I now fetch all of the new changesets from upstream in the first repo and I want to get all of that into a clone of my new repo. Do I have to create a local tracking branch of every remote branch first? (Sorry if I'm messing up the terminology)18:31
adamwathan joined18:32
stardiviner joined18:32
Roots47 left18:32
_ikke_ sr105: does git branch -r show those branches?18:32
sr105 that is, if I "git fetch some_local_repo" I only get the local (? right term) branches and not the remotes in18:32
Snibble left18:32
_ikke_ sr105: correct, you only get the actual branches (refs/heads/*18:33
)18:33
sr105 _ikke_: in the first, yes. A bunch of origin/* branches18:33
nottombrown left18:33
_ikke_ sr105: Yeah, those don't get fetched18:33
sr105: There is git clone --mirror18:34
Snibble1 left18:34
_ikke_ (but it implies --bare)18:34
sr105 I guess what I'm asking is... git clone url://upstream .... How do I create an upstream_copy that looks like upstream without having to re-fetch/clone from the url?18:34
davividal _ikke_: the updates need to be ported to the new one.18:34
sr105 I'll check out mirror.18:35
I'm coming from mercurial which doesn't have remotes and it's been a little confusing.18:35
guest242 left18:35
guest242 joined18:35
matanya joined18:35
_ikke_ sr105: (those are called remote tracking branches)18:36
hwrd|work left18:36
_ikke_ sr105: I find them less confusing than anonymous heads18:36
abelsiqueira joined18:36
takamichi joined18:36
adamwathan left18:37
cenuij joined18:37
lavaman left18:37
sr105 _ikke_: but they contain all of the changesets from the remote, right? In mercurial, I can clone an existing local clone of a huge repo to save time. I was trying to figure out the equivalent in git.18:37
shuaib left18:38
sr105 I guess the solution is to create tracking branches for all of the heads/remote branches first and then git clone/fetch will act like mercurial18:38
dreiss left18:38
lavaman joined18:38
_ikke_ sr105: I know in mercurial it is practice to use multiple clones of the same repo, but with git you don't see that much18:39
sr105 I guess I need to adjust my workflow. :)18:39
sayd git remote prune upstream prunes all the pr refs, but when i git pull.. they all come back18:39
sr105 use the tools as they were intended. :)18:39
zapb_ left18:39
petey joined18:40
_ikke_ sr105: git branches are like hg bookmarks18:40
aartist left18:40
Mars__ joined18:40
iamjarvo_ joined18:40
jnavila joined18:40
_ikke_ sr105: What is your usecase where you use multiple clones of a repository?18:40
sayd: Do you have one, or more remotes/18:41
jarr0dsz left18:41
sayd _ikke_: i have 2, origin and upstream18:41
maybe i should now push to my origin18:41
_ikke_ That would not help18:42
nottombr_ left18:42
_ikke_ You can't push "the deletion of refs"18:42
rcu left18:42
sayd oh18:42
lifechamp joined18:42
_ikke_ Did you alter the refspecs so pr branches would be fetched?18:42
sayd I think so18:43
sr105 _ikke_: I cloned u-boot from upstream. I then created a branch for our local company changes. Then I pushed it all into our local git server into a new company-specific u-boot repo. Now, I want to pull down the latest changes from upstream, and then update our repo with the latest.18:43
_ikke_ Or do you mean your own feature branches you use for pull requests?18:43
lifechamp got get a branch, eg off github, I first clone to the repo, then do git fetch origin, git checkout -b branchname origin/branchname?18:43
JustinMac joined18:43
sayd it was part of a script to use local repos instead of one master repo18:43
lifechamp or is there a more direct way to get the branch that I should use?18:43
cenuij left18:43
DrShoggoth joined18:44
sayd _ikke_: they are things like upstream/pr/9918:44
Mars__ left18:44
_ikke_ sayd: Has this to do with github, or is it something else?18:44
ulkesh left18:44
_ikke_ sr105: You can just use one local repo for that18:45
sr105: advantage with git is that changed from each remote get in their own namespace18:45
sr105: upstream/master is different from origin/master for example18:45
sr105 _ikke_: yes, that's what I'm realizing. I'm so used to the mercurial workflow where you might reasonably keep multiple local repos.18:45
_ikke_ sr105: There is not even one project where I have multiple clones of the same repo18:46
git branches offer me all the flexibility I need18:46
lifechamp: You don't need to fetch after a clone18:47
sayd _ikke_: the repos are in github yes18:47
_ikke_ sayd: k18:47
sr105 _ikke_: mercurial has never had a great equivalent of git stash, so multiple clones are often used.18:47
cbreak I have lots of clones, one per computer18:47
sometimes an additional bare for special purposes18:47
git's super flexible.18:47
Advocation joined18:47
_ikke_ cbreak: I obviously meant per computer ;-)18:48
salamanderrake left18:48
sr105 _ikke_: and without the overhead of remotes and namespaces, it's much easier conceptually to fetch/push between clones18:48
cbreak there's that new-workdir contrib script you can use to get fake "clones"18:48
zorbash joined18:48
cbreak sr105: yeah, git rocks at fetching and pushing.18:48
jarr0dsz joined18:49
_ikke_ hg branches by default all get pushed18:49
Misan joined18:49
cbreak that sounds idiotic18:50
what about private feature branches?18:50
temporary branches?18:50
sr105 it's simpler for new users18:50
cbreak "stash" branches?18:50
_ikke_ cbreak: You'd use bookmarks18:50
phoenixSunset left18:50
cbreak _ikke_: too complicated18:50
I like git, it's much simpler18:50
_ikke_ The irony ;-)18:50
dreiss joined18:51
sr105 part of the difference is that mercurial has a principal that history is immutable. Git was designed to have the ability to throw away history just by removing a ref.18:51
sayd _ikke_: so the fact that pull puts them all back what should i do to fix that18:51
cbreak sr105: git history is immutable until they break sha118:51
sayd git remote show: refs/pull/999/head new (next fetch will store in remotes/upstream)18:51
sr105 The fact that git has garbage-collection would seem to differ with that conclusion. :)18:51
cbreak sr105: nope.18:52
_ikke_ sayd: the problem is probably that the pr branches from both repos get in the same namespace18:52
cbreak sr105: it's unrelated with mutation.18:52
sayd in my upstream remote :fetch = +refs/heads/*:refs/remotes/upstream/*18:52
cbreak sr105: GC collects unreachable history.18:52
Advocation left18:52
cbreak sr105: that history is not mutated. It will stay the same for ever.18:52
_ikke_ sr105: The same counts for hg18:52
sr105 cbreak: I only meant that mercurial will never delete a changeset from a repo (in normal usage)18:52
cbreak: there is no such thing as unreachable history in mercurial.18:53
cbreak git will never delete anything that is part of reachable history18:53
frgtn left18:53
cbreak sr105: that sounds inflexible18:53
zapb_ joined18:53
cbreak sr105: so you can't rebase?18:53
shpoont joined18:53
calcifea left18:53
cbreak you can't commit --amend?18:53
frgtn joined18:53
_ikke_ cbreak: you can18:53
sr105 It's also why mercurial sucks at compressing repos like the linux kernel compared to git18:53
cbreak you can't even delete a branch?18:53
phoenixSunset joined18:53
_ikke_ cbreak: hg branches are tracked in the commit18:53
so, no18:54
cbreak _ikke_: :O18:54
what the hell18:54
_ikke_ you can only 'close' branches18:54
sr105 cbreak: you can alter history, but mercurial tries to make it an explicit action18:54
Dougie187 You can even delete branches in svn... :P18:54
cbreak I hope I'll never have to deal with that thing.18:54
sr105 :)18:54
_ikke_ Dougie187: svn doesn't have branches, only seperate directories ;-)18:54
separate*18:54
cbreak sr105: everything in git is explicit. :)18:54
unkmar left18:55
Dougie187 _ikke_: you can still delete them though18:55
cbreak sr105: unless it's default :)18:55
sr105 Mercurial added bookmarks to try and give us git-style branching18:55
Remram well no, mercurial is more explicit here18:55
sr105 :)18:55
Remram if you delete branches and commits become unreachable, they are subject to garbage selection18:55
cbreak git is the most fucking explicit motherfucking SCM on this whole fucking network.18:55
Remram mercurial don't delete stuff, you have to explicitly do it18:55
Dougie187 lol18:55
sr105 off-topic: my irc client highlights user names so I'm seeing "here" and "so" highlighted. I'm going to change my nick to "the"18:56
Remram well, it's not18:56
cbreak yeah. And git branch -D is needed to delete branches :)18:56
Dougie187 I really like the idea that you don't have to push all of your branches too18:56
_ikke_ -d suffices if the branch is deemed merged18:56
cbreak sr105: hope you like being highlighted18:56
sr105 :)18:56
jhulten left18:57
cbreak _ikke_: yeah, that doesn't change reachable history though :)18:57
YannH joined18:57
_ikke_ true18:57
sr105 I have been bitten by my other debs before with mercurial pulling all branches by default.18:57
hwrd|work joined18:57
sr105 The just merge all heads without looking.18:57
they18:57
Remram if you "force-push", moving a branch to something else, Git might implicitely reclaim commits18:57
mercurial won't18:57
_ikke_ well, that's the same with git though18:57
sr105 devs18:57
_ikke_ but in git, you don't have to push all your branches18:58
cbreak sayd: what exactly is the problem you're having?18:58
frgtn left18:58
Remram you don't have to push all your branches with mercurial either...18:58
sr105 _ikke_: mercurial doesn't have to push all heads. hg push -r head/branch/changeset18:58
Remram you can push a branch or a bookmark, just like Git18:58
cbreak git config push.default upstream18:59
it rocks.18:59
Artpicre left18:59
glebihan left18:59
Sigma[Mtp] left18:59
frgtn joined18:59
glebihan joined18:59
YannHSigma18:59
alvaro_o joined19:00
Artpicre joined19:00
SigmaGuest4451819:00
sr105 one nice thing about git: the kernel is a 600MB bare repo in git. It's 5GB in mercurial.19:00
Remram that's completely possible19:00
mercurial's storage format is so weird19:00
(apparently also inefficient)19:00
sr105 it can be made to be 2GB with some custom flags, but no smaller19:00
przemoc left19:01
sr105 it was designed to be strictly linear19:01
IIRC git allows seeking19:01
Remram Well that's just wrong :(19:01
BigBlueBacon left19:01
Guest44518Sigma19:01
Sigma left19:01
Sigma joined19:01
kermit joined19:01
Remram Seeking in pack files?19:01
cbreak I bet that's fast.19:01
zapb_ left19:01
_ikke_ I guess it has to do with gits delta compression in packs19:02
przemoc joined19:02
cbreak Remram: git log -p -- file19:02
amcsi joined19:02
sr105 mercurial has some sort of design guarantee that you can process the repo in a stream.19:02
_ikke_ what does that mean?19:03
sayd cbreak: i guess i was just confused why pulling got me all the refs19:03
_ikke_ sayd: because another remote still has them19:03
sayd that i thought were gone because i did an upstream prune19:03
nottombrown joined19:03
cbreak it'll do a fetch of the whole remote by default19:03
TheBrainWork left19:03
d4rklit3 left19:03
victorbjelkholm left19:04
calcifea joined19:04
Remram I use fetchspecs19:04
cbreak sayd: prune will only remove local remote tracking branches that do no longer have a corresponding branch on their remote19:04
Remram these are annoying19:04
having to remove the fetchspec and then do branch -rd...19:04
cbreak Remram: you can set it up from the start :)19:04
nottombr_ joined19:04
calcifea left19:05
hwrd|work left19:05
Remram And never ever change it?19:05
cbreak yes19:05
sayd im not sure why they were pruned in the first place then19:05
cbreak or just add to it :)19:05
Remram that's hardly flexible now is it19:05
sayd because they didnt exist on origin?19:05
cbreak sayd: if it was pruned, then it shouldn't come back19:05
if you can fetch it, it shouldn't have been pruned.19:06
elplatt left19:06
sr105 thanks for the help and discussion. gotta get back to work19:06
calcifea joined19:06
yhager left19:06
pantsman joined19:07
elplatt joined19:07
sayd it says new (next fetch will store in remotes/upstream)19:07
lc0dd0cl left19:07
sayd so i think a fetch upstream will bring it back in19:07
calcifea left19:07
Sebastian_ joined19:07
nottombrown left19:07
lc0dd0cl joined19:08
Pyrogerg joined19:08
chuck88 joined19:09
calcifea joined19:09
lc0dd0cl left19:09
iamjarvo_ left19:09
iamjarvo_ joined19:09
Mars__ joined19:10
lc0dd0cl joined19:10
codeFiend joined19:11
LeMike joined19:11
Sebastian__ joined19:12
chuck8 left19:12
takamichi left19:13
frgtn left19:13
yhager joined19:13
frgtn joined19:13
sr105sr105|away19:14
Sebastian_ left19:15
frgtn left19:15
zapb_ joined19:16
resmo joined19:17
jhulten joined19:17
shpoont left19:18
resmo left19:18
sr105|awaysr10519:18
jhulten left19:19
jhulten joined19:19
emmajane[emmajane]19:20
m0ltar left19:20
shpoont joined19:21
rabbite joined19:22
Sendoushi left19:22
rabbite I made a single commit to master and haven't pushed. I want to move the commit to another branch. Suggestions?19:22
KaibutsuX joined19:24
gitinfo set mode: +v19:24
sq-one left19:24
Kayra joined19:24
KaibutsuX can anyone tell me if it's possible to get git to recognize "git checkout origin/master" as just "git checkout master"?19:24
LeMike a submodule can not be in a submodule under the same repo. but can a subtree be in a subtree?19:25
stodan left19:25
LeMike lets say "lib/framework" and "lib/framework/myPlugin" ?19:25
jrnieder KaibutsuX: what do you mean?19:25
zorbash left19:25
Targen left19:26
jrnieder KaibutsuX: is it, "I keep on accidentally typing 'git checkout origin/master' instead of 'git checkout master' by mistake. How do I convince git to do what I mean, not what I say?"19:26
rabbite KaibutsuX: Do you want git to ignore your local master always?19:26
lite__ joined19:26
jhulten left19:26
rabbite KaibutsuX: those are two different commands19:26
stodan joined19:26
KaibutsuX I am using a script that only has acces to the branch as "origin/master" and I want git to interpret it as just "master"19:26
and I can't edit the variable in this script19:27
jrnieder KaibutsuX: or, "I keep on running 'git checkout master' when I really meant to do 'git checkout origin/master', and I end up on a stale branch. How do I convince git to give me origin/master instead?"19:27
T0bb5 joined19:27
jrnieder KaibutsuX: I'd copy and modify the script19:27
Sebastian__ left19:27
KaibutsuX ok it's not technically a script, it's jenkins19:27
oojacoboo joined19:28
nicknisi joined19:28
rabbite Also, that seems horribly contrived. Maybe you should take a step back and rethink your process?19:28
Sebastian_ joined19:28
jrnieder KaibutsuX: my general advice is still the same --- I'd try to figure out how to get Jenkins to do the right thing instead of hacking it around on the git side19:28
KaibutsuX jenkins exports the branch as 'origin/master', but then when it uses that variable to checkout another project obviously thats not the same as just 'master'19:28
rabbite Trying to bend git into using local commands to mean remote seems like a bad idea, IMO.19:28
Xethron left19:28
ErKa left19:28
jrnieder KaibutsuX: or, if I wanted to hack it around on the git side, I'd put a custom "git" command in $PATH that munges arguments :)19:28
Kayra left19:29
jrnieder KaibutsuX: anyway, this looks like a Jenkins configuration problem. Someone on #jenkins might be able to help.19:29
T0bb5 Hi #git I'm pretty familiar with git and I am trying to convert my place of employment to use git as we don't use any version control. If anyone has some time to go over some repository design basics with me I would really appreciate it.19:29
Snibble joined19:29
russ_ left19:29
lite_ left19:30
KaibutsuX left19:30
nottombr_ left19:30
lite__ left19:30
gitinfo set mode: +v19:30
nottombrown joined19:31
raonyguimaraes joined19:31
rabbite T0bb5: Read this: http://nvie.com/posts/a-successful-git-branching-model/19:31
zapb_ left19:31
T0bb5 Thanks!19:31
rabbite Git-flow is one of the more popular git workflow methods19:31
(there are many)19:32
_ikke_ git flow is the other big one19:32
LeMike w8 T0bb5. also read http://danielkummer.github.io/git-flow-cheatsheet/19:32
moritz but it's also quite process-heavy19:32
_ikke_ github flow *19:32
jhulten joined19:32
rabbite T0bb5: you are in the right place though. #git is very helpful, regardless of skill level.19:33
LeMike somehow i love gitflow even knowing that I can do this stuff with other commands aleady :P19:33
+r19:33
Snibble left19:34
T0bb5 Thats what I heard from some of my friends. I Really appreciate the resources.19:34
rabbite Gitflow is really newbie friendly, so if you are working with a lot of devs who aren't git wizards, it's very safe.19:34
I'm coaching my team slowly into gitflow19:34
mancha Hi. Is there a way to edit the TZ in a commit?19:34
nottombrown left19:35
rabbite T0bb5: Also, smart move to highly encourage your team to use a VCS.19:35
vurma left19:35
T0bb5 Rabbite do you mind if I PM you?19:35
rabbite A programming shop without version control is like a mechanic shop with no fire extinguishers, somebody is guaranteed to get burned.19:35
Sure.19:35
lov Yeah, if I found out that the place I interviewed at / got hired at didn't use source control, I'd just keep on moving and not look back. That's a red flag of awful systemic problems.19:37
LeMike I wonder if it is possible to have Git not storing delta of some files like *.jpg . Just the latest one always. I guess there has to be some hook that erases the old one from bare repo and puts the new one in place. Or?19:37
Brmm left19:37
lov LeMike: no, because the entire point of git is keeping every copy.19:37
rabbite lov: I wouldn't automatically run. I'd ask if they would allow me the freedom to implement it. If no; then run.19:38
arand lov: Well, there's !git-annex, but that's an extra layer19:38
gitinfo lov: git-annex.branchable.com -- manage files with git, without checking the file contents into git19:38
elplatt left19:38
rabbite Unrelated: I managed to make a single commit on master, I want to pop it off of master and put it back on the branch that I thought I was on.19:38
LeMike yee but today we had to expand the image where the repos are in and as I took a look at them, they are fed up with binary files and a few deltas for the source. really a mess I can not avoid, except a hook that says "binary? get off!" :P19:38
lov rabbite: I'd consider it a very, very small probability that the place doesn't use source control, but has good practices otherwise and is amenable to improvement.19:39
jfoy left19:39
lov unless it's something where you're the only/first developer hired, of course19:39
elplatt joined19:39
lov LeMike: consider storing the binary files somewhere else, or see !git-annex, etc.19:40
gitinfo LeMike: git-annex.branchable.com -- manage files with git, without checking the file contents into git19:40
rabbite For example, my current place of work used git, but no flow control. Everyone committed to master or develop as they saw fit. They gave me the room to enforce a little more control. It's gotten much better as a result.19:40
Mars__ left19:40
lov rabbite: right, but they were still using version control.19:40
Mars joined19:41
codeFiend left19:41
rabbite Yeah,19:41
MarsGuest7843919:41
dglambert joined19:41
m0ltar joined19:41
LeMike git-annex was a pain in the ass due to it's symlinks that can be messed up easily by inexpertly developers. and storing somewhere else wouldn't be appreciated by the devs -.- i'm stuck like that for a year19:41
rabbite If I came to an interview at a place with more than 2 developers who didn't use any VCS, I'd be very wary.19:42
dglambert Hey so I deleted a file from a folder I have init, now how do I commit this19:42
git commit -m ""19:42
lov honestly, I'd say more than 0 developers19:42
mmcdaris joined19:42
lov unless your job is to replace those developers19:42
m0ltar left19:42
preflex left19:42
mklappstuhl joined19:42
ni_ joined19:42
dglambert doesnt work cause it says changes not staged for commit 'deleted: Test.java'19:43
imachuchu rabbite: cherry-pick the commit to the branch you want, reset the other branch to before the commit19:43
lov using source control should be something that you Just Do as a developer, even if it's in the form of having a local git repo and some dinky server somewhere acting as your backup.19:43
dort left19:43
lov dglambert: the error message tells you the problem :)19:43
rabbite imachuchu: I've never used cherry-pick before, but I'll try it out.19:43
dglambert lov, yeah, so what do I need to do on the bash side to reflect the deleted file19:44
jkremser left19:44
Cromulent left19:44
shpoont left19:44
lov dglambert: you need to tell git to stage that change. In this case, git rm --cached (use --cached because you already deleted the file).19:44
maestrojed joined19:44
dglambert rm ?19:44
lov If you don't have any changes staged, git has nothing to commit.19:44
_flow_ left19:45
zorbash joined19:45
zapb_ joined19:46
dglambert so I need to remove it again in the bash?19:46
That doesn't seem right19:46
_ikke_ dglambert: git rm --cached tells git the files needs to be deleted in the repo19:46
dglambert: not rm, git rm19:47
jfoy joined19:47
dglambert sorry, thats what I meant19:47
lite_ joined19:47
dglambert what happens if say I do a few changes, deletes and add some files19:47
Squarism left19:47
Roots47 joined19:47
dglambert and then I go back and need to update my git19:47
do I need to do all the add's and rm's19:47
mmcdaris left19:47
frgtn joined19:47
_ikke_ dglambert: there are shortcut options, but people are encouraged to think about what they put in a commit19:48
kukks joined19:48
kukks left19:48
kukks joined19:48
dglambert So in otherwords, I need to keep up with it everytime I make a change, rather than let them build up before I have that problem?19:48
cods left19:49
xxtjaxx left19:49
mancha is there any environment variable i can set for git's TZ?19:49
freestyl3r left19:49
freestyl3r joined19:49
jnavila left19:49
PeterBooker left19:49
_ikke_ dglambert: I don't understand your question19:50
jnavila joined19:50
dglambert _ikke_, so say if I am commiting everytime I delete or add a file, I will never have more than one to have to update. Like I said what if I added a bunch of files and deleted a few and have to make a commit?19:51
s/?/.19:51
Kwpolska How will the git gods punish me for an empty commit I had to make to keep a service happy?19:51
_ikke_ dglambert: there are all sort of options to specify what to add19:51
kiki67100 joined19:51
kiki67100 left19:52
kiki67100 joined19:52
k4rtik left19:52
_ikke_ dglambert: there is for example git add -i, which is an interactive interface to add changes19:52
_flow_ joined19:52
dglambert _ikke_, ok so I deleted from my o/s, next time should I just only do it from with in the bash19:52
I am on Windows btw19:52
lov I had a vague suspicion from you saying "in the bash"19:53
_ikke_ It's quite telling ;-)19:53
dglambert lov, I figured19:53
lov dglambert: it's important to understand what the typical git workflow is.19:53
zorbash left19:53
dglambert I'm that transparent eh19:53
lov a commit is usually supposed to be a discrete change, such as adding a feature, or fixing a bug.19:53
_ikke_ dglambert: git is quite flexible19:53
lov Generally, if you're making one commit per file, you're Doing It Wrong.19:53
War2 joined19:54
War2 left19:54
War2 joined19:54
imachuchu Kwpolska: doesn't care, I often use an empty commit as my root node (so I can rebase everything if needed)19:54
dglambert lov, I am trying to learn actually, I am only working with a programming challenge problem, not real projects.19:54
lov What's nice is that git lets you stage only part of a change that you made to a file, so you can work on multiple things at once and pivot.19:54
mklappstuhl left19:54
_ikke_ imachuchu: Haven't heard of rebase --root?19:54
lov dglambert: it might help to read through http://git-scm.com/book19:54
Kwpolska lov: git add -p is really helpful for that. --interactive sans the fluff.19:54
joelm left19:54
dglambert lov, I am part way through it19:54
lov reading chapter 2 and 3 will be a big help in understanding how to get the most out of git :)19:54
zarubin left19:55
imachuchu _ikke_: no I had not, thank you19:55
lov Kwpolska: yeah, I agree.19:55
spaceonline left19:55
russoneto left19:55
dglambert Well at one point I was, I guess I should take it off the virtual book shelf and blow the virtual dust off it19:55
_ikke_ mancha:19:55
mancha: afaik, git stores unixtimestamps19:55
mancha: Those are in UTC19:55
mancha it does, but also includes a tz offset19:55
_ikke_ ah ok19:55
mancha i think it takes it from "TZ" though, so testing now.19:56
_ikke_ mancha: Yeah, there is no git specific one19:56
dglambert Ok so I only have deleted one file so far and need to make that change to my repo, say I had deleted 4 or 5 files, would the correct command be the one you gave me earlier19:56
git rm --cached19:57
mancha _ikke_: yep. thanks.19:57
lov dglambert: git rm --cached eachFile asAn argumentWill work19:57
note, of course, that you can delete the file via git rm directly19:57
Kwpolska what is the best place to report a tiny bug in git manpages?19:57
lov if you're using an IDE with git integration, it can do this automatically.19:57
_ikke_ Kwpolska: the !mailing_list19:58
gitinfo Kwpolska: The mailing list can be reached via [email@hidden.address] You don't need to subscribe to the list, you will always be put in cc on reply. Read archives at http://j.mp/gitlist19:58
lov Kwpolska: a tiny mailing list19:58
dglambert lov, ok thats what I thought, so i should be trying to make the changes in the bash vs in the o/s explorer19:58
_ikke_ Kwpolska: If it's a small fix, you can best just send a patch19:58
lov use a tiny email client and type on a tiny keyboard :>19:58
axl_ left19:58
_ikke_ lov: Is a 7 inch tablet with according keyboard enough?19:58
tiny enough*?19:58
lov dglambert: it depends on your style. it's ok to delete files directly using whatever your editor is, and then adjust yourself later via git.19:58
mancha _ikke_: do you know if edit still works on newer gits (for interactive rebase) or must i use reword?19:58
lov dglambert: you should get used to running git status to see what's happening in your working directory, along with git diff to see what you've changed since your last commit.19:59
_ikke_ mancha: edit and reword are two different things19:59
mancha: edit allows you to ammend a commit, while reword only gives you the editor to change the commit messages19:59
_flow_ left19:59
Snibble joined19:59
RaceCondition joined19:59
dglambert also can I just say git push, or do I need to say git push -u origin master19:59
matteo left20:00
lov generally, you can just say "git push"20:00
mancha _ikke_: aha, so i want edit, since i do want to amend.20:00
thanks.20:00
_ikke_ dglambert: git push -u origin master sets up upstream information for that branch20:00
dglambert: That has to be done only once20:00
dglambert: But when cloning, git automatically does that for master20:00
dglambert _ikke_, Ok I thought I had read that was a one time only thing but I wasn't sure20:01
_ikke_ dglambert: Also note the setting push.default20:01
dglambert: It used to be matching, which means git would push all branches that also exists on the remote repository20:01
oojacoboo left20:02
dglambert _ikke_, could you clarify the difference20:02
_ikke_ dglambert: Difference between what?20:02
salamanderrake joined20:02
_ikke_ The settings?20:02
dglambert: You most likely want it to be set to 'simple'20:03
dglambert push.default of matching or simple20:03
_ikke_ simple means it pushes only the current branch, but only if it also exists on the remote20:03
kukks left20:04
Snibble left20:04
_flow_ joined20:05
_flow_ left20:05
oojacoboo joined20:05
joelm joined20:05
m0viefreak joined20:05
stodan left20:06
devin_ joined20:06
thegladiator_ joined20:06
devin_ sorry, lost my connection20:06
rednaks left20:06
Squarism joined20:06
_ikke_ You found it back? :P20:07
devin_ Thanks for the help everyone btw20:07
dglambert left20:07
_flow_ joined20:07
devin_dglambert20:07
_ikke_ ah, it's you ;-)20:08
did you get my message?20:08
frgtn left20:08
dglambert _ikke_, I don't know what was your message?20:08
_ikke_ simple means it pushes only the current branch, but only if it also exists on the remote20:08
zapb_ left20:08
frgtn joined20:08
dglambert _ikke_, yes I did, I changed my default to simple cause I said it seems safer20:08
mancha _ikke_: ok, rebase fixed older ones and alias fixes newr ones20:08
Jabberish left20:09
mancha all's well in camelot20:09
zorbash joined20:09
_ikke_ mancha: cool20:09
cenuij joined20:09
cenuij left20:09
cenuij joined20:09
thelorax123 left20:09
err_ok joined20:10
Sebastian_ left20:10
chuck88 left20:11
thelorax123 joined20:11
victorbjelkholm joined20:11
_kW joined20:11
tvw left20:12
breakingthings left20:12
frgtn left20:13
sq-one joined20:13
coopsh left20:13
pilif left20:13
zorbash_ joined20:14
jceb joined20:14
jcebGuest5494720:14
JustinMac left20:14
Guest54947 left20:14
zorbash left20:14
yetet left20:14
breakingthings joined20:15
pilif joined20:15
Snibble joined20:15
victorbjelkholm left20:15
jceb_ joined20:16
yetet joined20:16
jceb_ left20:16
endiruna joined20:17
kiki67100 Hello20:17
Can you send me the deploy page please ?20:18
bluesm What is the meaning of the statement "git doesn't track name changes"20:18
jlewis left20:18
kiki67100 !deploy20:19
gitinfo Git is not a deployment tool, but you can build one around it(in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/the-list-and-irc/deploy.html20:19
zorbash joined20:19
coopsh joined20:19
_ikke_ bluesm: It means there is no record stored in the git 'database' that says that file1 is renamed to file220:20
davispuh joined20:21
vurma joined20:21
zorbash_ left20:22
lite_ left20:22
dreiss left20:22
zapb_ joined20:22
juvenaljuvenal_away20:22
SporkWitch joined20:22
SporkWitch left20:22
SporkWitch joined20:22
joki left20:23
zorbash left20:23
j416 left20:23
j416_ joined20:23
zorbash joined20:24
Kayra joined20:24
bamj0rb bluesm: There's no difference between `git mv file1 file2' and `cp file1 file2 && git rm file1 && git add file2'. Git doesn't really care (though it does its best to detect that automatically just for your convenience).20:24
teran joined20:24
davividal left20:24
cortexman joined20:25
cortexman does anyone know of a web-based text editor for files in a git repo?20:25
Guest78439 left20:25
foucist left20:26
cods joined20:26
HedgeMage github's interface has one IIRC20:26
etcetera left20:26
Snibble left20:27
bluesm _ikke_: bamj0rb So the only way to "rename" something in git is to "remove" something from git and add the same file with chenged name (What "git mv" does) Right ? And this would not connect anyhow "deleted" file with "added", it would be seen as just "Deletion of a file, and addition not related file, in the history. Right ?20:27
_ikke_ bluesm: correct20:27
MacGyver left20:27
juvenal_awayjuvenal20:28
etcetera joined20:28
chisler left20:28
PaulCapestany left20:28
_ikke_ bluesm: Old e-mail from Linus talking about this: http://thread.gmane.org/gmane.comp.version-control.git/27/focus=21720:28
Kayra left20:28
joki joined20:29
lite_ joined20:29
pixelgremlins joined20:29
Snibble joined20:29
zapb_ left20:29
srayner joined20:30
Gavrisimo left20:30
Gavrisimo joined20:30
MacGyver joined20:30
MacGyver left20:30
MacGyver joined20:30
papegaaij joined20:31
_flow_ left20:31
lov Does linus spend all of his time writing angry emails?20:32
because that's the impression I've slowly been getting.20:32
qknight joined20:32
rasto left20:32
_ikke_ He didn't even use a swear word in this e-mail20:33
Brmm joined20:33
nottombrown joined20:33
magu|q left20:34
CKyle left20:34
Gavrisimo left20:35
magu|q joined20:35
samuel02 left20:37
_flow_ joined20:38
JustinMac joined20:38
Snibble1 joined20:38
_ikke_ cbreak: about sha1 and git:20:39
cbreak: http://thread.gmane.org/gmane.comp.version-control.git/27/focus=32220:39
cenuij left20:39
endiruna left20:39
endiruna joined20:39
Gitzilla joined20:40
hwrd|work joined20:40
cortexman left20:40
sq-one left20:40
Snibble left20:41
rcu joined20:41
zapb_ joined20:43
cbreak sha3!20:43
raonyguimaraes left20:44
Mars joined20:45
rasto joined20:45
chisler joined20:45
MarsGuest1704320:45
elplatt left20:45
err_ok left20:45
raonyguimaraes joined20:46
LeMike left20:46
fangism-shadowfangism20:46
davispuhh joined20:47
thiago joined20:48
simesy joined20:48
asQuirreL joined20:48
Advocation joined20:49
imachuchu heexplained it in an e-mail, his perceived anger is just our being insensitive to his culture20:49
lite_ left20:50
h0bbit_ left20:50
_ikke_ He's very opinionated and not shy of lettig others know they're wrong in his opinion20:50
Snibble1 left20:50
_ikke_ letting*20:50
LeMike joined20:50
bamj0rb I do not perceive any anger. Perhaps arrogance, but arrogance can easily be confused with _right_. :D20:50
davispuh left20:51
davispuhh left20:51
Snibble joined20:51
jrnieder in that $gmane/322 one I think he was wrong :)20:51
because of signed tags20:51
davispuh joined20:52
refried_ joined20:52
Jackneill left20:52
simesy left20:53
joelm left20:53
etcetera left20:54
jarr0dsz left20:54
Advocation left20:54
_ikke_ Wrong in what sense?20:54
Or on what point20:54
freestyl3r left20:55
juvenaljuvenal_away20:55
frgtn joined20:56
bamj0rb "In other words, I'm right. I'm always right, but sometimes I'm more right than other times." - Linus20:56
freestyl3r joined20:56
bamj0rb Therefore, you are wrong, but sometimes you are more wrong than other times. ;D20:56
elplatt joined20:57
tpollard joined20:57
fcw joined20:57
duxb joined20:58
davispuh left20:58
etcetera joined20:58
rcu left20:58
jrnieder _ikke_: "I think we could have used md5's as the hash, if we just make sure we have good practices. And it wouldn't have been "insecure"."20:58
_ikke_: that's true as long as people don't use protocols that don't authenticate the server20:59
joelm joined20:59
duxb Hi, I was on earlier with some questions about migrating an subversion repo to git, and I was getting an error, but I think I got past it, but now it creates an empty git repo20:59
fcw left20:59
jrnieder _ikke_: if everyone uses https and if SSL is secure, then all is well. But as soon as someone uses git protocol and relies on signed tags to decide what kernel to install...20:59
Kayra joined20:59
duxb command I'm using: git svn clone file:///var/svn/semons/ --authors-file=users --no-metadata -s temp21:00
unkmar joined21:00
_ikke_ left21:00
SocalNick_ joined21:01
arand left21:01
LuxuryMo_ joined21:01
davispuh joined21:01
duxb any help?21:02
gittish joined21:02
juvenal_awayjuvenal21:02
SocalNick left21:02
SocalNick_SocalNick21:02
T0bb5 left21:02
LuxuryMode left21:02
ni_ left21:03
juls left21:03
pivonroll joined21:03
marcidy left21:03
marcidy joined21:03
rouf left21:04
unkmar okay, so I've messed up somehow and Need help fixing it. (refusing to update checked out branch)21:04
HenryG left21:04
tarkus left21:04
luxgeek left21:04
imachuchu duxb: sorry, but I have no idea :(21:04
unkmar: don't push to a remote repo that isn't a bare21:05
LuxuryMo_ left21:05
unkmar imachuchu: its a bear right now. so um, how do I make it bare of convert it or. well, how do I fix this?21:05
s/bare of/bare or/21:05
tincricket left21:06
_ikke_ joined21:07
unkmar imachuchu: nevermind. I see I asked a quaqmire of a question. Researching now.21:07
jhulten left21:07
CreativeEmbassy left21:08
imachuchu unkmar: a bare repo is one without a local checkout (think like a server that people push/pull from)21:08
SamB unkmar: do you know what bare means?21:08
so, if you aren't using the working tree in that repository anyway bare is good21:08
otherwise, you may need to set up a bare repository as an intermediary21:09
renegaderyu joined21:09
mmitchell joined21:10
err_ok joined21:10
robbyoconnor left21:10
fletch49er left21:11
unkmar bare repo only, No working directory. No commits happen to bare, only push/pull. Right?21:13
bamj0rb Correct.21:13
ojacobson Generally.21:14
You can create commits in a bare repo but it's tedious and it's not part of _anyone's_ standard workflow21:15
not even crazy people :)21:15
bamj0rb Technically I'm doing it, but only because of evil circumstances... I don't consider it bare. Just ... elsewhere. >:)21:15
duxb I'm now trying to do "git svn clone svnrepo/ --authors-file=users --no-metadata -s temp" and it comes back with "E: 'trunk' is not a complete URL and a separate URL is not specified", any help?21:15
m8 left21:16
Jabberish joined21:16
unkmar ojacobson: yeah, I sorta kinda figured the not usual part out.21:16
dglambert left21:16
_kW left21:17
bamj0rb duxb: Seems you need the file:/// scheme.21:17
Snibble left21:17
bamj0rb Or perhaps it would just be file://./svnrepo/ ? I'm not 100% on file URIs..21:17
[emmajane]emmajane21:17
duxb when I do that, it gives me an empty git repo21:18
but it does work21:18
bamj0rb Define "an empty Git repo"...? :-/21:18
duxb no files in it, just a .git directory21:18
bamj0rb Perhaps it doesn't know what to checkout first? Does git branch -a list anything?21:19
duxb and this svn repo has almost 200 revisions of over a hundred files21:19
err_ok left21:19
simesy joined21:19
duxb bamjOrb: nothing21:19
iamjarvo_ left21:19
bamj0rb Sounds like something isn't working. What is the output of svn clone? Perhaps you should pastebin a terminal log..21:20
_kW joined21:20
tadasZ joined21:20
madewokherd joined21:20
bamj0rb In my own experience, it spits out a ton of junk when it works (in Windows, it also takes weeks... xD).21:20
juvenaljuvenal_away21:21
zapb_ left21:21
duxb when I do the one using file:///path/to/svnrepo it has no output, just finishes after several seconds21:22
myme left21:22
Snibble joined21:22
War2 left21:23
rouf joined21:25
paulweb515 left21:25
Moosya left21:25
Fandekasp joined21:26
err_ok joined21:26
gittish left21:26
bamj0rb I would say that definitely is not working then. :-/ I don't know.21:26
duxb Well, thanks for trying.21:27
IrishPrime left21:27
kim_plausible joined21:27
bamj0rb You're aware that the man page discourages --no-metadata?21:27
simesy left21:27
bamj0rb Out of curiosity, if you remove that option do the results improve?21:28
emmajane[emmajane]21:28
duxb no, several guides I found said to do it, I'll try without21:28
kukks joined21:28
bamj0rb That is apparently only if you want to exclude traces of Subversion metadata. This might be useful if you plan to throw the Subversion repository away afterward. That said, just for the heck of it, I'd try without just in case it's a bug or something..21:29
duxb same thing21:29
myme joined21:29
duxb well, my goal is to throw away the svn repo, but anything I can do to get this working...21:29
I took off the -s and now it seems to be working...21:30
bamj0rb Maybe try moving the URI after the options (I'm just swinging at gremlins at this point).21:30
marthinal left21:30
jayrobot joined21:30
DrShoggoth left21:30
jblue_ joined21:31
Nuru joined21:31
jblue_ exit21:31
jblue_ left21:32
j416_j41621:32
Nuru Where's the best place to file a bug report for git?21:32
juvenal_awayjuvenal21:32
blami joined21:32
ojacobson http://git-scm.com/community is a good place to start21:32
juvenaljuvenal_away21:33
Nuru ojacobson: that's where I found out about this chat room21:33
_kW left21:33
rouf left21:33
thiago left21:33
igalic how do I get the git command line to show me this: https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=tag;h=151cc9a22c1754d25898d20aec149937fbe96bf821:33
ojacobson Searching the page for "bug report" may be enlightening.21:33
bamj0rb This is the wrong place to report a bug. ;)21:33
ojacobson (It's the text _in bold_.)21:33
Nuru ojacobson: it recommends sending an email to a mailing list, but I hate that, as spam invariably follows.21:34
rouf joined21:34
ojacobson Okay, so your real question is "is there an alternative" and the answer is no21:35
bamj0rb igalic: Maybe git show or git cat-file?21:35
zapb_ joined21:35
Nuru ojacobson: Sorry, yes, you are right about my question, and if that is the answer then I just won't report the bug. Thanks for the quick response.21:36
ojacobson Git's actual dev team doesn't hang out in IRC much :)21:36
sorry mate21:36
snql left21:36
iamjarvo_ joined21:36
bamj0rb You can always describe it anyway in case you're wrong.21:36
jfoy left21:36
Nuru ojacobson: Wasn't expecting to report the bug on IRC, was hoping for something like GitHub's issue tracker.21:37
duxb bam, success! running it with --no-metadata and without -s worked21:37
sebrock left21:37
kim_plausible left21:37
ojacobson heh21:37
bamj0rb duxb: \o/21:38
dglambert joined21:38
dglambert left21:38
bamj0rb duxb: That seems odd though. -s is a pretty normal option (of course, it probably depends on your repository having /branches/*, /trunk, and /tags/*).21:39
duxb: Perhaps the order of arguments matters (since I assume git passes them on to init and fetch).21:39
duxb: As long as you have all of your branches/tags that you need you're good. If not then you might want to play with the order.21:39
endiruna left21:39
jhulten_ joined21:39
kim_plausible joined21:39
endiruna joined21:39
duxb I didn't have /branches/ /trunk/ or /tags/, maybe that was it21:40
bamj0rb Probably yes. :P21:40
That probably means that Git imported the history as a single branch/tree. If you did have branches you may want to change that...21:40
It would sort of defeat the purpose of using Git if you managed branches like Subversion after. :D21:41
duxb No, I wanted to switch to git specifically before I did branches21:41
Nuru left21:41
Destos left21:42
duxb ls21:42
bamj0rb . .. pr0n/21:42
duxb haha, wrong screen21:42
primiano joined21:42
primiano left21:42
elplatt left21:44
moffet joined21:44
elplatt joined21:45
duxb well, thanks all, I'm now officially a git user21:45
gitinfo set mode: +v21:45
cbreak welcome.21:46
if you want to use git, you won't get away without branches if you want to do anything useful in a reasonably convenient manner.21:46
duxb Oh, I plan on using them, that's why I switched, in part21:47
longbeach left21:47
el3ctron_ left21:47
duxb because according to the interwebs, svn sucks at branching/merging, and git rocks at it21:47
snql joined21:48
endiruna left21:49
Guest32031 left21:50
Advocation joined21:50
endiruna joined21:50
thelorax123 left21:50
bamj0rb According to the universe, you mean.21:51
duxb isn't that what I said? :P21:51
Octalot joined21:52
macabre left21:52
thelorax123 joined21:52
jnavila left21:52
zapb_ left21:53
jnavila joined21:53
primiano joined21:53
primiano left21:53
Advocation left21:53
droogans joined21:54
skorgon left21:54
skorgon joined21:54
CKyle joined21:54
VictorCL joined21:54
skorgon remote: ***** ABORTING *****21:54
remote: bad reponame 'foo/..*' or you forgot to set $GL_WILDREPOS21:54
zorbash_ joined21:54
skorgon do i have to do anything to fix the abort?21:54
endiruna left21:55
skorgon i set the GL_WILDREPOS in the rc file now, but it doesn't seem to work21:55
oojacoboo left21:55
penguin42 is there anything more efficnet than git log -Sstring --source --all filename - i.e. anyway to preindex?21:56
paulweb515 joined21:56
Fernandos left21:56
Snibble left21:57
thierryp left21:57
gajon joined21:57
simesy joined21:57
zorbash left21:57
moffet left21:58
jhulten_ left21:58
imachuchu penguin42: preindex?21:58
Layke left21:59
zorbash_ left21:59
penguin42 imachuchu: Well I keep doing searches like that and they're reasonably slow, so I wondered if there was anyway to generate an index based on all strings in all the diffs in a file21:59
moffet joined21:59
SocalNick left22:00
avantgeek_ joined22:00
penguin42 imachuchu: Especially since I'm tending to do lots of searches in the same subset of files for different strings22:00
zorbash joined22:00
mnms_ joined22:00
gitinfo set mode: +v22:00
_ikke_ penguin42: If you provide files, it can speed the process up a lot22:00
avantgeek left22:00
droogans Why don't you limit the number of commits?22:00
git log -n 2522:01
GeertV joined22:01
penguin42 droogans: Because I've not got a clue when the changes were made22:01
_ikke_: Yeh I'm searching within the history of one or two specific files so I am doing that22:01
SocalNick joined22:02
mnms_ Guys do you keep commercial projects on private repos in github ?22:02
penguin42 droogans: I'm trying to forward port support for a system and come across a symbol undefined, so go and search for that symbol in similar systems to see when that symbol was removed22:02
kiki67100 it's possible to merge one file from another branch ?22:02
penguin42 droogans: It kind of works well except that -S is pretty slow22:02
mnms_ Because I'm not totally convinced about having it there...22:02
droogans nmns_ then use bitbucket22:03
teran left22:03
dglambert joined22:03
mnms_ I mean security of source code.. Support team have access to it, and can clone anytime22:03
teran joined22:03
yargy joined22:03
gittish joined22:03
droogans You can download github's source and install it on a server behind your company's firewall22:04
It's not the latest and greatest, like the web version, but it's totally usable.22:04
tty-1 joined22:04
mnms_ droogans: That cost a lot ?22:04
droogans Free22:04
mnms_ wow22:04
vurma left22:04
droogans Support costs money22:04
gajon left22:04
bartek Hmm, I am creating an orphaned branch, and then I checkout "docs" from master on this orphan. However, the "docs" folder on master has a submodule. It seems when I checkout docs, despite it having a submodule, the orphan doesn't fill up the submodule22:04
mnms_ droogans: what differnce is between bitbucket and github ?22:05
bartek I tried doing git submodule update when I checkout "docs" but no luck. What am I missing?22:05
faBimon joined22:05
moffet Hello, we have a web dev team that wants to migrate from subversion to git. Currently when a commit takes place "post-commit" fires and builds an rpm that is then scp over to a webserver and unpacked. Does git have something similar? My google chi is off today .. :/22:05
harobed_ joined22:05
ni_ joined22:06
btcquant joined22:06
droogans @mnms_ you get free private repos in bitbucket22:06
but if security and trust are your main concerns, look here: https://github.com/sitaramc/gitolite22:06
oojacoboo joined22:06
droogans @moffet google "post commit hook git"22:07
btcquant quick question: I've been working on a branch for the past month. Now, it is so far along, that we want to abandon the "master" branch and just make the "temporary branch" the new master. So, I don't want to merge, but want to just "jump". How can I do this?22:07
droogans You'll need to install those kinds of hooks on your git server.22:07
robbyoconnor joined22:07
robbyoconnor left22:07
sebrock joined22:07
moffet droogans: perfect. thank you.22:07
TheHoneyBadger left22:07
droogans @btcquant if you don't mind losing that history you can just make a new git init of the branch (in a new folder)22:08
lifechamp left22:08
btcquant droogans I'd prefer to keep all the old history. Just in case.22:08
kiki67100 it's possible two merge a file from another branch ?22:08
to*22:08
droogans @kiki google "git cherry-pick"22:09
xeqution joined22:09
bamj0rb btcquant: You can give a new name to the old master. E.g., git branch old-master master.22:09
btcquant: Then you can reset master to the new branch. git checkout master && git reset --hard $other_branch22:09
rm_work|awayrm_work22:09
endiruna joined22:09
mnms_ droogans: It would be good to have github funcionality: issue tracker collaboration tools22:09
btcquant bamj0rb Not a bad idea. Why do I need the "reset --hard"22:09
kiki67100 droogans: thanks i will google that22:09
bamj0rb btcquant: Warning. --hard is serious business. Use with caution.22:09
btcquant ?22:09
mnms_ droogans: Where I can find source of github ?22:09
Brmm left22:10
kiki67100 I do a wordpress upgrade git it's very nice to that22:10
bamj0rb btcquant: git reset --hard will basically point your current branch (e.g., master) to whatever ref to give it (or HEAD, by default). So you effectively "move" master to $other_branch.22:10
btcquant bamj0rb Got it.22:10
jhulten joined22:10
kiki67100 multiple branch ( old / new ) to ajust modification22:10
bamj0rb btcquant: It will also destroy any uncommitted/staged changes though. Make sure your working directory is clean (or you just don't care about the changes) first.22:10
btcquant bamj0rb Its clean. Thanks :)22:11
droogans mnms_: I spoke too soon, github's source isn't free, you have to have an enterprise edition of their source22:11
GeertV left22:11
joelrobichaud left22:11
GeertV joined22:11
droogans mnms_: gitolite is free. It's a web-project wrapped around git's features. You don't need github's source for that.22:11
btcquant bamj0rb Looks like it worked. WoooHooo. Thanks!22:12
bamj0rb btcquant: Of course, everybody is going to have to do something similar within their own repos.22:12
Layke joined22:12
bamj0rb btcquant: If they just "pull" then their master will merge with the new master. Which is probably not what they want.22:12
btcquant Only one other person. I might just have them clone the repo from scratch.22:12
bamj0rb One person is no big deal. :)22:13
mnms_ droogans: I cannot find anything about issue tracking funcionality in gitolite ?22:13
zorbash_ joined22:13
shruggar joined22:14
bronson_ left22:14
dsdeiz left22:14
Brmm joined22:15
SamB mnms_: git doesn't support issue tracking, so ...22:15
zorbash left22:15
GeertV left22:16
Pullphinger left22:16
gittish left22:16
Robarelli left22:16
Baluse left22:17
ErKa joined22:17
droogans mnms_: how put off are you by a huge set up process?22:17
AaronMT joined22:17
sebrock left22:17
droogans If you can handle a rather large-ish install/setup, check out Gerrit: http://stackoverflow.com/a/10897484/88122422:17
Baluse joined22:17
zorbash_ left22:18
thelorax123 left22:18
refried__ joined22:18
Kayra left22:18
sabgenton joined22:18
droogans mnms_: see if this is more of what you'd want http://www.mediawiki.org/wiki/Gerrit/Tutorial22:19
chamunks joined22:19
hamiltont__ joined22:19
gitinfo set mode: +v22:20
thelorax123 joined22:20
kiki67100 left22:20
zorbash joined22:20
zeknox left22:20
hamiltont__ Could anyone help me understand why my github pull request suddenly has 1000+ commits, instead of the initial <5?22:20
mnms_ droogans: There is no issue tracking ?22:20
hamiltont__ It's at https://github.com/TechEmpower/FrameworkBenchmarks/pull/50222:20
sabgenton when you git show and you see a diff is that part of the commit or is it generated there and then from the commit verse the previous commits?22:20
chuckharmston left22:21
Pyrogerg left22:21
yakup joined22:21
hamiltont__ sabgenton: me?22:21
apipkin left22:21
droogans mnms_: In gerrit, pull requests can only be one commit in size (you can configure it however you want, but this is the preferred way)22:21
sabgenton anyone22:21
:)22:21
mmcdaris joined22:21
Robarelli joined22:22
droogans mnms_: So every single commit is an pull request, so each can (and should) be treated as an issue.22:22
endiruna left22:22
droogans mnms_: however, it takes a lot of discipline to properly administer a team that uses gerrit22:22
mnms_ droogans: I need it for testers22:22
droogans There is this, which isn't free, but is cheap: https://github.com/blog/441-announcing-github-fi22:22
thelorax123 left22:23
droogans Then there's this, which is simpler and more expensive https://enterprise.github.com/22:23
Kayra joined22:23
droogans I recommend https://enterprise.github.com/22:23
hellopat_ joined22:23
sabgenton hamiltont__: maybe you should ask in #github ?22:23
eijk left22:23
mnms_ droogans: Best solution but to expensive for me :(22:24
snag left22:24
mnms_ droogans: did you try to encrypt files with git crypt ?22:24
yakup hey guys did you notice that at the end of the man entry for git, the notes are referenced as like file:///home/junio/share/doc/git-doc/everyday.html - why not http?22:24
t0r left22:24
zorbash left22:24
mnms_ then I could use github or bitbucket and push only encrypted files...22:24
russ_ joined22:24
droogans mnms_: never heard of that, but it sounds a bit off…not sure how you could get usable diffs out of encrypted files.22:25
zorbash joined22:25
thelorax123 joined22:25
droogans mnms_: why not separate your issue tracker from your version control?22:25
gverri_ joined22:25
hellopat left22:26
mnms_ it is very handy to have everything in one package...22:26
droogans mnms_: github simply combines these two tools, but separately they are both free.22:26
That's true.22:26
thiago joined22:26
LeMike left22:27
bamj0rb yakup: I'm not sure what you're referring to... :-/22:27
mnms_ droogans: I agree with you, but Im little worried about my source code after reading that22:27
https://help.github.com/articles/github-security22:27
preflex joined22:27
hellopat_ left22:27
halu_ left22:27
zeknox joined22:28
mnms_ Specially Employee access paragraph22:28
woollyams joined22:28
yakup bamj0rb: in the notes section of the manual entry (man git), the links (except mail address) are file:// urls22:28
gitinfo bamj0rb: the git manpage is available at http://jk.gs/git.html22:28
elplatt left22:28
bamj0rb yakup: Are you on Windows?22:28
yakup bamj0rb: nope22:29
droogans mnms_: I see. Well, unless you're doing something illegal or so high tech that you're afraid Github is going to steal it...22:29
jrnieder yakup: this is in https://git-core.googlecode.com/files/git-manpages-1.8.4.3.tar.gz?22:29
sabgenton ok git status's diff is generated, not stored anyware http://stackoverflow.com/a/10398894/790359 yay22:29
droogans mnms_: which is absurd. They already have a great reputation in a niche market, I don't see them blowing that over a client's code.22:29
yakup jrnieder: checking...22:29
duxb left22:29
_kW joined22:29
ojacobson left22:30
donmichelangelo left22:30
mnms_ droogans: Maybe you right.22:30
bamj0rb yakup: Ah, I see. Perhaps a bug. I imagine the URIs are meant to be where it's installed locally. You may be offline so a Web URI might not be accessible.22:30
mnms_ and maybe Im too paranoid22:30
donmichelangelo joined22:30
zorbash left22:30
elplatt joined22:32
sabgenton left22:32
jday_ joined22:32
sabgenton joined22:32
chuckharmston joined22:32
zorbash joined22:32
moffet left22:33
Roots47 left22:33
joelmo left22:33
hamiltont__ left22:34
yakup bamj0rb, jrnieder: i've checked it in osx and ubuntu, and in the man source it looks like there's a variable.. but still, both refer to /home/junio so i thought i mention it here :)22:34
ngladitz left22:34
bamj0rb yakup: Are you junio? :P Is that who installed Git?22:35
alfadir left22:35
hwrd|work left22:36
bamj0rb For me the URI is to /usr/share/doc. :) Could be different versions too (maybe it was a bug at one time and was fixed since, etc.).22:36
yakup bamj0rb: Git was started by Linus Torvalds, and is currently maintained by Junio C Hamano.22:36
bamj0rb yakup: Ah, what version of Git do you have?22:36
ewnd9 joined22:37
refried__ left22:37
rflktr left22:37
yakup bamj0rb: 1.7.8 on mac 1.7.10 on ubuntu22:37
bamj0rb: i was just studying the manual :)22:38
threesome left22:38
bamj0rb I suppose it could also be that junio packaged it for Ubuntu and OS X and had built the documentation locally... :-/ Perhaps a bug for the packages?22:38
rabbite left22:38
ojacobson joined22:38
yakup bamj0rb: but both of them are pointing to the filesystem22:38
srayner left22:39
bamj0rb That would have probably been configured statically at built time. E.g., ./configure or `make man' or whatever is done.22:39
ojacobson left22:39
yakup bamj0rb: can you confirm by the way?22:39
bamj0rb yakup: The reason it points to the file system is because it is expected to be installed in your file system.22:39
yakup: I cannot confirm. I am making an educating guess.22:40
wrouesnel joined22:40
wdkevinonewdkevin22:40
zorbash_ joined22:40
russ_ left22:40
leeN left22:41
btcquant left22:41
bamj0rb yakup: You can try to look up the package source for Ubuntu's git package(s). Or just file a bug with Ubuntu and see what they say. :)22:41
beastd left22:42
mattattaque joined22:42
kukks left22:42
sebrock joined22:42
zorbash left22:43
webguynow joined22:43
yakup bamj0rb: i'll go on testing on different distros, and on osx i think i installed it with homebrew...22:43
guest242 left22:44
jhulten left22:44
elplatt_ joined22:44
bamj0rb yakup: You can also check Git's source to see if it screws up... :P22:44
bwreilly left22:45
zorbash_ left22:45
bamj0rb Building from source is actually pretty easy. There aren't any obscure dependencies.22:45
SamB yakup: yes, those are supposed to be pointing at the installed location on your system22:45
mmcdaris left22:45
zorbash joined22:45
SamB if they are not, yell at the packager or installer (possibly you)22:45
pandeiro joined22:46
aard left22:46
bamj0rb delete this; /* I suck. */22:47
srji left22:47
lightsoda joined22:48
elplatt left22:48
elplatt_elplatt22:48
jnavila left22:48
Snibble joined22:48
maestrojed left22:48
yakup SamB: so aptitude and homebrew are at the stake now :)22:48
cannonball left22:49
Snibble1 joined22:49
TomyLobo left22:49
snql left22:49
sebrock left22:49
SamB yakup: did you install git-doc yet?22:49
davispuh left22:50
SamB also, by "packager" I meant whoever put the distro package together22:50
zorbash_ joined22:51
zorbash left22:51
Kismet010 joined22:51
Kismet010 extrange22:51
wrouesnel left22:51
russ_ joined22:51
woollyams left22:51
Kismet010 .gitignore with .htaccess and local-config.php22:51
abelsiqueira left22:52
Kismet010 bitbucket shows local-co.. but no .htaccess22:52
gverri_ left22:52
jxpx777_ joined22:52
Dreadnaught joined22:52
Dreadnaught left22:52
Dreadnaught joined22:52
Kismet010 I tried to remove local.php with rm -r --cached .22:52
and force push22:52
but it still there22:52
what happens?22:52
maslowbeer joined22:52
Snibble left22:53
Snibble1 left22:53
tty-1 left22:54
tirengarfio left22:54
jxpx777 left22:55
sr105sr105|away22:55
zorbash_ left22:55
maestrojed joined22:56
petey left22:56
TheFuzzball left22:56
bamj0rb Kismet010: Please explain what you are trying to do. I do not understand.22:57
droogans left22:59
qsuscsqsusOFFcs23:00
Dougie187 left23:00
gverri joined23:01
zorbash joined23:01
sr105|awaysr10523:01
juvenal_awayjuvenal23:01
garrilla joined23:01
sabgenton left23:02
sabgenton joined23:02
jerius left23:03
Zarthus left23:03
TheWarden left23:04
RogerWS left23:04
elplatt left23:05
elplatt joined23:05
intripoon_ left23:05
johnkevinmbasco joined23:06
thiago left23:06
zorbash_ joined23:08
breakingthings left23:08
bwreilly joined23:09
T0bb5 joined23:09
faBimon left23:09
sriracha left23:09
kcj joined23:10
ewnd9 left23:11
zorbash left23:11
doug joined23:12
doug got this branch merged into master23:12
yakup left23:12
erichynds left23:12
doug what's the best way to get a list of commits in that branch?23:12
davispuh joined23:12
Destos joined23:12
glosoli left23:13
imachuchu doug: !lol23:13
gitinfo doug: A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all23:13
doug "just in the branch," i guess that'd be commits that are common to that branch and master23:13
zorbash_ left23:13
imachuchu doug: !lola23:13
aww23:13
zorbash joined23:13
TheFuzzball joined23:13
TheFuzzball left23:13
doug and not showing commits that aren't in both branches....23:14
abdostar joined23:15
doug basically git rev-list that chops off at the merge base23:15
nottombrown left23:15
richwestcoast joined23:15
shinnya joined23:16
CKyle left23:16
juvenaljuvenal_away23:16
luxgeek joined23:17
rpg left23:17
renegaderyu left23:17
pantsman left23:17
imachuchu doug: I use gitg, tig, and lol. Is this to be consumed by a program (as opposed ti a person)?23:17
lavaman left23:17
boblee left23:18
doug a script, yes23:18
zorbash left23:18
iderik left23:18
nottombrown joined23:19
boblee joined23:20
DrShoggoth joined23:20
devbug left23:20
iamjarvo_ left23:23
PeterBooker joined23:24
zorbash joined23:24
jlewis joined23:25
nottombrown left23:25
nottombrown joined23:26
bb_ joined23:27
bamj0rb left23:29
nottombrown left23:29
nottombrown joined23:30
imachuchu doug: sorry but I really don't have any expiriance with that. Could you run revlist twice, one for each branch, then cull the duplicates to get one list?23:30
macrover joined23:30
zorbash_ joined23:30
nottombrown left23:30
KillYourTV left23:30
johnkevinmbasco left23:30
johnkevinmbasco joined23:30
nottombrown joined23:30
zorbash left23:31
endiruna joined23:31
bb_ left23:33
VictorCL left23:33
VictorCL joined23:34
nottombr_ joined23:34
zorbash_ left23:34
SBoudria1 joined23:34
DonRichie left23:34
nottombrown left23:35
zorbash joined23:35
Lewix joined23:35
Lewix how to git add . BUT not the untracked files23:35
KillYourTV joined23:35
SBoudria1 left23:35
imachuchu Lewix: "git add -u" ?23:36
Lewix iamtakingiteasy: idk23:36
is it?23:36
imachuchu Lewix: oh, but that won't get new files23:36
akiress left23:36
Lewix git lemme try23:36
elplatt left23:37
imachuchu Lewix: "git add -A" might be more what you want23:37
Lewix thanks23:37
-u worked23:37
nottombr_ left23:37
jhulten joined23:38
pivonroll left23:38
nottombrown joined23:38
harobed_ left23:38
lifechamp joined23:38
droogans joined23:39
KillYourTV left23:39
zorbash left23:39
nottombr_ joined23:40
zorbash joined23:40
nottombrown left23:40
richwestcoast left23:40
droogans left23:41
rendar left23:41
Kakera left23:41
johnkevinmbasco left23:42
lavaman joined23:42
KillYourTV joined23:43
natechan left23:43
sriracha joined23:43
sriracha1 joined23:44
txomon|home joined23:44
nottombr_ left23:44
nottombrown joined23:44
zorbash left23:44
zorbash joined23:45
Kayra left23:45
King_Hual left23:46
sebrock joined23:46
johnkevinmbasco joined23:46
jonez left23:46
pw3 joined23:46
Robarelli left23:46
nnyk_ joined23:48
sriracha left23:48
zeograd left23:49
johnkevinmbasco left23:49
nottombrown left23:49
Sigma left23:49
johnkevinmbasco joined23:50
zorbash_ joined23:50
sebrock left23:50
PeterBooker left23:51
iron_houzi Is this the best way to fetch and track a branch from a remote: git checkout -b foo origin/foo ?23:51
tadasZ left23:51
maestrojed left23:51
acl_ joined23:51
zorbash left23:51
lun__ left23:52
lun__ joined23:52
Guest____ left23:53
rjhunter joined23:54
mmitchell left23:54
shuaib joined23:54
CKyle joined23:55
zorbash_ left23:56
imachuchu iron_houzi: no, that won't fetch the remote. "git fetch origin; git checkout -b foo origin/foo"23:56
SirFunk left23:56
lun__ left23:57
nicknisi left23:57
Serus left23:57
endiruna left23:57
jxpx777_ left23:58
jonez joined23:58
seanz joined23:59

Logs Search ←Prev date Next date→ Channels Documentation