IRCloggy #git 2014-06-23

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.

2014-06-23

Radivarig left00:00
Goplat left00:03
VinceZa left00:04
mizu_no_oto joined00:06
watabou joined00:06
Reskp left00:07
monty left00:07
fstd_ joined00:08
jeffreylevesque joined00:08
godgodgodgo joined00:09
Mitchbones joined00:10
marscher joined00:10
watabou left00:11
rlazoti joined00:11
fstd left00:12
fstd_fstd00:12
geomyidae_ joined00:12
geomyidae_ left00:13
geomyidae_ joined00:13
mizu_no_oto left00:13
juvenal left00:14
choffstein left00:14
unreal_ joined00:15
m0ltar joined00:16
boombatower left00:16
Reskp joined00:16
unreal left00:17
mizu_no_oto joined00:18
aartist left00:19
MrJoshua joined00:20
marscher left00:21
morenoh150 left00:23
MrJoshua left00:23
MattMaker left00:23
kcj joined00:24
msm` joined00:25
toothr joined00:26
rlazoti left00:27
msm left00:28
shinnya left00:28
dsdeiz joined00:29
mizu_no_oto left00:30
Arkaniad|Laptop joined00:30
Arkaniad joined00:30
Arkaniad|Laptop left00:30
jftf joined00:31
rlazoti joined00:32
Reskp left00:32
Reskp joined00:33
devoldmx left00:33
devoldmx3 joined00:33
Reskp left00:33
tmcmahon joined00:33
mlimaloureiro joined00:33
mlimaloureiro left00:34
dauntl3ss left00:34
dsdeiz left00:34
Reskp joined00:35
mizu_no_oto joined00:35
jftf left00:36
devoldmx joined00:36
bezet joined00:36
a_le joined00:37
leeN left00:37
Reskp left00:37
devoldmx3 left00:38
mizu_no_oto left00:39
Guest351O2 left00:40
phoric joined00:40
morenoh150 joined00:40
zivester joined00:40
bezet left00:40
sleepee left00:41
mizu_no_oto joined00:42
m0viefreak left00:42
kevinb left00:43
ojacobson_ left00:43
ojacobson joined00:44
morenoh150 left00:45
kevinold joined00:46
rlazoti left00:47
kevinb joined00:48
devoldmx left00:51
devoldmx joined00:51
kevinold left00:51
moritzschaefer joined00:52
harish left00:53
kpreid left00:54
moritzs left00:56
MrJoshua_ joined00:56
tmcmahon left00:57
buhman when it was my intention to rebase a commit into a different branch, it looks like I ended up creating a new commit instead--after merge, I now have two commits that have the same message/blobs.00:58
hkon_ joined00:58
buhman how do I rewrite history so that the branch was properly based off of said commit so the merge doesn't look completely insane00:59
MrJoshua_ left00:59
MrJoshua_ joined00:59
rlazoti joined00:59
quazimodo left01:00
godgodgodgo left01:00
northfurr_ joined01:00
northfurr_ left01:00
victorhos_ joined01:01
MrJoshua_ left01:01
shruggar left01:02
Ankhers joined01:02
milki its often the case that you have multiple commits with the same commit message and tree01:02
nkouevda left01:02
kcj left01:02
milki buhman: can you !paste things to illustrate what you have and what you want it to be?01:03
gitinfo buhman: Please paste snippets longer than one line at a pastebin site, such as https://gist.github.com/ rather than in-channel.01:03
hkon_ left01:03
buhman http://ix.io/d65 'plugin-interrupt-hook' should be retroactively rebased from 8d2bbeb, not e6330fb01:04
daito joined01:06
milki hm ok01:07
hyperair left01:07
mcc_ joined01:07
milki so you'll need to make a new branch on f054fe2, !undo the last two commits, then rebase the new branch on 8d2bbeb before merging again01:07
gitinfo [!fixup] So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history!01:07
mcc_ left01:08
buhman hrm01:08
ehmatthes joined01:08
milki if the rebase doesnt realize that 8d2bbeb and c1c29f7 are the same, then the commits are slightly different01:08
you can find out using cherry i think01:09
gsingh93_ joined01:09
Nicholas_Rishel joined01:09
milki or git patch-id01:09
if the patch-id's are different for those two commits, they commits are different01:10
MattMaker joined01:10
daito left01:10
tokik joined01:11
rjurney joined01:13
Nicholas_Rishel left01:13
k_sze[work] joined01:14
LucasTT left01:14
warthog9 left01:15
oojacoboo left01:15
weiyang joined01:17
toothr left01:17
Vampire0_ joined01:19
FreezingCold joined01:21
robarelli joined01:22
mueslo left01:22
Vampire0 left01:22
Arkaniad left01:22
n-st left01:24
robustus left01:24
wrouesnel joined01:26
robustus joined01:26
Muchoz left01:30
buhman http://ix.io/d67 \o/01:31
milki: thanks :D01:31
jftf joined01:32
daito joined01:33
zamabe left01:34
jayrobot left01:34
oojacoboo joined01:34
offby1 buhman: I think you're the first person I've run into who uses ix.io besides me01:35
z00t joined01:35
jftf left01:36
jon_r left01:36
dsdeiz joined01:37
alkimome left01:38
NaStYdoG left01:38
rlazoti left01:39
Reskp joined01:40
ender42 left01:40
robarelli left01:40
Mocramis left01:41
gitinfo set mode: +v01:41
z00tNaStYdoG01:42
Mocramis joined01:42
harish_ joined01:42
CheckDavid left01:42
Goplat joined01:43
Cathycatherinejf01:43
catherinejfcathyjf01:43
cathyjfCathy01:43
Guest351O2 joined01:43
offby1 z00t suit! White jacket with side vents -- five inches long!01:44
Reskp left01:45
m0ltar left01:45
warthog9 joined01:46
jon_r joined01:47
kevinold joined01:47
hyperair joined01:48
drjeats left01:48
rjurney left01:50
therealGent joined01:51
diegoviola left01:51
Guest351O2 left01:51
jrajav left01:51
luc_ joined01:52
veebers left01:52
veebers joined01:52
kevinold left01:52
JeanCarloMachado left01:54
theRealGentleman left01:54
JeanCarloMachado joined01:54
Nizumzen joined01:56
jonmorehouse left01:56
orbisvicis joined01:57
rednaks joined01:58
stealthii left01:58
balazs joined01:58
cebor left01:58
stealthii joined02:00
stealthii left02:00
stealthii joined02:00
stealthii left02:00
stealthii joined02:00
Sonderblade left02:00
Mitchbones left02:01
phix left02:01
orbisvicis left02:01
silviof3 joined02:01
cebor joined02:02
phix joined02:02
cnj left02:02
Sonderblade joined02:02
milki buhman: excellent02:03
cnj joined02:04
silviof2 left02:04
LemonyB left02:04
joelm joined02:05
milki says you need username and password?02:05
rednaks left02:05
mribeirodantas left02:05
milki and anonymous pastes are in the todo list02:05
madewokherd left02:06
rednaks joined02:06
stealthii left02:07
LemonyB joined02:07
Mitchbones joined02:07
Derander left02:07
_rgn left02:08
rednaks left02:08
Derander joined02:08
_rgn joined02:10
doubled112 joined02:11
Zamerick left02:11
gabeio- joined02:12
gabeio left02:12
stealthii joined02:12
morenoh150 joined02:13
mizu_no_oto left02:14
FabTG left02:14
bkero left02:15
FabTG joined02:15
mattstratton joined02:16
ninseiH joined02:16
doubled112 left02:17
choffstein joined02:17
stealthii left02:17
morenoh150 left02:18
diegoviola joined02:19
stealthii joined02:19
choffstein left02:20
dilfridge left02:20
cads joined02:21
tjcravey joined02:22
dilfridge joined02:22
hgl joined02:22
Noldorin left02:24
ninseiH left02:24
sleepee joined02:24
tsuyoshi_ joined02:25
rjurney joined02:27
pheaver joined02:28
WaReZ left02:29
victorhos__ joined02:30
CKyle joined02:31
LuxuryMode joined02:31
geomyidae_ left02:31
rjurney left02:31
echo-area joined02:33
jftf joined02:33
victorhos_ left02:33
VelesTheGod joined02:34
toothr joined02:35
hgl left02:36
dreiss joined02:36
jftf left02:38
tsuyoshi_ left02:38
morenoh150 joined02:39
mribeirodantas joined02:41
Reskp joined02:41
il_ left02:42
il_ joined02:42
Ankhers left02:43
kerrick joined02:44
sgambino joined02:46
Reflow joined02:46
Reflow would someone recommend a book for introduction to git02:46
i want to learn how git works and what is is useful for02:46
hgl joined02:46
Reflow also how is it used for big companies and stuff like that02:46
Reskp left02:46
krasnus I guess http://git-scm.com/ helps a lot02:47
hkon_ joined02:47
kevinold joined02:48
offby1 Reflow: perhaps things have changed, but up until not long ago few big companies used it. It's too new and big companies are afraid to try anything new.02:48
Rich_52696368 left02:48
Textmode joined02:48
HedgeMage Meh, it depends on one's definition of "big"...that said, I think "big" doesn't neccessarily equate to "more effective" (more often the opposite), so I'd rather look at how effective dev teams use it than just teams that happen to be embedded in giant bureaucracies02:49
Reflow exactly yeah02:50
thanks a lot :)02:50
HedgeMage np02:50
I also think the docs at the gitolite site are pretty good02:50
"pro git" (the book) has a good rep but I've never read it02:50
I tend to pick things up on the fly.02:50
HedgeMage shrugs02:51
krasnus pro git (http://git-scm.com/book) is actually quite good, indeed02:51
and it's free02:51
so I guess there's that :)02:51
ISmithers I ordered that book actually, waiting for it to arrive. Will become some break-time reading I think.02:51
echo-area left02:51
hkon_ left02:51
kevinold left02:53
Arkaniad joined02:53
Nizumzen left02:54
devoldmx3 joined02:54
deanclkclk_ joined02:54
deanclkclk left02:57
devoldmx left02:58
juvenal joined02:59
str left03:00
sleepee left03:00
str joined03:00
dreiss left03:00
ORiON-- left03:03
gandalfcome joined03:03
ORiON-- joined03:05
echo-area joined03:05
HelloShitty left03:05
mgolawala joined03:05
mgolawala left03:05
mgolawala joined03:06
echo-area left03:07
Fandekasp left03:07
dreiss joined03:08
monty joined03:08
cobakobodob left03:09
echo-area joined03:09
Ankhers joined03:10
morenoh150 left03:10
mgolawala left03:11
morenoh150 joined03:12
MarionDaly left03:13
CKyle left03:13
gandalfcome left03:14
Nicholas_Rishel joined03:14
zz_anildigitalanildigital03:15
il_ left03:16
Guest10150 left03:16
lng joined03:17
Reskp joined03:17
lngGuest9225503:17
nkouevda joined03:17
Guest92255 left03:18
lng joined03:19
lng Hi! Is it okay to update feature branch with the latest commits? I'm asking because feature branch might have a commits of the other developers and it might look confusing on Pull Request review03:19
danmackay left03:19
Ankhers left03:20
anildigitalzz_anildigital03:21
preaction lng: most likely you want to rebase your feature branch onto whatever branch you want to be merged into03:21
Reskp left03:22
lng preaction: can you show me the commands sequence please?03:22
preaction: let's say you are on feature branch03:22
and you completed the feature03:22
cilly joined03:22
preaction and you want to merge into master?03:22
lng yes03:22
preaction and your local master is up-to-date with the remote master?03:22
lng yea03:22
preaction then `git rebase master`03:23
lng from feature?03:23
preaction oh, and you didn't push your feature branch anywhere?03:23
lng nope03:23
preaction yes, from feature03:23
oh, you branched your feature branch from master?03:23
lng yea03:24
diegoviola left03:24
boombatower joined03:24
lng is it updating feature? git rebase master03:24
danmackay joined03:24
preaction then yes. rebase means "take all my commits, then start with <master> and apply all my commits". so "rewind, update, and apply"03:24
Reflow left03:25
lng so I'm rebasing my feature03:25
diegoviola joined03:26
offby1 is mortgaging his future03:26
lng preaction: should it bring others commits to it?03:26
preaction lng: whatever is in master will be like the start of your feature branch. it's as though your feature branch started at the current state of master03:27
lng preaction: what if master diverged, do I need to update my feature?03:28
rjurney joined03:28
preaction that is what you're doing03:28
jonmorehouse joined03:28
ErKa joined03:29
lng preaction: then, my feature will have a commits belonging to some other devs03:29
preaction it will have whatever commits were in master03:29
lng preaction: yes03:29
preaction and those commits come before any of your commits03:29
lng preaction: is it okay?03:29
crxz0193 joined03:29
dreiss left03:30
preaction so when you make your pull request, they will see only the changes, your changes03:30
CKyle joined03:30
lng preaction: so when I merge it, those similar commits will not go back to matser?03:30
preaction they're already _in_ master, so no03:30
lng aha ok03:30
thiago they are not similar commmits. They are the same commits.03:30
preaction they're not similar, they're the exact same03:30
lng I see03:30
morenoh150 left03:31
epifanio joined03:31
lng thanks a lot03:31
Rein Henrichs suggests to `git rebase origin/master` - http://reinh.com/blog/2009/03/02/a-git-workflow-for-agile-teams.html03:32
preaction but really, you could make a throwaway copy of your repository, and see the differences between `git rebase master` and `git merge master`03:32
lng: which is why i asked if your local master was up-to-date with the remote master03:32
rjurney left03:33
jftf joined03:34
jstimm joined03:34
otter768 left03:34
jstimm left03:35
rjurney joined03:35
cobakobodob joined03:36
boombatower left03:37
a_le left03:37
a_le joined03:38
jftf left03:38
rjurney left03:40
pheaver left03:41
Mitchbones left03:41
simesy left03:42
a_le left03:42
sitaram offby1: a lot of big companies are using git actually. They just won03:43
oops03:43
't talk about it03:43
(the single quote key is too close to the enter key!)03:44
offby1 weird03:44
can't understand why you'd keep secret the use of Open Source03:44
SamB so your bosses at MS don't report you?03:45
morenoh150 joined03:45
offby1 actually MS, to my astonishment, is up front about supporting some open source03:45
dogs and cats living together03:46
lng preaction: but do I really need to rebase feature branch? what if it's simply merged to master?03:47
zz_anildigitalanildigital03:47
kevinold joined03:48
toothr left03:49
preaction lng: rebasing tends to be polite, as it makes the history more linear and also makes the merge easier, as all potential conflicts have been worked out during rebase03:49
anildigitalzz_anildigital03:50
offby1 hell, if you're rebased, then a merge will just be a fast-forward03:50
preaction exactly03:51
sgambino left03:51
VelesTheGod left03:51
lng preaction: ff is nice03:52
preaction: do you use rerere?03:52
SamB well, if you're posting a patch series for a busy project, it'll probably get rebased a bit more as a side effect of the format-email/review/am process ...03:52
preaction i've never used rerere03:52
lng ok03:53
offby1 every time I see "rerere", I think of Aretha Franklin. Now, why is that?03:53
pheaver joined03:53
kevinold left03:54
LemonyB left03:54
oojacoboo left03:54
TDJACR_ left03:56
zivester left03:57
TDJACR joined03:58
LuxuryMode left03:59
archdori left03:59
rchavik joined04:00
pheaver left04:00
Carlitos__ left04:01
krasnus left04:02
sword joined04:02
dougsland joined04:02
Nicholas_Rishel left04:02
Dougie187 left04:03
pheaver joined04:08
FreezingCold left04:08
ErKa left04:08
morenoh150 left04:10
LuxuryMode joined04:12
jftf joined04:12
cilly left04:12
the_cybersphinx left04:13
morenoh150 joined04:13
cilly joined04:14
bkero joined04:16
Reskp joined04:17
LuxuryMode left04:18
supernaut left04:19
daito left04:20
jftf left04:20
supernaut joined04:21
Reskp left04:22
quazimodo joined04:23
Junior joined04:25
longbeach joined04:27
dougsland left04:27
eletuchy joined04:27
mennea joined04:27
LoRdToLsToI joined04:28
morenoh150 left04:29
morenoh150 joined04:30
devoldmx3 left04:35
hkon_ joined04:35
Hecter joined04:35
cilly left04:37
bezet joined04:37
reaverb left04:37
reaverb joined04:38
Tommy[D]_ left04:38
hkon_ left04:39
bezet left04:41
JeanCarloMachado left04:42
irqq joined04:42
r0ok joined04:43
mattstratton left04:43
beautifulmind joined04:43
CKyle left04:43
morenoh150 left04:44
Gamecubic left04:45
lng I run into this issue for few times and it's really annoying when you deleted some functionality, but somehow it will appear in master again and again. Probably because it still exists in feature branches of other devs?04:46
therealGent left04:49
str left04:49
kevinold joined04:49
Tommy[D]_ joined04:50
Junior left04:51
ISmithers But if they are merging, or whoever is merging, they will see that you have removed it and so they should not add it back in right?04:52
Fandekasp joined04:52
lng right, but somehow it's coming04:53
yacks left04:53
lng so I need to remove it again and again04:53
JerryT left04:54
lng so maybe they are adding it blindly?04:54
kevinold left04:54
devoldmx joined04:55
devoldmx3 joined04:56
devoldmx3 left04:56
devoldmx3 joined04:56
devoldmx left04:57
ISmithers Could be, do a git blame and see where it came from.04:58
If people are working on remote branches perhaps they are not rebasing often? So they are forging ahead and building stuff on systems that are then deprecated/removed and so when it comes time to merge they are like, oh crap, I'll just throw that whole system back since I used/needed it. Which is terrible practice and they should be eliminated without prejudice.04:59
cads left04:59
mribeirodantas left05:00
tgkokk joined05:02
lng Are HEAD and HEAD~0 equivalent?05:02
rchavik left05:03
ISmithers I'm going to go with 'yes' for $100?05:03
Fandekasp left05:04
morenoh150 joined05:04
yacks joined05:06
lng ISmithers: $100 is too much05:06
Megaf left05:06
lng or you want to pay me?05:06
FabTG left05:07
SimonNa joined05:07
alexO joined05:07
FabTG joined05:07
reaverb left05:07
Fandekasp joined05:07
ISmithers :p05:07
morenoh150 left05:09
kcj joined05:09
phoric left05:09
shingshang joined05:09
lng :)05:11
ersatzbeardr joined05:12
maveneagle joined05:13
maveneagle left05:13
bartman`` joined05:13
Fandekasp left05:14
maveneagle joined05:14
ersatzbeardr i'm not sure the right way to ask this, i have a directory on one machine that contains some files (within a git repo) and git doesn't seem to think anything needs to be commited after i git add it, on the other machine if i pull the directory turns up but no files inside it turn up05:14
maveneagle left05:14
ersatzbeardr there is no .gitignore affecting it that i can tell05:14
moved it out then re added it and it seems fine, weird05:16
megawac left05:17
sdrfnord1 joined05:17
Reskp joined05:18
lindenle joined05:19
rchavik joined05:20
morenoh150 joined05:21
Fandekasp joined05:22
daito joined05:22
Reskp left05:23
ferreum158 left05:23
lindenle left05:24
jonmorehouse left05:24
causasui left05:24
quazimodo left05:28
rollcake joined05:28
ajc_ joined05:29
gsingh93_ left05:29
jonmorehouse joined05:30
diegovio1 joined05:31
mennea left05:31
Polymorphism left05:31
diegoviola left05:31
irqq left05:34
lite_ joined05:35
sdrfnord1 left05:36
FilipNortic joined05:37
cilly joined05:38
jdmf joined05:39
watabou joined05:40
SittingShiva joined05:41
ThomasLocke joined05:41
balazs left05:43
fairuz joined05:43
fairuz left05:45
saurabh joined05:46
saurabhGuest7246705:47
causasui joined05:48
HelloShitty joined05:48
charpent joined05:49
kevinold joined05:50
gitinfo set mode: +v05:52
charpent I have two problems with git 2.0.0 as packaged for Debian testing :05:52
rath joined05:52
charpent 1) the .gitattributes file seems to not be used in all cases05:53
jnavila joined05:54
Fandekasp left05:54
charpent 2) Perusing the doc did not allow me to divine how to use different diff/merge tools for different file types (according to their extensions)05:54
kevinold left05:56
Goplat left05:57
veebers left05:59
MattMaker left06:00
MattMaker joined06:00
nnyk_ joined06:05
Kicer86 joined06:06
ciampix_ joined06:06
Macaveli joined06:07
nour_ joined06:07
stodan joined06:08
HelloShitty left06:08
daito left06:08
rchavik left06:09
Hecter left06:09
SimonNaa joined06:09
NoScope joined06:09
Arkaniad left06:09
zumba_ad_ joined06:10
zumba_addict left06:10
pandeiro left06:11
NoScope left06:11
tgkokk left06:11
cbreak-work joined06:12
kevinb left06:12
SimonNa left06:13
devoldmx3 left06:13
papegaaij joined06:13
jnavila left06:14
kcj left06:14
kevinb joined06:15
tgkokk joined06:16
beautifulmind left06:16
diegovio1 left06:16
Errorical joined06:16
jftf joined06:17
Junior joined06:18
devoldmx joined06:18
rchavik joined06:18
rob_w joined06:19
jerv joined06:19
Reskp joined06:19
daito joined06:20
tgkokk left06:21
Arkaniad joined06:21
longbeach left06:21
jftf left06:22
tgkokk joined06:22
Reskp left06:24
nnyk_ left06:25
Gizburdt joined06:25
jerv left06:25
JanC left06:27
doev joined06:27
doev left06:27
hoschi joined06:27
nnyk_ joined06:28
philp_ left06:28
philp joined06:28
milki charpent: email the debian maintainer06:30
charpent: and not really sure what you are complaining about tahts specific for debian06:30
o.O06:30
charpent miki : thanks ! I have no other installation than Debian and cannot test other packaging. I wondered if this was a known 2.0-specific bug.06:31
milki neither sounds like a bug at all06:32
ersatzbeardr more like a policy disagreement06:32
pedda joined06:33
deanclkclk_ left06:33
ferreum joined06:34
pheaver left06:34
HelperW joined06:34
charpent miki : Hmmm... I tried something inspired from the book (7.2) to call an user-specified shell script, and never got "git diff" to call it. However, "git diftool" did (and worked as expected...).06:34
ersatzbeard : Wha do you mean ???06:35
roelmonnens joined06:35
ender42 joined06:36
hkon_ joined06:36
roelmonn_ joined06:36
HeN joined06:36
bezet joined06:37
Sleepy63 left06:37
LeMike joined06:38
jceb_ joined06:38
Balliad joined06:38
jluc joined06:38
doev joined06:38
roelmonnens left06:40
charpent miki, ersatzbeard : I just stumbled on the FAQ and discovered "alias", which, as far as I know, is *never* alluded to by "the book".06:40
rollcake left06:40
hkon_ left06:40
rollcake joined06:41
JanC joined06:41
nkouevda left06:41
bezet left06:42
OIS left06:43
rollcake left06:43
tgkokk left06:44
mennea joined06:44
pantsman- joined06:45
cxz left06:45
hkon_ joined06:46
polyzen left06:49
Sleepy63 joined06:50
maveneag_ joined06:51
kevinold joined06:51
jargon joined06:51
ThomasLocke left06:52
tgkokk joined06:52
ThomasLocke joined06:52
devoldmx left06:52
tpollard left06:54
Wiz_KeeD joined06:55
lavong joined06:55
kevinold left06:56
smss1995 joined06:56
MattMaker left06:56
vurma joined06:57
devoldmx joined06:58
tgkokk left07:00
mishok13 joined07:01
Gizburdt left07:01
cxz joined07:03
victorhos__ left07:03
JohnBat26 joined07:04
tgkokk joined07:05
elbeardmorez joined07:05
cxz left07:05
Tuna-Fish left07:05
nour_ left07:05
Tuna-Fish joined07:05
thiago left07:06
Vampire0_Vampire007:07
jnavila joined07:07
rjurney joined07:09
pantsman- left07:10
krasnus joined07:10
tgkokk left07:11
morenoh151 joined07:11
ojacobson_ joined07:11
dangerousdave joined07:12
Gizburdt joined07:12
morenoh150 left07:13
canton7 charpent, "the book" is an unofficial, community-lead project. if you have suggestions for improvements, open an issue on github, or submit a pull request07:13
rjurney left07:13
ciampix_ left07:14
ojacobson left07:15
fabio_p joined07:15
moritzschaefer left07:16
Hecter joined07:17
dreiss joined07:17
jftf joined07:18
TomyWork joined07:19
lindenle joined07:21
tureba left07:22
weiyang left07:22
jftf left07:23
tureba joined07:24
lindenle left07:25
dregad joined07:25
Dreamer3 left07:30
jackneill joined07:32
mlechner joined07:32
ScottG489 left07:34
tureba left07:34
fr33domlover joined07:36
oodavid joined07:36
fr33domlover left07:39
fr33domlover joined07:39
tureba joined07:40
xificurC joined07:40
harish_ left07:40
northfurr left07:41
Trudko joined07:42
fr33domlover left07:42
fr33domlover joined07:42
ojacobson_ left07:44
causasui left07:44
causasui joined07:45
gerty_ left07:45
gua_ould joined07:45
gerty_ joined07:46
alorence joined07:46
lng branch is listed as remotes/origin/SEARCH-1402_query_cache, but when I got: error: unable to delete 'SEARCH-1402_query_cache': remote ref does not exist07:46
r0ok left07:46
lng why?07:46
numdig joined07:46
lng oops07:46
branch is listed as remotes/origin/SEARCH-1402_query_cache, but when I'm trying to `git push origin :SEARCH-1402_query_cache`, I got: error: unable to delete 'SEARCH-1402_query_cache': remote ref does not exist07:47
sorry07:47
ISmithers left07:47
dcpc007 hello07:48
is it possible to search if a specific word were in a versionned file one day ?07:48
r0bbyrobbyoconnor07:48
rchavik left07:48
osse lng: git ls-remote origin07:49
maybe it has a different name07:49
tobiasvl dcpc007: there's probably a better way to do it, but maybe you could use git bisect? just write a test that greps/acks for the word ;P07:49
lng osse: it returns hashes along with refs07:49
dcpc007 ha ok, think about this but never used (near new to git and basic use)07:50
lng osse: git branch -r07:50
weiyang joined07:51
kevinold joined07:52
Schadenfreud left07:52
osse lng: mhm, and what is the exact name of the ref you want to delete?07:52
dcpc007 arf easy; git log -Sword myfile.sh ... pffff07:52
osse dcpc007: there's also git grep07:53
lng osse: there's another issue07:53
dcpc007 ha ? will look :)07:53
lng the branch doesn't exist in remote anymore, but still listed07:53
osse lng: git fetch --prune origin07:53
adphillips joined07:54
jonmorehouse left07:54
lng osse: oh nice07:54
kriks joined07:55
lng but usually, when I delete it in remote, it also disappears locally07:55
osse yes07:55
lng but not now07:55
why?07:55
bgerber left07:55
osse maybe someone else deleted it07:55
nnyk_ left07:56
osse or you deleted it from a different computer07:56
lng osse: ah yes, because of pull req07:56
osse: tnx07:56
kevinold left07:56
SimonNaa left07:58
fabio_p left07:58
shingshang left07:59
m0nkmaster joined08:00
thevishy joined08:00
ScottG489 joined08:01
adphillips left08:01
jnavila_ joined08:01
sfranke joined08:02
Anticom joined08:02
Guest72467 left08:03
kriks left08:04
m0nkmaster left08:05
rchavik joined08:08
ayaz joined08:08
CheckDavid joined08:08
ArSn joined08:08
moritzs joined08:09
Quincy joined08:11
gitinfo set mode: +v08:11
Quincy hi guys08:11
gitinfo Quincy: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.08:11
watabou left08:11
Quincy quick question, I want to rebase my local repo to the online repo, but my coworker changed directory names causing problems with rebasing08:11
How could I fix this ?08:11
ersatzbeardr left08:12
nfk joined08:12
shruggar joined08:12
shingshang joined08:12
zarubin left08:13
psoo joined08:14
h0bbit joined08:14
lb1a joined08:16
moritzs left08:17
ifdm_ left08:17
jnavila_ left08:17
weevieL joined08:17
tureba left08:18
moritzs joined08:18
francisfish joined08:18
jftf joined08:19
francisfish left08:19
francisfish joined08:20
tureba joined08:20
joelm left08:20
nowhereman left08:22
nowhere_man_ joined08:22
psoo left08:23
moritzs left08:23
psoo joined08:23
jftf left08:23
amcsi_work joined08:24
Quincy would it be just as easy as changing directory names? :D08:24
dreiss left08:25
Trudko Hi guys some tool which could show me some interesting git statics? Something like number of lines commited by each develoepr08:27
moritzs joined08:29
osse Quincy: if you fix the first conflict manually maybe all the rest of them work fine08:30
ifdm_ joined08:31
kriks joined08:33
mikecmpbll joined08:33
moritzs left08:34
tureba left08:34
tureba joined08:34
moritzs joined08:35
skylite joined08:36
rgr joined08:36
moritzs left08:36
moritzs joined08:37
fabio_p joined08:37
moritzs left08:37
bezet joined08:38
moritzs joined08:38
Quincy left08:39
rchavik left08:39
saurabh joined08:41
saurabhGuest4155108:42
bezet left08:42
moritzs left08:43
Lemony joined08:43
tureba left08:44
kcj joined08:44
drupalgeek joined08:45
hkon_ left08:45
bezet joined08:45
tureba joined08:45
W0rmDr1nk joined08:46
Transfusion joined08:46
Hecter left08:46
shodan_ joined08:47
King_Hual joined08:47
adkins joined08:47
Lemony left08:47
thevishy left08:47
rgr left08:47
gitinfo set mode: +v08:47
as_ joined08:47
sfranke Trudko: http://stackoverflow.com/questions/1265040/how-to-count-total-lines-changed-by-a-specific-author-in-a-git-repository08:48
second answer helps08:48
shodan_ left08:48
bas_ joined08:49
bas_ Hey, I want to set up a git server that uses ldap authentication with group checking. What would be the best way to do this? I've been thinking of just 'abusing' apache to do this but that seems like a messy way to do it.08:49
Junior left08:49
qsuscs maybe !gitolite can deal with that08:49
gitinfo Gitolite is a tool to host git repos on a server. It features fine-grained access control, custom hooks, and can be installed without root. Download: https://github.com/sitaramc/gitolite Docs: http://gitolite.com/gitolite/08:49
daito left08:49
lb1a yes gitolite has ldap support08:50
St_Marx joined08:50
lb1a http://gitolite.com/gitolite/auth.html#ldap08:50
Gizburdt left08:50
rchavik joined08:50
bas_ Thanks lb1a, I'd been looking at gitolite. The documentation seems to be all over the place though. I figured that it'd be smart to ask around first.08:51
I'll give it a go08:51
Does gitolite have support for group checking?08:52
tureba left08:52
bas_ so the git_sec_r group can only read and git git_sec_rw group can read+write08:52
kevinold joined08:52
lb1a bas_, there is #gitolite for special questions about the tool08:52
bas_ Okay then, thanks08:53
hkon_ joined08:56
silviof3 left08:56
silviof joined08:56
Hounddog joined08:56
silviof left08:57
silviof joined08:57
kevinold left08:57
tureba joined08:59
Kamal joined09:00
Kamal left09:00
boris joined09:03
sinkensabe joined09:03
moritzs joined09:04
irqq joined09:05
amcsi_work_ joined09:05
cxz joined09:06
luc____ joined09:06
Zariel_ joined09:09
barrbrain joined09:09
luc_ left09:09
Hecter joined09:09
tureba left09:09
amcsi_work left09:09
barrbrain left09:09
tureba joined09:10
barrbrain joined09:10
barrbrain heya ~ just wondering if anyone here has ever generated diff3 formated conflicted merges with jgit09:10
dipendra joined09:11
ifdm_ left09:11
dobalina joined09:12
Gizburdt joined09:12
moritzs left09:16
moritzs joined09:16
jillesme joined09:16
morenoh151 left09:17
moritzs left09:18
daito joined09:18
newbie999 joined09:19
jftf joined09:19
ScottG489 left09:23
EdwardIII hey, i tend to use git for deployment i have a project-hub repo, and then when i push to that it runs cd /actual/project/root && unset GIT_DIR && git pull hub master09:23
it works pretty fantastically for the most part, however i now have a project with a submodule and i'm not sure how to approach?09:24
i want to run a different branch of the submodule, a dev one rather than master09:24
jftf left09:24
dipendra left09:25
EdwardIII maybe for deployment i should just ignore the submodule thing and just have a nested git project?09:25
ooh git-scm.com is down: http://git-scm.com/book/en/Git-Tools-Submodules09:25
ifdm_ joined09:26
xender EdwardIII: Have you read !deploy?09:27
gitinfo EdwardIII: 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/deploy.html09:27
EdwardIII xender: no i haven't, thanks09:28
xender There are different approaches compared, maybe you'll find something.09:28
You're welcome ;)09:28
Hecter left09:28
xender EdwardIII: Also submodules works by using a given commit (SHA) from submodule repo. Not a branch09:30
EdwardIII xender: i'm not sure i agree with the bit about git pull. as long as there are no comitted changes to live, git pull will always FF rather than merg eright?09:30
Tuna-Fish left09:30
moritzs joined09:30
xender EdwardIII: But you're screwed in case of upstream rebase09:31
moritzs left09:31
xender Not necessarily rebase, any force-push will make pull lang in non-ff merging land09:31
moritzs joined09:31
EdwardIII xender: that's true, but we generally we try to avoid force pushes09:32
git pull would automatically merge in that case, would it?09:33
xender EdwardIII: Ok, but I think that better be safe than sorry in this case09:33
Yes, and then no subsequent pull will be fast-forward09:33
EdwardIII i guess 4.2 is better09:33
git fetch then get reset --hard09:33
however what i like aobut the git pull method is that if any files have been changed locally it kicks up an issue and makes it super obvious user intervention is required09:34
now, that should never ever happen, but it's a handy extra failsafe (e.g. we keep some configs in git)09:34
xender EdwardIII: so you actually want to have interactive messages on deploy?09:34
Foldager joined09:35
EdwardIII xender: only if something unexpected happens09:35
xender Yes, but does your deploy system requires manual supervision?09:35
weiyang left09:35
xender If not, how you'd detect that something gone wrong?09:35
tobiasvl and is this really an "unexpected" scenario?09:36
bas_ Everybody in the gitolite channels seems to be asleep...09:36
happytux left09:36
EdwardIII xender: well our deploymentds tend to be quite simple. we can do most of what we need with bash in the post-update script09:36
bas_ I'll just do it the messy way then..09:36
EdwardIII xender: so when we deploy, we just 'git push' and read the output. if there are no problems then the deploy happens without intervention, job done, if it doens't the person can see that in the output, ssh to the server and investigate/resolve09:37
smss1995 left09:37
smss1995 joined09:38
EdwardIII tobiasvl: mmm yes, the expectation here is that no git-tracked files in production are changed09:38
tobiasvl: so if one has changed, that's unexpected09:38
tobiasvl changed how? I realize that locally changed files is unexpected, but is it unexpected for someone to force-push a changed history?09:38
so unexpected that it affects the deployment09:39
xender EdwardIII: But doesn't having files with merge conflict on production means that a disaster could happen?09:39
You know, the >>>>> ===== ||||| <<<<< lines09:39
EdwardIII tobiasvl: what we're talking about is the other way around. i'm saying we pretty much never force a push here09:39
hgl left09:40
EdwardIII xender: yes, it would be a problem if there was a merge conflict. in that rare condition, yes it would require someone git reset --hard and deploy again09:40
well they'd have to do more wouldn't they, they'd have to delete the deployment and checkout again09:41
so yes that would be a horrible yes09:41
St_Marx left09:41
EdwardIII horrible yes/horrible mess09:41
nnyk_ joined09:41
thevishy joined09:41
Tuna-Fish joined09:41
mueslo joined09:41
Gizburdt left09:42
EdwardIII ah the fight club method actually solves the different files issue: git diff --quiet || exit 109:42
looks like a perfect solution for me09:42
tureba left09:42
tureba joined09:42
kerrick left09:42
EdwardIII so that's all awesome, however it doens't help me out much with my submodule quandry heh09:42
hgl joined09:42
Novitsh_ joined09:43
Gizburdt joined09:43
xender EdwardIII: Wouldn't sumbodule update in deploy hook help?09:44
(I don't know submodules well, so I won't help much...)09:44
mennea left09:44
dipendra joined09:45
Baluse left09:45
EdwardIII xender: mmm it would, but i want it to track a specific project-hub dir on the server09:45
and it needs to update whenever that gets updated... i guess that's no problem, i can just do the submodule update in project-hub's post-update hook09:45
molqr left09:45
dangerousdave left09:46
dangerousdave joined09:46
EdwardIII however as this is just a quick dev deployment on ec2 i'll be blowing away in a couple of days, and the parent repo probably won't be updated, what's the impact of doing a quick and dirty hack and just nesting the sub repo, e.g. git clone ~/nested-project.hub ./existing-proj/nested-project09:46
mennea joined09:47
Tuna-Fish left09:47
tureba left09:48
tureba joined09:50
ScottG489 joined09:50
WaReZ joined09:51
Streward left09:52
tobiasvl depends on your deployment routine I guess09:52
I git fetch on a central deployment server and then rsync to the production servers09:52
rsyncing allows for that09:52
but if the production servers have live repos you fetch into then that could get messy I guess09:53
kevinold joined09:53
Trudko sfranke: thanks for the tips, but I would like to have something more advanced with more optiosn and some grahps ideallz09:53
EdwardIII tobiasvl: yeah that's a config similar to that in the guide09:53
tobiasvl: well, on using rsync heh09:54
tgkokk joined09:55
EdwardIII hrm ok09:56
teran left09:56
Baluse joined09:57
EdwardIII so it looks like at some point i cloned in a separate module, or added a submodule that the reference to has been removed: No submodule mapping found in .gitmodules for path 'web/ConstantContactApi'09:57
hgl left09:57
dangerousdave left09:57
dangerousdave joined09:58
EdwardIII web/ConstantContactApi has a .git dir. i don't care about keeping history for this dir, so i tried moving web/ConstantContactApi/.git out of there, but git submodule is still grumbling09:58
kevinold left09:58
sfranke Trudko: maybe this helps? http://git-scm.com/downloads/guis09:58
EdwardIII but i did grep 'Constant' .git/ in the parent project, and the only reference to it is in the index. where's git storing this info?09:58
Tuna-Fish joined09:58
EdwardIII oh ok, so it does just store info about that in the index: 160000 8ee13a84d03604de5771709a18349f7370fa9911 0web/ConstantContactApi10:00
sfranke Trudko: But I'm just guessing here. To really help you we'd need more specific information on what exactly you are looking for.10:00
Trudko sfranke: stats from git repository10:00
happytux joined10:00
jerv joined10:00
EdwardIII perhaps i can just git rm web/Constant* i guess that should fix it, then put it back in10:00
nickd__ joined10:01
jcvfen joined10:01
CheckDavid left10:02
jcvfen_ joined10:02
deniz1a joined10:02
EdwardIII hrm this is confusing: https://gist.github.com/EdwardIII/8c7500c35be7779557b010:03
maxb left10:03
EdwardIII i'm using rm -rf, then it tells me to use rm -rf heh10:03
ferreum left10:03
FabTG left10:04
ciampix joined10:04
goTAN joined10:04
[EddyF]_ joined10:04
sitaram bas_: http://gitolite.com/gitolite/auth.html#ldap is what gitolite can do. If you want an expanded example I can probably type one up and pastebin it, but the basic idea is you define rights in gitolite.conf based on group names, and you let gitolite determine what groups a *user* belongs to by asking LDAP10:05
bas_: gitolite does not inherently do anything about LDAP; you just write a script that does that. The script takes a username as arg-1, and prints a space-separated list of group names.10:06
jcvfen left10:06
echo-area left10:06
daedeloth joined10:06
HelperW left10:06
vtunka joined10:07
morenoh151 joined10:07
sitaram bas_: gitolite documentation being "all over the place": I don't think that's true for basic install/setup etc., though exotic topics like LDAP will benefit from loading the "whole damn thing in one big page" URL at http://gitolite.com/gitolite/gitolite.html and Ctrl-F-ing that in your browser10:08
Gizburdt left10:08
tureba left10:08
tureba joined10:08
bas_ thanks sitaram10:10
HelperW joined10:10
gua_ould left10:13
marscher joined10:13
ferreum joined10:16
carandraug joined10:16
beautifulmind joined10:17
toomanysecrets joined10:17
stamina joined10:17
maxb joined10:18
sitaram bas_: one very unusual entry point for gitolite documentation is http://gitolite.com/gitolite/basic.html -- which is a graphical (meaning a graph, not a picture!) overview of the documentation. Also http://gitolite.com/gitolite/advanced.html10:18
joelm joined10:18
tureba left10:18
kriks left10:19
hkon_ left10:20
jftf joined10:20
sfranke Trudko: what kind of stats are you looking for other than lines of code/per dev? what kind of graphs are you looking for? what do you want to achieve with that? here's another guess: http://www.ohloh.net/p/linux10:21
leeN joined10:22
sfranke imho most stats won't tell much... since lines of code contributed don'T tell you whether the code is of high quality10:22
pantsman- joined10:22
joelm left10:23
martinklepsch joined10:23
gua_ould joined10:25
jftf left10:25
tvw joined10:26
CheckDavid joined10:26
nickd__ left10:27
listochkin joined10:28
barrbrain_ joined10:29
listochkin left10:29
osse the only measure of whether code is bad is the GDP of the author's coutnry of residence10:29
higher GDP, better code10:29
listochkin joined10:29
sfranke lol10:29
barrbrain_ wow10:29
EdwardIII hahaha10:30
morenoh151 left10:30
hoschi left10:30
kyb3r_ left10:31
ja` joined10:31
Gizburdt joined10:32
gitinfo set mode: +v10:32
polyzen joined10:37
teran joined10:37
ja` hi guys. Is there a separate channel for gitweb or can I ask an gitweb related question here?10:38
groolot joined10:38
OliverJAsh joined10:39
gua_ould left10:39
osse I'm unaware of such a channel and gitweb is part of Git so go ahead10:42
kriks joined10:42
Hecter joined10:42
teran left10:43
hkon_ joined10:45
JohnBat26 left10:45
barrbrain_ left10:45
lucha joined10:47
Muchoz joined10:48
ja` ok. So, how is possible to hide tag markers from being displayed in getweb shortlog? I didn't such option in gitweb manpages. However, in one of our projects project on our local gerrits tag markers are missing in gitweb webpage. There are tags in this project because I can see them on my local repo and there in a fresh repository after cloning. Also, I can see tags when I replace `shortlog' with `tags' in gitweb link. I have run `git10:50
instaweb' on localhost and I can see tags markers correctly. There are only no tags in gitweb interface on our gerrit. What can be the reason?10:50
jottr_ joined10:53
HelperW left10:54
kevinold joined10:54
HelperW joined10:54
bgerber joined10:54
tokik left10:55
tgkokk left10:56
deniz1a left10:57
kevinold left10:58
nfk left10:59
gar_onn joined10:59
kcj left11:00
mnagele joined11:00
Tuna-Fish left11:00
gar_onn How do I ignore files that are not already in a repo? I've been looking at .gitignore for a while now, but I can't find a solution.11:01
vtunka left11:01
tobiasvl gar_onn: you can't11:01
gar_onn: !ignore_tracked11:01
gitinfo gar_onn: Git only applies ignore patterns to untracked files. You can't use ignore patterns to ignore changes to files that are already tracked by git. To remove files only from git, but keeping them on disk, use git rm --cached <file>. Still, see https://gist.github.com/1423106 for ways people have worked around the problem.11:01
jnavila left11:02
gua_ould joined11:02
francisfish left11:03
bartman`` left11:04
gar_onn Aaah the patern is only applied to untracked files. So if i ignore * my problem is fixed :) thanks tobiasvl11:04
teran joined11:04
teran_ joined11:05
echo-area joined11:06
LeMike left11:06
TomyWork left11:07
mcc_ joined11:07
LeMike joined11:08
TomyWork joined11:08
Hecter left11:09
teran left11:09
Tuna-Fish joined11:11
lindenle joined11:12
HelperW left11:13
gar_onn left11:14
osse ja`: are the tags somewhere else than in refs/tags perhaps?11:14
tgkokk joined11:14
Gizburdt left11:15
luc____ left11:16
martinklepsch left11:17
ja` osse: there are tags in .git/refs/tags/11:17
lindenle left11:17
Rich_52696368 joined11:17
Rich_52696368 left11:17
Rich_52696368 joined11:18
Rich_52696368 left11:18
javor joined11:19
joelm joined11:19
javor Hi. I'm trying to convert cvs to git repo but i dont know how to exclude some directories during convertion (i using cvs2git) any sugestions?11:20
tgkokk left11:20
HelperW joined11:21
jftf joined11:21
nnyk_ left11:21
oriba joined11:21
k_sze[work] left11:23
martinklepsch joined11:23
joelm left11:23
gain joined11:25
jftf left11:25
zoso joined11:26
zoso left11:27
zoso joined11:27
VinceZa joined11:28
SimonNa joined11:28
polyzen left11:30
_mdk joined11:30
dangerousdave left11:30
str joined11:30
dangerou_ joined11:31
DoniRS joined11:32
LeMike left11:33
wingness joined11:33
LeMike joined11:34
St_Marx joined11:34
ghostlines joined11:35
hebz0rl joined11:38
nodiscc joined11:39
nnyk_ joined11:39
hoschi joined11:42
jnavila joined11:43
ciampix left11:43
francisfish joined11:44
awkwardusername joined11:45
jon_r left11:45
northfurr joined11:45
jmpp joined11:46
jmpp_ left11:46
groolot left11:47
_mdk left11:47
intellix joined11:48
bas_ left11:48
dipendra left11:48
_mdk joined11:48
jon_r joined11:48
balazs joined11:49
ChrisF- left11:49
awkwardusername left11:50
barrbrain_ joined11:51
awkwardusername joined11:51
p4denis joined11:52
lsiv568 joined11:52
Megaf joined11:52
robbyoconnor left11:53
polyzen joined11:53
Vampire0 javor, you can exclude specific tags or branches, but afaik you cannot exclude specific paths11:53
pantsman- left11:53
robbyoconnor joined11:54
Vampire0 javawizard, but you can easily throw out the unwanted paths afterwards with man git filter-branch and the index-filter11:54
gitinfo javawizard: the git-filter-branch manpage is available at http://jk.gs/git-filter-branch.html11:54
jerv left11:54
Vampire0 javor, I meant, not javawizard11:54
kevinold joined11:55
Vampire0 javor, but you can easily throw out the unwanted paths afterwards with man git filter-branch and the index-filter11:55
gitinfo javor: the git-filter-branch manpage is available at http://jk.gs/git-filter-branch.html11:55
matheus23 joined11:56
mnagele left11:56
TomyWork left11:56
Guest41551 left11:56
Textmode left11:56
nnyk_ left11:58
Christer| joined11:58
lsiv568_ joined11:58
lsiv568 left11:59
javor ok11:59
TomyWork joined11:59
javor thx Vampire0, gitinfo11:59
gitinfo javor: you're welcome, but please note that I'm a bot. I'm not programmed to care.11:59
javor :P11:59
Vampire0 yw :-)11:59
kevinold left12:00
davividal joined12:00
Junior joined12:01
Trudko francisfish: yes th eohloh does looks googd and you are right that stats doesnt tell you that much and I certain wont use it as measurement. Its more for personal interest, for fun.12:02
MarionDaly joined12:03
freestyl3r joined12:04
VinceZa left12:05
daito left12:05
barrbrain_ left12:07
linojon joined12:08
amcsi_work_ left12:09
alexO left12:09
LBV_User joined12:09
_mdk left12:09
Errorical left12:09
cilly left12:09
Baluse2 joined12:10
amcsi_work joined12:10
Zariel_ left12:12
Entomo left12:12
rjurney joined12:12
frege joined12:13
frege hey guys12:13
I added files that I didn't mean to add12:13
haven't committed yet12:13
osse frege: git reset file12:13
frege how do I roll back for that?12:13
Baluse left12:13
frege there are alot of files12:13
Vampire0 frege man git reset12:13
gitinfo the git-reset manpage is available at http://jk.gs/git-reset.html12:13
osse pro top: git status tells you12:13
tip12:13
frege: a plain 'git reset' then12:14
frege got it12:14
jeremy_c_ joined12:14
northfurr left12:15
tokik joined12:16
rjurney left12:17
Zariel_ joined12:17
JeanCarloMachado joined12:18
zz_veatchveatch12:18
dipendra joined12:18
nnyk_ joined12:19
veatchzz_veatch12:20
mtk left12:21
deanclkclk joined12:21
jftf joined12:22
CheckDavid left12:22
kikimeter joined12:23
Muchoz_ joined12:23
Muchoz left12:23
deanclkclk_ joined12:25
jftf left12:26
tureba joined12:26
linojon left12:27
lamont left12:27
devoldmx left12:27
devoldmx joined12:27
dsdeiz left12:28
jeffreylevesque left12:28
crxz0193 left12:28
nodiscc left12:28
deanclkclk left12:29
choffstein joined12:29
rchavik left12:30
HelperW_ joined12:30
awkwardusername left12:30
lamont joined12:30
awkwardusername joined12:30
fstd_ joined12:31
choffstein left12:31
MapleyMapley[AUS][NED]12:31
choffstein joined12:32
as_ left12:32
HelperW left12:33
babilen Hi there. We'd like to transition an old Python project from tabs to spaces, but fear that we would lose a lot of useful information in the process (e.g. it would render git blame completely pointless). Can you think of approaches to do this in a less intrusive manner?12:33
sfranke Trudko: glad I could be helpful, if you you are interested in that kind of projects google "git stats", you will find quite some projects. some names: gitstat, Git Statistics gitinspector and many more12:34
fstd left12:34
fstd_fstd12:34
sfranke enjoy12:34
Trudko cool ty12:35
osse babilen: I think iẗ́'s easier to rip the band aid off. Get it over with.12:35
babilen: you can start blaming from any revision12:35
sonOfRa babilen: if you really want to keep your git blame-usefulness, you will have to write a very painful script to migrate it12:35
CheckDavid joined12:35
osse babilen: when I use git blame I end up using it a couple of times in a row digging throgu hhistory. this whitespace commit would just be another one12:36
dougsland joined12:36
sonOfRa and if you choose to do it this way, you will end up with a LOT of useless commits, so that's not what you want either, I assume12:36
markmarkmark git blame also has -w to ignore whitespace changes12:36
Tuna-Fish left12:37
mizu_no_oto joined12:38
HelperW_ left12:39
Gamecubic joined12:39
WormDrink left12:40
HelperW_ joined12:40
ajc_ left12:40
akim_ joined12:41
_mdk joined12:41
osse that would certainly make it easier12:41
the_cybersphinx joined12:42
babilen osse, sonOfRa: yeah, I know that it is not *that* horrible and if it were only up to me I would have gotten it over a long time ago, but it's simply the only argument that I can't dispell so far12:42
markmarkmark: Ah, that's great!12:42
osse babilen: even without -w it's not like coming across this commit in git-blame is a dead end or anything12:43
markmarkmark :)12:43
babilen Yeah, I totally agree ... I'm just a fervent advocate of this change and try to push it within the team and other people are arguing "but, but, but ... would anybody please think of the git blame?"12:44
osse now you can say "it's already been thought of"12:44
babilen yeah12:44
Now I only have to figure out if I can teach that to fugitive (or magit for our emacs-impaired people) :)12:45
osse haven't any of them run 'git blame foo.py' to find the commit abc123, discover that the commit in question only changed the code in some unrelated way, then proceeded to run 'git blame abc123~1 foo.py' ?12:46
babilen: I can't speak for magit but fugitive already knows how12:46
m0viefreak joined12:46
bremner that's one of the rare times I use git gui, following git-blame backwards12:46
nnyk_ left12:47
akim_akim12:48
Tuna-Fish joined12:48
zarubin joined12:48
lbv-user joined12:48
OliverJAsh left12:48
bezet left12:48
LBV_User left12:48
lbv-user left12:49
k_sze[work] joined12:49
nnyk_ joined12:49
as_ joined12:49
devoldmx3 joined12:49
osse babilen: if you press ~ in the "blame buffer" when using figutive then it will rerun git blame starting from that commit (well, its parent)12:49
barrbrain_ joined12:50
Tuna-Fish left12:50
barrbrain_ left12:51
WormDrink joined12:51
Silex joined12:52
WormDrink left12:52
WormDrink joined12:52
rlazoti joined12:52
kriks left12:52
devoldmx left12:53
k_sze[work] left12:53
babilen osse: yeah, I know that one12:54
toomanysecrets left12:55
kevinold joined12:55
Ankhers joined12:56
Diemuzi joined12:56
gitinfo set mode: +v12:56
jerius joined12:56
totte joined12:57
VinceZa joined12:57
Muchoz_ left12:57
rlazoti left12:57
leeN left12:57
mmitchell joined12:57
weevieL left12:57
Muchoz joined12:58
lavong left12:58
rlazoti joined12:59
kevinold left13:00
Tuna-Fish joined13:01
thierryp joined13:02
thierryp left13:02
thierryp joined13:02
sgambino joined13:03
Reflow joined13:03
FortySix2 joined13:03
luc_ joined13:04
mizu_no_oto left13:04
frege can I create a new repo from a branch?13:04
carrying all the commits to the new repo?13:04
jerius left13:04
northfurr joined13:04
osse frege: sounds like all you need is a clone13:05
frege very cool!13:05
jeremy_c_ left13:05
tokik left13:05
dobalina left13:07
_mdk left13:08
doubled112 joined13:08
ws2k3 hello, is it possible to push a bare repo to a remote server ?13:08
frege left13:08
ws2k3 currently we login onto the remote server and do git pull but i wanne replace that with logging in onto the dev server and do git push13:09
tobiasvl ws2k3: you first create the bare repo/clone on the server, and then you can push to it normally13:09
ws2k3 we already have a bare on the dev server13:09
cobakobodob left13:09
jast then you can push, yes13:09
ws2k3 and we all developers are currently pushing to that bare13:10
tobiasvl ws2k3: http://stackoverflow.com/questions/2199897/how-to-convert-a-git-repository-from-normal-to-bare13:10
to convert the production repo to a bare repo13:10
ws2k3 oure which one is the production repo in my situation?13:10
CKyle joined13:10
tobiasvl "the live repo on the remote server" I guess?13:10
jast I believe the repo in question is a bare one already13:10
tobiasvl was just guessing that was production13:10
oh13:10
Guest351O2 joined13:11
ws2k3 we have 4 develoepr that work on a dev server on the dev server there is a bare repo they commit evrything to that bare repo13:11
then they login onto the remote server server( oure production server) and do a git pull from that bare on the dev13:11
jast so the repo on the production server is non-bare?13:11
ws2k3 yes13:11
tobiasvl how does that work13:12
pantsman- joined13:12
tobiasvl doesn't the production environment need the actual files?13:12
jast okay, that brings us to a deployment scenario... see !deploy13:12
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/deploy.html13:12
dgsrgs37063 joined13:12
Mitchbones joined13:12
jast the pushing itself is basically just 'git push repourl --all' or something like that13:12
Gizburdt joined13:12
ws2k3 the production server does need all the files13:13
but i'm pretty sure that the way how they work now13:13
bartman`` joined13:13
luc_ left13:14
nnyk_ left13:14
achadwick joined13:15
RandomGuy5432 left13:15
qwyeth joined13:15
zivester joined13:16
alorence left13:16
paul424 joined13:17
paul424 hello , why this ain't working13:17
_mdk joined13:18
alorence joined13:18
jast why ain't what working13:18
jpentland Ok if I know a line of code was added in a specific patch, but at some point was removed, how can I find out which patch removed it?13:18
jast jpentland: git log -S<string>13:19
devoldmx joined13:20
joelm joined13:20
qwyeth left13:21
jpentland jast, that doesn't really seem to return anything, not even the original patch that created that line13:21
qwyeth joined13:21
jpentland ah unless i don't specify a path13:21
Trudko left13:22
jftf joined13:22
doubled112 left13:23
bezet joined13:23
martinklepsch left13:23
amitprakash joined13:23
devoldmx3 left13:23
Fang0716 joined13:23
northfurr left13:24
jpentland but now it only seems to show the original patch13:24
mnagele joined13:24
Trudko joined13:24
paul424 git diff HEAD-1 HEAD-2 , jast why ?13:24
Quincy joined13:25
vtunka joined13:25
lite_ left13:25
TomyWork left13:25
gitinfo set mode: +v13:25
gitinfo set mode: +v13:25
CKyle left13:25
joelm left13:25
osse paul424: use ~, not -13:25
Quincy Hey guys13:25
Fang0716 left13:25
DoniRS left13:26
maveneag_ left13:26
choffstein left13:26
raptelan left13:26
Quincy I've got a question, I have got my own branch quincy/workingdir on my own repo on which I have been working. I want to update my own branch from another repo (Online/master) whithout losing my changes13:26
gitinfo set mode: +v13:26
gitinfo set mode: +v13:26
Owner Hey ladies13:27
martinklepsch joined13:27
jftf left13:27
Owner left13:27
Quincy How would I do this?13:27
TomyWork joined13:27
tobiasvl Quincy: sounds like you want to !rebase13:28
gitinfo Quincy: 'git rebase' takes away your local commits, updates your branch with new stuff from <upstream> (argument), then re-applies your local commits on top. This makes it look like your commits were created "after" the new stuff, and it can look cleaner than doing a !merge. Beware of !rewriting_public_history, though. Not to be confused with !interactive_rebase.13:28
osse Quincy: either merge that branch into yours, or rebase your branch on top of that branch13:28
TimmyTones joined13:28
kermit left13:28
yosito joined13:28
Quincy When I do that, I get errors XD13:29
kermit joined13:29
Quincy CONFLICT (modify/delete): frontend/index.js deleted in Baibai old folders, hello new folders and modified in HEAD. Version HEAD of frontend/index.js left in tree.13:29
tobiasvl then you need to solve your conflict13:29
osse !conflict13:29
gitinfo [!eekaconflict] Merge conflicts are a natural part of collaboration. When facing one, *don't panic*. Read "How to resolve conflicts" in man git-merge and http://git-scm.com/book/ch3-2.html#Basic-Merge-Conflicts then carefully go through the conflicts. Picking one side verbatim is not always the right choice! A nice video explaining merge conflicts: https://www.youtube.com/watch?v=zz7NuSCH6II13:29
pantsman- left13:29
Quincy I deleted that file, that's correct but it keeps putting them back :/13:29
osse Quincy: git rm; git commit13:30
Quincy oh13:30
mewm joined13:30
nnyk_ joined13:31
TheMadMechanic left13:31
shinnya joined13:32
oriba left13:32
devoldmx left13:32
JeanCarloMachado left13:32
TheMadMechanic joined13:33
JeanCarloMachado joined13:33
AaronMT joined13:34
ws2k3 on my dev server i changed the config and did a git push master but it given me an error http://pastebin.com/j1m8krN613:35
when i do a git pull on my production server from the dev it seems to work fine13:36
tobiasvl you tried to push to where? you mean you did a "git push master" on dev, to prod?13:36
sfranke have a nice one everyone!13:36
sfranke left13:36
ws2k3 yes13:36
ToxicFrog ws2k3: did you actually read the error message? It explains quite clearly what's happening and why.13:36
jaspertheghost joined13:36
cobakobodob joined13:37
deanclkclk_ left13:37
ws2k3 yes i noticed but why i do a pull on the production server from my dev server works fine13:37
but when i do a push on the dev server to prod that doesnt work13:37
osse those aren't symmetric13:37
if pull works then it's not a bare repo, and then push won't work13:38
FortySix2 left13:38
mizu_no_oto joined13:38
RecoJohnson joined13:39
plains joined13:41
ws2k3 then how should i push it ?13:41
DoniRS joined13:41
ws2k3 i just wanne push the code to the production server13:41
ascarter left13:41
Dougie187 joined13:41
FortySix2 joined13:42
ToxicFrog ws2k3: !deploy13:42
gitinfo ws2k3: 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/deploy.html13:42
ToxicFrog ws2k3: also, read the error message, it tells you why this is not allowed by default, how to enable it, and what the pitfalls are when you do13:42
knownasilya joined13:43
mizu_no_oto left13:43
amitprakash left13:44
dangerou_ left13:45
ws2k3 what i only dont understand is i'm pretty sure this is a bare repo13:45
but they realy do a git pull from the bare repo and then its up to date13:45
dangerousdave joined13:45
beautifulmind left13:45
ascarter joined13:46
Hounddog left13:46
ender42 left13:46
ingu_cloud_ joined13:47
ws2k3 didnt know is that that hard simple send some code from a to b...13:47
Quincy I'm still not able to make any sense out of rebasing, I'm very confused right now :x13:48
TheMadMechanic left13:49
jeffreylevesque joined13:49
tobiasvl Quincy: man git rebase13:49
gitinfo Quincy: the git-rebase manpage is available at http://jk.gs/git-rebase.html13:49
tobiasvl Quincy: or ask specific questions ;)13:49
_mdk_mdk_off13:50
m0ltar joined13:50
drupalgeek left13:50
_mdk_off_mdk13:52
jluc left13:52
Chrille joined13:52
TheMadMechanic joined13:52
gitinfo set mode: +v13:53
Chrille Hi, I removed file a.txt and added file b.txt, git status says it's a "rename", but it's not. Can I force it to handle it as two seperate add/remove actions?13:53
smss1995 commit -a13:53
thevishy_home joined13:54
osse Chrille: it doesn't matter.13:54
m0viefreak Chrille: there is no such thing as a rename internally13:54
Chrille So my history will not display a "rename" ?13:54
jast depends13:54
with -M ('detect renames') it might, otherwise it won't13:54
yano joined13:54
dsdeiz joined13:54
ws2k3 i have read the document a couple of times13:55
infernix joined13:55
fatalhalt joined13:55
ws2k3 but i still dont understand why i can do a pull but i cannot do a push from the dev13:55
Guest35122 joined13:55
jast !bare13:56
gitinfo an explanation of bare and non-bare repositories (and why pushing to a non-bare one causes problems) can be found here: http://bare-vs-nonbare.gitrecipes.de/13:56
Chrille jast: -M for what command?13:56
jast git log13:56
kevinold joined13:56
mizu_no_oto joined13:56
Guest351O2 left13:56
ws2k3 jast then why i can do a pull from a production server from a bare and that works fine13:56
Ankhers left13:57
asakura1 left13:57
jast ws2k3: pull *to* a non-bare is fine. push *to* a non-bare is not.13:57
VaticanCameos joined13:57
jast the other side of the transaction doesn't matter13:57
VaticanCameos How does one roll back to the previous commit? I see git revert and git reset HEAD, what is the difference?13:57
thevishy left13:57
shawndumas joined13:57
osse !revert13:57
gitinfo 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]?13:57
VaticanCameos osse: I should probably go with c) then13:58
asakura1 joined13:58
VaticanCameos Since I want to undo this merge I did just now13:58
jast VaticanCameos: most relevantly, 'git reset HEAD' does nothing to your history :)13:58
VaticanCameos I haven't pushed it yet13:58
jast: I see..13:58
jast okay, but --soft may or may not be the right option13:58
what it means is: change my history but leave my index and working files untouched13:59
i.e. this will remove the merge commit but leave all the files as they were after you merged13:59
mtk joined13:59
VaticanCameos jast: I should do --hard then, I don't want it to leave the working files untouched. I want it to remove the files that came in with the merge of course.13:59
jast right13:59
VaticanCameos It should completely undo the changes. So --hard then.13:59
derdon_ joined13:59
jast as long as you don't mind losing uncommitted changes13:59
TheMadMechanic left13:59
JeanCarloMachado left14:00
VaticanCameos jast: I made sure to commit some changes I'd made earlier before I did the git merge.14:00
there are no uncommitted changes as of now I think14:00
jast right. can't hurt to do a 'git status' before using 'reset --hard', in any case.14:00
_mdk_mdk_off14:01
kevinold left14:01
kevinold_ joined14:01
VaticanCameos The merge has caused me to go ahead of the remote branch by 263 commits.14:01
No uncommitted changes though14:01
gitinfo set mode: +v14:02
derdon_derdon14:02
jast that's a lot of commits :)14:02
Guest35122 left14:02
Christer| left14:03
VaticanCameos jast: None of which I want to spoil the remote with.14:03
mizu_no_oto left14:03
derdon hello. I need some help with the stash command. If I use "git stash show", I get back the info which files have changed and how many insertions/deletions have been made in this stash. But how do I get the info *what* actually has been changed, i.e. how do I get the corresponding diff?14:04
francisfish left14:04
svector joined14:04
ifdm_ left14:05
akim_ joined14:05
Guest351O2 joined14:05
tobiasvl derdon: git stash show -p14:05
shows patch14:05
derdon tobiasvl: thanks! that's exactly what I was searching for!14:06
jftf joined14:06
akim left14:07
JeanCarloMachado joined14:07
_mdk_off_mdk14:07
deciph3r joined14:07
deciph3r left14:07
deciph3r joined14:07
jaspertheghost paths in .gitignore are they relative or absolute and how do i specify14:07
tobiasvl jaspertheghost: put a / in front to make it an absolute path (to the repo root)14:08
that is, it makes it absolute to the location of the .gitignore file. no leading / matches the line against any location in the repo14:09
thegorn tobiasvl: that is not really true14:09
oh, ok, nm, you fixed it14:09
:)14:09
tobiasvl hehe14:09
jaspertheghost thnks14:09
__class__ left14:10
Quincy so lets say I want to rebase foo1/bar2 to foo2/bar1, I would do rebase bar1?14:10
lsiv568_ left14:10
Quincy git rebase bar1?14:10
mnagele left14:10
rlazoti left14:10
jast not sure what you want to achieve14:10
ojacobson joined14:11
ThomasLocke left14:12
Guest351O2 left14:13
Guest351O2 joined14:13
zivester left14:14
Kamaljeet joined14:14
JerryT joined14:14
tyler1212 joined14:14
rjurney joined14:14
JerryT left14:14
Kamaljeet left14:15
Quincy okay so we have branch master on main (main/master), I'm working in workingdir on quincy (quincy/workingdir), The branch master is up to date with the latest code, but I'm working in workingdir. I want to update workingdir without losing my changes but I cannot seem to figure out (even after reading the man page) how rebase works exactly14:15
JerryT joined14:15
mizu_no_oto joined14:15
paul424 left14:16
Foldager_ joined14:16
choffstein joined14:16
oojacoboo joined14:16
ws2k3 a git bare repository does not contain any source code files rights ?14:17
osse right14:17
ws2k3 is it possible we are able to pull from the bare repository cause it knows all the changes maby ?14:18
so it can apply those changes to the files on the production server14:18
bambams_ joined14:18
xender Of sourse it's possible14:18
osse Quincy: is quincy a repo? a remote?14:18
xender Also !deploy14:18
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/deploy.html14:18
dobalina joined14:19
rjurney left14:19
ws2k3 have read that document about 3 times now, but i still dont get it, currently we do a pull on oure production server from oure dev server but i would like to do a push on the dev server to prod server instead of a pull14:19
tyler1212 left14:20
strictlyb left14:20
Foldager left14:20
__class__ joined14:20
ToxicFrog ws2k3: so, which part of this is unclear?14:20
Quincy I'm guessing quincy is the repo and workingdir is the remote ? I'm not even sure14:20
ToxicFrog Why it's not allowed by default?14:20
How to enable it?14:20
strictlyb joined14:20
osse ws2k3: are you sure you do a pull and not a fetch ?14:20
ws2k3 yes i am sure we do a pull14:20
osse Quincy: what is main, then? :S It's hard to help without knowing this. What do you have on your local computer and what is "out there" ?14:21
ws2k3 i just run git pull on oure production server and then its the code on the dev is live14:21
joelm joined14:21
ToxicFrog ws2k3: yes, BECAUSE YOU ARE DOING A PULL, NOT A PUSH, and thus it assumes you are ok with the contents of the working directory being changed!14:22
When you push to a non-bare repo IT CANNOT ASSUME THAT14:22
moritz !bare14:22
gitinfo an explanation of bare and non-bare repositories (and why pushing to a non-bare one causes problems) can be found here: http://bare-vs-nonbare.gitrecipes.de/14:22
tobiasvl I think Quincy (thinks that (s)he) has turned the production repo into a bare repo?14:22
ws2k3 no its not like that, in the current setup we Pull From a bare14:22
tobiasvl mentioned something like that14:22
sorry14:22
s/Quincy/ws2k314:23
jast ws2k3: the reason you can't push to the prod server isn't that the dev repo is bare. it's that the prod server is non-bare. pushing to non-bare repos does update the history, but it does *not* update the associated working tree. since that is confusing, by default push is disabled completely to the checked out branch in a bare repo.14:23
papegaaij left14:23
jast *in a non-bare repo, sorry14:23
ToxicFrog ws2k3: the fact that you are getting the error you are means that either (a) the repo you are pushing to is not the same one you are pulling from or (b) the repo is not bare.14:23
ws2k3 ah okay14:23
jast and the deploy page explains how you might work around that14:24
ToxicFrog ws2k3: and if you don't believe me, check the output of 'git config --local --get core.bare' in that repo.14:24
rajul joined14:24
zoso left14:24
rajul left14:24
Macaveli left14:24
javor left14:25
Quincy On my local computer I have my working directory which is the directory I work in, this has its own gitlab project and only I use this, my colleagues have this same setup. We have our own gitlab server with the project 'main' that every once in a while gets merged with our independent projects14:25
joelm left14:26
Quincy Wait, now I am confusing myself XD14:26
akim joined14:26
ifdm_ joined14:27
Quincy lets start over: We have a gitlab server with our main project. in order to not f things up I have my own project in which I work in.14:27
chiromante joined14:27
akim_ left14:27
treehug88 joined14:27
gargola left14:28
ToxicFrog Quincy: What is a "project" here?14:28
GT joined14:28
Quincy I'm guessing a repo14:28
skul left14:29
tobiasvl but is it a clone of the "main" repo?14:29
skul joined14:29
Quincy it is a fork14:29
i forked it from the main repo14:30
zz_jrhorn424jrhorn42414:31
Quincy lets just say i want to update my working directory from our main repo and not lose the work I have done XD I don't know if this makes it a bit clearer (in case you didn't notice, I'm fairly new to GIT ;p)14:31
MegafMegaf_14:32
ws2k3 i think i should review oure git structure14:32
osse Quincy: run git remote -v14:32
joelm joined14:32
tobiasvl Quincy: first of all your use of the word "working directory" is very confusing. you mean you want to !sync your fork with the upstream, main repo?14:33
gitinfo Quincy: [!fork_sync] You can read a nice guide on how to update your fork with the upstream repository here: https://help.github.com/articles/syncing-a-fork14:33
Balliad left14:33
hkon_ left14:34
Quincy I'm thinking that tobiasvl has the golden tip, let's try :p14:34
ascarter left14:34
jottr_ left14:34
ToxicFrog Quincy: by "fork" you mean "clone"? This is very confusing. But I think tobiasvl probably has the right idea.14:35
homework1 joined14:35
frege joined14:35
frege how do I pull a branch from a remote repo?14:36
Ankhers joined14:37
lucha left14:37
tobiasvl frege: git pull REMOTE_NAME BRANCH_NAME14:38
frege: but read man git pull14:38
gitinfo frege: the git-pull manpage is available at http://jk.gs/git-pull.html14:38
aretecode left14:38
tobiasvl "a branch" and "a remote repo" are kinda vague (are you remote-tracking the branch, have you set up the remote). and since you said "pull" I'm guessing you want to fetch+merge.14:39
groolot joined14:39
skylite left14:39
JesseCW joined14:39
frege thanks14:39
rypeck left14:40
acharlieh joined14:40
JesseCW left14:40
tang^ joined14:40
joki left14:42
frege I get this error14:42
'remote-branch' does not appear to be a git repository14:43
fatal: Could not read from remote repository.14:43
tobiasvl frege: uh, what command did you run?14:43
frege git pull branch01 branch0114:44
ws2k3 currently all oure developers are doing a git pull from from the dev server and then they go change code and then they commit and push, then we login onto the production server and do a git pull from the dev but i think this is the wrong way to use git14:44
frege branch01 doesn't exist locally14:44
tobiasvl frege: branch01 isn't the name of one of your remotes14:44
frege well it's14:44
Quincy ToxicFrog: I guess, we use gitlab (not github) xD14:44
tobiasvl frege: it is?14:44
frege I can see it on github14:44
do I need to add it somehow to my local git config?14:45
tobiasvl by "remote" I mean a remote repository14:45
not remote branch14:45
bremner !four14:45
gitinfo [!fetchfour] [pre 1.8.4 only] We recommend against using 'git fetch/pull <remote> <refspec>' (i.e. with branch argument), because it doesn't update the <remote>/<branch> ref. The easy way to fetch things properly is to get everything: 'git fetch' or 'git pull' are sufficient if you have one remote; otherwise we recommend 'git fetch <remote>' (plus 'git merge <remote>/<branch>' if you wanted to pull/merge).14:45
frege ahh14:45
israelpattison left14:45
tobiasvl and also what bremner said, and also read the man page I showed you14:45
frege tobiasvl: no I cloned the remote repo but it doesn't have all the branches, it only has the master14:45
lb1a left14:45
pantsman- joined14:47
mattstratton joined14:47
MarionDaly left14:47
MarionDaly joined14:47
jillesme left14:48
vurma left14:48
Gizburdt left14:48
psoo left14:48
lsiv568 joined14:48
svector_ joined14:48
joki joined14:48
yosito left14:49
rob_w left14:49
VaticanCameos left14:50
dsdeiz left14:50
rath left14:50
maes joined14:51
yosito joined14:51
mizu_no_oto left14:52
svector left14:52
freestyl3r left14:53
wilirius joined14:54
Nizumzen joined14:54
yosito left14:55
zumba_ad_ left14:57
francisfish joined14:57
harish joined14:57
Chrille left14:57
jottr_ joined14:57
zumba_addict joined14:57
lsiv568 left14:58
jeffreylevesque I just committed something on a branch, but did not push. How do I undo the commit?14:58
mribeirodantas joined14:58
smss1995 left14:58
jeffreylevesque it was the very last commit14:58
ifdm_ left14:58
smss1995 joined14:58
xender jeffreylevesque: git reset --hard HEAD~14:59
mennea left14:59
xender WAIT14:59
FortySix2 left14:59
xender Thiss will wipe any uncommited changes though14:59
smss1995 left14:59
jeffreylevesque ok, i think that's fine14:59
xender If you want to keep the working tree as it is, use --mixed instead of --hard or just omit it15:00
ok then15:00
sprnet joined15:00
dangerou_ joined15:00
jeffreylevesque thanks15:00
ToxicFrog Quincy: "fork" is a general open source term used by github (and I think gitlab), "clone" is the git term for a repo spawned from another one (using the 'git clone' command)15:00
dangerousdave left15:00
JesseCW joined15:00
moritzs left15:01
FortySix2 joined15:01
FilipNortic left15:01
VaticanCameos joined15:02
roelmonn_ left15:02
jfran joined15:02
roelmonnens joined15:02
Junior` joined15:03
DoniRS left15:04
JeanCarloMachado left15:06
Junior left15:07
roelmonnens left15:07
Quincy left15:07
moritzs joined15:07
mribeirodantas left15:08
shinnya left15:08
thiago joined15:08
lsiv568 joined15:09
mribeirodantas joined15:09
dipendra left15:10
cbreak-work left15:10
jceb_ left15:11
Xethron joined15:11
Xethron left15:11
Xethron joined15:11
msm joined15:12
robarelli joined15:12
ifdm_ joined15:12
msm` left15:14
rjurney joined15:15
mribeirodantas left15:16
Trudko left15:16
mribeirodantas joined15:17
mribeirodantas left15:17
mribeirodantas joined15:17
pantsman- left15:17
GodEater left15:17
aberrant joined15:17
LeMike left15:18
GodEater joined15:18
GodEater left15:18
GodEater joined15:18
xificurC left15:20
rjurney left15:20
ghostlines left15:21
mlechner left15:22
JeanCarloMachado joined15:23
codeurge joined15:23
saorge_ joined15:23
lite_ joined15:26
MarionDa_ joined15:26
saorge left15:27
sinkensabe left15:27
mnathani left15:27
mnathani joined15:28
drupalgeek joined15:28
kikimeter left15:28
nikita left15:28
EmmEight joined15:28
EmmEight left15:28
MarionDaly left15:29
jaspertheghost when i do a git merge does it copy over all my commit msgs from the branch that im merging ... also it always asks for a commit msg ... whats a good commit msg for merges so i know what i did in the branch i am merging15:30
Reflow left15:30
gargola joined15:30
ayaz left15:30
lite_ left15:30
nikita joined15:30
cjwilburn joined15:32
gua_ould left15:33
listochkin left15:33
LeMike joined15:34
listochkin joined15:34
canton7 jaspertheghost, no, it doesn't copy anything. it creates a merge commit which references both bits of history which are being merged15:34
jaspertheghost, the default message is usually fine. if you want to expand, say what feature(s) the merge is bringing in, or why you did the merge, etc. Don't give too much detail - you can get that by examining the commits being merged in15:34
ToxicFrog jaspertheghost: git merges are not like svn merges. It doesn't patch in the changes from the branch you're merging in, it creates a commit that has both branches as parents.15:34
jdav_gone left15:35
dauntl3ss joined15:35
cjwilburn left15:35
cjwilburn joined15:35
tgkokk joined15:35
HelperW_ left15:35
deniz1a joined15:35
tgkokk left15:36
SimonNa left15:36
mellernoia joined15:37
listochkin left15:38
jdav_gone joined15:39
jwest joined15:39
tyreld joined15:41
thierryp left15:41
Sl0vi joined15:42
yosito joined15:42
svector_ left15:44
devoldmx joined15:44
orbisvicis joined15:45
ericeatsbrains_ joined15:45
orbisvicis git clone urls always end in /reponame.git, is it guaranteed that the directory containing the git repo will be named "reponame" ?15:45
dreiss joined15:46
osse yes15:46
jast locally, after cloning? yes15:46
osse that's the documented behaviour at least15:46
orbisvicis ok, thanks15:47
stodan left15:47
osse goes source diving15:47
ericeatsbrains left15:48
benjwadams joined15:48
benjwadams can I merge another git repository's changes into an already existing repo?15:48
osse orbisvicis: BOOM https://github.com/git/git/blob/master/builtin/clone.c#L152-L21915:48
benjwadams: yes15:49
MarionDa_MarionDaly15:49
benjwadams *on a separate feature branch15:49
dougsland left15:49
benjwadams so repo2:master -> repo1:feature_branch15:49
osse also yes15:50
git remote add repo2 <URL>; git fetch15:50
git branch feature_branch repo2/master15:50
benjwadams Nice!15:50
that will also include all the history?15:50
koell joined15:50
lsiv568 left15:50
osse you betcha15:51
benjwadams: are these repos unrelated? do they not have any common history at all?15:51
gitinfo set mode: +v15:51
orbisvicis osse: hmm, ok thanks15:52
Thra11 joined15:52
Sl0vi how do I add a submodule to a branch when it already exists in another branch?15:52
and I cannot merge the branches15:52
benjwadams Yes, I'm trying to migrate a series of web pages to use different php drivers. I also wanted to update one of the applications, so i just copied the files i had presently into a new repo15:52
CKyle joined15:53
Cadair joined15:53
Cadair left15:53
mewm left15:54
neurodrone_ joined15:54
shawndumas left15:54
Baluse joined15:55
osse orbisvicis: don't ask me what that code does. that greek is like code to me15:55
Baluse2 left15:56
osse benjwadams: then know that git can't do shit to help you merge. if there are no files in common then it's all fine but if there are clashes then git can't do The Right Thing because there is no common history to look at15:56
... or so I've heard15:57
benjwadams well fortunately i take back what i said15:58
i'm wrong :)15:58
but good to know anyhow15:58
lsiv568 joined15:58
jnavila left16:00
shawndumas joined16:00
tranzfuse joined16:01
parcs left16:01
ojacobson left16:01
Quevin joined16:04
c74d3 joined16:04
bartman`` left16:04
c74d left16:04
thevishy_home left16:04
MattMaker joined16:04
jargon left16:05
freestyl3r joined16:05
bartman`` joined16:06
hockey567 joined16:06
Sl0vi I figured it out, just had to create and write everything in .gitmodules manually16:07
Nicholas_Rishel joined16:07
LeMike left16:07
dreiss left16:08
Muchoz left16:09
jeffreylevesque left16:09
krasnus left16:10
lindenle joined16:10
Jacob_ joined16:11
Jacob_ left16:11
deanclkclk joined16:11
Kingsy I was on the master branch and I did this --> git branch -m test_13 <-- so its renamed my master branch to that.. how caqn I reverse this? can I just do git branch -m master ?16:12
wilirius left16:12
canton7 yup16:13
whomp joined16:13
Anticom left16:13
FabTG joined16:13
rbartos joined16:14
oodavid left16:14
Kamaljeet joined16:14
martinklepsch left16:14
rypeck joined16:14
chiromante left16:15
Quevin_ joined16:15
fstd left16:15
rjurney joined16:16
Kingsy thanks16:16
jnavila joined16:17
Ankhers left16:17
Novitsh_ left16:18
sjohnson left16:18
Mitchbones left16:18
msm left16:19
JeanCarloMachado left16:19
awkwardusername left16:19
nnyk_ left16:19
rjurney left16:20
Nicholas_Rishel left16:21
Quevin_ left16:21
alorence left16:21
donmichelangelo left16:22
aberrant left16:22
mennea joined16:22
donmichelangelo joined16:23
imachuchu joined16:23
kballou joined16:24
crxz0193 joined16:24
dts joined16:24
gitinfo set mode: +v16:25
gain left16:25
TomyWork left16:25
LucasTT joined16:26
koell left16:26
dts Hi. My company is using SVN and so I was working in a svn repo. When the server broke down I started a git repo in the svn repo root directory to continue working. Now I want to commit all the commits I did on a svn-git branch I fetched into the same git repo. This fails all the time. I tried it on a lot of ways. What do you recommend me doing?16:27
doev left16:27
Muchoz joined16:27
CKyle left16:28
ToxicFrog dts: wait, you have an svn checkout, and then you created a git repo in that, and then you somehow changed that git repo into a git-svn repo?16:29
batrick left16:29
milki magic16:30
ojacobson joined16:30
dik_dak joined16:31
fabio_p left16:32
dts ToxicFrog: I have a svn checkout Foo. Foo contains .svn. Now I am in Foo and do git init, so Foo now contains .svn and .git. Now I work using git until my companys server is up and running again. I still am in Foo, add the svn repo using git-svn and fetch the branch (git_svn). Now I want to rebase all the commits I did on my master to the git_svn repo and then dcommit it to svn. What shall I do?16:32
achadwick left16:33
ToxicFrog dts: my first suggestion would be to create a new, pristine git-svn repo (using git svn, not "upgrading" an existing git repo), then transfer your commits from the existing repo into it (using, e.g, git format-patch | git am, or git remote add + git fetch + git cherry-pick), then dcommit the results16:33
Arkaniad left16:33
ToxicFrog If you want to do it "in place", well, how does it fail?16:33
W0rmDr1nk left16:33
mikecmpbll left16:33
jhulten joined16:34
CKyle joined16:34
batrick joined16:34
jottr_ left16:34
kikimeter joined16:34
freestyl3r left16:34
hkon_ joined16:34
cllamas left16:35
cllamas joined16:36
FaddeevPopovYahweh16:36
francisfish left16:36
dts I tried format-patch and am. The problem is that I have changes (regarding the svn repo) at the point I created the git repo. You have to consider that I was working in the svn repo until I figured out that I cannot commit on the svn server. So my initial git commit differs from the last svn one. So I think I have to make a diff from my git_svn branch to my masters first commit and patch this on16:37
my git_svn. Then I could git am all the format-patch patches onto git_svn. But this does not work. Where is the problem?16:37
deanclkclk_ joined16:37
ToxicFrog "does not work" is noise. How doesn't it work? What have you tried? What happens when you do?16:37
dts ToxicFrog: your first Idea wont work because I will not be able to get a patch for the initial commit with git format-patch....16:37
ToxicFrog Why not16:38
? Do you know the revision your svn checkout was originally synced to?16:38
dts because the range you can select is ecluding the first one16:38
ToxicFrog If so, sync to that, checkout your first git commit in another dir, and diff the two16:38
osse dts: checkout the first commit and te16:38
thiago dts: it works. You've done something wrong.16:38
osse yes16:38
jeffreylevesque joined16:38
thiago dts: or you're creating a patch that depends on the changes you had made originally and don't want to contribute16:39
robbyoconnor left16:39
hkon_ left16:39
devoldmx left16:39
oojacoboo left16:39
aretecode joined16:39
Guest351O2 left16:39
robbyoconnor joined16:39
devoldmx joined16:40
deanclkclk left16:40
kriks joined16:40
cllamas left16:40
nnyk_ joined16:40
dts this is exactly what I tried. But these are my first steps in git. So do I get you right that you suggest me creating a standard diff from the git_svn to the git_initial_commit, standard patch this onto git_svn, and then continue with format-patch and am? Because this is what I tried. It gives me "error: patch does not apply"16:41
aberrant joined16:41
Mapley[AUS][NED]Mapley16:41
tvw left16:42
FortySix2 left16:43
dts ToxicFrog: I know the revision - the svn doesnt have any changes.16:43
bnicholson left16:43
CKyle left16:43
dts ToxicFrog: So the git_svn branch is the revision I was working on when the svn server went offline16:43
jeffreylevesque left16:43
mcc_1 joined16:44
jrhorn424zz_jrhorn42416:44
ToxicFrog dts: after some thought: init a new git-svn repo synced to that revision. Git remote add old-git-svn <your other git repo>. Git fetch old-git-svn git_svn. git checkout git_svn. git rebase --root master.16:45
FortySix2 joined16:45
mcc_ left16:46
ToxicFrog There may be merge conflicts (e.g. seeing the root commit as a huge add/add conflict), but I think if you just tell it to accept yours each time you'll end up with the right answer.16:46
victorhos__ joined16:46
mizu_no_oto joined16:46
fresham joined16:46
sator joined16:47
CKyle joined16:48
sator left16:48
Xethron left16:48
Muchoz left16:48
dts ToxicFrog: I guess in your latest solution you rebase from the git_svn because you think I have made changes on it that I want to dcommit. This is not the case: My changes are on the master branch. My task is to rebase the work I did on the master to the git_svn branch for committing it to the svn server. Am I right about your solution?16:49
Arkaniad joined16:49
lsiv568 left16:49
ToxicFrog dts: yes, that was my belief.16:49
jnavila left16:49
ToxicFrog Setting aside the specific commands, my suggestion is to get yourself a pristine git-svn branch synced to the correct revision, then rebase --root the branch with your changes onto that pristine branch, resolving all conflicts in favour of the branch with your changes.16:50
mikecmpbll joined16:51
dougsland joined16:51
jnavila joined16:51
jmpp left16:51
fresham Is there a way to rewind commits I accidentally merged into master from a feature branch? I also accidentally pushed to origin master, so I can’t just reset master and re-pull.16:52
ToxicFrog fresham: I believe "git revert" can be used to revert a merge commit.16:53
jay_ joined16:53
Shusshu joined16:53
fresham Ah, I guess that would do it.16:53
welly left16:53
ToxicFrog You'll need the --mainline option to tell it which parent should be considered the main one.16:53
dts Thanks ToxicFrog, rebase --root seems promising. I give it a try.16:54
maestrojed joined16:54
fresham ToxicFrog: thanks!16:54
kevinb left16:54
Shusshu left16:55
jay_ left16:55
axl_ joined16:56
Samual joined16:56
a-l-e joined16:56
intellix left16:57
diegoviola joined16:57
FortySix2 left16:58
Lemony joined16:59
hahuang65 left16:59
fresham I did `git revert --hard HEAD` and that seemed to do it (since it was the last commit).16:59
Will that work okay?16:59
kevinb joined16:59
WaReZ left16:59
awkwardusername joined16:59
dreiss joined16:59
FabTG left17:00
Samual left17:00
sdrfnord1 joined17:00
dts ToxicFrog: Im confused: I start git rebase --root master while being on the git_svn branch and end up on the master branch all the time. It says "successfully rebased and updated refs/heads/master". Its like a standard checkout. What am I missing here? Now I started the same procedure from being on the master and rebasing --root git_svn. That seem to take a long time.17:01
WaReZ joined17:01
Samual joined17:01
FabTG joined17:02
victorhos__ left17:02
pcypher joined17:03
victorhos__ joined17:03
cjwilburn left17:03
victorhos__ left17:03
pcypher left17:03
p4denis left17:03
Zariel_ left17:04
fresham Here’s where I went wrong. I needed some work on a feature branch, but I knew I didn’t want anything in the files that would cause merge conflicts, so I ran `git merge -s ours fbranch`.17:04
ToxicFrog dts: NO DON'T17:05
JeanCarloMachado joined17:05
pcypher joined17:05
osse fresham: then you didn't get any changes at all17:05
ToxicFrog dts: er, wait. Which one has the changes again?17:05
dts: what you want to do is check out the branch with your changes, and then rebase --root passing the name of the pristine branch as an argument.17:05
fresham What I really needed to do was `git merge fbranch` then use `git checkout --ours -- filepath` to keep what I wanted.17:05
osse fresham: yes. or git merge -X ours17:06
ToxicFrog That will end with the pristine branch checked out and all of your changes from the other branch on it.17:06
fresham osse: exactly17:06
pcypher left17:06
osse fresham: has any one else fetched/cloned?17:06
fresham osse: Oh, so a recursive merge with the “ours” option is different from the “ours” strategy17:06
osse reverting merges are ugly for complicated reasons17:06
fresham osse: No, just me working on it. All fixed up now.17:06
osse ahh ok17:07
axl_ left17:07
fresham I’m just trying to get my head around exactly how everything went down so I know how it works in the future.17:07
Zariel_ joined17:08
Zoddo joined17:08
Nizumzen left17:08
jatt joined17:08
jatt left17:08
jatt joined17:08
kikimeter left17:08
pcypher joined17:09
pnkbst left17:09
Quevin_ joined17:09
dts ToxicFrog. Thanks a lot. This actually is what I am doing right now (wondering if a pristine is just a clean branch [reset --hard, clean -dxf] and no bare repo). So I am on master (where my changes are in) and do a git rebase --root git_svn with git_svn being a clean git-svn repository.17:09
So I hope this is correct and I hope I take pristine correctly17:10
ToxicFrog "pristine" is just whatever you get from git svn when you init a new git-svn branch synced to the svn rev you based your changes on.17:10
I.e. it's a git branch containing the contents of that svn rev.17:10
pnkbst joined17:10
ToxicFrog (at its head)17:10
Sendoushi joined17:11
dts alright. perfect. thanks17:11
lindenle left17:11
lindenle joined17:11
masscrx joined17:11
masscrx hi17:12
Hecter2 joined17:12
LeMike joined17:12
zequence_ joined17:12
CheckDavid left17:12
Zariel_ left17:13
cjwilburn joined17:13
akiva joined17:14
frege is it a bad idea to push a vbox 400mb to github?17:14
zequence left17:14
Quevin_ left17:14
qwyeth left17:14
maveneagle joined17:14
blackmesa joined17:14
Sample joined17:15
Sample_ joined17:15
osse no17:15
ehh17:15
yes i mean17:16
fstd joined17:16
Arkaniad left17:16
thevishy joined17:16
bnicholson joined17:16
Muchoz joined17:16
boombatower joined17:18
hoschi left17:18
axl_ joined17:18
azonirunner joined17:18
martinklepsch joined17:18
cjwilburn left17:18
irqq left17:18
axl_ left17:20
wrouesnel left17:20
Muchoz left17:21
zequence_ left17:22
zequence joined17:22
francisfish joined17:22
cjwilburn joined17:22
bnicholson left17:23
sinkensabe joined17:24
azonirunner left17:24
dts ToxicFrog: Okay, the process has finished but not any commit has been applied. Although git told it was successfull17:25
Eugene frege - don't commit "large" binary files like that, no.17:25
maveneagle left17:25
frege ok17:26
FabTG left17:26
cjwilburn left17:27
zequence_ joined17:28
vurma joined17:28
jfran left17:28
jfran joined17:29
rjurney joined17:29
maveneagle joined17:29
lasserix joined17:29
maveneagle left17:29
sinkensabe left17:29
cjwilburn joined17:30
dougsland left17:30
m0viefreak left17:31
ferreum158 joined17:31
zequence left17:31
azonirunner joined17:32
sinkensabe joined17:33
whomp left17:33
Radivarig joined17:33
Muchoz joined17:33
FabTG joined17:33
marscher left17:33
carandraug left17:33
martinklepsch left17:34
zequence_ left17:34
model joined17:34
Sendoushi left17:34
dougsland joined17:35
bnicholson joined17:36
[EddyF]_ left17:36
tharvey left17:36
sinkensabe left17:37
Quevin_ joined17:37
osse frege: do you ever expect it to change?17:37
kriks left17:37
gattuso left17:38
tranzfuse1 joined17:38
zequence joined17:38
qwyeth joined17:39
Lemony left17:39
St_Marx left17:39
FortySix2 joined17:39
still_drupalgeek joined17:39
tranzfuse left17:39
choffstein left17:40
hahuang65 joined17:40
leeN joined17:41
FortySix2 left17:41
Diemuzi left17:41
drupalgeek left17:42
jluc joined17:42
basiclaser left17:42
martinklepsch joined17:43
Lemony joined17:44
hebz0rl left17:44
goTAN left17:44
mikecmpbll left17:44
Quevin_ left17:44
upene joined17:45
basiclaser joined17:45
bezet left17:45
cbreak left17:45
ferreum158ferreum_17:46
Eugene Doesn't matter; github will vomit on anything larger than 100MB17:46
goTAN joined17:46
codehotter joined17:47
osse oh right17:47
jj995_ left17:47
Eugene As a general rule, only commit text. If you do commit a binary, make sure it's small and has a good reason. PNG/GIFs being used in web design are a good example - <1MB is best, and I'd seriously consider the rationale of anything larger than 10MB.17:47
codehotter I have a large git repository, in which I created a feature branch. I'd like to send this feature branch over to someone via email, sending him only the changes made in my feature branch and not the entire repository. But saving commit history. Is that possible?17:47
thiago yes17:48
git format-patch17:48
Eugene codehotter - man git-format-patch17:48
gitinfo codehotter: the git-format-patch manpage is available at http://jk.gs/git-format-patch.html17:48
pcypher left17:49
BreakmanX joined17:49
imachuchu codehotter: you could also use git bundle17:50
cbreak joined17:51
n-st joined17:51
goTAN left17:51
hahuang65 left17:51
FortySix2 joined17:52
Macaveli joined17:52
hahuang65 joined17:53
Wiz_KeeD left17:53
Mocramis left17:53
bnicholson left17:53
Mocramis joined17:54
ErKa joined17:55
thiago left17:55
pcypher joined17:55
jluc_ joined17:56
CKyle left17:56
nnyk_ left17:57
jhulten left17:57
jluc left17:57
kriks joined17:58
ArSn left17:58
axl_ joined17:59
gar_onn joined17:59
treehug88 left18:00
vurma left18:01
ehmatthes left18:01
sinkensabe joined18:01
ORiON-- left18:01
oojacoboo joined18:01
nehaljwani joined18:01
ToxicFrog dts: "git log" shows no change?18:01
rbartos left18:02
jhulten joined18:02
jj995_ joined18:03
doubled112 joined18:03
zequence_ joined18:04
mikecmpbll joined18:04
nehaljwani Need a little help. I had sent a patch series to a dev list which got reviewed after a week. Now after my patch, a lot of changes have already been made, so git-am throws a lot of conflicts. Since I have to resend the patch, what is the shortest/best possible way to go about it, without manually applying it patch (copy/paste) ?18:04
jj995_ how can you git push without first doing git pull? I get the error "Updates were rejected because the remote contains work that you do not have locally...", but I know those changes don't deal with the one file I'm trying to push a commit to, and I don't want to pull so that I don't have to rebuild18:05
Motoko joined18:05
ORiON-- joined18:06
moritz jj995_: you don't have to rebuild on pull18:06
Reflow joined18:06
Reflow is the site down?18:06
or is it just me?18:06
moritz jj995_: and yes, you have to pull first.18:06
zequence left18:06
Wiz_KeeD joined18:06
welly joined18:06
welly left18:07
welly joined18:07
jj995_ +moritz: I just meant my dumb IDE will do a slow rebuild if the files are touched18:07
Reskp joined18:07
jj995_ ok, I'll just pull first and deal with it18:07
rbartos joined18:07
tranzfuse1 left18:07
Reskp left18:08
barcode joined18:11
Wiz_KeeD left18:11
hockey567 left18:12
ehmatthes joined18:12
`Reflector` joined18:12
lsiv568 joined18:12
tranzfuse joined18:13
aretecode left18:13
bbloom left18:13
jerius joined18:13
jerius left18:13
Junior` left18:14
VaticanCameos left18:14
kevinold_ left18:15
akushner joined18:15
cbreak nehaljwani: tried to just git rebase?18:15
nehaljwani cbreak, I don't have a local branch with my changes which I can rebase18:16
aretecode joined18:16
cbreak jj995_: git will only touch files it has to change18:16
nehaljwani: then make one?18:16
FortySix2 left18:17
nehaljwani cbreak, so I should soft reset some 30 patches, make my own branch, apply my patches and then rebase it?18:17
cbreak nehaljwani: no18:17
Hecter2 left18:17
cbreak nehaljwani: just make a new branch (from the commit your commits were based on), with git checkout -b tmp basecommit18:17
then apply your commits18:17
paul424 joined18:18
a_le joined18:18
cbreak they will be applied without conflicts unless you fucked up big time18:18
nehaljwani okay, then?18:18
cbreak then rebase18:18
rebasing will not be trivial if am gives conflicts, but it might have more context to give less problems.18:18
dev_as0 joined18:18
yano left18:19
dfinly joined18:19
dfinly left18:19
akushner left18:20
nehaljwani what is the shortcut to findout the hash for the HEAD-30 commit?18:20
akushner joined18:20
tobiasvl nehaljwani: git rev-parse HEAD~3018:21
(I assume you meant ~ and not -)18:21
akim__ joined18:21
nehaljwani tobiasvl, what is the difference?18:21
endiruna joined18:21
tobiasvl HEAD~30 means the 30th commit going back from HEAD18:22
HEAD-30 means ... nothing? unless you have a branch or tag named that or something I guess18:22
hebz0rl joined18:23
rjurney left18:23
Hecter joined18:25
roymiloh joined18:25
`Reflector` left18:26
akim left18:27
ErKa left18:27
rjurney joined18:27
lindenle left18:28
`Reflector` joined18:28
lindenle joined18:29
vtunka left18:30
Lemony left18:30
charpent left18:31
Reskp joined18:32
LuxuryMode joined18:33
oojacoboo left18:33
jottr_ joined18:35
thiago joined18:35
hkon_ joined18:35
Reskp left18:36
cllamas joined18:36
rjurney left18:37
Kamaljeet left18:37
kenneth joined18:38
n-st left18:38
tgkokk joined18:38
n-st joined18:39
tgkokk left18:39
Reskp joined18:39
maveneag_ joined18:39
tgkokk joined18:39
tgkokk left18:40
hkon_ left18:40
shawndumas left18:40
Quevin_ joined18:40
tgkokk joined18:40
maestrojed left18:41
tgkokk left18:41
dangerou_ left18:41
cllamas left18:41
tgkokk joined18:41
tgkokk left18:42
dangerousdave joined18:42
dangerousdave left18:42
hockey567 joined18:42
tgkokk joined18:42
listochkin joined18:43
dangerousdave joined18:43
dangerousdave left18:43
`Reflector`VaticanCameos18:43
dangerousdave joined18:43
CKyle joined18:44
dangerousdave left18:44
Hecter left18:44
Reskp left18:44
dangerousdave joined18:44
Quevin_ left18:44
ckyle_ joined18:44
dangerousdave left18:44
dangerousdave joined18:45
dangerousdave left18:45
dougsland left18:45
zz_Iakxos left18:45
mizu_no_oto left18:46
dangerousdave joined18:46
dangerousdave left18:46
spasysheep joined18:46
spasysheep left18:46
dangerousdave joined18:47
dangerousdave left18:47
a_le left18:47
masscrx if I have 2 branches, master and staging, and after making some changes in branche staging then from master merge with staging i have working code, but when I make changes to master do I have to merge master from staging?18:47
mjsmith2 joined18:47
finetux joined18:47
FortySix2 joined18:47
a_le joined18:48
dangerousdave joined18:48
major joined18:48
PerlJam masscrx: what do you think? :)18:48
spasysheep joined18:48
therealGent joined18:49
rjurney joined18:49
masscrx I;m not sure thats why I'm asking, but I think that I have to put changes made in master to staging18:49
PerlJam masscrx: or ... do you want the changes you made to master to also be available in staging? If so, then yes (at least merging is an option)18:49
still_drupalgeek left18:49
ScottE_ScottE18:50
masscrx what do you mean that merging is an option ?18:50
epifanio left18:50
listochkin left18:50
Macaveli left18:51
listochkin joined18:51
PerlJam masscrx: it's an option to getting the changes from one branch to another. You can also rebase or cherry pick or do some other things.18:51
major soo .. I have been trying to configure my git instance to aid in a specific workflow model and having a real pita time of pulling it off... I have a 'personal' branch which is based on 'master'. I want pulls onto this branch to always rebase .. and 'push' go to a remote branch w/ the same name as my local personal branch...18:51
masscrx I dont need changes from master in staging, I'm wondering if will it producer some error if in staging wont be commits from master18:52
jack joined18:52
masscrx I mean git errors18:52
FortySix2 left18:52
jackGuest1521318:52
nour joined18:53
kevinold joined18:53
rjurney I just added a new remote, called mlnick. Now I want to checkout a branch this new remote has called 'pyspark-inputformats'. How do I do this? git checkout pyspark-inputformats or git checkout mlnick/pyspark-inputformats don't work18:53
Hecter joined18:54
Seveas rjurney: git checkout -b pyspark-inputformats mlnick/pyspark-inputformats18:54
spasysheep I'm fairly new to git and I'm having some issues trying to fetch an old commit of a remote repository, apply some patches, then bring the patched code up-to-date. The closest I can get is it failing out due to too many renames as it seemingly tries to rename every file in the source tree, and every time I think I understand what I'm doing I find a18:55
new error. What's the correct way to do this?18:55
Seveas rjurney: though you'll need to git fetch mlnick first :)18:55
irqq joined18:55
doener joined18:55
listochkin left18:55
Sample_ left18:55
rjurney seveas https://gist.github.com/rjurney/36ba95fde77b245fc8f218:56
ah, ok18:56
Reskp joined18:56
Seveas spasysheep: you don't "fetch a commit". Are you trying to apply old patches to new code? Or are you trying to go abck to old code, apply patches, and try to merge the result with new code?18:56
Sample left18:56
morenoh151 joined18:56
Reskp left18:56
rjurney ok, now it works. Thanks18:56
Sample joined18:56
str left18:57
rjurney left18:57
sdrfnord1 left18:57
rbartos left18:57
str joined18:57
rjurney joined18:57
spasysheep Seveas: fetch the code as it was immediately after an old commit, then. I'm trying to go back to old code, apply patches, and try to merge the result with new code18:58
rbartos joined18:58
sd1074 joined18:58
RecoJohnson left18:59
yano joined19:00
amcsi_work left19:01
Seveas spasysheep: ok, git checkout <tag-branch-or-sha1 of old code>19:01
afterward, if it's not a branch, create a branch: git checkout -b new-branch-name19:02
then apply patches and merge19:02
maveneag_ left19:02
tgkokk left19:03
maveneagle joined19:03
masscrx I have in git tree : * b80054a Fixed no search result19:04
major any ideas for this? checked out onto 'personal/master' and having 'git pull' rebase from 'master' while 'git push' pushes to a remote personal/master?19:04
bartman`` left19:04
masscrx but last two lines are in another format : * b988d99 (production/staging, origin/staging, staging) Expanding api search for taught skills19:04
what does it mean ?19:04
tgkokk joined19:05
p4denis joined19:05
tgkokk left19:05
St_Marx joined19:05
tgkokk joined19:05
cjwilbur_ joined19:06
epifanio joined19:06
tgkokk left19:06
lsiv568 left19:06
SimonNa joined19:06
tgkokk joined19:06
FortySix2 joined19:07
cjwilbur_ left19:07
beastd joined19:07
cjwilbur_ joined19:07
m8 joined19:07
dougsland joined19:07
jhulten left19:07
lsiv568 joined19:08
maveneagle left19:08
Arkaniad joined19:08
jhulten joined19:08
teran_ left19:08
p4denis left19:09
devoldmx left19:09
codehotter I want to merge current branch into master, can I do this without checking out master?19:09
cjwilburn left19:09
jnavila left19:09
lindenle left19:10
spasysheep seveas: what do I merge with? the remote url for the up-to-date branch?19:10
Rhonda left19:10
Rhonda joined19:10
Rhonda codehotter: I am not aware of that being possible, thing being with merge conflicts and stuff.19:10
Seveas codehotter: nope19:11
sd1074 left19:11
Seveas spasysheep: check out the branch you want to merge with, merge the new branch19:11
epifanio left19:12
Seveas masscrx: the things between (...) are branches pointing to that commit19:12
major: you can set a separate pushurl with git-config19:13
major Seveas, branch .. not repo19:13
listochkin joined19:13
Seveas major: pull/push pull from and push to repos...19:13
rjurney left19:13
rjurney joined19:14
fluxdude joined19:15
codehotter Can I make a specific commit disappear?19:15
alvaro_o joined19:15
codehotter I want it to disappear from the history, and the changes removed from git, but not from my working tree19:15
major at the branch scope, I want my private branch to rebase master by default during pull, and push to a remote branch w/ the same name as the branch I am on19:15
Seveas codehotter: that's only possible if it's the last commit19:15
codehotter Seveas: it's not. Now what?19:16
Seveas codehotter: then you can make it disappear with an interactive rebase, but it disappears from the working tree too, so save it as a patch file first and apply it afterwards19:16
Gizburdt joined19:16
kevinb left19:17
mxmasster joined19:17
mxmasster hi all19:17
fluxdude left19:17
mxmasster i have a strange problem19:17
on a production app server that is doing a git pull from the remote we’ve noticed files that are not updating19:17
jim codehotter, is it just your local repo or does the commit exist on a remote too?19:17
major I suppose I am looking something akin to: branch.<name>.rebase = true branch.<name>.pull = refs/heads/master branch.<name>.push = refs/heads/personal/master19:17
mxmasster i’ve tried a reset, etc… on the directory which has not resolved.19:17
git status/log show that the revision is proper19:18
kevinb joined19:18
mxmasster and a fresh clone into a different directory works fine19:18
PerlJam mxmasster: git is not a deployment tool. Perhaps you need to use one :)19:18
masscrx Seveas: so why in older commits there is no (...) as information about branches to various commits ?19:18
mxmasster PerlJam: actually we’re using bamboo but thanks19:18
ToxicFrog mxmasster: so, 'git log' shows that HEAD is the commit you expect, 'git status' shows everything clean, but if you clone into another dir and then check out that same commit, the working tree contents are different?19:18
mxmasster ToxicFrog: correct19:19
shawndumas joined19:19
mxmasster i didn’t believe it either when the dev told me19:19
ToxicFrog .gitignore wackiness?19:19
osse mumbles incoherently something about git update-index --asume-unchanged19:19
gar_onn left19:20
Seveas masscrx: because branch names point to the last commit in the branch19:20
maxorator: what does git status say?19:20
Zoddo left19:21
Seveas mxmasster*19:21
ToxicFrog osse: shouldn't it be --no-assume-unchanged, since the goal is to find files in working tree that are modified relative to HEAD but which git doesn't recognize as modified in status?19:21
Or am I misunderstanding the docs?19:21
spasysheep Seveas: it still fails due to too many renames. The code is the Raspberry Pi linux kernel, the patches are written for 3.10 and the latest stable release is 3.12. Is there some way to make it follow the commit history through so I can see where the failures are occurring, or a better way to do this?19:21
masscrx Seveas: ok so this is default - 2 last commits with branches between (...) ?19:21
rjurney left19:21
Seveas spasysheep: looks like you'll be manually adjusting patches :)19:21
FabTG left19:22
Seveas masscrx: try !lol and you'll see it better19:22
gitinfo masscrx: A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all19:22
osse ToxicFrog: one is a solution to the other. but yes. I was thinking that perhaps they had run --assume-unchanged at some point, in which case --no-asssume-unchanged is the solution19:22
masscrx Seveas: these infos are from lol19:22
Seveas ok, so what's confusing you?19:22
ToxicFrog osse: aah19:22
masscrx why only last two commits are with (...) is this default ?19:23
mxmasster thanks19:23
osse mxmasster: no. git will show (...) behind any commit it is relevant to19:23
spasysheep seveas: try to apply them to the 3.12 branch and then modify them to apply correctly?19:23
Seveas spasysheep: yeah, check out 3.12 and apply the patches one by one after adjusting filenames19:24
spasysheep Seveas:OK, thanks19:24
rbartos left19:24
diegoviola left19:25
davividal left19:25
francisfish left19:25
masscrx osse: so when commits are relevant ?19:25
osse masscrx: when they have a reference (branch, tag, ...) pointing at them19:26
milli joined19:26
Reskp joined19:27
jonmorehouse joined19:28
listochkin left19:28
Noldorin joined19:28
VaticanCameos left19:28
FabTG joined19:29
ghostlines joined19:29
Reskp left19:31
Seveas masscrx: maybe read !cs for some background info19:33
gitinfo masscrx: "Git for Computer Scientists" is a quick introduction to git internals for people who are not scared by phrases like Directed Acyclic Graph. http://eagain.net/articles/git-for-computer-scientists/ See also !concepts !bottomup19:33
gar_onn joined19:33
jottr_ left19:33
mjsmith2 left19:33
mjsmith2 joined19:34
githassle joined19:35
pcypher left19:35
gitinfo set mode: +v19:35
EmmEight joined19:35
c74d3c74d19:35
vurma joined19:36
githassle hey, I am trying to use git rebase in windows bash. I have aplied, reword and fixup to the commits, but what are they keys to apply the rebasing ??19:36
osse githassle: save and quit the editor19:36
grawity just exit the editor19:36
pheaver joined19:37
grawity if git opens Vim, "Esc : w q Enter" is the magic incantation19:37
roentgen joined19:37
finetux left19:37
EmmEight left19:38
mribeirodantas left19:38
finetux joined19:38
teran joined19:38
githassle its windows vim, but when I got ESC W Q ENTER - nothing happens :/19:38
kballou left19:38
ntio left19:39
tgkokk left19:39
Reskp joined19:40
Reskp left19:40
Reskp joined19:40
CheckDavid joined19:40
tang^ you missed the :19:40
osse the default editor in Git for Windows should be notepad or something19:41
lsiv568 left19:41
hockey567 left19:41
_hockey567 joined19:41
osse but the problem is that notepad doesn't handle unix newlines very well19:41
a-l-e left19:42
roentgen left19:42
kballou joined19:42
roentgen joined19:42
grawity WordPad, then19:42
SamB osse: s/ very well/19:43
osse SamB: heh19:43
finetux left19:43
SamB and as grawity says: WordPad, then19:43
ingu_cloud_ left19:43
osse or they could make nano part of the bundle19:43
grawity nah19:44
nda_ left19:44
grawity editing in Windows console is always a pain, regardless of editor19:44
githassle tang^: ok ! that was it19:44
thanks guys !19:44
grawity it's just, I dunno, console wrappers make it kinda better, but it still feels like talking to an old MS-DOS box, even if it's all native Win3219:45
koell joined19:45
osse githassle: you can configure Git to use your preferred editor19:45
SamB grawity: is that because of how slow it is to emulate vt100 on a console, then go right back and use curses (or a more specialized implementation of the same sort of thing) to drive it?19:45
osse might be worth the few minutes it takes19:45
bezet joined19:46
githassle osse: i shall look into and try and use wordpad19:46
tang^ I've seen a number of people use notepad++ as their editor19:46
osse notepad++ would do the job perfectly19:46
not sure if it has syntax highlighting for it though19:46
imachuchu somepeople really like jedit19:47
pheaver left19:47
TimmyTones left19:48
githassle is there way to have a compact commit history instead of using "git log"19:48
TimmyTones joined19:49
osse githassle: git log --oneline19:49
grawity git log --oneline19:49
githassle :D19:49
osse you can make an alias19:49
grawity plus --decorate19:49
plus --graph :D19:49
tang^ githassle: like !lol ?19:49
gitinfo githassle: A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all19:49
osse !rofl19:49
shawndumas left19:50
nnyk_ joined19:50
hellolleh joined19:50
martinklepsch left19:50
bezet left19:50
osse A niftier view of branches, tags, and other refs, while git log --oneline --graph --decorate --all; do sleep 1; done19:51
Megaf_Megaf19:51
tang^ I ran across somebody that was using pretty formats for their logs... seems you could have lots of fun formatting the output19:51
mcc_1 left19:52
mcc_ joined19:52
mcc_ left19:52
Relsak left19:52
bartman`` joined19:53
hellolleh left19:53
TimmyTones left19:53
mcc_ joined19:53
Relsak joined19:54
koell left19:54
Reskp left19:54
koell joined19:55
reaverb joined19:55
finetux joined19:55
osse while clear; git --no-pager log --color=always --oneline --graph --decorate --all | head -$((LINES - 1)); do sleep 1; done19:55
but it's better to find some suitable count yourself instead of | head19:57
nodiscc joined19:57
lindenle joined19:58
Reskp joined19:58
nlogn joined19:59
githassle thanks for the help guys ! bye20:00
tgkokk joined20:00
githassle left20:00
freestyl3r joined20:00
TimmyTones joined20:01
Relsak left20:01
shawndumas joined20:01
Relsak joined20:02
codehotter left20:03
tgkokk left20:03
dmarkham joined20:03
francisfish joined20:04
lsiv568 joined20:04
francisfish left20:04
tgkokk joined20:05
francisfish joined20:05
maestrojed joined20:05
str left20:05
JesseCW In the command "git rebase feature master", which branch is "ours" and which is "thiers" if I were specifiying the merge strategy?20:05
_leb joined20:05
str joined20:05
zequence_ left20:05
JesseCW In my mind, ours would be feature and master would be thiers, but what I'm reading seems to say it's the other way around.20:05
osse JesseCW: you are correct20:06
ojacobson JesseCW: you've almost certainly spelled that rebase command backwards20:06
osse yes, that too :å20:06
str_ joined20:06
pcypher joined20:06
ojacobson that will take master and replay everything since master diverged from 'feature' on top of 'feature'20:06
which is almost certainly the opposite of what you wanted :)20:06
Vile joined20:06
pcypher left20:06
pcypher joined20:07
MarionDaly left20:07
Zariel_ joined20:07
zequence joined20:07
JesseCW Ah, yes, I was going off the manpage and I guess it doesn't specify in the initial example of the command20:07
pcypher left20:07
MarionDaly joined20:07
spasysheep Seveas: the patches are in mailbox format, the original instructions say to apply them with "git am -3". If I cut out the sections identifying the commit and try to apply it as purely a patch, will I break everything? Should I just go through and make the indicated modifications manually?20:08
blackmesa left20:08
jonascj joined20:08
pcypher joined20:08
MarionDaly left20:08
JesseCW So "git rebase master feature" would rebase feature on master and "ours" would be master and "thiers" would be feature?20:08
pcypher left20:09
gar_onn left20:09
jonascj Hi. If I have multiple branches, must I push them all to a remote repo manually (i.e. push each of them)?20:09
esc joined20:09
esc left20:09
esc joined20:09
pcypher joined20:09
pcypher left20:09
ojacobson jonascj: that's probably the least-hazardous way to do it, yes20:09
DaisyTheCow joined20:09
Seveas spasysheep: I'd just change the paths and still apply with git-am20:09
jonascj Aand is that a sane thing to do? Push your development branch (feature) to a remote repo? Will people get both branches if they just clone the repo?20:09
Reskp left20:09
DaisyTheCow left20:09
pcypher joined20:10
preaction jonascj: only if you care to share the feature branch before it's merged into master20:10
Seveas jonascj: depends on your git version and config. yes. yes.20:10
tgkokk left20:10
str left20:10
major okay .. I figured out a solution which appears to 'rebase' from a local branch during a pull while allowing a differently named remote branch for 'push'20:11
pcypher left20:11
lsiv568 left20:11
major at least .. I hope it works20:11
Seveas jonascj: to elaborate on answer one. git versions older than 2.0 by defuault would push all branches, the default in git 2.0 is 'simple' (see !man git-push for a description)20:11
gitinfo jonascj: [!remote_commands] The only git porcelain commands which might interact with remote repos are: fetch, pull, push, remote, ls-remote, archive, submodule (plus plumbing, remote helpers, etc)20:11
jonascj: the git-push manpage is available at http://jk.gs/git-push.html20:11
spasysheep Seveas: ok, thanks20:11
chisler joined20:11
jonascj So if I collaborate with someone on the feature and we share via that remote repo I guess it makes sense...20:11
dtss joined20:11
Seveas jonascj: yeah, and it's good to have a backup :)20:12
pcypher joined20:12
jonascj if one of the collaborators merge the branch into master, commits that and pushes, will the feature branch disappear form the remote repo (i.e. will github, bitbucket etc. show 1 branch again)?20:12
pcypher left20:13
morenoh151 left20:13
Seveas jonascj: no. it will point to the last commit before the merge20:13
BreakmanX left20:14
pcypher joined20:14
Seveas remember, branches are nothing more than labels that point to commits.20:14
gitinfo set mode: +v20:14
dtss hi, Today I stated a question in which I got a lot of reply. Sadly nothing worked. Since I guess my question will help others I tried to explain it on stackoverflow. In case you want to collect some stackoverflow reputation ;-) I kindly ask you to give your best. TY http://stackoverflow.com/questions/24374498/how-to-rebase-git-commits-to-svn-after-having-initialized-the-git-repository-in20:14
pcypher left20:14
Seveas merging branch 'dev' into 'master' creates a merge commit and makes 'master' point to it. It leaves the label 'dev' alone.20:14
dsirijus left20:15
nnyk_ left20:15
sea-gull left20:15
Quevin left20:15
jonascj Seveas: so the branch will stay there unless deleted (I don't know what happens if it is deleted but I've seen it as common pratice to delete branches after they are merged)20:15
leeveteras20:15
Seveas jonascj: deleting a branch only deletes that label. The commits will all be kept.20:16
thevishyyhsiveht20:16
choffstein joined20:16
m0viefreak joined20:16
nnyk_ joined20:16
sq-one joined20:16
Reskp joined20:17
Zariel_ left20:17
esc left20:17
teran left20:18
VinceZa left20:18
pcypher joined20:18
jottr_ joined20:18
esc_ joined20:18
_leb left20:19
himikof joined20:19
jonascj Seveas: okay, I guess I will learn what happens to the branch etc. after I've gone farther and actually marged it, deleted it and commited some more. Right now I am confused :)20:19
himikof left20:20
ghostlines left20:20
osse JesseCW: correct20:20
osmosis joined20:20
model what is the preferred way to block people from pushing commits to certain branches?20:21
osmosis left20:22
gandalfcome joined20:22
Seveas model: update hook.20:22
teran joined20:23
jfran left20:23
hkon_ joined20:24
morenoh151 joined20:24
Diemuzi joined20:24
gitinfo set mode: +v20:24
teran left20:24
finetux left20:25
dreiss left20:27
DrNick left20:27
str_ left20:27
veebers joined20:27
TDJACR left20:28
_hockey567 left20:28
himikof joined20:28
bremner model: or gitolite20:28
hockey567 joined20:28
hkon_ left20:28
JesseCW In attempting this, git 1.9.0, "git rebase master --preserve-merges -s recursive -X theirs" I'm getting "fatal: Unknown option for merge-recursive: -X'thiers', what am I doing wrong?20:28
m8 left20:28
FortySix2 left20:29
moritz misspelling 'theirs'?20:29
JesseCW nm, spelling, ha20:29
kcj joined20:30
LuxuryMode left20:31
model left20:31
FortySix2 joined20:32
pbrobst joined20:34
knighthawk joined20:34
teran joined20:35
yhsiveht left20:35
kyb3r_ joined20:37
rjurney joined20:37
cllamas joined20:37
JesseCW well, at least that seemed to be it, still giving me the same error, even when using "theirs". I tried it with and without a space.20:38
DrNick joined20:40
nfk joined20:40
m0ltar left20:40
jrockjiggz left20:40
Tabmow left20:40
Kulrak left20:40
aucecil left20:40
Zoddo joined20:41
Quevin joined20:42
cllamas left20:42
CKyle left20:42
erickr joined20:43
CKyle joined20:43
jpierre03 left20:43
esc_esc20:43
Gizburdt left20:43
Gizburdt joined20:44
escesc_20:44
jpierre03 joined20:45
gitinfo set mode: +v20:45
hyperair left20:45
erickr Anyone have good insights using subtrees for common shared code between 2 projects? we are using git flow as well, but would love to hear some general experiences about using subtrees if anyone like to share.20:45
moritz JesseCW: btw the -s recursive is redunant20:45
esc_esc20:46
_leb joined20:46
moritz JesseCW: do you have a non-pintable character in your command line, maybe?20:46
ojacobson erickr: "don't" :)20:46
git is not a replacement for library/dependency management20:46
cjwilburn joined20:46
JesseCW moritz: I noticed in the docs, just going off these stackexchange articles I'm reading. I'm going to compile the latest version and see if it makes a difference20:46
ojacobson bower/npm/maven/sbt/cabal/pypi/gems/whatever insane thing OS X has all exist for exactly that job20:47
mattstratton left20:47
JesseCW moritz: no non-printables as far as I can can tell, I typed it all out rather than copy/paste.20:47
roymiloh left20:47
erickr ojacobson: hmm, well, we want to use it to share "page templates" between 2 wordpress projects,20:48
ojacobson oh ow20:48
wordpress's dependency management stuff is pretty tragically bad, sorry to hear you're stuck working with it20:48
jluc_ left20:48
cjwilbur_ left20:48
erickr ojacobson: yeah, well, we can probably use any tool, I just thought managing it with git would be a good start20:49
Gizburdt left20:49
finetux joined20:50
sinkensabe left20:50
tm512_ joined20:51
tm512 left20:51
erickr ojacobson: hmm, composer might be a good start perhaps..20:51
ojacobson left20:51
daedeloth left20:53
boris left20:53
JeanCarloMachado left20:54
Mitchbones joined20:55
D-Boy left20:55
lucha joined20:55
shinnya joined20:57
doubled112 left20:57
zumba_ad_ joined20:57
Gam joined20:57
JesseCW No dice on git 2.0.0 either with this command, "git rebase master feature --preserve-merges -s recursive -Xtheirs", still says "fatal: Unknown option for merge-recursive: -X'theirs'"20:58
thierryp joined20:59
Hecter left20:59
BreakmanX joined21:00
jaspertheghost left21:00
Eugene !repro an exact paste21:00
gitinfo 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 raise the odds of getting your problem fixed from about 30% to about 90%.21:00
osse I copied and ran it as you presented it on IRC and it works :O21:00
thierryp left21:00
zumba_addict left21:00
JesseCW osse: me?21:00
Baluse left21:01
cjwilburn left21:01
skylite joined21:01
osse you21:01
akim__akim21:01
Eugene Hence, a repro, please.21:01
Not just the error message. The real terminal transcript.21:01
irqq left21:01
Baluse joined21:01
osse https://www.youtube.com/watch?v=kxJRnegO1cI21:03
ChanServ set mode: +o21:03
Eugene kicked osse (a bit with a large trout)21:03
Eugene changed the topic to: Welcome to #git, the place for git help and a rumbling stomach | Current stable version: 2.0.0 | Start here: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | git-fetch: no training required21:04
jrockjiggz_PC joined21:04
aucecil joined21:04
Kulrak joined21:04
Tabmow joined21:04
wilhelm.freenode.net changed the topic to: Welcome to #git, the place for git help and skinny jeans | Current stable version: 2.0.0 | Start here: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | Remember to keep your porcelain clean21:04
osse joined21:04
Eugene Oy u wot m821:04
Eugene changed the topic to: Welcome to #git, the place for git help and a rumbling stomach | Current stable version: 2.0.0 | Start here: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | git-fetch: no training required21:04
Vile left21:04
pbrobst left21:04
JesseCW I'll get that posted up, it doesn't try to run it unless you have an actual merge conflict though, so it starts the rebase and once it gets to the conflict it throws the error21:05
osse ah21:05
Eugene My running theory is that you're using the literal -X'theirs' option21:05
Mapleya_sexy_gay_fox21:05
Eugene Rather than the quote-less string -Xtheirs21:05
LeMike left21:05
endiruna left21:05
Annak joined21:05
gitinfo set mode: +v21:06
JesseCW Nope. Here it is. https://gist.github.com/anonymous/58bc0d4bbef1e217c51621:06
listochkin joined21:06
chisler left21:06
Eugene Hm.21:06
Hecter joined21:06
a_sexy_gay_foxMaple__21:06
JesseCW I've tried with and without a space, same error either way.21:06
Eugene What sort of system is this on? Is your bash --version current-ish?(rebase is a shell script, IIRC)21:07
jonascj when cloning I only get the master branch? So if the project have multiple branches I will not see them with "git branch", but I have to do "git checkout branchname"?21:07
lamont left21:07
pbrobst joined21:07
Eugene jonascj - only the "default" branch, typically named master, is checkout-ed locally, yes. `git branch -a` will show you the rest of them.21:07
JesseCW @Eugene GNU bash, version 4.1.10(4)-release, it's cygwin21:08
Eugene Oh, cygwin. HAH! Good luck, you'll need it.21:08
JesseCW and I'm compiling git from tarball21:08
Diemuzi left21:08
SamB so, if I want to send a patch series in *one* email using attachments, how should I go about it?21:08
choffstein left21:08
JesseCW never had any issues with using it on cygwin before ;<21:08
RecoJohnson joined21:08
lamont joined21:08
Eugene SamB - man git-bundle21:08
gitinfo SamB: the git-bundle manpage is available at http://jk.gs/git-bundle.html21:08
pnkbst left21:09
jonascj Eugene: thanks21:09
osse SamB: attach all the files format-patch produces, maybe?21:09
SamB I was thinking more like what osse said21:09
Eugene Either works. Depends if you want one attachment, or one-per-commit21:09
AnnakDiemuzi21:10
osse I think you can git format-patch ... --stdout > huge.patch21:10
and git am will do The Right Thing21:10
Eugene Hopefully21:10
yosito left21:10
D-Boy joined21:10
Arkaniad left21:11
SamB I want to send it to the Debian BTS; I think I'll just attach each patch individually. (All two of them.)21:11
fatalhalt_ joined21:11
scri66le joined21:11
osse yup, it does21:12
finetux left21:12
SamB huh, I never actually tried those examples at the end of git-format-patch(1) as written before; I'd always thought they must be typoes ...21:12
scri66le left21:13
SamB but what do you know, just saying "git format-patch origin" *does* do something sensible21:13
dtss left21:13
dreiss joined21:13
finetux joined21:14
mxmasster left21:14
RecoJohnson left21:14
fatalhalt left21:14
jatt left21:15
Kicer86 left21:16
joebobjoe joined21:16
SamB hmm, how would the result then be fed to git-am though?21:17
osse stdin21:17
jackneill left21:17
pnkbst joined21:17
benjwadams is there anything like git rebase --onto --interactive21:18
rjurney left21:18
SamB benjwadams: I'm assuming you already tried the obvious way?21:18
rjurney joined21:18
thiago benjwadams: like?21:18
benjwadams: as opposed to exactly that?21:18
polyzen !mirror21:18
benjwadams sec.21:19
osse will it would be git rebase --onto foo --interactive21:19
VinceZa joined21:19
spasysheep left21:19
osse s/will//21:19
jpierre03 left21:19
pcypher left21:20
matheus23 left21:20
benjwadams i tried git rebase --onto climatology_multiparam master -i 'HEAD~6'21:21
no dice21:21
osse what does "no dice" mean in this case, then?21:22
azonirunner left21:22
benjwadams probably a syntax error on my part21:22
mcc_ left21:22
_leb left21:22
benjwadams no such branch 'HEAD~6'21:22
knownasilya left21:22
osse you probably want to leave that one out21:22
blackmesa joined21:23
osse now you're rebasing the commits from master to HEAD~6 onto climatology_multiparam21:23
nour left21:23
osse what about what you currently have checked out?21:23
benjwadams master21:24
adkins left21:24
osse what is HEAD~6 then?21:24
benjwadams nothing!21:25
sq-one left21:25
osse if you have master checked out then I suspect you want a plain git rebase -i climatology_multiparam21:25
benjwadams I'm a bit confused. i removed a file from master permanently using reset --hard21:25
codeurge left21:25
benjwadams that commit was the commit i branched off of21:26
my branch looks disconnected in gitk21:26
i'm trying to rebase against the previous commit21:26
teran left21:26
major hmmm .. seems my config is not quite doing what I want..21:27
jstimm joined21:27
major really starting to think git would need patched in order to support doing this...21:27
benjwadams I'd like to fix that dangling reference from the branch21:27
SamB !picpaste21:28
major https://gist.github.com/major0/498f83a8606d4b1c5f5421:28
Blaster joined21:30
Blaster left21:30
Blaster joined21:30
Blaster Hey when I type git diff it says -- More -- but pressing page down or down arrow doesn't scroll it anymore.21:30
Nicholas_Rishel joined21:30
kermit left21:31
xender Blaster: what about enter?21:31
And you don't have less?21:31
tranzfuse left21:31
xender less is more :D21:31
morenoh151 left21:31
Zoddo left21:31
Blaster xender, Yes enter works, but I want my page down or arrow keys back :'(.21:31
xender Blaster: Do you have less installed?21:32
Blaster The CSS preprocessor?21:32
Yes I do, but how is that related?21:32
xender :D21:32
Nope, not that less21:32
Blaster This worked earlier today so I don't know what happened.21:32
xender Less command21:32
echo a | less21:33
pnkbst left21:33
Blaster Oh right, I think I apt-get removed that package when I was trying to fix the CSS preprocessor. Didn't know about this one.21:33
Cool.21:33
mmitchell left21:35
Guest351O2 joined21:35
mmitchell joined21:35
mmitchell left21:35
pnkbst joined21:36
xender Ouch :P21:36
barcode left21:36
bremner that apt-get. so naughty.21:36
pcypher joined21:37
polyzen left21:37
kcj left21:37
joebobjoe left21:37
jpierre03 joined21:39
Reskp left21:39
rjurney left21:40
rjurney joined21:41
JerryT left21:41
dougsland left21:43
shingshang left21:43
teran joined21:44
Reskp joined21:44
bezet joined21:46
lucha left21:46
duderonomy joined21:48
Balliad joined21:49
kermit joined21:49
GodEater left21:49
VinceZa left21:50
bezet left21:50
hebz0rl left21:51
Thra11 left21:51
homework1 left21:52
Hecter left21:52
finetux left21:52
wondiws joined21:53
mennea left21:53
aberrant left21:53
wondiws is there a place where I can find binaries of the Git client for old versions of windows?21:53
aberrant joined21:53
aberrant oy.21:54
nfk left21:54
kriks left21:55
aberrant left21:55
GodEater joined21:55
GodEater left21:55
GodEater joined21:55
aberrant joined21:55
m0ltar joined21:56
a_le left21:56
tang^ left21:57
gattuso joined21:57
finetux joined21:58
Dougie187 left22:00
zmuser3 how can I undo a particular commit? I did git rm on two files and removed a line from a couple other files22:00
dev_as0 left22:00
ShooterMG joined22:00
Hecter joined22:01
zmuser3 (already pushed)22:01
Seveas !man git-revert22:01
gitinfo [!remote_commands] The only git porcelain commands which might interact with remote repos are: fetch, pull, push, remote, ls-remote, archive, submodule (plus plumbing, remote helpers, etc)22:01
the git-revert manpage is available at http://jk.gs/git-revert.html22:01
zmuser3 ok thanks22:01
Seveas hmm, why is gitinfo spewing two lines?22:01
!man22:01
gitinfo [!remote_commands] The only git porcelain commands which might interact with remote repos are: fetch, pull, push, remote, ls-remote, archive, submodule (plus plumbing, remote helpers, etc)22:01
Seveas man git-revert22:02
gitinfo the git-revert manpage is available at http://jk.gs/git-revert.html22:02
Seveas ahh....22:02
qwyeth left22:02
akushner_ joined22:02
mizu_no_oto joined22:02
JeanCarloMachado joined22:02
zmuser3 how can I confirm I have the right commit number?22:03
is there a way to say... tell me what happened for this commit22:03
Nugget git show <hash>22:03
zmuser3 nice. especially since I had the wrong one heh22:04
FortySix2 left22:04
donmichelangelo left22:05
as_ left22:06
akushner left22:06
leeN left22:06
erickr left22:08
nehaljwani left22:09
Celelibi Does git submodule only work for a subdirectory?22:09
Or can I use to mix the files?22:09
use it*22:09
milli left22:10
northfurr joined22:10
SamB Celelibi: you probably don't want to use it22:10
it's a lot more trouble than you're likely to anticipate22:10
Celelibi err, subdirectory, not submodule.22:10
SamB hmm?22:10
Celelibi It's subtree!22:11
(I forgot the name.)22:11
git-subtree.22:11
alanwikid joined22:12
hkon_ joined22:12
FortySix2 joined22:12
Aleks3Y joined22:13
Quevin left22:13
rlazoti joined22:13
sgambino left22:13
deanclkclk joined22:16
Guest351O2 left22:16
hkon_ left22:16
Maple__a_sexy_gay_fox22:16
major okay, I can confirm that this isn't working as I had hoped .. any ideas/suggestions? https://gist.github.com/major0/498f83a8606d4b1c5f5422:17
pbrobst left22:17
ojacobson joined22:18
upene left22:18
Diemuzi left22:18
FreezingCold joined22:18
mjsmith2 left22:18
hyperair joined22:19
mizu_no_oto left22:19
rjurney left22:19
Eugene What isn't working right?22:19
shruggar left22:19
hyperair left22:19
ojacobson computers22:20
a_sexy_gay_foxMapley22:20
Eugene YOu may need to specify a full refspec for branch.blah.merge22:20
Eg, refs/heads/master22:20
major Eugene, I want pull to come from 1 branch and push to go somewhere else22:21
rjurney joined22:21
Eugene Yes, I get that.22:21
major kk22:21
sdrfnord1 joined22:21
Eugene Line 15, change it to merge = refs/heads/master22:21
A full refspec, not a "short" one22:21
major understood, and changed22:21
Eugene I'm actually not sure on what'll happen on push22:22
dobalina left22:22
major exactly :(22:22
deanclkclk left22:22
Eugene This might not be possible with the current family of branch.foo. options22:23
Eugene reading man page now22:23
major I have found similar inquiries on StackOverflow, but people seemed to misunderstand the question and gave sort of odd naswers22:23
Eugene Yeah22:23
major worse is I think I can pull it off using multiple repos22:23
r0ok joined22:23
ojacobson the magic phrase for this on the !list archives is "triangular workflow"22:23
gitinfo [!official] Some official resources for git. Homepage: http://git-scm.com/ | Source repo: https://www.kernel.org/pub/scm/git/git.git/ (Mirrrored: https://github.com/git/git/) | IRC channel: You're in it. | Mailing list: http://vger.kernel.org/vger-lists.html#git22:23
lllshamanlll left22:23
major having a pqm repo that I push to that has the same names as the "tested" repo (origin)22:24
fatalhalt_ left22:24
paul424 left22:24
Eugene The trick is he's using a different branch name on the three legs22:24
FortySix2 left22:24
paul424 joined22:24
Eugene rebasing local feature branch onto origin/master, and then pushing to personal repo's feature branch22:24
major yah, gitolite allows you to trigger a script based on the pushed branch name22:24
so we went that route as it "felt" easier22:24
Eugene I'm not sure what PQM stands for here, GOogle suggests Publican QUality Meats.22:25
major as opposed to having a "tested" repo and a "submission" repo22:25
Eugene While appealing culinarily, i don't think that's quite right.22:25
major Patch Queue Management22:25
the original pqm software that did something like this is back from tla/archera and bazaar22:25
sdrfnord1 left22:25
major it operated via signed email and all, similar concept22:25
Eugene Hunt through the list archives per ojacob.22:25
rednaks joined22:25
Eugene I would implement this without the rebase/pull stuff if it were me22:26
major I was mostly trying to automate it from the end-user end22:26
Eugene (actually I would make this into a nasty wrapper for `git pull`, but I'm already doing evil things in bash)22:26
cllamas joined22:26
major all pulls onto a personal branch tend to be rebase from the parent22:26
beastd left22:26
major I mostly figured it wouldn't be all that difficult .. or assumed the problem was just that trivial22:27
seems to mostly be a configuration issue really22:27
everything else about the workflow already works22:27
Eugene The issue is the branch names being different22:27
Everything else you've got good22:27
But there needs to be a separate option, branch.<foo>.push22:28
Which doesn't exist22:28
To the mailing list!22:28
major yah22:28
shawndumas left22:28
Eugene The rebasing is irrelevant22:28
major I figured that was the case already .. mentioned it earlier in the channel22:28
oh, I know, just reduces waiting on pull to figure things out22:29
leb joined22:29
fr33domlover left22:29
major the pqm already rejects push requests if the push isn't a child of the current master head22:29
moritzs left22:29
major can't ff to the submission then it blows up w/out testing22:29
molqr joined22:30
JosephFerano joined22:30
tang^ joined22:30
fr33domlover joined22:30
Quevin joined22:30
cllamas left22:31
GT left22:31
skylite left22:31
Guest15213 left22:32
paul424 left22:32
jon_r left22:32
LuxuryMo_ joined22:33
codeurge joined22:34
jon_r joined22:34
major I guess the other nice thing about this approach is that branches that do not have 'pqm' in the name like this are not tested, which allows for developers to share code via the central server fairly easily22:34
jon_r left22:35
JeanCarloMachado left22:36
bbloom joined22:36
LuxuryMo_ left22:36
dmarkham left22:37
crxz0193 left22:38
Balliad left22:38
LuxuryMode joined22:39
lsiv568 joined22:39
kermit left22:40
JeanCarloMachado joined22:40
LuxuryMode left22:41
Apocalis_ joined22:41
dreiss left22:41
finetux left22:42
milli joined22:42
pbrobst joined22:43
kevinold left22:44
dmarkham joined22:45
chreuben joined22:45
Reskp left22:46
WaReZ left22:46
a_le joined22:46
TimmyTones left22:47
viscera left22:47
finetux joined22:47
a_le_ joined22:48
oojacoboo joined22:49
lsiv568 left22:50
JerryT joined22:50
jottr_ left22:50
jon_r joined22:50
kermit joined22:51
styx__ joined22:51
sinkensabe joined22:51
a_le left22:52
styx__ left22:52
alanwikid_ joined22:53
mtk left22:54
alanwikid_ left22:54
alanwikid left22:55
sinkensabe left22:56
francisfish left22:57
pcypher left22:57
kermit left22:57
Gam left22:57
elbeardmorez left22:59
madewokherd joined22:59
toothr joined22:59
Mitchbones left23:00
ItSANgo_ left23:01
shawndumas joined23:02
leb left23:02
nodiscc left23:02
Guest351O2 joined23:02
ehmatthes left23:02
Apocalis_Apocalisp23:02
dangerousdave left23:03
roth_philip joined23:04
blackmesa left23:04
alanwikid joined23:04
toothrtoothrot23:04
freestyl3r left23:04
pcypher joined23:05
akushner_ left23:05
akushner joined23:05
groolot left23:06
_leb joined23:06
ckyle_ left23:07
listochkin left23:07
ferreum158 joined23:08
dik_dak left23:08
Breakman_ joined23:09
Breakman_ left23:10
cobakobodob left23:10
dreiss joined23:10
_leb left23:11
Breakman_ joined23:11
ojdo left23:11
ferreum_ left23:11
ojdo joined23:11
wilirius joined23:12
axl_ left23:12
sea-gull joined23:13
BreakmanX left23:13
dsdeiz joined23:13
ojacobson_ joined23:14
TimmyTones joined23:14
kevinold joined23:14
jstimm left23:15
JDHawke left23:15
blorbx left23:15
JDHawke joined23:16
ojacobson left23:17
a_le_ left23:17
akim left23:18
a_le joined23:18
major interesting .. builtin/push.c has a bunch of triangular workflow references .. but not for a central repo .. more like .. a github workflow23:18
shawndumas left23:18
shawndumas joined23:19
kevinold left23:19
himikof left23:19
jon_r left23:20
kenneth left23:21
mikecmpbll left23:22
dtss joined23:22
kevinold joined23:22
dts left23:22
a_le left23:22
viscera joined23:22
Arkaniad joined23:24
gargola_ joined23:24
txomon|home left23:26
justinsd joined23:26
gitinfo set mode: +v23:26
justinsd Hey guys. Does anyone have any idea what would be causing something like this23:26
fatal: git-http-push failed23:26
error: Cannot access url: return code 2223:27
When doing a git push23:27
marscher joined23:27
kevinold left23:27
jcvfen_ left23:28
shawndumas left23:28
marscher left23:29
kenneth joined23:29
Rich_52696368_ joined23:31
Breakman_ left23:32
mikecmpbll joined23:32
tpollard joined23:33
pcypher left23:34
darkbasic joined23:34
rednaks left23:35
akushner left23:35
roth_philip left23:35
jontmorehouse joined23:36
stamina left23:36
tang^ left23:37
cobakobodob joined23:37
mikecmpbll left23:37
darkbasic hi, I remember I read something like a git "snapshot". if you are working on master and you need to push a quick commit, then you do a snapshot of your work (you still don't want to commit it), you push the the quick fix and then you restore to the exact state you were working before. am I dreaming or something similar to a git snapshot really exists?23:37
jonmorehouse left23:38
madewokherd stash?23:38
darkbasic madewokherd: exactly, thanks23:39
colinbowern joined23:39
iamabigstone joined23:39
gitinfo set mode: +v23:39
colinbowern I was wondering if someone could shed light on what HEAD^{tree} means in a git commit-tree call (from http://stackoverflow.com/a/23486788/79842)23:40
chreuben left23:40
fresham left23:40
Motoko left23:41
gwb3 joined23:42
gwb3 left23:42
gwb3 joined23:42
echo-area left23:42
colinbowern Bueller, Bueller, anyone? :)23:42
ojacobson_ colinbowern: man gitrevisions23:42
gitinfo colinbowern: the gitrevisions manpage is available at http://jk.gs/gitrevisions.html23:42
colinbowern thanks!23:43
wondiws left23:43
Lyqyd joined23:43
ojacobson_ git-commit-tree, being plumbing, doesn't have the same object-coercion logic that something like 'git log' does23:44
pcypher joined23:44
ojacobson_ it wants a tree; if you give it a thing that unambiguously points to a tree, like a commit or a tag, it's still sad23:44
gandalfcome left23:44
dreiss left23:45
jwmann left23:46
jyg joined23:46
bezet joined23:46
Reskp joined23:46
jyg Hi. I'm trying to use git for productizing a Drupal project. I'm at a point where I basically have a whitebox product developed from Drupal from which I can create client-specific sites, each with different theming. So the main Drupal core will rarely change, but the theming directory will change dramaticallyfor each product23:48
ItSANgo joined23:48
jyg I thought of using subthemes, but I believe that's for the opposite scenario, where its not some inner directory that would change often but the outer code that would be product-specific23:48
codeurge left23:48
nlogn o_O23:48
nlogn left23:49
jrockjiggz_PC left23:49
jyg the only thing I've been able to come up with, that I really don't like, is to have Drupal core as a repo and then ignore on a theme directory23:49
and load a wholly different repo for the client-specific theme23:49
so i basically use two repos within the same site, one that secretly resides within the other23:50
what don't you get nlogn?23:50
er, sorry, above I didnt mean "subthemes" but "submodules"23:50
mixing my gitese and my drupalese23:51
lindenle left23:51
bezet left23:51
Reskp left23:51
alanwikid_ joined23:51
alanwikid_ left23:51
alanwikid left23:51
jrockjiggz joined23:51
alanwikid joined23:52
codeurge joined23:52
St_Marx left23:53
yacks left23:53
mennea joined23:53
balazs left23:54
mennea left23:54
finetux left23:54
Quevin left23:54
colinbowern left23:55
Hecter left23:55
codeurge left23:56
TimmyTones left23:56
Entomo joined23:57
dreiss joined23:57
codeurge joined23:58
milli left23:58
kevinb left23:59

Logs Search ←Prev date Next date→ Channels Documentation