IRCloggy #git 2017-04-20

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.

2017-04-20

menip joined00:01
thiago joined00:03
Fallen0223 left00:03
fission6 left00:04
Noodlewitt joined00:04
aidalgol left00:06
qpdb left00:07
qpdb joined00:07
bruce_lee left00:08
bruce_lee joined00:09
drodger left00:09
jimi_ joined00:09
alexandre9099 left00:10
alexandre9099 joined00:12
drodger joined00:15
cqi left00:16
ToBeCloud joined00:16
gitinfo set mode: +v00:16
HurricaneHarry left00:17
tnecniv left00:18
HurricaneHarry joined00:18
Starky joined00:20
drodger left00:20
nexemacs joined00:23
drodger joined00:26
jstimm left00:27
durham_ joined00:28
jimi_ left00:28
jstimm joined00:30
overlord_tm left00:30
durham left00:31
unplayednamer left00:31
unplayednamer joined00:32
ProLoser joined00:32
durham_ left00:32
NeXTSUN left00:37
jimi_ joined00:37
porfiriopaiz left00:40
Darren_ left00:42
afuentes left00:42
anuxivm left00:42
theiostream joined00:43
drodger left00:43
jimi_ left00:45
sammyo joined00:46
Gsham joined00:47
Domhack left00:48
Domhack joined00:49
drodger joined00:49
loskutak left00:50
BenderRodriguez left00:50
cdown joined00:52
HoierM left00:54
mikecmpbll left00:55
fstd left00:56
fstd_ joined00:56
fstd_fstd00:56
sammyo left00:57
cdown left01:00
kfoonamalik left01:00
jimi_ joined01:01
batrick left01:01
mentazoom left01:01
duderonomy left01:02
Cabanossi left01:02
duderono_ joined01:03
Cabanossi joined01:03
gopar left01:04
unplayednamer left01:05
qpdb left01:06
HoierM joined01:07
justanotheruser joined01:10
nexemacs left01:11
m1dnight_ left01:12
rnsanchez left01:12
tnecniv joined01:13
m1dnight_ joined01:13
batrick joined01:17
NeXTSUN joined01:17
Peetz1rPeetz0r01:17
marianina8 left01:18
jstimm left01:21
msonntag left01:24
msonntag joined01:24
chipotle joined01:24
systemovich left01:25
nexemacs joined01:25
Sasazuka left01:25
systemovich joined01:26
finalbeta joined01:27
nexemacs left01:29
kadoban joined01:31
LeBlaaanc joined01:32
PaulCape_ left01:33
duderono_ left01:34
raijin left01:36
dsdeiz left01:43
leeN left01:43
dsdeiz joined01:44
dsdeiz left01:44
dsdeiz joined01:44
Cabanossi left01:46
Cabanossi joined01:48
tnecniv left01:50
ojdo left01:51
scarabx joined01:51
bronson left01:51
chipotle left01:51
uruk left01:52
dsdeiz_ joined01:52
netj left01:52
netj joined01:52
dsdeiz left01:53
shgysk8zer0 left01:55
uruk joined01:56
bannakaf_ joined01:56
bannakaffalatta left01:57
Kaisyu joined01:57
qpdb joined01:59
uruk left02:01
sunri5e left02:03
ojdo joined02:03
sucks joined02:05
lknd left02:05
sunri5e joined02:06
dsdeiz_ left02:08
Goplat joined02:10
pifon left02:13
bannakaf_bannakaffalatta02:13
aidalgol joined02:15
NoOutlet left02:17
tnecniv joined02:18
NoOutlet joined02:18
fission6 joined02:20
fission6 left02:21
ToBeCloud left02:21
fission6 joined02:22
duderonomy joined02:22
HoierM left02:23
dsdeiz joined02:25
dsdeiz left02:25
dsdeiz joined02:25
jameser joined02:25
oskarkv left02:26
cqi joined02:27
Starky left02:30
chipotle joined02:32
madewokherd left02:32
snowkidind left02:33
Gustavo6046 left02:33
webdev007 joined02:33
danimal2 joined02:33
sentriz left02:34
bruce_lee left02:35
bruce_lee joined02:36
bruce_lee left02:36
bruce_lee joined02:36
tinnn joined02:37
Aeterne left02:37
dreiss joined02:39
tinnn left02:43
tinnn joined02:43
tinnn how can I add a local branch master and set it's upstream to a remote branch in one go? I can't use clone02:43
lb1c left02:44
lb1c joined02:44
ojdo left02:45
Saint_Isadore joined02:47
Vortex34 joined02:49
cagedwisdom joined02:51
LeBlaaanc left02:51
Vortex35 left02:52
bronson joined02:52
hexagoxel left02:52
aavrug joined02:53
dreiss left02:53
lagothri1 joined02:54
oskarkv joined02:55
fbwnd joined02:55
dirtyroshi left02:56
ojdo joined02:56
lagothrix left02:57
chachasmooth left02:57
theiostream left02:57
chachasmooth joined02:58
gregor2 joined02:59
agileadam joined02:59
hexagoxel joined02:59
ShapeShifter499 left03:00
Cabanossi left03:01
a_thakur joined03:01
earnestly left03:01
LordRyan git init; git remote add origin <URL>;03:02
Gsham left03:02
LordRyan I dunno how to set upstream offhand. I'm not at a computer03:02
jstimm joined03:03
onehrxn joined03:04
Cabanossi joined03:04
chachasmooth left03:04
sucks_ joined03:06
pbrewczynski_c left03:07
chachasmooth joined03:07
sucks left03:09
kbeflo__ joined03:11
sucks_ left03:12
ShapeShifter499 joined03:12
jimi_ left03:13
webdev007 left03:13
LBV_User left03:14
kbeflo_ left03:14
ZyX-I joined03:16
tinnn thanks LordRyan03:17
tinnn left03:17
fission6 left03:19
fakenerd left03:20
LeBlaaanc joined03:25
Noldorin left03:26
SwiftMatt joined03:27
jimi_ joined03:30
justan0theruser joined03:30
govg joined03:32
justanotheruser left03:33
durham joined03:35
kpease left03:36
pifon joined03:39
AfroThundr joined03:40
AfroThundr left03:40
boombatower left03:44
Cabanossi left03:46
Cabanossi joined03:47
jstimm left03:48
cdown joined03:48
navidr joined03:50
MineCoins left03:52
bilal left03:52
bilal joined03:52
jost_ joined03:53
jost left03:55
alexggordon joined03:55
t-mart joined03:56
cdown left03:58
nexemacs joined03:59
gregor2 left04:02
LeBlaaanc left04:02
nexemacs left04:03
jimi_ left04:06
gregor2 joined04:06
rscata joined04:09
fahadash joined04:10
LeBlaaanc joined04:13
re1_ joined04:13
re1 left04:17
aidalgol left04:18
svm_invictvs left04:18
Saint_Isadore left04:24
fakenerd joined04:26
PaulCapestany joined04:27
NeXTSUN left04:27
cdown joined04:28
alexggordon left04:30
bronson left04:31
Noodlewitt left04:35
kbeflo__ left04:36
matoro left04:38
chipotle left04:38
cdown left04:38
pbrewczynski_c joined04:38
matoro joined04:41
mda1 left04:43
mda1 joined04:44
ayogi joined04:44
chipotle joined04:44
Darren_ joined04:45
diogenese left04:46
pietv left04:46
oskarkv left04:46
aw1 joined04:48
mda1 left04:49
orbyt_ left04:49
novice0310 joined04:51
mda1 joined04:52
agileadam left04:52
Noodlewitt joined04:52
diogenese joined04:52
bronson joined04:52
gitinfo set mode: +v04:54
nexemacs joined04:55
bronson left04:56
Lucky-- joined04:57
Peetz0r left04:58
re1 joined04:58
Lucky-- So I took over a project from another developer. At the time I had the Nov '16 codebase. I committed that to master, and started refactoring that in a branch called "interface refactor." In between then and now, I had to do some edits to the master branch for the stakeholders. I have now foundout that there was a Dec 1604:58
freimatz joined04:58
Lucky-- code base and it has substantial edits that I need to add to my branch among other things. Any tips to handle this situation?04:59
Peetz0r joined04:59
MeltedLux joined04:59
Cabanossi left05:01
svm_invictvs joined05:02
re1_ left05:02
Cabanossi joined05:02
nexemacs left05:03
ShapeShifter499 left05:06
nexemacs joined05:06
safe joined05:07
peepsalot joined05:07
_ikke_ commit it on top of the original code base, then merge it in, deal with conflicts?05:07
overlord_tm joined05:10
gregor2 left05:11
nexemacs left05:13
Paper-Mario joined05:13
tymczenko joined05:14
rwp Lucky--, Like _ikke_ said. That would work. Or my preference would be if my branch was private only that I would rebase my own changes on top of the shared master and deal with the conflicts there.05:14
ShapeShifter499 joined05:19
Paper-Mario left05:20
thepoof left05:23
jargonjunkie left05:25
bruce_lee left05:26
teroshan joined05:26
xsddz joined05:26
jstimm joined05:27
ShapeShifter499 left05:29
marianina8 joined05:30
pifon left05:30
Saint_Isadore joined05:31
treeman joined05:31
mjuhl left05:33
jstvz left05:34
gareppa joined05:36
LeBlaaanc left05:39
tyreld left05:41
ZyX-I left05:42
Silenced joined05:44
jimmyrcom left05:44
jameser left05:45
mmattice left05:45
waveclaw left05:45
Cabanossi left05:46
jameser joined05:46
mmattice joined05:47
jimmyrcom joined05:47
Cabanossi joined05:47
ShapeShifter499 joined05:48
shgysk8zer0 joined05:49
fakenerd_ joined05:50
danimal2 left05:50
fakenerd left05:50
ThomasLocke joined05:51
ThomasLocke left05:51
ThomasLocke joined05:51
jimmyrcom left05:52
bronson joined05:53
waveclaw joined05:53
freimatz left05:54
fakenerd joined05:54
fakenerd_ left05:55
Sasazuka joined05:56
xsddz left05:56
alexggordon joined05:56
teroshan left05:56
dreiss joined05:56
inflames joined05:57
fakenerd left05:57
fakenerd_ joined05:57
qt-x joined05:58
pietv joined05:59
nutron left06:00
alexggordon left06:01
overlord_tm left06:01
xall joined06:02
serdar joined06:02
MineCoins joined06:03
Lucky-- left06:03
ploop left06:04
durham left06:06
peterbec` joined06:09
fakenerd joined06:09
fakenerd_ left06:09
danimal2 joined06:11
nutron joined06:12
Raging_Hog joined06:13
peterbecich left06:14
malt3 left06:14
shgysk8zer0 left06:15
Cabanossi left06:16
Silmarilion joined06:16
fakenerd left06:16
serdar left06:17
fahadash left06:17
Cabanossi joined06:17
aw1 left06:18
fakenerd joined06:19
malt3 joined06:19
zeroed joined06:20
freimatz joined06:20
serdar joined06:20
danimal2 left06:21
JeroenT joined06:23
ertes left06:23
chele joined06:24
fakenerd_ joined06:25
fakenerd left06:25
acetakwas joined06:26
ploop joined06:26
sbulage joined06:27
sbulage left06:27
dreiss left06:27
stoqn4o_pm joined06:27
rokups joined06:30
dermoth joined06:31
aw1 joined06:31
scarabx left06:32
zeroed left06:33
slidercrank joined06:33
menip left06:34
zeroed joined06:36
zerow joined06:36
onehrxn left06:39
queso left06:40
novice0310 left06:40
onehrxn joined06:41
jagob joined06:42
sbulage joined06:42
HardlySeen left06:43
jaziz joined06:44
jaziz hm06:46
so I typed "git config credential.helper store"06:46
and I changed my mind06:46
but the "store" is still there06:46
how do I remove?06:46
nowhere_man left06:48
Darren_ left06:48
osse jaziz: git config --unset credential.helper store06:48
jaziz mmm06:50
osse, thanks06:50
tnecniv left06:51
rominronin joined06:52
CrummyGummy left06:53
pigeon left06:54
Raging_Hog left06:55
Mission-Critical left06:55
Raging_Hog joined06:55
CrummyGummy joined06:55
pigeon joined06:56
fakenerd_ left06:57
alexggordon joined06:57
dersand joined07:00
pbandark joined07:00
jaziz left07:01
pbandark left07:02
sargentmki joined07:02
fakenerd joined07:03
TikityTik left07:04
bilal_ joined07:04
pbandark joined07:05
_ng joined07:05
_ng left07:05
paul424 joined07:06
SwiftMatt left07:06
govg left07:07
MacWinner left07:07
sargentmki left07:08
bilal left07:08
inflames left07:08
dvaske joined07:09
lb joined07:09
lb left07:09
axisys left07:09
fakenerd left07:10
Tobbi joined07:10
rwp left07:10
MineCoins left07:10
alexggordon left07:10
fakenerd joined07:10
thiago left07:11
axisys_ joined07:11
dvaske_ joined07:12
MissionCritical joined07:14
fbwnd left07:15
alexggordon joined07:15
dvaske left07:15
fakenerd_ joined07:16
paul424 left07:16
fakenerd left07:17
nevodka joined07:17
imack joined07:17
petersaints left07:17
nevodka left07:17
PtxDK_ left07:20
PtxDK joined07:20
overlord_tm joined07:21
kurkale6ka joined07:21
robattila256 left07:21
zefferno joined07:22
petersaints joined07:23
cdown joined07:23
rwp joined07:24
fl0w joined07:25
fl0w left07:25
re1_ joined07:29
MineCoins joined07:30
alexggordon left07:31
ertes joined07:31
ertes left07:31
ertes joined07:32
re1 left07:32
cdown left07:33
holodoc left07:35
masuberu joined07:36
Panacea joined07:39
schleppel joined07:42
Peetz0r left07:43
holodoc joined07:45
kadoban left07:46
Peetz0r joined07:47
Saint_Isadore left07:48
yarekt left07:51
masuberu left07:52
tymczenko left07:52
cr1tic joined07:54
chardan Strategy question: I have a pretty large set of commits. I need to grab subsets of them into new branches. Is cherry-pick the right tool for this? And/or is there a way to say "hey, take commits a,b,c and move them into a new branch"? Thank you!07:57
moritz chardan: cherry-pick accepts a range of commits too07:57
TomyLobo3 joined07:57
avih joined07:57
chardan moritz: Cool, I will keep reading about it! Thanks.07:58
moritz chardan: or you can start with a copy of another branch, and do an interactive rebase where you drop all the commits you don't want07:58
chardan moritz: So to do that, I'd do something like "git checkout -b new_br" and then "git rebase -i <oldbr hashtag>"?07:58
moritz chardan: yes07:59
chardan moritz: Ok, those sound like they'll probably work for me! Thanks!07:59
Sasazuka left07:59
brk_ joined07:59
re1_ left08:03
King_Hual joined08:03
a_thakur left08:04
skunkz joined08:04
a_thakur joined08:04
matoro left08:05
elect joined08:05
matoro joined08:05
Goplat left08:06
navidr left08:06
stoqn4o_pm left08:06
stoqn4o_pm joined08:07
permalac left08:08
mikecmpbll joined08:08
chichou joined08:09
a_thakur left08:09
AbleBacon_ joined08:09
JeroenT left08:11
AbleBacon left08:12
AbleBacon_AbleBacon08:12
permalac joined08:13
marcogmonteiro joined08:14
Lunatrius left08:14
YuGiOhJCJ joined08:16
Lunatrius joined08:18
Snugglebash joined08:19
a_thakur joined08:19
dave0x6d left08:21
Introoter joined08:21
clmsy joined08:21
cqi left08:21
tymczenko joined08:22
Noodlewitt left08:23
stoqn4o_pm left08:23
Panacea left08:24
HardlySeen joined08:24
nickel_dime_look left08:25
marianina8 left08:26
marianina8 joined08:27
chichou left08:27
Murii joined08:27
chardan moritz: Next piece of the puzzle... My situation has a commit that the other commits depend on: D a b c. The eventual fate is that each of a,b,c will be in github PRs. Do I duplicate D so I have Da,Db,Dc, or is there A Better Way(TM)?08:28
inovas left08:28
chardan moritz: (Or is the way this usually goes just to say "hey, this depends on this other thing"?)08:28
Tuor joined08:28
Tuor left08:28
Tuor joined08:28
avih left08:29
chichou joined08:29
Lunatrius left08:30
svm_invictvs left08:31
marianina8 left08:31
jast chardan: so that sounds like you may want to create three branches, each based on D, and cherry-pick one of a, b and c to each. there's no one way that is significantly better than any other, though.08:31
nod left08:32
nod joined08:32
mentazoom joined08:32
svm_invictvs joined08:32
svm_invictvs left08:33
svm_invictvs joined08:33
chardan jast: Ok, that's "just the way it will have to be", then. Thank you!08:33
svm_invictvs left08:33
svm_invictvs joined08:34
svm_invictvs left08:34
svm_invictvs joined08:35
svm_invictvs left08:35
monq joined08:35
brk_ left08:35
causasui left08:36
chll_ joined08:36
causasui joined08:37
inovas joined08:38
sarri left08:38
Lunatrius joined08:38
mda1 left08:41
jstimm_ joined08:42
Lunatrius left08:45
jstimm left08:45
Lunatrius joined08:47
sarri joined08:47
sarri left08:47
sarri joined08:47
fakenerd_ left08:51
pietv left08:51
zylum joined08:52
zefferno left08:52
fakenerd joined08:52
zefferno joined08:53
marcogmonteiro left08:55
bilal joined08:55
borkr joined08:56
onehrxn left08:56
cqi joined08:57
fakenerd_ joined08:57
onehrxn joined08:58
fakenerd left08:58
bilal_ left08:59
safe left08:59
marcogmonteiro joined09:00
fakenerd_ left09:01
fakenerd joined09:01
afuentes joined09:01
raijin joined09:02
Cabanossi left09:02
Cabanossi joined09:03
fakenerd_ joined09:04
zxd joined09:05
zxd why isn't 'git status' detecting the file has been renamed? it shows as deleted then as untracked file09:05
steve left09:05
fbwnd joined09:05
fakenerd left09:05
grawity because that's really what a rename *is*09:06
if you add the file under the new name, Git will show it as a rename based on similarity09:06
or if you use `git mv` the next time instead of regular `mv`09:06
SantaClauze joined09:06
zxd grawity: I added the file09:08
still shows as new in green09:08
Acerific joined09:08
grawity did you change it a lot after renaming?09:09
fakenerd_ left09:09
fakenerd joined09:09
zxd no\09:12
graingert is there a nice command to list any duplicate files under a case insensitve FS?09:14
canton7 graingert, the clue is lots of modified files after cloning09:15
fbwnd left09:15
fakenerd_ joined09:15
graingert canton7: I've only got a case sensitive FS09:15
fakenerd left09:15
graingert CI only has a case sensitive FS09:15
Prod only has a case sensitive FS09:15
theoceaniscool joined09:15
graingert all the other devs here are running silly macOs09:16
acetakwas left09:17
canton7 aah, I see. Apparently `find . | sort -f | uniq -di` and `find . | tr '[:upper:]' '[:lower:]' | sort | uniq -cd` will do it09:17
graingert git ls-files09:18
not find09:18
canton7 whatever you want :P You didn't ask anything that was specific to git09:18
graingert ...09:19
Orphis_Orphis09:19
graingert canton7: nice that works09:20
acetakwas joined09:20
fakenerd_ left09:21
fakenerd joined09:22
gareppa left09:23
alexggordon joined09:23
Gloomy joined09:24
tvw joined09:24
theoceaniscool left09:26
bilal left09:27
cr1tic left09:27
cr1tic joined09:27
fbwnd joined09:28
cr1tic left09:28
cr1tic joined09:28
cr1tic left09:29
cr1tic joined09:29
bilal joined09:33
finalbeta left09:33
finalbeta joined09:34
mentazoom left09:35
zefferno left09:36
tymczenko left09:36
skunkz Hi, I'm using git rebase -i for the first time: I have this history http://puu.sh/vqe3y/a70297d1ba.png and I would like to remove the branching so I did `git rebase -i 78a1292` and edited it like this http://puu.sh/vqe5a/71d6c5a056.png. But then I get a lot of conflicts which have already been resolved in my current HEAD, do I need to re-resolve them all ? I'm tempted to git rebase --skip as soon as I get09:39
conflicts but I'm pretty sure that's not the right thing to do09:39
SantaClauze left09:39
brk_ joined09:40
monq left09:41
Cabanossi left09:47
Cabanossi joined09:48
zefferno joined09:49
cads2 left09:51
cads2 joined09:51
SantaClauze joined09:54
Karazhan left09:55
Karazhan joined09:56
dvaske_ left09:57
digidog joined09:57
alexggordon left09:57
Silenced left09:57
govg joined09:57
digidogdiqidoq09:59
navidr joined10:01
Silenced joined10:03
ferr joined10:03
cqi left10:05
theoceaniscool joined10:10
a_thakur left10:12
a_thakur joined10:13
sathed left10:15
sathed_ joined10:15
Cabanossi left10:16
m00n left10:17
a_thakur left10:17
cfoch-always left10:17
Cabanossi joined10:18
earnestly joined10:20
Guest85646 joined10:21
cfoch-always joined10:21
schleppel left10:22
kurkale61 joined10:23
kurkale61 left10:23
hanthings joined10:23
kurkale61 joined10:23
Acerific left10:25
schleppel joined10:25
finalbeta left10:26
finalbeta joined10:26
kurkale61 left10:26
dedicated joined10:28
dedicated left10:28
a_thakur joined10:30
a_thakur left10:30
dedicated joined10:30
agileadam joined10:31
telephone left10:32
Darcidride joined10:32
agileadam left10:32
a_thakur_ joined10:33
telephone joined10:33
telephone left10:33
telephone joined10:33
pbandark1 joined10:34
i7c Firstly, I want to question your goal to remove a merge. I don’t see the sense. :)10:35
pbandark left10:35
pbandark1pbandark10:35
i7c And then, yes, you probaly will have conflicts because you are effectively changing the order in which changes are applied.10:37
askb left10:38
i7c skunkz, the question is, what do you want the outcome to be like? Do you want all changes from both branches but without a merge or do you want to remove the changes coming from one branch?10:38
cbreak skunkz: skip would drop that commit10:38
AfroThundr joined10:39
AfroThundr left10:39
oskarkv joined10:39
kurkale61 joined10:39
kurkale61 left10:40
kurkale61 joined10:41
dsdeiz left10:41
kurkale6ka left10:42
kurkale61 left10:42
kurkale6ka joined10:42
SantaClauze left10:45
theoceaniscool left10:47
skunkz left10:48
nrajasekhar joined10:48
schleppel left10:51
dust_ joined10:51
cads2 left10:51
BlueNeXuS joined10:52
nrajasekhar left10:52
alexggordon joined10:54
xall left10:55
Gloomy left10:56
loskutak joined10:56
theoceaniscool joined10:56
ShapeShifter499 left10:57
kurkale6ka left10:58
dust_ left10:59
star_prone joined10:59
skunkz joined11:00
Cabanossi left11:01
kurkale6ka joined11:01
govg left11:01
alexandre9099 left11:01
alexandre9099 joined11:02
Cabanossi joined11:03
dust_ joined11:03
skunkz i7c: well I gave up but I wanted to "flatten" the history so that there is no merge commit anymore, but I guess my mistake was not using git rebase -p11:03
nevodka joined11:04
skunkz so yeah I wanted changes from both branches but without spending time on resolving conflicts I had already resolved when the merge was done11:04
jameser left11:05
i7c What’s wrong with a little merge commit ;)11:07
cads2 joined11:08
theoceaniscool left11:11
fakenerd left11:12
courrier joined11:12
fakenerd joined11:13
kurkale6ka left11:14
BlueNeXuS left11:15
MarioBranco joined11:15
a_thakur joined11:16
a_thakur_ left11:16
finalbeta1 joined11:17
xall joined11:18
rnsanchez joined11:19
theoceaniscool joined11:19
kurkale6ka joined11:19
finalbeta left11:20
anonymoose left11:20
kurkale6ka left11:21
schleppel joined11:21
kurkale6ka joined11:21
dust_ left11:21
skunkz Well mostly for my personal understanding of git, and also because people from my team often merge a into a when they could pull --rebase so it would be nice for me to know how to clean this mess lol11:21
anonymoose joined11:21
anonymoose left11:22
timlyo[m] left11:22
hiq[m] left11:22
anonymoose joined11:22
Ratler left11:22
vuoto joined11:22
kurkale6ka left11:24
Loomaanaatii_ joined11:24
kurkale6ka joined11:24
MarioBranco left11:24
Matsv left11:24
schleppel left11:25
nowhere_man joined11:26
cagedwisdom left11:26
i7c skunkz, maybe they shouldn’t work all on the same branch and just merge complete feature branches or so11:27
Loomaanaatii_ left11:27
finalbeta1 left11:27
Jonuz left11:27
finalbeta joined11:27
i7c Or yes, rebase, but I think whether you have a merge or rebase workflow mostly depends on how your team works.11:27
Mathiasdm left11:27
wachpwnski-mobi joined11:28
dsdeiz joined11:28
dsdeiz left11:28
dsdeiz joined11:28
wachpwnski-mobi Does anyone know how I can untrack a file on git annex?11:28
alexggordon left11:28
Xarodon left11:28
manuelschneid3r joined11:28
Mathiasdm joined11:29
i7c We also have a rebase-based workflow here due to how our integration works, however, sometimes I have the feeling some people have a rebase workflow out of sheer fear of merge commits ^^11:29
Ratler joined11:29
Loomaanaatii_ joined11:29
wachpwnski-mobi I'm on a bare repository and I keep getting this: git annex unannex SHA256E-s329400--62e8f76db705f88d366c653c130b3e690765de4c3367ecc1f67b88f1b2a887f8.par11:29
git-annex: Cannot proceed with uncommitted changes staged in the index. Recommend you: git commit11:29
schleppel joined11:29
overlord_tm left11:29
gechr joined11:29
cagedwisdom joined11:29
Jonuz joined11:29
timlyo[m] joined11:30
Loomaanaatii left11:30
Loomaanaatii_ left11:30
bremner wachpwnski-mobi: can you make a local clone? working directly on the annexed object you probably need to use plumbing commands11:30
overlord_tm joined11:30
Loomaanaatii joined11:30
hiq[m] joined11:30
Matsv joined11:30
gechr left11:30
bremner wachpwnski-mobi: btw, git-annex has it's own channel on oftc11:30
Xarodon joined11:30
skunkz i7c: I agree, but unfortunately I work with people who don't give a f about git workflow and all work on the same branch, they don't even know how to look at the history, I'm the only one a bit worried about it lol11:31
i7c skunkz, :( I feel your pain. I have worked with such people before.11:32
dsdeiz left11:33
wachpwnski-mobi bremner: I'm not sure I know what you mean?11:33
bremner wachpwnski-mobi: it looks like you tried to add something from ./git/annex/objects11:34
raynold left11:34
skunkz Only 2 more months and I'm free! Do you confirm using git rebase -p -i would have avoided getting the conflicts again, given that the commits are applied in the same order as they were with the merge?11:34
wachpwnski-mobi bremner: I am trying to remove missing files, it spams errors on my repo when I try to git annex get11:36
It seems like this worked `git annex dropkey SHA256E-s329400--62e8f76db705f88d366c653c130b3e690765de4c3367ecc1f67b88f1b2a887f8.par `11:37
bremner yes, that's the kind of plumbing command I meant. So you did understand ;)11:37
wachpwnski-mobi Hah, I have so much to learn.11:38
xintron left11:38
bremner yes, unfortunately git-annex is a whole layer of stuff on top of git11:38
vuoto left11:39
ArchNoob joined11:39
ArchNoob Hi, is base the 80c819a characters you see when you say something like `git log`?11:40
fakenerd left11:40
schleppel left11:40
osse "base" ?11:40
ArchNoob yeah, "BASE"11:41
fakenerd joined11:41
osse where do you see that prase?11:41
the only BASE I know of is when you resolve merge conflicts, and that refers to something else11:42
ArchNoob Sorry, I'm making a pull-request using hub command. I see BASE and HEAD I wonder which one should I use to point to the particular recent commit I just made.11:42
osse so I guess the answer to your question is no11:42
HEAD is the commit you just made11:43
Atm0spher1c left11:43
osse BASE is the branch you want them to merge in to11:43
Gloomy joined11:43
NeverDie_ joined11:45
fakenerd left11:46
jimi_ joined11:46
ArchNoob ooh, Thank you. I understand now.11:47
star_prone left11:47
tvw left11:47
NeverDie left11:47
_ikke_ Those characters you refer to are the commit hash11:48
NeverDie_ left11:49
rscata left11:50
watersoul left11:51
steve joined11:52
dvaske joined11:52
NeverDie joined11:52
star_prone joined11:54
borkr left11:54
gnixev joined11:59
watersoul joined12:00
MarioBranco joined12:00
cr1tic left12:01
dvaske_ joined12:01
watersoul left12:01
darkbit joined12:02
MarioBranco left12:02
lordjancso joined12:03
darkbit left12:03
MarioBranco joined12:03
darkbit joined12:03
loskutak left12:03
notebox joined12:04
dvaske left12:05
watersoul joined12:05
rivarun left12:05
gregor2 joined12:05
watersoul left12:05
rivarun joined12:05
fakenerd joined12:07
darkbit left12:08
theoceaniscool left12:08
yarekt joined12:09
watersoul joined12:10
yarekt left12:10
watersoul left12:10
ygg joined12:12
jonascj_ Any one familiar with github and pull requests? I've forked a repo, made a feature branch fb on my working copy of the original repo, pushed that branch to my own repo (the github fork), and created a pull request (for the original author to implement my changes).12:12
zeroed left12:12
jonascj_ Now however, I want to continue to work on other improvements, and I don't know if I should create a new branch for working on other changes. And if I should create a new branch, what about the improvements from my first feature branch? How do I take those with me to feature branch 2?12:13
i7c Just branch off the other feature branch?12:14
off of*12:14
mentazoom joined12:14
watersoul joined12:15
watersoul left12:15
i7c Also this is potentially problematic if the upstream repo refuses your pull request or makes major changes, you will have to deal with the quirks of the rebase, but that being said, you can do that.12:15
jimi_sanchez joined12:15
Cabanossi left12:15
MarioBranco left12:16
jonascj_ i7c: if upstream refuses my requests I'll just maintain my own fork :P12:16
marcogmonteiro left12:16
i7c haha12:16
jonascj_ i7c: do I have other alternatives, merge my feature branch into master and branch again?12:17
jimi_ left12:17
star_prone left12:17
Cabanossi joined12:17
jonascj_ but right, the easiest for me to understand would be if upstream just merge my changes, and then I can do the same thing over again12:17
i7c It effectively makes no difference if you merge in your repo or not. Would be a fast-forward merge anyways.12:18
owlbynight joined12:18
i7c jonascj_, I would just work on top of the first branch, and if upstream merges your branch or changes it and merges or does any other change that affects your work, I would just rebase.12:19
jonascj_ i7c: fast forward since nothing has happened on master while I've been working on the feature branch?12:19
i7c exactly12:20
watersoul joined12:20
xall left12:20
i7c jonascj_, also it’s interesting if upstream proceeds work on master and there are conflicts, if they want you to resolve them (i.e. rebase) or if they resolve them when merging.12:21
watersoul left12:22
i7c But that’s a separate issue :D12:22
ash_workz left12:23
alexggordon joined12:25
watersoul joined12:25
jeffreylevesque left12:26
fbwnd left12:27
nowhere_man left12:29
courrier_ joined12:29
jonascj_ i7c: alright, thanks12:29
ash_workz joined12:29
nowhere_man joined12:29
jimi_sanchez left12:30
fahadash joined12:30
notebox left12:30
zeroed joined12:31
zeroed left12:31
zeroed joined12:31
star_prone joined12:31
brk_ left12:32
d10n-work joined12:32
i7c You’re welcome :)12:33
cagedwisdom left12:34
jimi_ joined12:34
Gloomy left12:34
darkbit joined12:35
darkbit left12:36
seni joined12:36
star_prone left12:36
darkbit joined12:36
darkbit left12:37
darkbit joined12:38
dglambert joined12:39
dglambert yo12:39
acetakwas left12:39
dsdeiz joined12:39
jimi_sanchez joined12:40
Gloomy joined12:41
jimi_ left12:41
brk_ joined12:43
livingstn joined12:43
loskutak joined12:44
ArchNoob left12:44
star_prone joined12:45
jeffreylevesque joined12:46
courrier left12:46
slidercrank hello. I want to write a gerrit server hook. it´s invoked as ref-updated --oldrev <old rev> --newrev <new rev> --refname <ref name> --project <project name> --submitter <submitter> . how go I get a list of files knowing newrev <sha1>? In pre-commit I could invoke ¨git diff --cached --name-only¨ for that12:47
osse slidercrank: git diff --name-only old-rev new-rev12:47
slidercrank thank you, osse12:48
ThomasLocke left12:48
ygg left12:49
Nilesh_ left12:50
Murii left12:52
mujow joined12:52
ash_workz left12:53
gregor2 left12:54
ash_workz joined12:55
peacememories joined12:55
nanga left12:56
nanga joined12:57
nanga left12:57
nanga joined12:57
nevodka left12:58
alexggordon left12:59
schleppel joined12:59
fakenerd left13:00
qt-x left13:01
fakenerd joined13:01
ExoUNX joined13:02
vkareh joined13:03
tarkus left13:04
acetakwas joined13:04
livingstn left13:05
marcogmonteiro joined13:05
TheSimonator joined13:05
manuelschneid3r left13:07
mentazoom left13:08
Introoter left13:08
brk_ left13:09
zxd hi13:10
what do they mean by 'If you commit at this point then you will lock the submodule into having the new code when other people update.' in https://git-scm.com/book/en/v2/Git-Tools-Submodules13:10
jameser joined13:12
monq joined13:12
ratchet joined13:12
ratchetGuest3711913:13
dvaske_ left13:14
synthroid joined13:15
sunri5e left13:15
gitinfo set mode: +v13:16
sunri5e joined13:16
Guest37119 The resently added worktree feature help me with my workflow wanted to say thanks for that to whomever is responsible.13:17
Gloomy left13:18
ruxu joined13:19
schleppel left13:19
jameser left13:19
vrach joined13:19
Raging_Hog left13:19
Gloomy joined13:20
Gloomy left13:20
eric____ joined13:21
gitinfo set mode: +v13:22
eric____ hi there.. simple question here... Git keeps asking for my username and password when I push to a branch.. how can I make it so that it will only ask upon reboot of my computer?13:22
tobiasvl eric____: are you pushing over ssh or https?13:23
cdg joined13:23
Guest37119 left13:23
jimmyrcom joined13:24
fakenerd left13:24
fission6 joined13:24
fakenerd joined13:25
jason237 left13:25
eric____ tobiasvl : im not sure, i'll try to find out and get back to you.13:25
cads2 left13:26
tobiasvl OK, should be fairly easy to find out13:26
eric____ my push URL is a https beanstalkapp.com link13:26
tobiasvl eric____: then !credential-cache13:26
gitinfo eric____: Tired of entering your username and password every time you access an HTTP(S) remote and have good reasons not to use SSH? A summary of shortcuts and supported caching methods can be found here: http://stackoverflow.com/a/534314613:26
al-damiri joined13:26
chipotle left13:27
marianina8 joined13:27
eric____ tobiasvl : where would i put this in13:28
tobiasvl : sorry for my noobness loll13:28
NeXTSUN joined13:28
tobiasvl eric____: the answer should explain everything, the text with gray background are commands you can run in your shell13:29
eric____ ok13:29
tobiasvl man gitcredentials13:30
gitinfo the gitcredentials manpage is available at https://gitirc.eu/gitcredentials.html13:30
cqi joined13:30
eric____ https://you:password@github.com/you/example.git13:32
this worked perfectly :)13:32
dave0x6d joined13:32
marianina8 left13:32
theoceaniscool joined13:33
ig0r_ joined13:33
tobiasvl yes, that eliminates the prompt13:33
but saves the password in cleartext in bash history and displays it in the terminal13:34
NeXTSUN left13:35
dsdeiz left13:36
NeXTSUN joined13:36
eric____ ok... not best then13:36
NeXTSUN left13:37
jameser joined13:38
eric____ left13:38
ertes left13:43
Es0teric joined13:43
acetakwas left13:44
Gsham joined13:45
thebinary joined13:45
mentazoom joined13:46
thebinary left13:48
masuberu joined13:49
Dougie187 joined13:49
lewix joined13:50
aavrug left13:50
DelphiWorld joined13:51
DelphiWorld hi giters13:51
i have a git data folder backed up from gitlab13:51
how can i extract my git repos from it?13:51
ArchNoob joined13:53
justin3 joined13:53
osse DelphiWorld: you mean a .git dir ?13:54
DelphiWorld yes, repos.git13:54
osse you can clone it13:54
livingstn joined13:54
DelphiWorld from local?13:54
publio joined13:54
osse yes13:54
cbreak git clone can clone from any repository13:54
DelphiWorld haha13:55
awesome13:55
cbreak if it's local, it might only use hardlinks13:55
if you want distinct files, you can use file:// urls13:55
alexggordon joined13:55
cbreak or specify --no-hardlinks13:55
fission6 left13:55
Sgpf joined13:55
cbreak other than that it's pretty much a normal clone13:55
DelphiWorld HAHAHA.... awesooooooome13:56
thanks guys13:56
oleo joined13:56
mujow left13:56
oaaao joined13:57
Sgpf left13:57
acetakwas joined13:58
DelphiWorld left13:58
Es0teric left13:58
theoceaniscool left13:59
eroux joined14:01
notebox joined14:01
Es0teric joined14:02
xall joined14:03
ayogi left14:03
theoceaniscool joined14:03
mostlybadfly left14:05
schleppel joined14:07
zxd fatal: reference is not a tree: 7a008cfbecc70c71a586ca6f7b34b01ce7e9fadd14:07
Unable to checkout '7a008cfbecc70c71a586ca6f7b34b01ce7e9fadd' in submodule path 'foo/irssi-smartfilter'14:07
telephone left14:08
maryo joined14:09
telephone joined14:10
telephone left14:10
telephone joined14:10
moei joined14:12
Emperor_Earth left14:12
guardian hello, how can I update the index to add/synchronize a submodule to a specific SHA1 without cding into the submodule path and checking out the SHA1 in question14:13
star_prone left14:14
Cabanossi left14:15
Emperor_Earth joined14:16
AaronMT joined14:17
Cabanossi joined14:17
aw1 left14:19
Vampire0 guardian, do you just want to save the cd, or also the checkout?14:19
lewix I have an untracked file (not folder) that being a pain in the butt, git clean -f won't remove it14:20
Vampire0 guardian, `git -C submodule-path checkout <commit-ish>` would checkout in the submodule without the need of cding into it14:20
lewix, is it an ignored file?14:21
lewix nope14:21
Vampire0 lewix, hm, what happens if you do `git clean -f` and / or what is the output of `git clean -n`?14:21
lewix it's a test file14:22
Vampire0 lewix, and do you execute this from the directory (or a parent directory) where the file resides, or from a sibling directory?14:22
lewix nothing14:22
from a long lost cousin directory14:23
Vampire0 lewix, what means lost? where exactly is the file and where exactly do you call the clean?14:23
tymczenko joined14:24
lewix i see it's working. Now, it means that the directory i was executing it from was a sibling of a sibling of a sibling14:24
DarkPsydeLord joined14:24
lewix i went to the right directory and it worked14:24
cqi left14:24
TheSimonator left14:24
kpease joined14:25
TheSimonator joined14:25
xall left14:25
lewix Vampire0: thank you14:26
Vampire0 lewix, clean only works on the current directory and its descendents. If you want to catch all untracked files, you need to execute it in the root directory or give the root directory as argument to the clean like `git clean -n $(git rev-parse --show-cdup)`14:26
menip joined14:27
basiclaser joined14:28
guardian I don't want to commit in the submodule14:28
lewix Vampire0: thanks14:29
Nilesh_ joined14:29
guardian I want to update the synchronization SHA1 between parent and submodule14:29
Es0teric left14:29
alexggordon left14:29
xall joined14:30
Es0teric joined14:30
star_prone joined14:30
aw1 joined14:32
menip left14:33
Vampire0 guardian, just that you checkout does not mean you commit. You just checkout the commit you want to reference in the submodule, then update the reference in the parent and commit in the parent. There will not be any commit in the submodule and you need to checkout in the submodule anyway to have the correct state for the submodule14:37
fission6 joined14:37
tymczenko left14:37
guardian rephrasing: I would like to know whether it's possible to use git update-index since I know the SHA1, instead of doing the dance: cd path/to/submodule ; git checkout SHA1; cd -; git add path/to/submodule; git commit -m 'updated submodule'14:39
holdsworth left14:39
bilal_ joined14:39
a3Dman left14:40
overlord_tm left14:40
a3Dman joined14:41
a3Dman left14:41
a3Dman joined14:41
bilal left14:42
Es0teric left14:43
NeXTSUN joined14:44
a_thakur left14:44
Vampire0 guardian, to have what as result? You only want to do update-index and the intended result is?14:44
oaaao left14:45
Tobbi left14:45
Es0teric joined14:47
madewokherd joined14:47
Dougie187 left14:49
Vampire0 guardian, I think you should be able to use update-index with --cacheinfo, but I'm not sure that results in what you intend. You will save the checkout, but then the submodules worktree is not in the state you reference, so it will be shown as changed, as it is not in the state expected14:49
Dougie187 joined14:49
Es0teric left14:49
ki0 joined14:50
chele left14:50
Es0teric joined14:51
boombatower joined14:51
mozzarella left14:52
ResidentBiscuit joined14:52
ResidentBiscuit left14:52
mozzarella joined14:52
ResidentBiscuit joined14:53
Es0teric left14:53
p4trix joined14:53
netj left14:54
netj joined14:54
onehrxn_ joined14:54
ZyX-I joined14:56
CheckDavid joined14:56
eroux left14:56
onehrxn left14:56
Silenced left14:57
ozcanesen joined14:57
revoltingPeasant joined14:57
Macaveli joined14:57
revoltingPeasant I'm tracking an svn repo locally using git. here is a copy of it's .git/config https://ptpb.pw/cJDn14:59
I want to push this to a new git repo14:59
oaaao joined15:00
Es0teric joined15:00
oaaao left15:00
revoltingPeasant I also want my changes to be written to this git repo when I push any further commits15:00
oaaao joined15:00
thebope joined15:00
clmsy left15:01
ruxu left15:01
revoltingPeasant I'm not sure how to do this and google isn't giving me anything relevant. does anyone know where I can read about this?15:01
maryo left15:01
Es0teric left15:01
theoceaniscool left15:01
Macaveli left15:01
Silmarilion left15:02
xall left15:03
Es0teric joined15:03
ferr left15:03
grawity revoltingPeasant: literally regular `git remote add ...` and `git push`15:04
MissionCritical left15:04
cdg left15:04
star_prone left15:04
lordjancso left15:05
Es0teric left15:05
jstimm_ left15:07
telephone left15:08
Silenced joined15:08
quizzi left15:08
fission6_ joined15:09
fission6 left15:09
fission6_fission615:09
telephone joined15:09
telephone left15:09
telephone joined15:09
Tobbi joined15:11
weakdan left15:11
ayogi joined15:12
Silenced left15:12
cousteau joined15:13
cousteau sup15:13
Does git create one whole copy of all the project for each branch?15:13
kristofferR joined15:13
Vampire0 cousteau, no15:13
tsdev joined15:13
Murii joined15:13
Vampire0 cousteau, a branch in Git costs exactly 41 bytes15:13
cousteau ah15:13
I was thinking that creating the whole copy would simplify the process of checking out another branch, and...15:14
ok so a branch is just a tag you put on a commit15:14
MissionCritical joined15:14
Vampire0 cousteau, a branch in Git is just like a post-it note sticked to a commit, the same for tags. The only difference is, that the branch post-it is automatically peeled off and sticked onto the new commit if you create a new commit while the branch is checked out (the branch, not the commit, the branch is pointing to)15:14
cousteau, if you switch branches, simply the files that are different between the branches are updated to the new branches state15:15
maryo joined15:15
Vampire0 cousteau, you can also checkout multiple branches in different directories with man git worktree15:15
gitinfo cousteau: the git-worktree manpage is available at https://gitirc.eu/git-worktree.html15:15
cousteau I see15:15
overlord_tm joined15:15
theiostream joined15:16
LeBlaaanc joined15:16
cousteau ok in that case I think I'll ...yeah I'll use a tag, let me look up what's that15:17
Cabanossi left15:17
Vampire0 cousteau, it is the exact same thing as a branch technically, with the exception that it never moves automatically15:17
cousteau I just got my project reviewed so I want to tag this for future reference15:17
MineCoins left15:17
Cabanossi joined15:17
Vampire0 cousteau, yes, then you are probably after a tag15:17
ArchNoob left15:18
Silenced joined15:18
synthroid left15:18
borkr joined15:18
peacememories left15:19
quizzi joined15:19
thiago joined15:20
shinnya joined15:20
robattila256 joined15:21
netj left15:22
Es0teric joined15:22
netj joined15:22
dedicated left15:24
acetakwas left15:24
Es0teric left15:24
eroux joined15:24
dedicated joined15:25
alexggordon joined15:26
Achylles joined15:26
tyreld joined15:27
tymczenko joined15:27
Es0teric joined15:27
mentazoom left15:30
a3Dman left15:31
Es0teric left15:31
theoceaniscool joined15:31
ArchNoob joined15:31
theiostream left15:31
Hello71 left15:31
theiostream joined15:32
samlamamma joined15:32
vkareh left15:33
moony22 joined15:34
theiostream left15:34
TheSimonator left15:35
vkareh joined15:35
LeBlaaanc left15:35
theiostream joined15:35
jagob left15:36
a3Dman joined15:37
blackpajamas left15:39
moony22 Hi, I know this is probably a trivial question but I'm bad at git and don't want to completely mess everything up. I had a remote master which had many commits, and I made changes to a local master which was many commits behind. Then I tried to git pull and it merged instead of rebased, making this in my github network graph (I pushed like an idiot): http://i.imgur.com/UPX1S4F.png - is there a way to revert15:40
this15:40
gregor2 joined15:40
xall_ joined15:40
Es0teric joined15:41
moony22 or is it too late and I can't change it15:41
_ikke_ moony22: Do you expect anyone to have pulled from master since you pushed?15:41
metachr0n left15:41
moony22 only myself15:41
from another pc15:42
Gustavo6046 joined15:42
moony22 other than that theres no changes or anything, the latest commit is the merge commit15:42
matsaman joined15:42
Hello71 joined15:42
davimore left15:42
metachr0n joined15:43
vkareh left15:44
Macaveli joined15:44
Es0teric left15:44
tymczenko left15:44
_ikke_ then you can still undo it15:44
Tuor left15:44
tohuw left15:45
vkareh joined15:45
moony22 oh great how can I do it? I don't need the changes I made on the first PC before pulling since I can just copy that file15:45
osse moony22: use the --force15:45
tohuw joined15:45
tohuwGuest2951715:46
wachpwnski-mobi left15:46
moony22 sorry, I know these tips might be good for someone that properly knows git commands but honestly i've got no idea how to start and where to start from15:47
Es0teric joined15:48
lewix left15:48
rominronin left15:48
moony22 i guess I should use git reset15:48
kadoban joined15:48
rominronin joined15:48
Macaveli left15:48
acetakwas joined15:49
Derperperd left15:49
rorro joined15:49
moony22 or git revert idk15:50
Derperperd joined15:50
Es0teric left15:51
rominronin left15:53
moony22 crap I reverted the merge but it didnt fix it15:55
TbobbyZ joined15:55
basiclaserbasicloser15:55
Es0teric joined15:55
chardan left15:55
Guest29517 left15:56
Guest29517 joined15:56
moony22 I guess it's not possible15:56
courrier_ left15:56
Es0teric left15:56
Guest29517Tohuw15:56
nexemacs joined15:57
moony22 is there any way to rewrite history instead?15:57
GT4066 joined15:57
LeBlaaanc joined15:57
synthroid joined15:59
schleppel left16:00
alexggordon left16:00
jagob joined16:01
_ikke_ yes16:01
hobodave joined16:01
_ikke_ With git reset for example you can undo the revert and the merge16:01
ig0r_ left16:01
_ikke_ !fixup16:01
gitinfo So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history!16:01
peacememories joined16:02
moony22 !rewrite16:02
gitinfo Rewriting public history is not recommended. Everyone who has pulled the old history will have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push --force-with-lease <remote> <branch>` to force (and the remote may reject that, anyway). See http://goo.gl/waqum16:02
ki0_ joined16:02
brent__ joined16:02
lewix joined16:03
gregor2 left16:03
moony22 can I use git push -f origin #commit:master16:03
Es0teric joined16:03
_ikke_ Yes, but you also want to fix it locally16:04
nixjdm joined16:04
moony22 ok so I can use git reset --hard and the commit id of the right one as well im guessing16:04
TheSimonator joined16:04
ki0 left16:05
Es0teric left16:05
saul left16:07
jstimm joined16:07
moony22 it worked great, thanks a lot!16:08
Es0teric joined16:10
zeroed left16:10
sbulage left16:11
star_prone joined16:11
Es0teric left16:11
ProLoser left16:12
MineCoins joined16:13
zeroed joined16:14
zeroed left16:14
zeroed joined16:14
HoierM joined16:15
chll_ left16:16
Cabanossi left16:16
tcsc i'd like to close all the branches i have in my local repo that start with a prefix ("bug/") and have been merged into another branch, which is called inbound because reasons.16:16
historically i've done this manually. e.g. checkout each branch, rebase against inbound, then see if branch -d works. this is tedious and i've slacked on it and have about 30 branches that i'd have to do this to, and would rather not do it manually, or at least would be interested in any slightly better way of the manual approach i just described16:17
dvaske joined16:17
Cabanossi joined16:18
jordila joined16:19
Es0teric joined16:20
_ikke_ tsdev: git branch --merged tells you what branches are reachable from a specific branch16:20
jordila hi... newbie here, i just want 'develop' becomes 'master' branch ( no merge here ) , which is the easiest way to accomplish it ?16:20
tcsc _ikke_: hm, and i guess i could -D those with confidence16:21
durham joined16:21
jordila ... is wondering... ^^ would a pure branches renaming do the job ?16:21
Murii left16:21
orbyt_ joined16:22
Es0teric left16:22
_ikke_ jordila: sure, that's a good way to do it16:22
theoceaniscool left16:22
theoceaniscool joined16:23
star_prone left16:23
revoltingPeasant grawity: Thanks16:23
star_prone joined16:23
Es0teric joined16:24
jordila _ikke_ i've read here that git doesn't easily allow the deletion of (afterwards needed) 'master' branch :16:24
Es0teric left16:25
jordila https://stackoverflow.com/questions/1526794/rename-master-branch-for-both-local-and-remote-git-repositories ... see 'Note:'16:25
portal_ joined16:25
ambro718 joined16:25
portal_ left16:25
dendazen joined16:26
lewix left16:27
nexemacs left16:27
tcsc _ikke_: ah, so it appears that something (possibly the fact that they're not yet merged in my local tree, due to the patch submission/code review process we use, or possibly the fact that this is really a mercurial tree i'm interacting with via git-cinnabar) is making it so that git branch --merged doesn't contain any of the branches i'm interested in16:27
TikityTik joined16:27
Es0teric joined16:27
star_prone left16:28
zeroed left16:28
maryo left16:28
tcsc i know that the approach i outlined above does work, e.g. git co branch-in-question; git rebase inbound; git co inbound; git branch -d branch-in-question16:28
matsaman left16:28
tcsc if that ... helps16:28
i guess i can just write a shell script or something to do that16:28
oskarkv left16:28
jstimm left16:28
InfoTest joined16:28
Es0teric left16:29
livingstn left16:29
tcsc or i could just delete the ones i haven't touched in several months outright and hope it works out...16:29
kurkale6ka left16:30
InfoTest left16:31
__main__ left16:32
xall_ left16:32
Es0teric joined16:32
p4trix left16:32
__main__ joined16:33
skunkz left16:33
mikecmpbll left16:33
Es0teric left16:33
Tobbi left16:34
sds__ left16:34
TheSimonator left16:34
masuberu left16:35
dvaske left16:35
nexemacs joined16:36
zefferno left16:37
livingstn joined16:37
Introoter joined16:37
nexemacs left16:38
nexemacs joined16:38
TheSimonator joined16:39
Darren_ joined16:39
tcsc yep, hope i don't regret doing that16:39
ki0_ left16:40
kfoonamalik joined16:40
ankit01ojha joined16:40
shgysk8zer0 joined16:41
kfoonamalik left16:41
ki0 joined16:41
ki0 left16:42
GT4066 left16:42
dreiss joined16:42
Es0teric joined16:43
jimi_sanchez left16:44
peacememories left16:44
Es0teric left16:44
kfoonamalik joined16:45
peacememories joined16:45
dfas joined16:46
freimatz left16:46
chichou left16:46
diogenese left16:46
maryo joined16:47
rominronin joined16:49
elect left16:49
theiostream left16:50
jstimm joined16:50
Nilesh_ left16:50
theiostream joined16:50
diogenese joined16:52
truckcrash joined16:52
kelthan left16:52
truckcrash anyone know where I could go to get help for gitbash for windows?16:52
mikecmpbll joined16:53
imack left16:53
basicloserbasiclaser16:54
Murii joined16:54
jameser left16:54
alexggordon joined16:56
overlord_tm left16:57
freimatz joined16:57
truckcrash huh. sure is quiet in here for a channel with so many users :)16:57
If anyone knows what is going on with this, or knows where I could get help, I'd like to know16:58
svm_invictvs joined16:58
truckcrash http://i.imgur.com/6Vb4g8M.png16:58
telnet is installed, and works under the windows command line16:58
tarkus joined17:00
Darcidride left17:00
nexemacs left17:01
synthroi_ joined17:02
s1scha joined17:03
tnecniv joined17:03
makinen left17:03
acetakwas left17:03
davimore joined17:04
synthroid left17:05
peacememories left17:05
Snugglebash left17:05
MineCoins left17:05
DarkPsydeLord left17:05
cousteau left17:06
gopar joined17:06
peacememories joined17:06
nexemacs joined17:08
DarkPsydeLord joined17:09
monq left17:09
theoceaniscool left17:09
seni left17:12
TheSimonator left17:12
rorro left17:12
TheSimonator joined17:12
saml joined17:13
saml i want to introduce revert commit(s). and also want to create a branch out of sha1...sha217:13
jstimm left17:13
saml so that I keep working on the new branch and be able to merge back to master17:13
vamiry left17:14
marcogmonteiro left17:15
marianina8 joined17:15
marianina8 left17:15
marianina8 joined17:16
vamiry joined17:17
MineCoins joined17:17
shinnya left17:18
Discovery joined17:19
cousteau joined17:19
oskarkv joined17:19
saml A-B-C want to do A-B-C-revertC-revertB but also put B-C to a branch in a way that the branch can be merged back, bringing back B-C17:19
cjohnson have you already pushed the current branch?17:22
pushed B and C that is17:23
borkr left17:23
duderonomy left17:23
rominronin left17:23
cr1tic joined17:23
cjohnson if you haven't, you can just make a new branch from the current branch at C, and the new branch will be A B C17:24
then rewind the current branch to A and push that17:24
Ryanar joined17:24
cliluw left17:25
cr1tic left17:25
cr1tic joined17:26
ki0 joined17:27
saml cjohnson, yeah things are already pushed. so i want to create a revert commit17:28
looks like more things are pushed... so I want to revert a merge commit. then create a branch in a way that I can work on it further and merge it back17:28
pks left17:29
alexggordon left17:30
cjohnson maybe you could make a separate branch where you just revert the revert commits17:31
ki0 left17:31
Cabanossi left17:31
star_prone joined17:31
cjohnson since all the branches will always contain B and C as well as their reverts, any merge won't bring B and C back over when you're ready later to integrate17:32
ig0r_ joined17:32
cjohnson you'll need to make B and C into entirely new commits17:32
tsdev left17:32
Cabanossi joined17:33
Ryanar left17:33
pks joined17:33
saml how do I turn B-C into new commits?17:33
generate patch somehow and create a commit out of patch?17:34
jtri joined17:34
AaronMT left17:34
livingstn left17:35
cjohnson revert revert17:35
if you revert revertC you should end up with a commit identical to C17:35
in theory17:35
AaronMT joined17:35
saml thanks17:35
Vinnie_win joined17:35
star_prone left17:35
phase2 left17:36
jtri hmm, got myself in a tangle, i did git stash, switched branches to master, did some merging, building, etc, then accidentally edited in master, so i just switched back to my branch and tried a git stash pop, my tree also looks a bit harry: http://dpaste.com/1XCS4X517:36
wondering how to get back to working in my branch with the changes showing when i type git diff17:37
GGMethos left17:37
loskutak left17:37
fahadash left17:37
phase2 joined17:39
Acerific joined17:39
Acerific left17:39
Acerific joined17:39
jtri that commit has e47f9aa8 is not my stashed changes17:40
imack joined17:42
notebox left17:43
dviola joined17:43
GGMethos joined17:45
Ryanar joined17:46
Tobbi joined17:46
chovy_ left17:46
ozcanesen left17:48
gugah joined17:48
livingstn joined17:49
re1 joined17:49
jordila left17:49
a3Dman left17:52
pbandark left17:52
doener joined17:52
peterbecich joined17:52
pbandark joined17:53
zxd left17:53
Silenced left17:55
lewix joined17:55
skered left17:57
peterbec` left17:57
ki0 joined17:57
dfas left17:58
ezio joined17:58
ezio is there a key manager for git bash ssh?17:58
dfas joined17:58
preaction is ssh-agent installed?17:58
ezio ah thanks17:59
a3Dman joined17:59
ezio uhh17:59
yes17:59
thanks17:59
livingstn left17:59
safe joined17:59
skered joined18:00
kadoban jtri: Not really clear what trouble you're having. You figure it out yet?18:00
gregor2 joined18:00
jtri kadoban: yeah, i'm not sure how i got into it, but i had an unapplied stash item which i was able to recover18:01
Silenced joined18:02
livingstn joined18:03
scoobert1on joined18:04
chovy_ joined18:04
cliluw joined18:04
avar When I run e.g. `git -c <config> grep --recurse-submodules` the <config> is passed to the child processes spawned, but I don't see how that's happening.18:04
vkareh left18:05
avar via ps auxf the invoked child processes don't get their own -c <config>, wondering how this is passed along..18:05
teroshan joined18:05
afuentes left18:06
paul424 joined18:06
safe left18:06
Fallen0223 joined18:06
TheSimonator left18:07
Silenced left18:07
ProLoser joined18:07
scoobertron left18:08
leeN joined18:08
ProLoser I don't want to have to do `git push origin newbranch -u` every single time i checkout a new branch18:08
How can i get this to work byd efault?18:08
that it pushes to a branch of the same name unless explicitly configured to do otherwise18:08
or like when i create a new branch, it's automatically setup to track a respective branch on the remote of the same name (again, unless explicitly configured otherwise)18:09
Achylles left18:09
avar look up push-default in git-config(1)18:09
jfr_ joined18:10
vuoto joined18:10
vuoto left18:10
manoflags joined18:10
ayogi left18:11
cr1tic left18:11
jfr left18:11
fission6 left18:11
TheSimonator joined18:11
Sasazuka joined18:11
cr1tic joined18:11
manoflags left18:14
__main__ left18:14
jstimm joined18:14
manoflags joined18:14
gregor2 left18:14
eroux left18:15
rosiu joined18:15
__main__ joined18:15
lekare joined18:15
nd_ joined18:15
TheSimonator left18:16
dmj` joined18:17
bilal joined18:17
ok91 joined18:18
dfas left18:18
bronson left18:18
bronson joined18:18
schleppel joined18:18
ArchNoob left18:19
bilal_ left18:19
avar Oh man, that config thing is because git itself passes along GIT_CONFIG_PARAMETERS18:19
nd left18:19
Bock left18:20
rominronin joined18:21
manoflags left18:21
hobodave left18:23
ki0 left18:23
ki0 joined18:24
Silenced joined18:25
Ryanar left18:25
Dan0maN_web joined18:25
alexggordon joined18:26
TheSimonator joined18:28
ki0 left18:28
gitinfo set mode: +v18:28
Dan0maN_web hi all. i'm trying to make a patch for an RPM. RPMs tend to use the publicly released code from git repos at the time of release. what i'm trying to get a patch of is a fix from where someone forked down the road from that release commit, fixed something, then PR'd it in18:28
is there a way to do this easily?18:29
hobodave joined18:29
Es0teric joined18:32
SilverBe joined18:33
govg joined18:33
imack left18:33
oaaao left18:34
a3Dman left18:35
TbobbyZ_ joined18:36
maryo left18:38
nexemacs left18:38
vkareh joined18:39
cbreak Dan0maN_web: a pull request is already a commit18:39
a3Dman joined18:39
cbreak you can easily get patches from existing git commits with git format-patch18:39
TbobbyZ left18:40
TbobbyZ_ left18:41
Mutter joined18:41
nexemacs joined18:42
gnixev left18:42
cousteau left18:44
Kaisyu left18:44
manuelschneid3r joined18:45
hobodave left18:46
dvaske joined18:46
hobodave joined18:47
TbobbyZ joined18:47
Mutter left18:48
nexemacs left18:49
vkareh left18:49
maryo joined18:50
ankit01ojha left18:50
Macaveli joined18:51
tarkus left18:51
NeXTSUN left18:51
theiostream left18:53
paul424 left18:54
theiostream joined18:55
rominronin left18:55
kpease left18:56
brent__ left18:57
justin3 left18:58
justin3 joined18:58
brent__ joined18:58
zivester joined18:59
Ryanar joined18:59
shgysk8zer0 left18:59
theiostream left18:59
a3Dman left18:59
kpease joined18:59
tribly left19:00
alexggordon left19:00
Cabanossi left19:00
dvaske_ joined19:01
Cabanossi joined19:02
chovy_ left19:03
Dan0maN_web left19:04
a3Dman joined19:04
notebox joined19:04
chovy_ joined19:05
dvaske left19:05
jstimm left19:05
pbandark1 joined19:06
jimi_ joined19:07
hahuang65 left19:07
pbandark left19:08
pbandark1pbandark19:08
synthroid joined19:10
ozcanesen joined19:12
SilverBe left19:12
synthroi_ left19:12
doener left19:13
Peetz0r left19:13
suck joined19:14
pbandark left19:15
Oatmeal joined19:15
blow_ joined19:15
blow_ left19:15
blow_ joined19:16
peacememories left19:17
peacememories joined19:18
suck left19:21
__main__ left19:21
hsiktas joined19:21
ali1234 left19:21
__main__ joined19:22
p4trix joined19:23
p4trix left19:23
fission6 joined19:24
p4trix joined19:24
blow_ left19:25
cebor left19:26
cebor joined19:26
Achylles joined19:26
jstimm joined19:26
a3Dman left19:27
Matt``` joined19:29
a3Dman joined19:31
Cabanossi left19:32
star_prone joined19:32
Matt``` if I make a change in branch A, in branch B if I try to update from master it complains about conflicts so I have to manually duplicate what I did in branch A19:32
Cabanossi joined19:32
Matt``` even though nothing changed in branch B19:32
star_prone left19:33
NeverDie_ joined19:33
Peetz0r joined19:34
NeverDie left19:35
ali1234 joined19:36
ArchNoob joined19:38
peacememories left19:40
druonysus_ joined19:40
davimore left19:41
Cavallari joined19:41
zerow left19:42
davimore joined19:43
lewix left19:43
fission6 left19:45
DigitallyBorn|zzDigitallyBorn19:46
DigitallyBornDigitallyBorn|zz19:46
DigitallyBorn|zzDigitallyBorn19:46
DigitallyBorn left19:47
lekare left19:47
nexemacs joined19:48
overlord_tm joined19:48
rosiu left19:52
rorro joined19:52
rominronin joined19:52
peterbec` joined19:53
Primer joined19:56
rorro left19:57
Primer Hi. I'm trying to understand how IDEs work with git. For example, it seems that some IDEs associate a directory with a single "project", and since switching branches in git doesn't change the directory, a "project" and concepts associated with it, such as a list of files you've worked on in the branch, don't carry over very well.19:58
I'm finding that I can't maintain a list of files on a per-branch basis in my IDE, phpstorm19:59
Darren_ left19:59
Primer I'm wondering if I'm just missing something, or if this is in fact some shortcoming of the IDE19:59
kadoban Hm? Typically each project is a git repository. I don't follow why you'd want per-branch lists of files? For the most part branches share the vast majority of their files.20:00
_ikke_ Well a branch in git does not represent a work context20:00
Primer Say what?20:00
How does a branch in git NOT represent a work context?!20:00
gregor2 joined20:00
_ikke_ a branch represents comitted content20:00
Dewin left20:01
Primer Ok...20:01
_ikke_ Uncomited changes stay behind if you switch branches for example20:01
Primer So you're saying this is a workflow issue?20:02
hobodave left20:02
_ikke_ Primer: Well, some IDE's do have features to manage work contexts20:02
kadoban I personally don't understand the goal ...20:03
_ikke_ kadoban: branch A, files a, b and c are open. Branch B, files d, e and f are open20:03
Primer Because it's not uncommon for me to have more than one branch. For example: I start work on a feature. That feature opens 10 files. I then get a bug report. I make a branch of the WIP, commit, switch back to master, create a bug branch, open 10 other files...20:04
preaction does the ide support git-work-tree?20:04
Primer Fix the bug, commit, merge to master, switch back to the feature branch...and now I have to reset and open the dirty files20:05
kadoban _ikke_: Oh is that what they're looking for? Never would have guessed20:05
_ikke_ "list of files you've worked on in the branch, don't carry over very well."20:06
Primer searches for git-work-tree20:06
gareppa joined20:06
gareppa left20:06
Primer Well, that's doable via git diff master --name-only20:06
_ikke_ well, git-work-tree also requires IDE specific files to cary over20:06
Primer presuming the branch is rebased often20:06
medeirosthiiago joined20:07
medeirosthiiago left20:07
medeirosthiiago joined20:07
Primer http://stackoverflow.com/questions/36438333/how-do-i-use-git-worktrees-in-intellij-idea-2016-120:07
GT4066 joined20:07
_ikke_ Primer: intellij idea does have contexts20:07
Primer Honestly, I'm looking for concepts that I feel I've probably just haven't heard of, such as worktree20:08
phpstorm == intellij20:08
_ikke_ they are just not tied to branches20:08
right, same for phpstorm20:08
freimatz left20:08
Primer So back to workflow then...what is YOUR workflow, and how does it differ from using branches for features/bugs?20:09
crankslider joined20:09
_ikke_ I do use brances for reatures/bugs, but I do not expect my editor to open all files that have changed in a branch20:09
Primer I don't expect mine to open them either, but I do want it to track them, preferably in a view that shows all the files I've modified for the branch20:10
I just want a convenient view of the files touched by the branch. And if I open an untouched file and modify it, that it gets added to this view.20:10
aielima joined20:10
MineCoins left20:10
Ryanar left20:11
rorro joined20:11
Primer I have a co-worker that uses...Kate, I believe (despite the fact that has has a license for phpstorm) simply because it supports this concept, and he says he's unwilling to change IDEs because of this20:11
_ikke_ Right, that's a feature request you'd have to make then20:11
I would just open a pane with a terminal that shows git diff --name-only output20:12
MineCoins joined20:12
hahuang65 joined20:12
rokups left20:12
Primer Yes, that is what I myself have been doing20:12
_ikke_ (I use tmux with panes)20:12
MineCoins left20:12
Primer But within the context of the IDE20:12
I can open an IDE view of git diff master --name-only (note master there)20:12
MineCoins joined20:12
Primer But that view, by default, is a diff viewer, so it's a 2 step process to actually open the file20:13
MineCoins left20:13
Primer I realize this is a shortcoming of the IDE20:13
d10n-work left20:13
MineCoins joined20:13
_ikke_ You can write a plugin for it20:13
MineCoins left20:14
Primer But again, I'm just trying to figure out if 1) I'm doing something incorrectly, 2) I'm just not aware of concepts that make this possible, 3) there's a better workflow that is more conducive to what I need20:14
cr1tic left20:14
MineCoins joined20:14
CheckDavid left20:14
kadoban I typically just manually open the files I need, though I could see where that'd sometimes be annoying.20:14
_ikke_ I manuallo do the diff when I need it20:14
MineCoins left20:14
kadoban If I had to, I'd probably just do a quick little command-line script to have it open the files outputted by that 'git diff' I guess20:14
Es0teric left20:15
Primer _ikke_: and by that I'm guessing you don't mean in your IDE, but in a terminal?20:15
Lunatrius left20:15
kadoban If I really wanted to get fancy I guess I'd add it to vim as a thing ... though I tend to get creative with my branch names so I couldn't fix "master" as the comparison20:15
_ikke_ correct, but I do everything in the terminal anyway20:15
I used to use intellij, but switched to vim completely20:15
s1scha left20:16
Lunatrius joined20:16
Primer kadoban: I'm just using master as an example here. We also do feature branches and branch off of those.20:16
aw1 left20:16
NeverDie_NeverDie20:16
Macaveli left20:16
kadoban Yeah, it'd be hard to handle that automatically then, because I'm not sure how you'd programatically come up with "the branch I based this on" that easily20:16
darkbit left20:17
Primer kadoban: having that be a one-time configuration thing should be simple enough20:17
but that'd have to be tied to the git metadata, I would think20:17
rorro left20:17
Primer surely easily done with git config?20:17
Anyhow20:17
dviola left20:17
kadoban Probably could go in the config I suppose, ya.20:18
Sazhen86 joined20:18
Primer I'm going to read up on worktree20:18
I had never heard of this until now20:18
thanks20:18
_ikke_ I don't think IDEs support work-trees that well20:18
You'd have to open the project multiple times20:19
Macaveli joined20:19
dglambert left20:19
kadoban All of the IDE support for git I've seen was very limited and kind of annoying to me. But I never looked that hard either I suppose.20:19
Primer My co-worker tells me this Kate feature is in fact a plugin20:19
_ikke_ The only thing I used IDE git integration for is the revert change per hunk option20:20
and see what lines were changed20:20
Primer Honestly, I do all my git operations from the terminal too, but it's nice seeing a graphical side-by-side diff with a list of files20:21
dave0x6d left20:21
_ikke_ but an actualy diff would be much more useful to me than just the filenames20:21
Primer git ops such as pull/push/rebase are done in the terminal, but I prefer to do diffs in the IDE20:21
and by that I mean actual diffs, not just --name-only20:21
hobodave joined20:22
_ikke_ but if your coworker wants to use kate, let them use kate20:23
Primer I also have a co-worker that uses nano20:24
davimore left20:24
preaction so?20:24
Primer over ssh20:24
An IDE has the ability to quickly show, for example, where a method is used, throughout an entire project, using a search index.20:24
Es0teric joined20:25
preaction so?20:25
Primer I'm one single key stroke away from finding all usages of a method, for example20:25
preaction congratulations?20:25
_ikke_ ctags can do that too20:25
Primer My nano-using co-worker has to drop to a shell and do a recursive grep of the project20:25
brigadier7 joined20:25
preaction i mean, i use vim, so i am too20:25
so?20:25
Primer Ok, say the method name is "get"20:26
preaction are you trying to impose your IDE on these people? because how do you intend to approach that conversation without insulting them in some way?20:26
Primer Good luck filtering out all the false hits from grep?20:26
preaction condescension. that'll get them on your side, yep.20:26
Primer So far I've been pretty pragmatic about what I've written here. If you feel insulted, that's on you.20:27
rominronin left20:27
Primer At no time did I write anything insulting.20:27
preaction i'm not the one who you're going to insult. it's your cow-orkers, who you have to ork with20:27
"stop using nano, use my thing instead because it's better" "how is it better" "i can do these things fast" "i don't care about doing those things fast" </scene>20:28
peterbec` left20:28
gregor2 left20:29
Primer One time I observed a co-worker spend an hour opening hundreds of files manually and changing text in them manually.20:29
winfli left20:29
QwertyDragon joined20:29
Macaveli left20:29
Primer I then showed this person how I would have done it with sed, in about 30 seconds.20:30
osse inb4 "so?"20:30
cjohnson lol20:30
vrach left20:30
cagomez joined20:30
Primer I feel that my nano-using co-worker is wasting a lot of time with his choice to continue doing only what he knows.20:31
gitinfo set mode: +v20:31
preaction that's an entirely different situation. you're asking someone to take on the arduous task of re-learning their entire development workflow just so they can do one rare thing they may or may not care about "fast"20:31
chardan joined20:31
Sazhen86 left20:31
darkbit joined20:32
brigadier7 I'm fairly new to git, and I made a branch called freq from master. Someome made changes to master, and I merged them into my branch on 4/13. I want to undo that. What is the best way?20:32
Primer This same co-worker had to switch from svn to git.20:32
preaction and again i ask you: How do you intend on telling your co-worker that without insulting them?20:32
Primer Was my insistence of this equivalent?20:32
andrew9184 joined20:32
Primer He had a really hard time with it20:32
preaction in the context of this conversation, yes20:32
_ikke_ brigadier7: Did you made commitsa after that?20:32
brigadier7 yes :(20:33
osse if a person is insulted by another person offering advice then let them be insulted20:33
cjohnson Primer it sounds like all you need to do is configure your editor to detect workfing file changes and either reload or warn/close the tab for files that disappear20:33
cr1tic joined20:33
cjohnson Me personally I much prefer to have to manually do it, in case I screw something up20:33
_ikke_ brigadier7: Did you push your branch?20:33
cjohnson so I would hate to have your preference of wanting your editor to automate it dictated to me via git20:33
brigadier7 _ikke: yes :( :(20:33
Primer cjohnson: agreed. I was trying to figure out if this is an uncommon thing with IDEs. I only have the context of intellij so far.20:33
cjohnson Most IDEs default to reloading as files change afaik20:34
davimore joined20:34
cjohnson I don't think vim does though20:34
tnecniv left20:34
_ikke_ brigadier7: Do you expect someone else to have fetched this branch ?20:34
cjohnson: vim can do it20:34
cjohnson sorry I just mean, by default20:34
preaction yes, but not by default, as was said20:34
kadoban If you have the files open in vim and they change with like git, vim will ask if you want to reload them. If that's what you mean.20:34
brigadier7 _ikke_: No, it's only me, and there have been no changes on my branch since the merge20:35
cjohnson yeah that's my preference20:35
Primer preaction: anyhow, I've had to approach this switch to the IDE diplomatically. I currently have 3 developers that don't want to get on board, but only because they're set in their ways, and are unwilling to change.20:35
dvaske_ left20:35
cjohnson detect, warn, and ask me to reload20:35
but give me the option to keep what I have20:35
brigadier7 Actually, I merged twice: 4/13 and today20:35
Primer preaction: they have not been required to change, nor will they20:35
cjohnson Primer: your personal IDE preferences don't need to be spread like gospel to the world20:35
preaction Primer: and my belief is that it would be better to make the project more open to any kind of development environment, including IDEs or yes, your coworker who uses nano20:35
cjohnson other people who want to use their own workflow should be free to do so20:35
tnecniv joined20:35
cjohnson that's the beauty of git20:35
holdsworth joined20:36
brigadier7 So the state as of 4/12 is what I want20:36
cjohnson Primer: If you think they are wasting a huge amount of time, take the time to make the case to them for why your approach might help them20:36
thebope left20:36
cjohnson but respect that they may disagree20:36
_ikke_ brigadier7: and any commits that came after it?20:36
preaction and also respect that it may damage your working relationship with them20:37
_ikke_ brigadier7: what should happen to those?20:37
thebope joined20:37
brigadier7 _ikke_: no, there were no code changes except on master. My branch is pretty much only mine.20:37
cjohnson Well making a suggestion shouldn't damage any relationship if they are reasonable people20:37
tnecniv left20:37
preaction depends on if the person making the suggestion is making it reasonably20:37
osse and whether the person getting it is reasonable20:37
polyzendmc20:38
preaction most "you should use my ide instead of vim" suggestions i've received have been decidedly unreasonable conversations20:38
brigadier7 _iike_: I don't need anything before the merge, but perhaps in 2 months, I'd want to merge master for real.20:38
_ikke_ nothing before or after the merge?20:38
ArchNoob left20:38
preaction that said, i did have to do quite a bit of work to get Adobe Flex working right using standard Unix toolchain... so annoying...20:38
osse would you consider what damage to your working relationship with someone before suggesting that to the person that he should put on a new pot of coffee if he empties it?20:39
brigadier7 _ikke_: I meant after. I'd like the code in the state it was in on 4/12. No changes were made to the branch except the merges20:39
cjohnson I would consider damaging that person that took the last of the coffee osse20:39
preaction "vim is stupid. you should use X instead" <- not reasonable, and hugely common20:39
cjohnson With a pipe20:39
lol20:39
cr1tic left20:39
Discovery left20:40
_ikke_ brigadier7: git reset --keep <commit> resets it back to that commit20:40
finalbeta left20:40
_ikke_ find the commit hash of the commit you want on that ate20:40
thebope left20:41
dendazen left20:41
brigadier7 _ikke_: I just did that, and I'll let you know how it works....20:42
jtri left20:42
ExoUNX left20:43
tymczenko joined20:44
brigadier7 Once I do that, should I somehow push to the server respository?20:45
diogenese left20:45
jeffreylevesque left20:45
nexemacs_ joined20:46
justin3 left20:46
_ikke_ git push --force-with-lease <remote> <branch>20:47
jstimm left20:47
jimi_ left20:47
synthroid left20:47
Primer I only hope that by me demonstrating that I can run circles around them with an IDE that they'll choose to adopt its usage.20:48
Anyhow, I didn't want to turn this into a debate about IDEs.20:48
nexemacs left20:48
nexemacs_nexemacs20:48
Primer or lack thereof20:48
cjohnson consider time wasted evangelizing about your IDE. Who knows, maybe they're more efficient than you even if they're slower with their IDE20:49
lol20:49
jstimm joined20:49
preaction this debate is not about IDEs, it's about people20:49
kpease left20:50
cjohnson and coffee20:50
and why I will cut you if you take the last ofi t20:50
teroshan left20:51
livingstn left20:51
Primer I think you made it about people. I can think of several equivalent scenarios where pointing out that there exist better tools to do your job.20:51
brigadier7 _ikke_: Thank you so much. This is so potentially destructive I really feared doing anything, but I was stuck. I will toast you this evening with an over-caffeinated beverage.20:51
Primer And said job becoming faster, better, more efficient...heck, even more pleasant20:52
moei left20:52
_ikke_ :)20:53
zerow joined20:53
Primer This was the case for me. I just want my co-workers to share in my happiness!20:53
diogenese joined20:53
preaction and those scenarios may involve less change to use. changing how someone does every single aspect of their job is a huge change to ask for20:54
gnixev joined20:54
cjohnson so did the christians Primer20:54
preaction but i don't work with you, thank yhwh, so i don't care. good luck20:54
Primer I feel like I've touched a nerve here20:54
osse Who said anything about "every single aspect" except you?20:54
cjohnson batman20:55
preaction what else is an IDE but "the single place you spend most of your time in as a developer"?20:55
Primer I also have a co-worker who refuses to use phpstorm specifically because he disagrees with its license. I've had to point out to him that he's not paying for it, but he doesn't care.20:56
Do you agree that he should be exempted from using it because of that?20:56
cjohnson licenses are a philosophical issue as well, not just economic20:56
preaction yes, i do20:56
osse I combine using an ide and not using that ide every day20:56
cjohnson Primer: exempted from what?20:56
who died and made you king of the office editor choices?20:56
Primer cjohnson: exempted from being "encouraged" to use it20:56
cjohnson Nobody is stopping you from encouraging20:57
alexggordon joined20:57
cjohnson I'm sure if you took the time to make a positive and constructive case to them they would hear what you have to say20:57
zerow left20:57
cjohnson but it sounds like you don't mean encouraging20:57
Primer This is exactly what I've been doing. In fact, this is exactly why I'm here, to find a way to satisfy a co-worker's desire to manage project/branch based files in the IDE I'm encouraging him to use.20:58
cjohnson Have them set editor to reload files automatically20:58
done20:58
Primer Right...if only such an option existed, given the criteria20:59
Atm0spher1c joined20:59
cjohnson pretty much every editor supports reloading files as they change20:59
if it doesn't then you are encouraging them to use a bad editor :P20:59
preaction they also want to reload groups of files based on what branch is checked-out (so, some kind of "session")21:00
osse but are you suggesting that they use that IDE for *every single aspect of their job*? Or just some of it?21:00
thebope joined21:00
cjohnson lol21:00
cdown joined21:00
brigadier7 _ikke_: Bingo! I'm in business again. You rock21:00
Silenced left21:00
Dewin joined21:00
tymczenko left21:00
cjohnson preaction: oh, lots of editors support that too21:00
Primer ^21:00
preaction cjohnson; yes, i know21:00
Silenced joined21:00
Primer The goal was to maintain a "view of project files" which would refresh based on the branch21:00
cjohnson nah, that's not necessary, just use sessions21:01
one session for 1 feature 1 session for another21:01
lots of editors support that too21:01
preaction osse: so, Primer will be satisfied if nano-guy uses the IDE just to do search/replace over the code and not actually write code with it?21:01
Primer osse: I'm only suggesting that they try the IDE and avail of the features that have the potential to make their jobs easier, better, faster21:01
Silenced left21:01
Primer preaction: that's a start21:01
livingstn joined21:01
cjohnson If they don't want to, they don't want to. If you continue to push beyond that, you are not doing encouragment21:02
osse preaction: no idea, but it seems to me that what you're arguing against is not what Primer is saying but quite the hyperbole of it21:02
preaction trying a new tool takes weeks to get up-to-speed and comfortable. you're requiring them to go through weeks of frustration21:02
sorry, not requiring, requesting21:02
druonysus_ left21:02
livingstn left21:02
osse some tools are worth it21:02
Primer These guys have had a license for this IDE close to 1 year now. I've not forced anyone to do anything.21:03
osse how to drive a car comes to mind21:03
preaction you don't get to make that judgement for me21:03
osse i don't21:03
and i'm not21:03
cjohnson Primer: no but you are taking offense that they haven't jumped ship onto what you personally believe is good21:03
that's what is annoying21:03
Primer I do, however, take the time to point out how I would do tedious and time-consuming takes in the IDE when I see them do something their way.21:03
cjohnson nothing wrong with making a suggestion, just like there's nothing wrong with them disagreeing and not taking it21:04
preaction and the more time you spend trying to convince them that you're right, the less likely they'll think you're just trying to be helpful21:04
jstimm left21:04
osse but I would also argue that refusing to learn these tools shows attitudes that developers should not have21:04
preaction i refuse to learn phpshark or whatever the ide is21:04
cjohnson Sure but that's something for the manager to fix, not the coworker21:04
bring it up to the manager if it's such a major issue21:04
if they're wasting such monumental amounts of time21:04
Primer cjohnson: Taking offense would imply this is something personal. Is asking for more efficiency in your job something that I, as a manager, should not expect?21:04
preaction are they meeting project deadlines?21:05
are those deadlines reasonable?21:05
if yes, then why does it matter?21:05
cjohnson Primer: I can say definitively that you are definitely taking it personal lol, just based on all your interactions here21:05
Primer Scotty factor21:05
I'm guilty of it too21:05
schleppel left21:05
preaction ... so you're saying if they picked a different tool, you wouldn't have to pad your estimates for unknown variables because... why?21:06
nexemacs left21:06
cdown left21:06
osse in this case offense is taken, not given.21:07
Es0teric left21:07
osse *even if* deadlines are met, if a dev feels insulted from being given friendly advice (yes, *friendly* is a condition in my opinion) then screw them21:08
preaction that doesn't make it unoffensive21:08
Primer I'm trying really hard not to go into hyperbole myself here.21:08
osse if the advice is not friendly then it's a different story21:08
preaction repeating advice over and over is not friendly21:08
cjohnson I agree with that osse21:08
and I agree with that preaction21:08
lol21:08
brigadier7 left21:08
cjohnson if you make the case and they don't agree with you, that's that. maybe bringi t up once or twice more21:08
but buying them a license to an editor and continually pushing them to use it is not friendly21:09
Primer But the only thing I can think of are examples of times when sloppy code has been turned in, code that could have been better if the developer had been using better tools.21:09
preaction "hey i just found this new thing that really helped me" <- friendly advice21:09
cjohnson if they are missing deadlines or something and it's entirely because of their editor choices then sure, that's a performance issue21:09
kyan joined21:09
nexemacs joined21:09
cjohnson I doubt that Primer21:09
preaction how would it be better if they were using better tools?21:09
cjohnson sloppy code comes from sloppy coders21:09
osse that's what CI is for!21:09
jstimm joined21:09
cjohnson editors, like guns, cannot be blamed for the things the monkeys you give them to do21:10
kent\n everyone has a CI installation21:10
Es0teric joined21:10
kent\n just some people also have a production environment as well21:10
Primer Pardon my ignorance, but...CI?21:10
preaction if you are having a problem with sloppy code, that's a lot easier to fix: point it out, explain how it should be corrected, and then you even have a good reason to say "the phpstorm thing even does this automatically for you if you want to try it out"21:10
cjohnson continuous integration Primer21:10
Primer I'm not being facetious here either21:10
cjohnson automatically testing their code21:10
If it fails they get warnings traight away to fix it21:10
Primer yeah, I had a feeling it was something like this21:10
preaction Travis or Jenkins, like21:10
the server judges the code and tells them if they live or die!21:11
cjohnson you're trying to fix this from the wrong end21:11
check it in the release pipeline and don't let shit pass. you can do linting as well21:11
and fail if they fail linting21:11
osse I like it when people write #include "StuFF.h" and the CI picks up on it because it's running runix21:11
Primer In a perfect world, every place has all of these things.21:12
cdown joined21:12
preaction except the mandated IDE21:12
cjohnson CI is not hard to set up if your project is on github21:12
just plug in the command that runs your tests21:12
osse "mandated". there's the hyperbole again21:12
Primer What tests? :)21:12
cjohnson and if your codebase isn't tested, well, imo, that's a failure of you21:12
for not allocating time and enforcing testing requirements21:12
YuGiOhJCJ left21:12
cjohnson assuming you're the manager21:12
preaction osse: if my boss continually harangued me for not using a certain tool, i would consider that a mandate, yes21:13
osse Primer: on the other hand, if devs come to you and ask for time to set up a build server or the like, you should consider letting them.21:13
cjohnson if you are letting people push code live that doesn't have associated tests then you are the one generating the sloppy code Primer21:13
Primer "Hey management, I'd like to setup automated testing."21:13
osse At our place we've waasting soooo much time trying to do stuff in a way that saves time21:13
cjohnson Primer: Use *whatever logic* you are currently trying to use to enforce they use an editor21:13
Primer "Sounds good! We can pencil that into Q4 next year. How does that sound?"21:13
cjohnson if it's good enough to get them to use a different editor it's good enough to justify spending time testing21:13
preaction it was different when i thought this was just a dev talking to another dev. this is a boss talking to their devs, that makes "suggestions" into a bit more21:13
cjohnson if you can't justify testing then you have no valid reason to try to get them to change editors either21:14
code clarity and quality, stability, etc21:14
it's an easy sell. If you are so slammed that it's impossible to fit in then why is it reasonable to spend soe much of your time trying to get them to switch editors? Obviously they are slammed right?21:14
rnsanchez left21:15
Vaelatern left21:15
dsdeiz joined21:15
Primer So far all I've done is obtain licenses for my co-workers and encouraged them to use it. The use is not mandated, nor will it be.21:15
gugah left21:15
cjohnson a manager continually hounding you to use something is soft-mandated21:15
safe joined21:15
cjohnson or at the very least a waste of time21:16
Primer The nano guy tells me he wants to use the IDE, but that he wants to start using it on a "smaller project". Except, none are on the horizon.21:16
osse then perhaps let him spend a day of the week on a pet project. something internal maybe21:16
cdown left21:16
osse like... a testing suite!21:16
Primer osse: wonderful idea!21:16
cjohnson You don't have to have 100% coverage out of hte gate either21:17
set up tests and then mandate that all new code be tested21:17
you can come back next year to test the rest21:17
medeirosthiiago left21:18
cjohnson no major time cost there21:18
Primer So...mandate testing...what if I meet resistance?21:18
askb joined21:18
Primer "Sorry, I don't like this idea of testing..."21:18
cjohnson I thought you were the manager21:18
Well testing has a huge list of pros21:19
Primer Ok...21:19
rorro joined21:19
cjohnson You can come up with their entire argument against it ahead of time21:19
Primer Should I reach for some popcorn?21:19
cjohnson and write out an argument for why the pros outweigh the cons21:19
Primer Sorry21:19
Biting my lip here21:19
osse Primer: then you quit your job as a manager, start working somewhere else as a dev, because who wants to be a manager in the first place :O21:19
cjohnson don't hurt yourself21:19
osse on point21:19
zivester left21:20
Primer osse: you're firing on all cylinders, man!21:20
osse :P21:20
Primer It's funny, but I've had this conversation so many times before. And it all starts from something innocent.21:21
livingstn joined21:21
cjohnson Seriously though, if your devs are pushing shit/sloppy code to production, it's because you are letting them. To fix that, you can either start code reviewing every commit, which is simply not feasible, or you can set up automated enforcement21:21
tests, linting, etc21:21
kristofferR left21:21
cjohnson and if they refuse to participate, and they refuse to improve the quality of code, and it's not because you are running them ragged and not giving them enough time to do things21:22
tribly_ joined21:22
jstimm left21:22
cjohnson fire them21:22
manuelschneid3r left21:22
jstimm joined21:23
treeman left21:23
Primer We've had this project called "major upgrade" on the books now for over 1 year. It's where I get to do all that: company-wide consensus-based code review, automated testing, aggressive pre-commit hooks for linting (I have this, but it's very informal), etc.21:23
kristofferR joined21:23
medeirosthiiago joined21:23
cjohnson it doesn't need to be anything major, like I said21:23
Primer Thing is, it's kind of become a running joke.21:23
cjohnson you don't need 100% coverage out of hte gate21:23
tribly_tribly21:24
cjohnson in the time you have spent in this channel you could have signed up for circle-ci and gotten your app deploying there :P21:24
Primer Well, it's called major upgrade for a different reason, which has to do with upgrading from stale APIs and libraries.21:24
cjohnson then spend a little time adding a testing suite21:24
yeah that's a different project21:24
rominronin joined21:24
cjohnson don't try to mix them into one21:24
Primer Historically I've had to "ear mark" such things here.21:25
cjohnson I'm saying that you yourself could get the bare tools needed to do these things up and running in the next day or two21:25
Es0teric left21:25
cjohnson and obviously you've got time to sit on IRC (no offense)21:25
then write a couple tests for a few small things, make sure they work, teach others how to write tests, and then start enforcing it. it doesn't have to be this major thing that people make it out to be21:26
Primer It's like a bill (a feature request). That gets sent to committee (my boss), and I then "ear mark" what I can onto it. As long as I can make the thing I want land within the projected time frame, it's all good.21:26
cjohnson come back during your refactor and make sure you add time while refactoring to write tests for the refactored code21:26
yeah that's pretty standard21:26
Primer But I often have to deal with unrealistic dealines.21:26
cjohnson Ok so why are you blaming your devs and their editors then? lol21:26
Primer Part of my job is research. Spending time on IRC is time well spent.21:27
Snugglebash joined21:27
rahtgaz joined21:27
cjohnson Yeah I know, I agree. I was just saying, you aren't SO slammed that you don't have time to spend the next couple days setting up testing suites and CI21:27
so when people suggest it to you and you snort and act like it's an impossible goal, it's telling21:27
Primer It's obviously not an impossible goal. It's just that something like this, currently, has to be done out of band.21:28
cdown joined21:29
cjohnson right, and my point was, you could be using your IRC time as that out of band time21:29
to get it bootstrapped21:29
Primer I'm lucky in that my boss actually acknowledges when I do this.21:29
rahtgaz left21:30
Primer I'm feeling more motivated after this discussion.21:30
courrier joined21:30
a3Dman left21:30
cads2 joined21:30
nexemacs left21:31
Primer Thank you cjohnson, osse, preaction, kent\n21:31
alexggordon left21:31
cjohnson !!! good21:31
tests!21:31
do them21:31
or die21:31
Primer That will be my new motto!21:31
nexemacs joined21:31
kent\n a test that passes is a useless test.21:31
you want tests that fail.... then you fix them so they pass.21:32
Primer test aut mori motto nostrum est!21:32
anuxivm joined21:33
Primer kent\n: I excel at failing21:33
medeirosthiiago left21:33
Cavallari left21:33
kent\n Cogito ergo sum ego temptare21:34
gopar left21:34
kent\n hm, not parity-safe :/21:34
gopar joined21:35
a3Dman joined21:36
maryo left21:36
nexemacs left21:37
gigq left21:37
druonysus_ joined21:37
maroloccio left21:38
hobodave left21:38
gigq joined21:39
maroloccio joined21:39
p4trix left21:40
livingstn left21:42
rivarun left21:42
TheSimonator left21:43
GT4066 left21:44
tnecniv joined21:44
Cabanossi left21:45
jstimm left21:45
Cabanossi joined21:47
gopar left21:48
tymczenko joined21:48
portal_ joined21:48
gopar joined21:48
kyan left21:48
Vaelatern joined21:50
overlord_tm left21:51
ozcanesen left21:52
overlord_tm joined21:53
jagob left21:54
thebope left21:55
Dougie187 left21:55
samlamamma left21:57
Murii left21:57
rominronin left21:58
nugb joined21:58
holdsworth left21:59
portal_ left22:01
hahuang65 left22:01
gunnaro joined22:02
truckcrash left22:02
zulutango joined22:03
ok91 left22:03
chardan left22:04
elijah left22:06
safe left22:07
tyreld left22:07
andrew9184 left22:10
andrew9184 joined22:11
bannakaffalatta left22:12
bannakaf_ joined22:12
dersand left22:15
albel727 left22:16
maroloccio left22:18
fahadash joined22:20
diqidoq left22:20
systemovich left22:20
NeXTSUN joined22:21
systemovich joined22:21
overlord_tm left22:24
Darren_ joined22:24
Snugglebash left22:25
albel727 joined22:26
nugb left22:26
moony22 left22:27
zivester joined22:27
gopar left22:28
gopar joined22:28
al-damiri left22:28
Darren_ left22:29
pandeiro joined22:30
ChrisF79 joined22:31
gopar left22:31
chrysa left22:32
gitinfo set mode: +v22:32
gitinfo set mode: +v22:32
ChrisF79 Hi everyone. I have some repos at bitbucket and just reformatted my machine. I copied my ~/Sites folder back to where it should be but I'm confused how I relink the two.22:32
gopar joined22:32
cagomez left22:33
DarkPsydeLord left22:33
kadoban ChrisF79: Hmm? What is in that folder, and why should it be linked to bitbucket? Is it a git repo? Git repos are just files, so if you successfully restored from backups, congratulations, you're all done really.22:33
ChrisF79 It isn't working. Let me get the exact message.22:34
darkbit left22:34
dendazen joined22:34
ChrisF79 actually... it's on the server side22:34
kadoban Oh. You probably don't have your SSH keys/aliases set up correctly maybe.22:35
ChrisF79 when I do git pull "git@bitbucket.org:cfarrugia/mybucket.git master" it lists every wordpress file (too many so I can't even see the top) and says at the bottom "Please move or remove them before you can merge. Aborting"22:35
I did have to add an SSH key22:35
kadoban That doesn't sound server-side22:35
navidr left22:36
LeBlaaanc left22:36
ChrisF79 well, on my local machine I changed one file. I added everything and did a git push. It says my branch is up-to-date with 'origin/master'22:37
so then I go to the server to do git pull and that's what I get22:37
kadoban Oh, you're talking about some server you have?22:37
ChrisF79 yes22:37
kadoban Wouldn't know what states your separate repos are in ... not really sure what to help with that. That pull command looks suspicuous, rarely is it a good idea to be specifying a URL like that really, and I ... don't see how that command could even work with the quotes around both the URL and the ref name like that22:39
ChrisF79 I just quoted it22:39
but yeah, it is a weird one22:39
Just doing git pull shows this: There is no tracking information for the current branch.22:39
kadoban Well, how did you set up the "server" repo? Are you using this for deployment or something it sounds like? How does it usually work, what command do you usually run?22:40
Are you saying the quotes don't exist in the command you actually ran? Because that would make more sense.22:41
ChrisF79 yes on the quoets22:41
bilal_ joined22:41
ChrisF79 Normally what I do is develop locally and as I go, I just commit and do git push22:41
bilal left22:41
ChrisF79 so bitbucket has my files... then, I head onto the server and USUALLY just do git pull22:41
and suddenly that isn't working22:41
kadoban Which machine are you talking about that you reformated and restored?22:42
ChrisF79 my local machine22:42
kadoban Then that wouldn't have changed how the "server" machine works, so that doesn't make a lot of sense :-/22:42
ChrisF79 although, I had someone trying to help me and I'm thinking he may have removed my .git folder on the server22:42
that's all I can think of22:42
kadoban Did you run any other commands on the server machine?22:42
Oh22:42
Well, that sounds like a mess.22:42
ChrisF79 heh, you're right about that!22:43
Gustavo6046 left22:43
kadoban Can you ask them what they did I guess? But without doing that, I'm not sure what to suggest. I guess I'd start with looking at the server git repo, seeing what state the files are in, if it seems like it matches what's expected and the remotes are set up correctly and etc.22:44
ChrisF79 The remote on bitbucket is great22:44
Vampire0 ChrisF79, what does `git status` on the server say?22:44
bilal joined22:44
bilal_ left22:45
kadoban That's good at least. And is the history on your current branch on the server look the same as is on bitbucket? And yeah, that too ^22:45
ChrisF79 https://www.dropbox.com/s/metm26wu73in8lp/Screenshot%202017-04-20%2018.45.15.png?dl=022:45
kadoban By the way, 'git pull' isn't exactly what I'd recommend for deployment22:45
ChrisF79 kadoban, I'm here to learn. What do you recommend?22:45
frobnic left22:46
aielima left22:46
kadoban Not using git for deployment. I use 'rsync' usually. Typically I track a bash script with the correct rsync command and run that when I want to.22:46
Vampire0 ChrisF79, there you have it, it tells you all you need to know22:46
gunnaro left22:46
Vampire0 ChrisF79, "On branch master ... Initial commit"22:46
gopar left22:46
alexandre9099 left22:46
kadoban But even if you want to use git, pull doesn't make a ton of sense because merging on the server is just a weird thing to want.22:46
Yeah, initial commit sounds weird22:47
Vampire0 ChrisF79, so indeed someone nuked your history, probably by deleting .git and then doing `git init`22:47
gopar joined22:47
Vampire0 ChrisF79, just re-clone the repo on the server and you are probably fine22:47
ChrisF79 that's exactly what I think happened22:48
Vampire0 ChrisF79, and regarding deployment with git, you might want to read !deploy22:48
gitinfo ChrisF79: 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.html22:48
ChrisF79 ok, just googled it and I think I fixed it now that I understand the problem22:48
kadoban Make a backup of the files first, this kind of thing would usually have untracked files that a re-clone isn't going to have for you22:48
alexandre9099 joined22:49
Gustavo6046 joined22:49
ChrisF79 yep, I'm working again!22:49
although wrongly according to what you guys have taught me22:50
but, at least I'm back to where I should be for now22:50
cagomez joined22:50
ChrisF79 oh, one other question. I have /blog/wp-config.php on both servers. I added blog/wp-config.php to the .gitignore file but it still tries to sync22:50
ZyX-I left22:50
frobnic joined22:51
kadoban ChrisF79: .gitignore and other similar mechanisms doesn't have any effect at all on already-tracked files.22:51
dendazen left22:51
kadoban All it really does is make git not list them in 'git status' as untracked and prevents 'git add' from accidentally adding them, that's about it.22:51
ChrisF79 got it22:51
thanks so much22:51
kadoban Anytime, glad you figured out your thing22:51
AfroThundr joined22:53
AfroThundr left22:53
Matt``` left22:54
rominronin joined22:55
holdsworth joined22:56
Fallen0223 left23:00
hahuang65 joined23:01
Achylles left23:01
gitinfo ChrisF79: This channel tracks karma based on who has gotten lots of thanks for being helpful. If you want to help someone reach karmic nirvana, please mention their name when thanking them with "thank you", "thankyou", "thanks", "thx", "ty" or "cheers". Try ".karma <nick>" or ".topkarma" to show karma status of a person.23:01
AaronMT left23:02
oleo left23:07
cdown left23:07
jnewt left23:08
monq joined23:10
ambro718 left23:10
bket left23:14
crankslider left23:16
nixjdm left23:16
rorro left23:17
fakenerd_ joined23:17
Tobbi left23:17
bl0w3d_0ut left23:19
robattila256 left23:19
ki0 joined23:19
robattila256 joined23:19
fakenerd left23:20
gnixev left23:21
gnixev joined23:23
snowkidind joined23:24
dirtyroshi joined23:24
andrew9184 left23:25
alexggordon joined23:27
fakenerd_ left23:28
oleo joined23:28
fakenerd joined23:28
bket joined23:28
rominronin left23:29
msonntag left23:30
msonntag joined23:30
bl0w3d_0ut joined23:30
Achylles joined23:31
gunnaro joined23:31
Noodlewitt joined23:31
Cabanossi left23:31
cagomez I have already made changes in my branch. will applying a stash remove those changes?23:32
or will I end up with original changes + stash changes?23:32
menip joined23:32
Cabanossi joined23:33
kadoban The latter. If there are conflicts, you'll have to resolve them23:33
FrostCandy joined23:34
Gustavo6046_ joined23:35
Gustavo6046_ left23:36
jaziz joined23:37
Noldorin joined23:37
courrier left23:38
Gustavo6046 left23:39
ki0 left23:42
ki0 joined23:43
weaksauce left23:44
FrostCandy left23:46
maroloccio joined23:46
gnixev left23:46
TbobbyZ_ joined23:47
ChrisF79 left23:47
ki0 left23:48
ki0 joined23:48
Introoter left23:48
TbobbyZ left23:51
TbobbyZ_ left23:52
Kaisyu joined23:54
Gustavo6046 joined23:54
kfoonamalik left23:55
rmesta joined23:55
pandeiro left23:56
anuxivm left23:57
shgysk8zer0 joined23:59
ispn left23:59

Logs Search ←Prev date Next date→ Channels Documentation