IRCloggy #git 2016-08-09

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.

2016-08-09

durham_ joined00:00
mweshi left00:03
BSAlb left00:03
dreiss left00:04
tesuji_ joined00:05
tesuji left00:05
BSaboia joined00:06
_sjs joined00:07
patrick-sartent joined00:08
spongarpolyzen00:08
jimi_ joined00:09
mweshi joined00:09
tesuji_ left00:09
tesuji joined00:09
mweshi left00:10
NightStrike joined00:10
mweshi joined00:11
NightStrike Help.... I just did a "git rebase -k" instead of "git rebase -i" (typo...) It did a bunch of stuff and I don't know what. Is this bad?00:11
hahuang61 joined00:12
medeirosthiiago joined00:12
Derperperd joined00:13
csd_ joined00:13
MattMaker left00:14
ahr3n left00:14
mweshi left00:16
hahuang61 left00:16
mohabaks left00:17
button joined00:17
crayon left00:17
MattMaker joined00:17
button left00:17
button joined00:17
buttoncrayon00:18
abyx left00:18
livingstn joined00:22
KnightsOfNi joined00:22
ReenignE NightStrike: -k doesn't appear to be a flag that git rebase accepts so it likely just rebased.00:24
NightStrike: Check git reflog00:24
NightStrike The docs say that k makes it keep empty commits00:24
ReenignE That's --keep-empty, didn't see shorthand for it though -k would make sense.00:24
If your reflog says there was a rebase you can 'git reset --hard HEAD@{1}' assuming no other updates have happened since that was ran.00:25
justanotheruser left00:26
akiva joined00:28
livingstn left00:28
ReenignE Being familiar with 'git reflog' is quite useful. In a situation like this it allows you to see what actions have changed where your HEADs at and to get an idea of what happened while also providing the HEAD@{#} ref syntax to use in commands.00:28
Is there a git-joke with "Where's your HEAD at" yet?00:29
Rodya_ left00:29
Rodya_ joined00:30
therealGent joined00:30
therealGent left00:30
therealGent joined00:30
bremner many00:30
justanotheruser joined00:30
ansimation left00:32
dsantiago left00:33
b1tchcakes joined00:34
sangy left00:35
pioiytr_ left00:36
pioiytr_ joined00:36
hahuang61 joined00:37
nitric left00:38
Electrometro joined00:38
thiago left00:38
_sjs left00:40
BSaboia left00:41
hahuang61 left00:42
BSaboia joined00:43
dhollinger joined00:43
Darren_ left00:44
Sasazuka left00:45
crayon left00:49
BSaboia left00:50
madebymarkca left00:51
NeXTSUN joined00:51
jimi_ left00:52
veilig2000 joined00:53
cdown left00:53
sebascar left00:53
jimi_ joined00:54
livingstn joined00:55
a3Dman left00:56
a3Dman joined01:00
crayon joined01:00
Anderson69s_Pi joined01:01
therealGent left01:01
crayon left01:01
crayon joined01:01
MattMaker left01:02
Anderson69s_Deb left01:04
zivester joined01:04
MattMaker joined01:04
bjpenn left01:08
mellernoia joined01:09
jeffreylevesque joined01:10
diogenese left01:11
cqi left01:12
zacts left01:12
cqi joined01:14
shinnya left01:14
zacts joined01:14
al-damiri joined01:14
diogenese joined01:16
carif left01:17
jantje joined01:20
jimi_ left01:22
fahadash left01:23
thiago joined01:23
pks left01:26
pks joined01:27
medeirosthiiago left01:28
jantje left01:28
jantje joined01:29
sagerdearia joined01:29
ytl joined01:29
blackwind_123 left01:31
arescorpio joined01:31
HanClinto joined01:31
Mannn joined01:32
spudowiar left01:32
mikecmpbll left01:34
drbean left01:34
akiva left01:35
akiva joined01:35
akiva left01:36
jost_ joined01:38
akiva joined01:38
durham joined01:38
akiva left01:39
SwiftMatt left01:39
mellernoia left01:39
jost left01:41
MattMaker left01:41
rkazak joined01:42
durham_ left01:42
cqi left01:42
SwiftMatt joined01:43
durham left01:43
d4rklit3 left01:44
MattMaker joined01:45
ilbot3 left01:46
d^sh left01:48
ilbot3 joined01:48
d^sh joined01:49
EvilPeng1 left01:50
inflames left01:51
vassagus joined01:51
red^ joined01:55
razieliyo left01:55
ShekharReddy hello anyone here :)01:57
vassagus left01:57
ShekharReddy I have deleted a file locally and when I push the repository is not getting updated01:57
israelzuniga joined02:00
Derperperd left02:00
Derperperd joined02:01
cqi joined02:02
adambrenecki left02:04
romerocesar left02:06
cyphase left02:06
dhollinger left02:11
harish_ left02:12
fish3485 joined02:12
kanyeezy joined02:12
fahadash joined02:14
Derperperd left02:15
cyphase_eviltwin joined02:16
romerocesar joined02:16
Dougie187 joined02:16
fish3485 left02:17
fish3485 joined02:18
fish3485 left02:19
romerocesar left02:21
HoierM left02:21
govg left02:22
drupald joined02:22
MattMaker left02:23
MattMaker joined02:24
crayon left02:24
patrick-sartent left02:26
veilig2000 left02:26
interne7y joined02:30
dhollinger joined02:30
ryez ShekharReddy: what have you done? steps? did each succeed?02:33
blockzombie joined02:34
interne7y left02:34
nyexpress joined02:35
Goplat joined02:35
nyexpress left02:36
nyexpress joined02:38
rkazak left02:38
Dougie187 left02:39
csd_ left02:40
NeXTSUN left02:42
j416 left02:43
hexagoxel left02:43
j416 joined02:44
lagothrix joined02:45
Portable joined02:47
rkazak joined02:48
lagothri1 left02:48
Brain joined02:49
hexagoxel joined02:49
MattMaker left02:50
skylite_ left02:50
MattMaker joined02:51
[Brain] left02:51
skylite joined02:51
ShekharReddy ryez: got it02:52
Thanks02:52
chachasmooth left02:55
omegaenigma joined02:59
chachasmooth joined02:59
nyexpress left03:00
troyt joined03:00
radsy left03:00
ytl_ joined03:01
ahmedelgabri left03:03
aavrug joined03:04
ytl left03:04
aavrug left03:04
aavrug joined03:05
dreiss joined03:11
bjpenn joined03:12
therealGent joined03:13
therealGent left03:13
therealGent joined03:13
harish joined03:13
durham joined03:15
asdofindia joined03:16
romerocesar joined03:17
veilig2000 joined03:18
_sjs joined03:19
fstd_ joined03:20
romerocesar left03:21
dhanush joined03:22
bjpenn left03:23
fstd left03:24
fstd_fstd03:24
durham left03:24
Derperperd joined03:25
durham joined03:25
zacts left03:25
livingstn left03:25
elementalest left03:27
elementalest joined03:27
elementalest left03:27
elementalest joined03:27
robogoat left03:30
robogoat joined03:31
chamunks joined03:32
Rodya_ left03:33
MattMaker left03:35
MattMaker joined03:38
SonicJam joined03:41
dsdeiz left03:42
dsdeiz joined03:42
dsdeiz left03:42
dsdeiz joined03:42
dreiss left03:45
HanClinto left03:48
carif joined03:49
MattMaker left03:51
cagmz joined03:53
MattMaker joined03:54
danslo joined03:54
dsantiago joined03:54
blackwind_123 joined03:56
mwlang joined03:56
cagmz left03:57
cagomez joined03:57
cagomez left03:57
cagomez joined03:57
shgysk8zer0 joined03:59
danslo left03:59
zmachine joined03:59
thecomedian left04:00
dhollinger left04:00
mwlang left04:00
Ph_ left04:00
thecomedian joined04:01
beyertech left04:02
dhollinger joined04:02
Ph_ joined04:04
cagomez left04:04
neca joined04:05
SwiftMatt left04:06
romerocesar joined04:07
beyertech joined04:08
Maple__ left04:08
mischat joined04:08
israelzuniga left04:09
dreiss joined04:09
boshhead_boshhead04:09
ryez left04:10
chris_ joined04:10
bjpenn joined04:10
a_thakur joined04:10
FelixVi joined04:11
SwiftMatt joined04:11
romerocesar left04:12
cqi left04:13
chris___ joined04:13
phanimahesh joined04:13
mischat left04:13
chris___ left04:14
chris_ left04:14
israelzuniga joined04:15
dreiss left04:17
romerocesar joined04:18
israelzuniga left04:20
romerocesar left04:22
phanimahesh left04:22
madewokherd left04:22
attente left04:22
fahadash left04:23
phanimahesh joined04:24
sylario left04:26
daynaskully left04:27
Rodya_ joined04:28
Cabanossi left04:29
veilig2000 left04:31
interne7y joined04:31
Gamecubic left04:31
NeXTSUN joined04:32
Cabanossi joined04:32
Rodya_ left04:33
govg joined04:34
MattMaker left04:34
interne7y left04:35
cqi joined04:36
skasturi left04:36
sulky left04:36
MattMaker joined04:37
noteness left04:37
shgysk8zer0 left04:42
romerocesar joined04:45
howdoi joined04:45
cyphase_eviltwincyphase04:46
rkazak left04:48
durham left04:49
israelzuniga joined04:50
Kulrak left04:51
israelzuniga left04:51
leeN joined04:52
arescorpio left04:52
therealGent left04:53
Limes__ joined04:55
sulky joined04:55
noteness joined04:55
skasturi joined04:56
NeXTSUN left04:57
subhojit777 joined04:57
NeXTSUN joined04:57
xlegoman left04:59
robogoat left04:59
al-damiri left05:00
azerus left05:00
aidalgol left05:02
Kulrak joined05:05
Kulrak left05:05
Kulrak joined05:05
inflames joined05:08
rbern left05:08
NeXTSUN left05:12
vassagus joined05:13
sin3t left05:13
pR0Ps left05:14
romerocesar_ joined05:15
pR0Ps joined05:15
MattMaker left05:16
pwnz0r joined05:16
sdothum left05:16
romerocesar left05:17
vassagus left05:18
pwnz0r left05:18
rbern joined05:18
stuh84 joined05:19
nilg joined05:19
MattMaker joined05:20
Urbany left05:22
flopsec left05:22
arand left05:23
WizJin left05:23
satbyy left05:24
Raging_Hog joined05:25
Rodya_ joined05:29
johnny56 left05:31
johnny56_ joined05:32
LeMike joined05:34
TinkerTyper left05:34
ome joined05:35
Rodya_ left05:35
zeroed joined05:38
zeroed left05:38
zeroed joined05:38
robogoat joined05:39
slayerjain joined05:39
SonicJam left05:39
satya4ever joined05:39
stuh84 left05:42
CheckDavid left05:43
LeMike left05:43
a_thakur_ joined05:45
a_thakur left05:45
rscata joined05:47
bocaneri joined05:48
azerus joined05:48
ShekharReddy left05:49
nilg left05:51
neca left05:52
alfy joined05:52
jceb joined05:53
Codfection joined05:54
mweshi joined05:54
danslo joined05:55
mweshi left05:55
claudiop left05:56
mweshi joined05:56
alfy left05:58
apprentice joined05:59
xlegoman joined06:00
Codfection left06:00
danslo left06:00
zivester left06:01
bjpenn left06:01
Codfection joined06:03
kanyeezy left06:03
MattMaker left06:03
dhollinger left06:04
MattMaker joined06:07
johnny56_ left06:08
LeBlaaanc joined06:10
sagerdearia left06:11
LeBlaaanc left06:12
LeBlaaanc joined06:13
LeBlaaanc left06:15
LeBlaaanc joined06:15
johnny56_ joined06:16
rewt left06:17
hanthings joined06:19
seishun joined06:20
kanyeezy joined06:21
jaafar left06:23
apprentice left06:25
nights left06:25
nights joined06:25
MacWinner left06:26
Timvde left06:26
AlHafoudh left06:26
apipkin_ left06:26
apipkin_ joined06:26
moumitude left06:27
freimatz joined06:27
rchavik joined06:27
jorj left06:27
pdgwien left06:27
TomyLobo left06:27
iokill left06:27
moumitude joined06:27
pdgwien joined06:28
rcn joined06:28
jabular joined06:28
AlHafoudh joined06:28
iokill joined06:28
Timvde joined06:28
star_prone joined06:30
jknetl joined06:30
t-mart__ joined06:31
interne7y joined06:32
roelmonnens joined06:32
t-mart_ left06:34
Seveas ReenignE: https://github.com/EugeneKay/git-jokes/blob/lulz/Jokes.txt06:35
looks like no. Fix it :)06:35
dhollinger joined06:35
mariuscc joined06:35
interne7y left06:36
dhollinger left06:36
noteness left06:39
LeBlaaanc left06:39
roelmonn_ joined06:39
jknetl left06:40
skasturi left06:41
Sceorem joined06:41
noteness joined06:42
FelixVi left06:42
roelmonnens left06:42
tvw joined06:43
ryez joined06:43
tyreld left06:44
roelmonn_ left06:44
skasturi joined06:45
TinkerTyper joined06:47
roelmonnens joined06:47
ShekharReddy joined06:47
MattMaker left06:48
t0by joined06:48
danslo joined06:49
MattMaker joined06:50
abyx joined06:51
settermjd joined06:52
l4v2 left06:53
submitnine joined06:53
gfixler joined06:54
fahadash joined06:55
johnny56_ left06:56
ki0 joined06:58
abyx left06:58
mweshi left06:59
Pulp left07:00
xlegoman left07:00
vmiklos joined07:01
johnny56_ joined07:01
romerocesar_ left07:01
star_prone left07:02
a_thakur_ left07:07
rewt joined07:09
jguillen joined07:11
romerocesar joined07:11
sagerdearia joined07:12
moumitude left07:12
moumitude joined07:12
vassagus joined07:13
PCatinean joined07:14
Softeisbieger joined07:15
bjpenn joined07:16
romerocesar left07:17
saidelike_ left07:17
thiago left07:18
vassagus left07:19
a_thakur joined07:20
saidelike joined07:21
romerocesar joined07:22
Darcidride joined07:23
d4rklit3 joined07:24
pitastrudl joined07:25
Balliad joined07:25
ytl_ left07:25
romerocesar left07:26
SwiftMatt left07:26
watabou joined07:29
wxg left07:30
ahmedelgabri joined07:32
ryez left07:33
Derperperd left07:35
tvw left07:35
csd_ joined07:36
star_prone joined07:38
Goplat left07:39
csd_ left07:40
red^ left07:41
DevAntoine left07:43
tinajohnson___ joined07:44
LiohAu joined07:47
aidalgol joined07:48
rubyonrailed joined07:49
Anderson69s_Pi left07:51
DevAntoine joined07:52
davidbz joined07:52
mkoskar left07:54
Codfection left07:55
mikecmpbll joined07:55
NeXTSUN joined07:56
johnny56_ left07:56
seishun left07:56
johnny56 joined07:56
grift left07:57
GavinMagnus joined07:59
grift joined08:00
a_thakur left08:04
Anderson69s_Pi joined08:06
harish left08:06
nilsi left08:08
piling left08:08
garethdaine joined08:09
nilsi joined08:09
piling joined08:09
MrWoohoo joined08:09
mibr0 joined08:09
harish_ joined08:10
maxorator left08:10
happy-dude left08:11
star_prone left08:12
maxorator joined08:13
tomog999 joined08:13
marcogmonteiro joined08:14
davisonio joined08:15
tomog999_ left08:15
bongjovi joined08:17
chll_ joined08:17
ome left08:20
synthmeat left08:23
synthmeat joined08:24
synthmeat left08:26
synthmeat joined08:26
NeXTSUN left08:28
bjpenn left08:29
aidalgol left08:29
eijk_ joined08:31
d4rklit3 left08:32
star_prone joined08:32
interne7y joined08:32
fees joined08:33
eijk joined08:34
liuzhen left08:35
a_thakur joined08:37
a_thakur left08:37
interne7y left08:37
a_thakur joined08:37
eijk_ left08:38
nilsi left08:39
watabou left08:39
interrobangd joined08:40
nilsi joined08:40
darkbit left08:44
eott joined08:48
nikitasius joined08:51
Balliad left08:51
mattsl left08:51
Balliad joined08:52
jabular left08:52
jabular joined08:52
gitinfo set mode: +v08:53
aidalgol joined08:53
rubyonrailed left08:54
eott is this the right place to ask for help concerning 'huge mistakes done using git'? we have trouble undoing a huge fast-forward merge08:54
kadoban Seems like a good place for it, sure.08:55
eott okay, thanks. a bit of backstory:08:55
arand joined08:55
eott we have a "Core" repository and over the years "Custom" repos forked off of the core. both the core and the custom repos have been developed over the years. now someone accidentally merged a custom branch into the core master by way of a fast-forward merge. so now we have 11000 commits over three years interspersed with the commits to the core repo in the commit history. so we can't see a single point to where we could reset th08:57
kadoban eott: You got cut off after "... to where we could reset th"08:58
eott point to where we could reset the master.08:59
kadoban eott: Have you checked the reflog? 'git reflog master' should show you previous states of master, and why they changed.08:59
j416 left08:59
eott unfortunately I can only see the reflog of my local copy, which only shows me "git pull origin master"09:00
LeBlaaanc joined09:00
kadoban eott: Surely there must be some version of the repo somewhere that has the old versions?09:01
UncleCJ joined09:01
j416 joined09:01
ribasushi left09:01
eott probably. our current proposes solution involves deleting the remote master, pushing an older version from a local copy, then remerging the "core" branches that have been merged since then09:02
however that doesn't seem like "the git way"09:02
Ezzy joined09:02
leeN left09:03
kadoban Well, the other option is some huge revert.09:03
fahadash left09:03
eott wouldn't that require identifying the 11k commits for the revert?09:03
leeN joined09:04
kadoban You can specify ranges, and if you have a local copy that knows both the old "good" version of master in the reflog that saw the mistaken merge, that's easy to specify. I have no godly idea how long it'll take to revert 11k commits though ...09:05
It's really up to you if you want to change history, which has its own issues, or do that.09:05
If you change history, everyone needs to make sure they also start using your changed history. Which is kind of tedious and confusing, but not particularly hard. Depending on how many people are basing work off of it anyway, or have a copy.09:06
jguillen left09:06
LeBlaaanc left09:06
eott eugh, yeah that is not an appealing option. we'll probably do the reset to an older version, then ask everyone to push their branches of the last X days again09:06
Sceorem left09:06
eott thanks for the help09:06
kadoban 'welcome09:07
Juzzika joined09:11
vassagus joined09:14
nivag left09:17
boombatower left09:18
vassagus left09:19
encod3 joined09:20
Muzer joined09:20
lss8 joined09:21
mattsl joined09:21
xaa joined09:23
nuc joined09:24
Sceorem joined09:25
Rish joined09:25
nuc left09:25
djb-irc joined09:25
GavinMagnus left09:26
linuxmint joined09:27
neca joined09:28
mibr0 left09:31
lugzer joined09:32
Rish left09:36
Rish joined09:37
GavinMagnus joined09:37
UncleCJ left09:40
star_prone left09:41
roelmonnens left09:43
roelmonnens joined09:43
phoenix301 left09:43
Anticom joined09:44
sagerdearia left09:44
Ardethian\work joined09:47
iomari joined09:48
zmachine left09:48
netj left09:49
netj joined09:49
ondrejs joined09:50
hamster left09:51
nivag joined09:52
star_prone joined09:52
EgS left09:53
jceb left09:54
sdothum joined09:55
phoenix301 joined09:56
kadoban left09:56
ondrejs left09:56
sagerdearia joined09:58
flopsec joined09:59
nilg joined10:00
dsdeiz left10:01
DevAntoine left10:01
davisonio left10:02
mablae__ left10:02
mablae__ joined10:03
ahmedelgabri left10:03
UncleCJ joined10:04
IIT joined10:05
IIT can we clone all the repos under a specific organization ?10:06
Rikairchy left10:06
jceb joined10:07
alipoor90 joined10:07
davisonio joined10:07
alipoor90 Is there any difference between `git gc` and `git repack -ad`?10:08
Rikairchy joined10:09
ahmedelgabri joined10:10
zack_s_ joined10:11
thebloggu joined10:12
thebloggu left10:13
alipoor90 left10:14
GavinMagnus left10:16
UncleCJ left10:17
zack_s_ I have a commit-msg hook, which should extract from the branch name the jira ID10:17
https://paste.ee/p/YGTqE10:17
thebloggu joined10:17
zack_s_ however, it doesnt work to attach the extracted id AFTER the message10:18
satifant joined10:18
ahmedelgabri left10:18
danslo left10:19
MattMaker left10:20
MattMake_ joined10:20
djb-irc left10:22
mcqr joined10:23
ribasushi joined10:24
jeffreylevesque left10:25
ahmedelgabri joined10:25
docnvk left10:25
IIT left10:29
howdoi left10:29
star_prone left10:30
canton7 zack_s_, define "it doesn't work to ..."? does it actually execute line 19?10:30
sin3t joined10:31
Ranhir joined10:31
IIT joined10:33
interne7y joined10:33
NeXTSUN joined10:33
Xandaros_Xandaros10:34
sin3t left10:34
rik316 joined10:34
selckin joined10:34
sin3t joined10:34
NeXTSUN left10:34
interne7y left10:38
rockitude joined10:41
cdown joined10:42
eott left10:42
ahmedelgabri left10:44
sin3t left10:44
blockzombie left10:44
sagerdearia left10:44
sin3t joined10:44
Izabia joined10:45
Izabia left10:45
gajus joined10:46
gajus left10:46
gajus joined10:46
ahmedelgabri joined10:47
nilg left10:48
fuchstronaut joined10:48
fuchstronaut left10:48
fuchstronaut joined10:48
jceb left10:49
veilig2000 joined10:50
sin3t left10:53
rns joined10:54
rns left10:54
danslo joined10:54
sin3t joined10:54
rik316 left10:55
zack_s_ left10:59
roelmonnens left11:01
roelmonnens joined11:01
Maple__ joined11:02
Rish left11:03
jeffreylevesque joined11:03
sin3t left11:03
sin3t joined11:04
cyan__ joined11:05
mithenks joined11:05
selceeus joined11:06
cdown left11:08
danslo left11:10
danslo joined11:11
ojdo left11:11
zack_s_ joined11:11
zack_s_ canton7: yes it does11:11
abatwork joined11:12
zack_s_ it get this output: "New commit message: [TTS-2336] test"11:12
abatwork left11:12
sin3t left11:13
sin3t joined11:14
choki joined11:14
johnmilton left11:14
vassagus joined11:15
rik316 joined11:15
aidalgol left11:15
ojdo joined11:17
veilig2000 left11:18
vassagus left11:20
sin3t left11:23
sin3t joined11:24
UncleCJ joined11:24
fuchstronaut is there a way to count the number of commits from a sha hash on until the latest commit on a certain branch?11:25
jceb joined11:28
selckin git log | sed '/sha.*$/,$d' | wc -l11:28
hacky hacky11:28
fuchstronaut git rev-list hash..HEAD shows me a list of all hashes but how do i count them?11:29
selckin | wc -l11:29
fuchstronaut aaah11:30
so the | takes what rev-list returns and wc -l counts the number of new lines?11:30
star_prone joined11:30
p4trix joined11:31
selckin | pipes the stdout of the left side to the stdin of the program on the right11:31
wc is wordcound, and -l counts lines11:31
Dreamer3 left11:32
MattMake_ left11:32
xaa left11:33
GavinMagnus joined11:33
MattMaker joined11:33
anuxivm joined11:33
sin3t left11:33
sin3t joined11:34
fuchstronaut thanks selckin11:34
star_prone left11:35
csd_ joined11:36
Sceorem left11:37
ahmedelgabri left11:37
livingstn joined11:37
Ardethian\work left11:39
Ardethian\work joined11:39
zack_s_ canton7: are you there?11:40
csd_ left11:40
ahmedelgabri joined11:41
MattMaker left11:41
circ-user-Y1dra joined11:43
sin3t left11:43
sin3t joined11:44
romerocesar joined11:44
livingstn left11:46
str joined11:46
medeirosthiiago joined11:47
star_prone joined11:49
romerocesar left11:49
artgoeshere left11:50
rik316 left11:50
fuchstronaut having a branch that is behind ~1300 commits, is there a way I can TRY to rebase it and abort and revert back in case I fail? Im afraid I might screw up either the branch or master11:51
ec\ left11:52
star_prone left11:52
ec\ joined11:52
sanketdg joined11:53
sin3t left11:53
danslo fuchstronaut: you can always 'git rebase --abort', that said, just back up the folder before you start doing that stuff11:54
sin3t joined11:54
star_prone joined11:54
theskillwithin left11:55
LiohAu left11:55
rubyonrailed joined11:55
flaguy48 left11:55
artgoeshere joined11:56
rubyonrailed left11:56
davisonio left12:00
MattMaker joined12:02
kc8wxm joined12:03
davisonio joined12:03
kc8wxm left12:04
Sceorem joined12:04
fuchstronaut danslo: what do you mean, backup the folder? just copy/paste it?12:05
donnib joined12:05
donnib hi12:06
johnmilton joined12:06
fuchstronaut shouldn't git rebase --abort restore everything?12:06
jeffreylevesque left12:06
danslo fuchstronaut: it should, and I do it all the time :) but why risk it?12:06
ahmedelgabri left12:06
donnib i am working both on Mac and Windows and i have problems with Line endings, if i run core.autocrlf input on mac and core.autocrlf true on windows then how should the line endings be when files reside in git ?12:07
fuchstronaut ok, so backing up is just for peace of mind.. will backing up screw up anything git-related? or is it all inside .git?12:08
mischat joined12:08
ahmedelgabri joined12:09
flaguy48 joined12:10
ahmedelgabri left12:11
LiohAu joined12:11
ahmedelgabri joined12:11
mischat left12:13
LeBlaaanc joined12:14
rwb joined12:15
dsdeiz joined12:15
MattMaker left12:15
TooLmaN joined12:16
ujan joined12:17
synthroid joined12:18
abdul joined12:18
govg left12:20
leeN left12:20
xaa joined12:21
a_thakur left12:21
a_thakur joined12:21
fmcgeough joined12:23
D[4]ni_ joined12:23
sin3t left12:23
sin3t joined12:23
selceeus left12:24
davisonio left12:24
tabrez joined12:27
tlaxkit joined12:28
fuchstronaut if I checkout a feature branch and 'git rebase master', the feature branch will be rebased onto master, right?12:29
now I have a merge conflict and I wonder if the code in between '<<<<<<< HEAD' and '=======' is the code on top of master12:29
davis left12:29
jstimm left12:30
aavrug left12:30
Rodya_ joined12:31
Rodya_ left12:32
docnvk joined12:33
sin3t left12:33
sin3t joined12:33
LeBlaaanc left12:33
b1tchcakes left12:34
cqi left12:34
tvw joined12:36
kc8wxm joined12:36
daniel_rose joined12:36
kc8wxm left12:36
iomari left12:37
tvw left12:39
davisonio joined12:40
HappyLoa- left12:42
sin3t left12:43
a_thakur left12:43
sin3t joined12:43
fahadash joined12:44
livingstn joined12:44
phoenix301 left12:44
MattMaker joined12:45
Rodya_ joined12:45
slayerjain left12:48
osse fuchstronaut: it's the code from the current branch12:48
fuchstronaut and the lower part is code from master?12:49
zivester joined12:50
fuchstronaut behind '<<<<<<' there is the commit message from a commit in my branch i am trying to rebase onto master and the only line that was commited is part of the second block12:50
MattMaker left12:50
fuchstronaut but the second block contains way more lines than only that line12:50
subhojit777 left12:51
perlpilot joined12:51
osse ah rebase12:52
then it's the other way around12:52
m1dnight1 :(12:52
fuchstronaut So, in a conflict while rebasing A onto master, the first block is code from master's head and the second block is code from the commit of A that is causing a conflict?12:53
HappyLoa- joined12:53
perlpilot left12:53
sin3t left12:53
D[4]ni_ left12:53
jeffreylevesque joined12:53
sin3t joined12:53
quenode left12:54
tinajohnson___ left12:55
codeman joined12:59
Sasazuka joined12:59
jimi_ joined13:00
zeroed left13:00
medeirosthiiago left13:01
Rodya_ left13:02
IIT left13:02
fuchstronaut riiiight=13:03
sin3t left13:03
sin3t joined13:03
MattMaker joined13:04
Gitzilla left13:05
sebascar joined13:06
sebascar left13:08
HanClinto joined13:08
anuxivm left13:08
Juzzika left13:09
daniel_rose left13:09
cdown joined13:10
tlaxkit left13:11
tlolczyk left13:12
cdown_ joined13:12
topolinux joined13:13
sin3t left13:13
sin3t joined13:13
danslo left13:14
cdown left13:14
cdown_cdown13:14
MattMaker left13:14
loulou123546 joined13:15
FilipNortic__ joined13:15
JanC_ joined13:15
vassagus joined13:16
JanCGuest7550713:16
Guest75507 left13:16
JanC_JanC13:16
MattMaker joined13:16
BrianJ left13:16
FilipNortic_ left13:17
cdg joined13:17
cdg left13:18
veilig2000 joined13:18
loulou123546 left13:18
cdg joined13:18
danslo joined13:18
osse fuchstronaut: that should be it, yes13:19
crose joined13:19
danslo left13:20
ksolv joined13:20
vassagus left13:20
daniel_rose joined13:20
danslo joined13:21
sin3t left13:23
sin3t joined13:23
rik316 joined13:23
jstimm joined13:24
Finnoloid joined13:25
fuchstronaut left13:26
fmcgeough left13:27
MattMaker left13:28
ExoUNX joined13:28
DevAntoine joined13:29
playfullyExist joined13:29
star_prone left13:29
linuxmint left13:30
zivester left13:30
codeman left13:30
ash_workz joined13:30
achadwick joined13:33
sin3t left13:33
sin3t joined13:33
Rodya_ joined13:33
topolinux left13:34
Rodya_ left13:34
govg joined13:34
MattMaker joined13:34
cdown left13:34
BSaboia joined13:34
Rodya_ joined13:35
CheckDavid joined13:36
Raging_Hog left13:37
jaafar joined13:37
arooni joined13:40
govg left13:41
LBV_User joined13:42
synthmeat left13:42
sin3t left13:43
ujan left13:43
LionsMane joined13:43
sin3t joined13:43
MattMaker left13:44
rubyonrailed joined13:44
Rodya_ left13:45
BSAlb joined13:45
phaleth joined13:49
jost_ left13:50
AaronMT joined13:50
rubyonrailed left13:50
BSaboia left13:50
ksolv left13:50
star_prone joined13:50
bongjovi left13:50
JeremyM joined13:51
ahmedelgabri left13:52
sarbs joined13:52
sin3t left13:52
MattMaker joined13:53
sin3t joined13:53
spriz left13:54
Shadow6363 joined13:54
Dougie187 joined13:55
fracting joined13:55
SourTrout joined13:56
fracting left13:58
Rodya_ joined13:59
bongjovi joined14:00
BrianJ joined14:00
slayerjain joined14:02
sin3t left14:02
sin3t joined14:03
dhollinger joined14:04
Shadow6363 Not sure if this is the right channel for design questions, but I have a remote repo with a tag, latest-stable that might switch branches. I only care about the latest-stable code; however, I need to apply a patch to that code. Is there a good way to do this such that I have a latest-stable that tracks their latest-stable while also having my patch applied?14:04
airdisa joined14:04
Uat joined14:05
LeBlaaanc joined14:07
playfullyExist left14:07
MattMaker left14:07
rubyonrailed joined14:07
z_ joined14:08
jguillen joined14:08
z_Guest2899814:08
rahtgaz joined14:09
Guest28998 left14:10
gargola joined14:10
jstimm left14:11
kbs` joined14:11
GodGinrai joined14:11
sin3t left14:12
rik316 left14:13
LeBlaaanc left14:13
al-damiri joined14:13
sin3t joined14:13
Rish joined14:15
Rish left14:15
codeman joined14:15
codeman_ joined14:16
Darren_ joined14:16
subhojit777 joined14:19
mohabaks joined14:20
_sjs left14:20
kaldoran joined14:21
Uat left14:21
sin3t left14:22
sin3t joined14:23
MattMaker joined14:25
Enyo1 joined14:25
claudiop joined14:25
DevAntoine hi14:26
fuchstronaut joined14:27
DevAntoine I've did a stash pop resulting in lot of conflict. If I understand the doc correctly if I do "git reset --hard HEAD" the stash pop will be reverted but I'll keep all the files in the stash?14:27
daniel_rose left14:28
cdg_ joined14:28
csd_ joined14:28
Enyo1 left14:28
jorj joined14:29
quenode joined14:29
star_prone left14:30
moritz DevAntoine: did you have uncommitted changes before doing the 'git stash pop'?14:30
DevAntoine moritz: all the files in the stash14:31
stamina joined14:31
star_pro_ joined14:31
moritz DevAntoine: was that a "no"?14:31
leeN joined14:31
DevAntoine moritz: except the unstashed files, no14:31
MattMaker left14:31
cdg left14:31
danslo “Applying the state can fail with conflicts; in this case, it is not removed from the stash list. You need to resolve the conflicts by hand and call git stash drop manually afterwards.”. - So, yes, you will keep the changes in your stash. But like moritz said, a reset will also reset all non-committed stuff that wasn’t stashed. Just so you’re aware.14:32
ResidentBiscuit joined14:32
sin3t left14:32
Sasazuka left14:32
Ardethian\work left14:33
sin3t joined14:33
moritz DevAntoine: I'm still not sure what your answer to a simple yes/no question is :/14:33
Ardethian\work joined14:33
moritz anyway, I think danslo answered sufficiently14:34
fuchstronaut left14:34
DevAntoine ok, then I think I can reset to head14:35
ahmedelgabri joined14:35
interne7y joined14:35
DevAntoine When you ask me about uncomittted changes I'm not sure if I should include stashed files in it. Because what I have in the stash is not committed14:35
omegaenigma left14:37
submitnine left14:37
daniel_rose joined14:37
dlaboratory joined14:38
danslo left14:39
subscope joined14:39
cyphase left14:39
interne7y left14:40
ripero joined14:40
l4v2 joined14:40
ahmedelgabri left14:41
rchavik left14:41
dsdeiz left14:42
HappyLoa- left14:42
ripero while fixing conflicts in a merge, I have rm'd a file I had been working on; what is the best way to recover the partially merged file with conflicts?14:42
sin3t left14:42
UncleCJ left14:43
sin3t joined14:43
star_pro_ left14:44
DevAntoine thanks btw moritz and danslo14:44
cyphase joined14:45
Softeisbieger left14:45
shinnya joined14:45
star_prone joined14:45
Gitzilla joined14:45
danslo joined14:45
moritz DevAntoine: there are no "stashed files"14:47
zmachine joined14:47
moritz DevAntoine: at any point in time, either you have changes to files in the working directory, or you don't14:47
roelmonnens left14:47
moritz ripero: there's a git checkout option for that14:48
ripero: --merge if I remember correctly14:48
eivarv joined14:49
star_prone left14:49
HappyLoa- joined14:50
crose left14:50
fuchstronaut joined14:51
rscata left14:51
ahmedelgabri joined14:51
NightStrike Somehow I screwed up a branch on github such that it has two duplicate sets of the same 5 commits14:51
choki left14:51
NightStrike how do I fix that?14:51
sin3t left14:52
sin3t joined14:53
thiago joined14:54
mikecmpbll left14:55
mikecmpb_ joined14:55
madewokherd joined14:56
fmcgeough joined14:59
stephanie left14:59
Derperperd joined14:59
ripero moritz: thank you, that's the option I was looking for; in the conflict regions it changes the branch names to "ours" and "theirs", but the rest is as expected15:00
guardian joined15:00
fate_ joined15:00
danslo left15:01
MattMaker joined15:01
mohabaks left15:01
stephanie joined15:02
abyx joined15:02
sin3t left15:02
settermjd left15:02
sin3t joined15:03
rahtgaz left15:03
nilg joined15:05
romerocesar joined15:05
fate_ left15:05
Lvjasha joined15:06
HappyLoa- left15:06
jceb left15:07
chigang_ joined15:07
Flowinho joined15:09
Sceorem left15:10
MattMaker left15:10
Lvjasha left15:10
tinajohnson___ joined15:10
mikecmpbll joined15:11
mikecmpb_ left15:12
rahtgaz joined15:12
playfullyExist joined15:12
choki joined15:12
Lvjasha joined15:12
sin3t left15:12
thiago left15:13
cdown joined15:13
sin3t joined15:13
fahadash left15:13
zivester joined15:13
daniel_rose left15:13
dmto joined15:13
Lvjasha left15:13
nettoweb joined15:14
Derperperd left15:14
grill joined15:14
spriz joined15:14
kedare joined15:15
IWishIKnew joined15:15
kedare left15:15
dufus joined15:15
kedare joined15:15
Lvjasha joined15:15
Lvjasha left15:16
fate_ joined15:16
vassagus joined15:16
fate_ left15:17
faux___ left15:17
faux___ joined15:18
Rodya__ joined15:18
HappyLoa- joined15:18
tyreld joined15:18
Flowinho left15:18
Rodya_ left15:18
fractalizator joined15:19
ripero 15:20
_ikke_ 15:20
cdg_ left15:20
qsx 15:20
vassagus left15:21
kpease joined15:21
Rodya__ left15:22
cdg joined15:22
harish_ left15:22
synthroid left15:22
playfullyExist left15:22
cdg left15:22
fractalizator left15:23
fractalizator joined15:23
dlaboratory left15:23
cdg joined15:23
harish_ joined15:23
satya4ever left15:25
ams__ joined15:28
burtons joined15:29
synthmeat joined15:29
Derperperd joined15:29
jguillen left15:29
fuchstronaut left15:29
burtons left15:29
BrianJ left15:30
aard_ joined15:30
osse c-c-c-c-combo breaker!!!!15:30
ChanServ set mode: +o15:31
cdg_ joined15:31
qsuscs kicked osse (insolent little …)15:31
GavinMagnus left15:31
qsx set mode: -o15:31
zack_s_ left15:32
MattMaker joined15:32
sin3t left15:32
madewokherd left15:32
sin3t joined15:32
interrobangd left15:32
burtons joined15:34
fate_ joined15:34
a_thakur joined15:34
cdg left15:34
daniel_rose joined15:35
Rodya_ joined15:35
cdg_ left15:36
dufus left15:37
Anticom left15:37
osse joined15:38
zack_s_1 joined15:39
zack_s_1 left15:39
fractalizator left15:39
daniel_rose left15:40
fractalizator joined15:40
MattMaker left15:40
watabou joined15:40
fractalizatorGuest2521915:40
watabou left15:40
Balliad left15:41
a_thakur left15:41
Guest25219 left15:41
a_thakur joined15:41
fractalizator_ joined15:42
_ikke_ qsx: Do you have to change your nick to become op?15:42
ahmedelgabri left15:42
sin3t left15:42
sin3t joined15:42
fractalizator_help15:43
helpGuest1864215:44
MattMaker joined15:45
a_thakur left15:45
a_thakur joined15:46
GavinMagnus joined15:46
Guest18642 left15:46
circ-user-Y1dra left15:47
govg joined15:47
hahuang61 joined15:48
mcqr left15:49
fractalizator_ joined15:49
a_thakur left15:50
fractalizator_fractalizator__15:51
sin3t left15:52
sin3t joined15:52
clemf joined15:52
fractalizator__ left15:53
fractalizator_ joined15:53
hahuang61 left15:53
Bunk joined15:55
fractalizator_fractalizator215:55
fractalizator2fractalizator2_15:55
fractalizator2_fractalizator2__15:55
Mannn left15:56
Bunk I had an error updating zsh: can not execute "pull" with "rebase". Does anybody know what that means ?15:56
timvishe` left15:57
fate_ left15:57
vktec Bunk: Updating zsh?15:57
fuchstronaut joined15:57
timvisher joined15:57
timvisher what's the right way to check whether a set of files is dirty?15:57
Bunk Yes, when i start zsh, i get the error update msg. the colleagues from the zsh channel have sent me here15:58
vktec timvisher: What do you mean by "dirty"?15:58
Bunk: Do you use oh-my-zsh?15:58
timvisher: Do you mean "changed"?15:59
Bunk vktec: Correct oh-my-zsh15:59
timvisher vktec: yes. preferably whether or not git currently knows about them should be irrelevant, but that's just a +115:59
fractalizator2__fractalizator_15:59
MattMaker left16:00
fractalizator_ left16:00
timvisher no, forget i said anything about whether or not git currently knows about them. that just confuses things16:00
vktec timvisher: Do you want to know about added and removed files too?16:00
EgS joined16:00
le_melomane joined16:00
timvisher in this instance i have a file `foo` and `bar`. i want to test whether or not running a command changes them at all16:00
they are both added to git16:01
vktec What about git diff?16:01
timvisher so my test was going to be, run the command, and see if they were changed by using `git x`16:01
vktec Or git status16:01
_ikke_ git diff --quiet <file>16:01
timvisher i didn't want to bother trying to parse git status16:01
git diff is a good candidate i think16:01
kedare left16:02
vktec Yes, _ikke_'s solution is probably the best one16:02
osse it's the best there is16:02
fuchstronaut left16:02
Darcidride left16:02
sin3t left16:02
timvisher sounds perfect then :)16:02
`git diff --quiet -- foo bar`16:02
fractalizator joined16:02
sin3t joined16:02
daniel_rose joined16:03
choki left16:03
fractalizatorGuest9822816:03
Guest98228 left16:03
LeBlaaanc joined16:03
alsaher joined16:03
osse timvisher: just make sure to interpret it right: it succeeds when there aren't any changes16:04
if git diff --quiet; then echo there are no changes bruh; fi16:05
timvisher osse: yup16:05
DJ_Spies left16:05
freimatz left16:05
LeBlaaanc left16:06
synthroid joined16:06
ash_workz left16:06
Guest10414 joined16:07
Guest10414 left16:07
daniel_rose left16:07
thiago joined16:08
thiago left16:08
thiago joined16:08
fractalizator_ joined16:08
MattMaker joined16:09
p4trix left16:09
synthroi_ joined16:09
synthroid left16:11
veilig2000 left16:11
ki0 left16:11
EvilPeng1 joined16:11
sin3t left16:12
hahuang61 joined16:12
sin3t joined16:12
Rodya_ left16:13
zacts joined16:13
LeBlaaanc joined16:14
fractalizator_ left16:15
Flowinho joined16:17
DJ_Spies joined16:17
hahuang61 left16:17
MattMaker left16:18
whyme joined16:20
gitinfo set mode: +v16:20
Flowinho left16:20
whyme HELLO16:20
gitinfo whyme: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.16:20
mithenks left16:20
whyme I have a question16:20
about projects16:21
HOW come everytime I create something, Usually no one checks out my project.16:21
Im mean whats the use of developin16:21
if no one sees your project16:21
?16:21
sin3t left16:22
canton7 whyme, if you have something that's very popular, maybe someone will do some work on it16:22
cdg joined16:22
sin3t joined16:22
LeBlaaanc left16:22
canton7 whyme, but in general, people aren't going to find some random project on github (assuming you're talking about github)16:22
whyme well see its a big project, but no one can find it16:22
Dougie187 whyme: A lot of people start projects because of a personal need / want.16:22
cdg left16:22
Dougie187 whyme: The purpose of them putting it up there is to allow other people to use it, not to expect them to.16:23
canton7 developing something with the intention that other people will use it is usually a waste of time :P16:23
whyme Well I been working on a project for years. Ive worked on 13.16:23
nothin16:23
cdg joined16:23
whyme not 1 person16:23
!!!16:23
canton7 sure, but is it useful to other people? have you told those people who might find it useful about it?16:23
whyme Ya I have and they have installed it16:24
a_thakur joined16:24
Dougie187 Then, people have cloned it.16:24
or downloaded it16:24
Rodya_ joined16:24
canton7 are they developers? are there things they want to fix, or improvements they want to make?16:24
whyme but how am i supposed to tell people about it if Im just goin to get banned/kicked on the channels.16:24
Whats the use?16:24
canton7 there's a huge difference between people who use your project, and people who will contribute back16:24
for my projects, I get about one contributer per 5000 users16:24
whyme ya16:24
Dougie187 Because IRC is not the right place to be publicizing your projects.16:24
canton7 it depends, of course, on whether your users are developers16:25
MattMaker joined16:25
whyme because see, if i were to advertise here i would 99.9% be banned16:25
or kicked16:25
sanketdg left16:25
Dougie187 Of course, because it's the wrong place.16:25
whyme whats better, github or bitbukkit16:25
?16:25
canton7 yes, and if you went into the street and shouted about it, people would ignore you16:25
Bunk so what is this zsh error about ?16:25
canton7 they both have their own merits. github is arguably more popular, but bitbucket has free private repos16:25
whyme canton7: yes lol16:25
canton7 sometimes there are lists of useful projects for a language. Sometimes languages have their own package managers you can put libraries onto. If you've written something for a particular community, they might have a message board or mailing list16:26
if you just write something random, chances are noone's going to care16:26
because everyone's writing random stuff16:26
whyme But it is not random16:26
THats the THING16:26
canton7 what is it?16:27
also, how good are your docs? how readable is the code?16:27
Dougie187 You had to ask...16:27
whyme if i say, probably banned16:27
or kick16:27
le_melomane left16:27
canton7 I won't kick you for pasting a link to it because I asked you to16:27
whyme You shure16:27
sure16:27
last time i did it16:27
Dougie187 He'll kick you if you ask again. :P16:27
whyme I got banned/kick16:27
ok16:27
let me get the link16:27
brb16:27
canton7 yeah, if you go randomly advertising people won't like it, but if someone actually asks you... PM me if you're concerned16:28
whyme https://github.com/alwaysontop617/easySITE16:28
Here is the link16:28
MattMaker left16:29
dcg joined16:29
le_melomane joined16:29
beyertech left16:29
mikecmpbll left16:29
canton7 well, first off, I've read the README and I've no idea what it is16:29
Darren_ left16:29
Dougie187 Same here16:30
And you have no other documentation16:30
daniel_rose joined16:30
canton7 so you might want to improve your README16:30
tabrez left16:30
nitric joined16:30
Dougie187 Something to do with wordpress, but it seems like it's specific to wordpress.16:30
achadwick left16:30
whyme no16:30
here16:30
is more info16:30
a_thakur_ joined16:30
whyme it can interate with wordpress, but it works best with pure html code16:31
Dougie187 canton7: you should hold a "How to advertise your project" seminar. :P16:31
whyme Ya16:31
great idea16:31
:D16:31
canton7 heh, I'm hardly one to talk. I have read some good blog posts in the past16:31
a_thakur_ left16:32
sin3t left16:32
seishun joined16:32
sin3t joined16:32
a_thakur_ joined16:32
whyme So16:33
ANY IDEAS16:33
?16:33
canton7 yep, we told you16:33
Dougie187 We gave you some.16:33
canton7 no need to shout16:33
a_thakur left16:33
Dougie187 I still don't have a clue what your project is or what it does.16:33
So, you should work on your readme to make it more clear16:33
whyme ok16:33
Dougie187 Improve your documentation some16:34
canton7 there's a repository of wordpress plugins isn't there? if your thing is a wordpress plugin, list it there16:34
whyme Its not16:34
daniel_rose left16:34
MattMaker joined16:34
Dougie187 well, it's definitely related to webpages.16:35
So, you probably should go find a forum or something where people discuss this kind of stuff16:35
And try to see if your project would meet someones need, and then tell them about it.16:35
canton7 the code's also pretty hard to read. I wouldn't want to touch it if I was a potential contributer16:35
beyertech joined16:35
interne7y joined16:36
Flowinho joined16:37
canton7 you're using CI (I think?), but there's no separation between views and controllers (there's one controller, and all of the controller logic is in the views). The indentation is all over the place. You're using things like $_POST and $_SESSION instead of CI's wrappers. I can't follow the intention in a lot of places.16:37
LionsMane left16:37
canton7 it looks like a beginner's learning project. That's fine as a learning experience, but it's unlikely that other people will build on it16:38
you should absolutely be writing that stuff, as a means to practice and improve. You shouldn't intend for other people to use it, because they almost certainly won't16:38
ack_inc joined16:38
whyme Here is a better Readme16:38
nilg left16:38
whyme https://github.com/alwaysontop617/easySITE/blob/master/README.md16:38
Dougie187 But, it's perfectly fine to host that stuff on github still.16:38
whyme ok16:39
Lvjasha joined16:39
canton7 whyme, I still don't know what it does, or why I would want to use it16:39
whyme ok so your saying i should improve the style of my code16:39
READ THE readme file16:39
canton7 also the commit messages are "finalfix", "trackle", etc. They give no information16:39
Dougie187 Or "p" and "f16:39
"16:39
Flowinho left16:40
canton7 whyme, I did. "Lets make the IOT a better place.". Still no idea what it actually *does*16:40
you need to pretend you know nothing about it, then try and read the README as if you were looking at the project for the first time16:40
ripero left16:40
whyme you did not see this16:40
Our software can integrate with almost every platform, even if you just have a plain html website. This project will improve your site by adding many features. The best part about our script is we will generate an htaccess best for your site to make your site very fast. We also have a maintainance mode page, and a full blown plugin system allowing16:40
you to expand your features.16:40
If you have a wordpress site you can also use easySITE, we are currently releasing support for joomla next. Our system will not act like a pluin for wordpress, it completely rewrites the index.php of that wordpress site. easySITE can be imported into any website, its fast and light weight.16:40
Dougie187 I read that.16:40
whyme Thats what it does16:41
preaction it integrates with a platform, it adds "many" features, but what are those features?16:41
interne7y left16:41
canton7 whyme, yeah, and it explains *nothing* about those. How does it improve my site? What features does it add? How does it make it faster? Will it do something stupid and screw up my system?16:41
SirFunk How does one deal with a "BUG: There are unmerged index entries:" on a merge?16:41
canton7 SirFunk, report it to the mailing list? Looks like a bug :)16:41
!list16:41
gitinfo [!mailing_list] The mailing list can be reached via [email@hidden.address] You don't need to subscribe to the list, you will always be put in cc on reply. Read archives at http://j.mp/gitlist16:41
canton7 you'll need a way to reproduce it16:41
or a transcript of what happened and a snapshot of the repo that other people can use to see what's happened16:42
sin3t left16:42
sin3t joined16:42
SirFunk canton7: it's a fairly large private repo. And not on a branch I was working on. I don't know who did what with what versions of git16:42
Lvjasha left16:42
Dougie187 whyme: Your best bet is to read some good readmes.16:42
And try to duplicate those.16:42
canton7 gather as much information as you can, then. Maybe search the archives first, see if anyone else reported it16:42
whyme Thank You guys16:43
ill edit16:43
it more16:43
add more information16:43
THX16:43
SirFunk Is there anything I can do in the meantime to continue working?16:43
The files that It is complaining about are not important. Can I skip them or something?16:43
canton7 not sure what state your repository is in. It's probably OK, and if not a reset should get rid of whatever state is hanging around in your index16:43
without knowing what happened, I can't guess at what's going on16:43
SirFunk it's happening when merging master into a branch16:44
encod3 left16:44
Sdas_it joined16:44
mikecmpbll joined16:44
qsx _ikke_: no. i was a bit dumb.16:45
a_thakur_ left16:46
madewokherd joined16:46
a_thakur joined16:46
Dougie187 SirFunk: are these public repos?16:47
SirFunk nope16:47
sadly16:47
Dougie187 :/16:47
_ikke_ SirFunk: What action did you do to cause this error?16:47
a_thakur left16:47
MattMaker left16:47
burtons left16:48
TomyWork left16:48
drewo joined16:48
DevAntoine left16:48
daniel_rose joined16:48
damjan left16:49
MattMaker joined16:49
a_thakur_ joined16:49
SirFunk _ikke_: git checkout some branch; git merge mastere16:49
*master16:49
_ikke_ Is that the only thing it outputs, or more information?16:49
Sdas_it left16:50
paul424 joined16:50
burtons joined16:51
subscope left16:51
cjbrambo left16:51
GavinMagnus left16:52
sin3t left16:52
Flowinho joined16:52
daynaskully joined16:52
a_thakur_ left16:52
tabrez joined16:52
Flowinho left16:52
SirFunk _ikke_: a few lines like these: BUG: 1 mogile-node/mogdata/dev1/0/000/000/0000000108.fid BUG: 3 mogile-node/mogdata/dev1/0/000/000/0000000186.fid16:52
veilig2000 joined16:52
sin3t joined16:52
SirFunk and fatal: Bug in merge-recursive.c16:52
MattMaker left16:53
a_thakur joined16:53
zacts left16:55
pwnz0r joined16:55
cjohnson joined16:56
ki0 joined16:56
cjohnson I've got an issue with prod I'm solving. I merged a PR into master, then later reverted that merge, and recently deployed master to prod16:56
ToBeCloud joined16:57
gitinfo set mode: +v16:57
cdg_ joined16:57
cjohnson The issue is, github's compare feature says the branches are in sync16:57
drewo left16:57
cjohnson Is this because I reverted? And the question is, if I want to fully merge the branch, will rebasing be an issue?16:57
or should I do a merge16:57
Dougie187 cjohnson: Yeah, in the past what I've done after that setup, is rebase it onto the same base, just to change the hashes16:58
and then the merge works fine.16:58
cjohnson oh merge says nothing to merge16:58
_ikke_ SirFunk: Right16:58
cdg_ left16:58
Dougie187 Yeah, because the branches are in sync16:58
cjohnson Dougie187: so I should rebase master onto branch?16:58
or other way around16:58
drewo joined16:58
_ikke_ SirFunk: Can you reproduce it?16:58
durham joined16:58
Dougie187 The other way around, but you rebase it onto the same base it has currently.16:58
So, something like:16:58
cdg_ joined16:58
fuchstronaut joined16:58
MattMaker joined16:58
Dougie187 `git checkout branch; git rebase -i ${git merge-base master branch}`16:58
cjohnson interesting16:59
a_thakur left16:59
Dougie187 I can't remember if you have to re-order the commits to get new hashes, or if you just get them as a side effect16:59
osse Dougie187: just about anything will produce new hashes17:00
durham left17:00
Dougie187 osse: Does just the act of that rebase (with no actions) cause new hashes?17:00
Or do you need at least one action?17:00
grill left17:00
cdg left17:00
osse Dougie187: git is smart enough to figure out that it doesn't have to do anything17:01
=> no new hashes17:01
ki0 left17:01
Dougie187 I thought the act of that rebase would update the commiter info in the first commit, and cause all of them to have a new hash.17:01
Oh ok17:01
drewo left17:01
Dougie187 So, you need at least one action then17:01
You could just swap the first two commits, and that would do it.17:01
drewo joined17:01
osse yep, or edit the message of the first one17:01
Dougie187 cjohnson: Is there an easier way to re-merge a branch, after a revert?17:01
sin3t left17:01
Dougie187 Yeah, that's true. that's a good idea (better than mine)17:02
choki joined17:02
Dougie187 Since swapping them isn't guaranteed to apply cleanly.17:02
err, osse: Is there an easier way to re-merge a branch, after a revert?17:02
sin3t joined17:02
osse undo the revert and merge it again I think17:02
Ezzy left17:03
phanimahesh left17:03
cdg_ left17:03
veilig2000 left17:03
fuchstronaut left17:03
lugzer left17:04
kadoban joined17:04
osse no, that's wrong17:04
lugzer joined17:04
durham joined17:04
osse !revert_merge17:05
gitinfo [!faulty_merge] If you have published a merge commit that turned out to be faulty and you'd like to get rid of it, you're probably not going to have a good time. Here's the full story: https://raw.github.com/git/git/master/Documentation/howto/revert-a-faulty-merge.txt17:05
blackwind_123 left17:05
cjohnson yeah I figured haha. I just hit the "revert" button from the github PR interface17:07
I knew I shouldn't have17:07
drewo left17:07
cjohnson Ok so when I run the git rebase -i command with the merge-base commit passed, all I see is "noop"17:07
no commits listed17:07
osse then that commit is HEAD17:08
Darren_ joined17:08
MattMaker left17:08
drewo joined17:08
SirFunk _ikke_: reproduce? It happens every time I try to merge master to that branch. I have no idea how to make another branch have that problem though17:09
LeBlaaanc joined17:09
GlenK left17:10
mikecmpbll left17:11
spudowiar joined17:11
gitinfo set mode: +v17:11
mikecmpbll joined17:11
SteffanW2 joined17:11
sin3t left17:11
venmx left17:12
stasmakarov left17:12
sin3t joined17:12
_ikke_ Alright17:13
lugzer left17:13
MattMaker joined17:14
IWishIKnew left17:14
_ikke_ SirFunk: Looking a bit through the code if I can find what's going on17:16
SirFunk thanks17:16
If there is some way I can have it ignore those files that would be cool, They are generated files and I can regenrate them17:16
BSAlb left17:17
dances-with-cats joined17:17
TomyLobo joined17:17
_ikke_ I don't think so17:17
BSaboia joined17:17
_ikke_ What does git status say afterwards?17:17
vassagus joined17:17
bjpenn joined17:17
zmachine left17:18
SirFunk no changes17:18
Vaelaterngtk17:19
gtkVaelatern17:19
_ikke_ So nothing is merged at all?17:19
mmlb left17:21
MattMaker left17:21
ash_workz joined17:21
sin3t left17:21
vassagus left17:22
dances-with-cats left17:22
sin3t joined17:22
MattMaker joined17:22
dances-with-cats joined17:22
SirFunk _ikke_: it doesn't merege anything, no17:23
Vinnie_win joined17:24
InfoTest joined17:27
subhojit777 left17:27
ki0 joined17:27
choki left17:28
dreiss joined17:29
eight58 joined17:29
rymurphy joined17:30
rymurphy Hello, is there a way to clone a repo at a specific commit?17:30
Or, could I checkout a commit without downloading the full history?17:30
GodGinrai rymurphy: you just want the files? Is this a project on github?17:31
rymurphy I just want the files, and it's for a local repo17:32
durham left17:32
eivarv left17:32
mohabaks joined17:32
MattMaker left17:32
GodGinrai rymurphy: a local repo? Then don't you already have the files?17:32
durham joined17:32
rymurphy It's for a program call17:33
command --from-repo /path/to/repo --commit foo12bar takes the repo at the commit, tars it in a temp directory, and sends it to a server17:34
cjohnson osse, Dougie187: I had to revert the revert17:35
GodGinrai rymurphy: I think you want `git archive`17:35
rymurphy I'm trying to move the repo to a temp directory for tar-ing with clone17:35
cjohnson I couldn't get a rebase to play nicely17:35
fortunately I only had to to resolve 2 small conflicts from the revert17:35
rymurphy GodGinrai: :P That's what we were doing, but someone had issues with submodules17:35
Dougie187 cjohnson: Too bad. :P I've had the rebase work in the past though, so maybe next time try it again. :P17:36
marcogmonteiro left17:36
cjohnson yeah I'm quite positive this was my fault17:36
GodGinrai rymurphy: unfortunately, that's the only way through git to get "just the files". I'd suggest using `cp` if you need something else.17:36
cjohnson I'm moving from a one-man dev operation to a team so my old workflow I think was causing headaches17:36
durham left17:36
cjohnson rymurphy: github offers an option to download a zip of a branch17:37
I bet you could specify a commit id17:37
if you're on github17:37
MattMaker joined17:37
GodGinrai cjohnson: he said it was local. I already asked that17:37
cjohnson oh missed it, sorry. that totally works though17:37
rymurphy GodGinrai: Could I clone the repo with a depth of 1, and checkout to the commit, or would I need the full history for that?17:37
Dougie187 cjohnson: Though, I guess another way to do it is something like `git revert <revert> --no-commit; git merge <branch>` or something, to get all the changes back in.17:37
hellyeah joined17:38
rymurphy GodGinrai: Or maybe create an empty one, and fetch the commit?17:38
cjohnson Dougie187: interesting. I'll have to tuck that away for the next fire17:38
lol17:38
Dougie187 Anyway, that situation is annoying. :P17:38
cjohnson yeah17:38
GodGinrai rymurphy: you are overcomplicating it. just use `cp`17:38
rymurphy GodGinrai: I can't assume that the user has the commit checked out17:39
Bunk left17:40
GodGinrai rymurphy: `git checkout <commit>; cp . /tmp/gitfolder; find . -name '.git' -exec rm {} \;`17:41
byteflame joined17:41
Rodya_ left17:41
GodGinrai ^ need to cd to /tmp/gitfolder before running that find17:41
sin3t left17:41
GodGinrai or use /tmp/gitfolder instead of "." in find17:41
sin3t joined17:42
GodGinrai also, the rm would be rm -r, I guess17:42
lugzer joined17:42
eivarv joined17:46
MattMaker left17:47
pwnz0r left17:48
jaequery joined17:48
nettoweb left17:48
cjohnson or use rsync with an exclude17:48
MattMaker joined17:49
lugzer left17:49
whyme left17:49
SourTrout left17:49
cdg joined17:50
abyx left17:50
SourTrout joined17:50
hellyeah knowing git seems good on my cv?17:50
cdg left17:51
nettoweb joined17:51
sin3t left17:51
fractalizator joined17:51
cdg joined17:51
whyme joined17:51
GodGinrai cjohnson: that works, too. But when copying on the same system, I find rsync to be a little unneeded17:52
sin3t joined17:52
SirFunk _ikke_: any idea?17:52
SourTrou_ joined17:53
SourTrout left17:53
GodGinrai hellyeah: It's worth it to put on there, IMO.17:53
SourTrou_ left17:55
burp87 left17:56
cjohnson GodGinrai: I like that it preserves permissions and such, even on the same system it's nice17:56
but yeah not strictly required17:56
alansaul joined17:56
alansaul Hey everyone, I have a bit of a odd question. I have a fork of a repository, and I *think* I made some edits. Someone else has made a fork of the same repository, I basically want to use theres, but want to make sure I am not throwing away any edits I made without knowing what they are17:57
How can I see what edits I have made to a fork since I forked?17:57
whyme left17:57
Lvjasha joined17:57
alansaul I mean commits sorry not 'edits' obviously17:57
b1tchcakes joined17:57
alansaul I guess I could diff upstream, but ideally I only want to diff with the upstream from the commit I forked it at. Is there a way of getting the hash of the commit when the fork was made easily?17:58
fuchstronaut joined17:59
kadoban alansaul: 'git log yourbranch ^origin/whateverbranch' ?17:59
fractalizator alansaul: if you didn't merge your stuff:17:59
ki0 left18:00
alansaul I don't think I merged my stuff, maybe sent a pull request18:00
fractalizator alansaul: git log origin/master..yourbranch18:00
hahuang61 joined18:00
MattMaker left18:00
chigang_ left18:01
whyme joined18:01
fractalizator and if your want to find the last common commit of two unmerged branches: git merge-base branch1 branch218:01
LeBlaaanc left18:01
rubyonrailed left18:01
daniel_rose left18:01
alansaul git log yourbranch ^origin/whateverbranch doesn't give me any commits18:01
sin3t left18:01
UncleCJ joined18:01
alansaul should I replace origin with my upstream?18:01
rubyonrailed joined18:01
sin3t joined18:02
pignaniel joined18:02
fractalizator alansaul: of course you need to use your branches and upstreams names18:02
pignaniel left18:02
whyme left18:02
fractalizator and also 'git log AAA..BBB' = 'git log ^AAA BBB' = 'git log BBB ^AAA', just different syntax18:03
that means "show me commits that are reachable from BBB, but not reachable from AAA"18:04
alansaul Hmm I think I am a bit confused. I am trying: git log master ^upstream/master18:04
Which I thought should find the commits between my local master branch, and the upstreams master branch?18:04
fuchstronaut left18:04
UncleCJ left18:04
alansaul But I get a fatal: bad revision ^upstream/master18:05
rivarun left18:05
nettoweb left18:05
davidbz left18:05
Lvjasha left18:06
rubyonrailed left18:06
fractalizator alansaul: what does git branch -a say?18:06
medeirosthiiago joined18:07
alansaul Sorry just to be clear, I was running: git log devel ^upstream/devel before18:07
and git branch -a gives me:18:07
* devel18:07
master18:07
remotes/origin/HEAD -> origin/master18:07
whyme joined18:07
alansaul remotes/origin/devel18:07
And then some other branches I don't care about18:07
YourTheBombNow23 joined18:08
fractalizator and git remote?18:08
kadoban alansaul: Where did the "upstream" name come from?18:08
alansaul I have a feeling it has something to do with the HEAd?18:08
I just added the remote called upstream, with git remote add upstream "blah".git18:08
where blah is the url18:08
git remote, lists both origin and upstream18:09
kadoban alansaul: You need to fetch then. 'git fetch --all'18:09
fractalizator alansaul: you need git fetch upstream then18:09
whyme left18:09
rahtgaz left18:09
nettoweb joined18:09
alansaul Okay, thats like a pull without merging right?18:09
perlpilot joined18:09
fractalizator alansaul: and then you'll get your "upstream/stuff" branches18:09
solrize left18:09
mischat joined18:09
fractalizator alansaul: right18:09
lifeforms joined18:10
alansaul Okay, now git log devel..upstream/devel lists lots of commits, but they are commits made on the upstream18:10
I want it the other way, commits I have made, that aren't on upstream.18:10
UncleCJ joined18:10
alansaul Is that possible?18:10
fractalizator alansaul: didn't you want upstream/master?18:10
oops, nevermind18:10
alansaul No sorry, I made that confusing in my first message, I actually want to diff devel and upstream/devel18:11
fractalizator alansaul: do git log upstream/devel..devel18:11
alansaul And get the commits I have made, but that aren't upstream18:11
Excellent18:11
durham joined18:11
alansaul Thats exactly what I want, thanks, I was being dumb not thinking to change it around18:11
govg left18:11
durham left18:11
sin3t left18:11
durham joined18:12
sin3t joined18:12
shinnya left18:12
UncleCJ left18:13
whyme joined18:13
veilig2000 joined18:14
rivarun joined18:14
settermjd joined18:14
settermjd left18:14
mischat left18:14
_ikke_ SirFunk: Your best option is the !mailing_list18:15
gitinfo SirFunk: The mailing list can be reached via [email@hidden.address] You don't need to subscribe to the list, you will always be put in cc on reply. Read archives at http://j.mp/gitlist18:15
PCatinean left18:15
Patrick- left18:15
drewo left18:16
danimal2 joined18:16
_Patrick_ joined18:17
lifeforms hey all, I want to purge a big file from a dev branch (for instance using BFG), I'm fine with having devs do a new clone on their workstations, but will this also hurt people who are tracking the master branch (which does not have the file)?18:17
alansaul Another stupid question (that I can google if you tell me I am being stupid). When I merge, its often the case that the merge becomes one big commit, that I am then *blamed* for, is there any way around this?18:17
daniel_rose joined18:17
_ikke_ alansaul: No, this should only affect the dev branch18:17
lifeforms _ikke_: <318:17
alansaul Seems weird, that sometimes when I merge something in, if there is any edits, *everything* gets blamed on me.18:17
_ikke_ lifeforms: sorry I meant you of course :P18:17
jimi_ left18:18
lifeforms ;) I detected it anyway. thanks, this is my big worry (well except destroying the universe)18:18
settermjd joined18:19
rivarun left18:20
UncleCJ joined18:20
nitric alansaul: that's not how git merge works (unless you're auto-squashing or doing something weird)18:20
whyme left18:20
alansaul It's happening when I pull18:20
osse pull = fetch + merge18:21
sin3t left18:21
osse sounds like you're talking about the merge commit18:21
and yes, those are fairly large when you diff it18:21
MattMaker joined18:21
alansaul Like if someone has made lots of commits, and I pull the commits, a window opens with something along the lines of "Merge remote-tracking branch 'upstream/devel' into devel", if I just save and close that commit message, I get blamed for everything I've just pulled in18:21
Even though I never touched them.18:22
osse but if you're blamed (in real life in the human sense) because of that commit then the accusers are morons18:22
sin3t joined18:22
daniel_rose left18:22
rivarun joined18:22
danimal2 hi guys, confused on a few things.when i fork a project on git, i create my own repo.if i want to be able to keep the master in sync with the original repo, do i have to create my own branch? id like to be able to do pull requests, work on my own code and keep it up to date with the original repo.18:22
alansaul Yes a merge commit is probably the correct terminology18:22
chll_ left18:23
danimal2 sorry meant github not git18:23
osse alansaul: http://sprunge.us/CSTT18:23
perlpilot danimal2: do you mean "fork on github"? If so, they have lots of good documentation on this very topic18:23
whyme joined18:23
danimal2 perlpilot yes sorry18:23
LBV_User left18:23
eijk left18:23
osse alansaul: the M's will have your name on them, and that's ok18:23
gitinfo set mode: +v18:24
whyme hu18:24
alansaul but if I did a git diff M^! then it has everything that happened18:24
whyme so18:24
spudowiar left18:24
alansaul all through E F G H unless I'm mistaken?18:24
whyme So i improved my code18:24
Is there a reason that no one is downloading18:24
it18:24
UncleCJ left18:25
unreal left18:25
FilipNortic left18:25
whyme left18:26
UncleCJ joined18:26
osse alansaul: yes18:26
FilipNortic joined18:27
daniel_rose joined18:27
alansaul that seems odd, so that if people did a git blame, my name will be next to anything happened in E F G and H?18:27
rymurphy left18:27
bocaneri left18:27
alansaul I could be wrong :)18:27
osse have you tried? :) I think git blame skips merges18:27
ki0 joined18:27
cjohnson I believe it does. the actual commit that caused the change in the file is not the same as the merge that merged it into the branch18:27
osse looking at the diff of a merge usually isn't very interesting, because of what you see. it'18:28
it's huge18:28
whyme joined18:28
UncleCJ left18:29
SwiftMatt joined18:29
cjohnson https://i.imgur.com/pHOMceO.png18:30
MattMaker left18:30
Spacew00t joined18:30
whyme left18:30
cjohnson the commit id on line 3 is from the commit that changed the file from dev, not from my merge commit18:30
LionsMane joined18:30
sin3t left18:31
osse alansaul: it maketh sense: git blame shows how a line came to be in a file. If a particular line is present in one of the ancestors of the merge commit then it did not originate from the merge.18:31
danimal2 so my question is after i created my own fork and move files into a folder called htdocs will that cause my fork to not stay in sync with the original?18:31
cjohnson Oh maybe git merge actually did a rebase though. that might not be a valid test18:31
thebloggu left18:32
cjohnson I don't see a merge commit18:32
sin3t joined18:32
osse alansaul: if, however, the line is not present in either of the ancestors then it will be attributed to the merge commit itself, and rightly so18:32
whyme joined18:32
osse I mean parents, not ancestors.18:32
moritz danimal2: git repos don't magically stay in sync. You have to pull changes in18:32
lifeforms _ikke_: it seems to have worked, cheers :)18:33
moritz danimal2: pull = fetch + merge, usually merge across renamed files works pretty well in git18:33
gitinfo set mode: +v18:33
lifeforms I feel I have leveled up in git18:33
kfunk left18:33
YourTheB_ joined18:33
whyme https://github.com/devmachine321/easySITE <-- Can someone look at my git repo18:33
Dyonisos joined18:33
cjohnson danimal2: I have done what you are attempting to do and I can say that it was definitely a lot more hassle that way18:33
_ikke_ whyme: sure, look at what?18:34
cjohnson especially if you ever want to merge back up18:34
whyme my readme is it good18:34
ack_inc left18:34
Manuel15 left18:34
cjohnson whyme: only you can tell. does it adequately describe the system and repo to a new user?18:34
danimal2 cjohnson thats what i was thinking...so dont commit a change like that..will cause headaches it seems18:34
whyme hmm18:35
brb18:35
kfunk joined18:35
jimi_ joined18:35
MattMaker joined18:35
cjohnson depends also on who the readme is for. is it for a dev or for a user?18:35
cdg left18:36
danimal2 moritz, thanks for that..understand18:36
_ikke_ whyme: "This has nothing to do with wordpress"18:36
whyme: Not the best way to start describing your product18:36
whyme well18:36
hmm18:36
I need someone who is great at writin Readme files18:37
lugzer joined18:37
interne7y joined18:37
_ikke_ Not me18:37
settermjd left18:37
whyme how do i get op18:38
I want op18:38
lifeforms some things never change18:38
whyme left18:38
osse like war18:38
Seveas war is peace18:38
APic True.18:38
Seveas freedom is slavery18:38
APic 18:38
nitric france is bacon18:38
osse ignorance is strength18:39
Seveas ignorance is strength18:39
heh18:39
_ikke_ nitric: :D18:39
Seveas git is version control18:39
osse rebase -i18:39
mikecmpbll left18:39
APic Francis?18:40
YourTheBombNow23 left18:40
YourTheBombNow23 joined18:40
_ikke_ APic: https://www.reddit.com/r/AskReddit/comments/dxosj/what_word_or_phrase_did_you_totally_misunderstand/c13pbyc18:40
APic opens18:41
johnmilton left18:41
YourTheBombNow23 left18:41
APic Yay, rReddit.18:41
o/18:41
-r18:41
sin3t left18:41
sin3t joined18:41
interne7y left18:41
Rodya_ joined18:42
up_the_irons joined18:42
gmh joined18:42
lugzer left18:42
APic Uh oh.18:42
Seen enough Reddit for today, i guess. B-)18:43
Seveas reddit, bludat, greenwat..18:43
rubyonrailed joined18:44
MattMaker left18:45
mikecmpbll joined18:45
Rodya_ left18:46
YourTheB_ left18:46
heroux left18:47
YourTheBombNow23 joined18:47
unreal joined18:47
YourTheBombNow23 left18:48
alansaul left18:48
abyx joined18:48
beyertech left18:48
Manuel15 joined18:48
Manuel15 left18:48
Manuel15 joined18:48
neca left18:48
YourTheBombNow23 joined18:49
kbs` left18:50
qpdb joined18:51
sin3t left18:51
govg joined18:51
sin3t joined18:51
YourTheB_ joined18:51
YourTheB_ left18:52
mmlb joined18:52
heroux joined18:52
NeXTSUN joined18:52
nopea joined18:53
alansaul joined18:53
tjone270 left18:54
nopea I have a WordPress server that I have setup git with (just my theme child dir), and I was thinking that I might move my WordPress to a new server. This could be done by simply zipping up the Wordpress dir. But I am wondering, would the .git directory also get included in that (and if I am to unzip to a new server)18:55
_ikke_ nopea: That should just work18:55
MattMaker joined18:55
nitin joined18:55
nopea perfect - I thought it should (as it just needs to copy the .git dir)18:56
moritz nopea: you can look into the .zip file and see if the .git dir is included18:56
fahadash joined18:57
nopea thanks guys - just wanted to make sure that it is not 'attached' any way to the server itself, and that it is just the files (again from the .git dir) that are needed.18:57
_ikke_ yes, that's correct18:57
LiohAu left18:58
ki0 left18:59
Derperperd left19:01
sin3t left19:01
sin3t joined19:01
beyertech joined19:02
nopea left19:03
nitin left19:03
DolphinDreamm is there such thing as pulling --tags ?19:03
i7c git fetch --tags19:04
MattMaker left19:04
Balliad joined19:04
fractalizator left19:05
MattMaker joined19:05
nettoweb left19:05
_ikke_ tags should be fetched automatically19:05
j416 fetched but not updated if they already exists19:06
DolphinDreamm but there is no --tags flag for pull i take19:06
Sasazuka joined19:06
byteflame left19:06
_ikke_ j416: by design19:06
j416 (just adding to your comment)19:06
Gamecubic joined19:07
SteffanW2 left19:07
felher_ left19:08
felher joined19:09
nettoweb joined19:09
nettoweb left19:10
InfoTest left19:10
sin3t left19:11
sin3t joined19:11
mmlb left19:12
danimal2 Created a branch called mywork, and in sourcetree i have that branch selected. when i commit a change it wont affect the master branch, just the mywork one, right?19:12
Manuel15 left19:12
clemf left19:12
j416 if that branch is checked out, yes.19:12
it will only affect that branch.19:12
darkbit joined19:13
danimal2 j416, yes that is the one checked out, ok thanks.. i need to keep master branch clean so it will pull updates from the original repo on github that i forked.19:13
j416 sounds sane.19:13
danimal2 awesome thanks!19:14
MattMaker left19:14
johnmilton joined19:14
j416 :)19:14
daniel_rose left19:14
tinajohnson___ left19:15
Electrometro left19:15
daniel_rose joined19:15
star_prone joined19:16
EduardoMartins joined19:17
eivarv left19:18
Mannn joined19:18
Manuel15 joined19:18
Manuel15 left19:18
Manuel15 joined19:18
BrianJ joined19:18
rockitude left19:19
jeffreylevesque left19:19
docnvk left19:19
johnmilton left19:19
daniel_rose left19:19
mymohsin joined19:20
docnvk joined19:20
mymohsin left19:21
star_prone left19:21
sin3t left19:21
robotroll joined19:21
sin3t joined19:21
nettoweb joined19:23
NeXTSUN left19:24
MrWoohoo left19:24
MattMaker joined19:24
veilig2000 left19:24
mmlb joined19:25
m0viefreak joined19:25
LiohAu joined19:26
docnvk left19:26
sagerdearia joined19:27
DolphinDreamm ha19:28
docnvk joined19:28
DolphinDreamm it seems that git pull --tags does work.. it fetches --tags and merges remote into the current branch19:28
byteflame joined19:28
burtons left19:29
burtons joined19:29
claudiop left19:29
sin3t left19:31
lugzer joined19:31
sin3t joined19:31
burtons left19:31
_sjs joined19:32
johnmilton joined19:32
ki0 joined19:34
paul424 left19:34
netcarver joined19:35
treehug88 joined19:36
phaleth left19:36
EduardoMartins left19:36
fuchstronaut joined19:37
MattMaker left19:38
jeffreylevesque joined19:40
lugzer left19:40
choki joined19:42
hellyeah left19:42
dunpeal joined19:42
eivarv joined19:42
dunpeal Hi. We have a fairly large team and all our merges into master are done as feature branches merged via pull-requests (probably a common workflow?). How should we deal with the accumulation of merged, obsolete feature branches over time?19:43
osse dunpeal: delete them19:44
dunpeal osse: but isn't it up to every single developer to delete them? since they all get pulled automatically...19:44
Balliad left19:44
Ardethian\work left19:44
osse dunpeal: anyone with push access can delete them19:44
Ardethian\work joined19:44
l4v2 left19:45
GodGinrai dunpeal: delete them once you confirm that the merged changes didn't negatively affect master19:45
which you should be doing anytime you merge master19:45
TooLmaN left19:45
dunpeal right, but if you have N developers, and they all pull branch X, then once X gets merged, all N developers have to individually delete X from their local Git node...19:45
GodGinrai well yea19:46
that's to be expected19:46
veilig2000 joined19:47
GodGinrai I mean, you wouldn't want a file you downloaded to be deleted just because it doesn't exist online anymore, right? Same idea.19:47
If a dev wants to be rid of the branch they checked out, they must remove it themselves19:47
cyan__ left19:48
SpeakerToMeat left19:48
SpeakerToMeat joined19:48
ResidentBiscuit Don't think of it as a git node, think of it a git repo. Everybody has their own repo. It makes no sense for deletes to propogate to all the clones19:49
nilg joined19:50
paul424 joined19:50
clemf joined19:51
osse dunpeal: no. if it's deleted from the remote then they can fetch --prune19:52
synthroi_ left19:52
p4trix joined19:52
IWishIKnew joined19:54
clemf left19:54
nilg left19:55
MafiaInc joined19:56
clemf joined19:56
MafiaInc left19:56
cdg joined19:57
mohabaks left19:57
clemf left19:57
daniel_rose joined19:58
clemf joined19:59
mar77i left19:59
sin3t left20:01
sin3t joined20:01
Electrometro joined20:01
robotroll left20:02
daniel_rose left20:02
MattMaker joined20:03
dunpeal osse: looks like --prune would only remove remote references to branches, but not local branches?20:04
mar77i joined20:04
osse dunpeal: I'm confused. If they "pull branch X" then they will merge the remote one20:04
dunpeal i.e. if at any point I checked out branch-foo, `fetch --prune` won't remove it just because it's gone on the remote - I'd have to explicitly `brahcn -d` it20:05
osse yes20:05
mrpackethead left20:06
dunpeal osse: I'm talking about two types of developers: 1) isn't involved in foo's development, so only pulls this branch incidentally, in which case `fetch --prune` will remove it20:06
2) was involved in foo's development, in which case it seems `branch -d` is necessary20:06
MattMaker left20:06
GodGinrai dunpeal: As I said before. The server shouldn't be deleting local branches. Your devs need to take responsibility for the branches they check out and delete their local copies20:07
clemf left20:08
altendky left20:08
osse also: that one particular developer's local repo is a mess does not affect all the other developers20:08
clemf joined20:08
mablae joined20:08
mischat joined20:08
ki0 left20:09
lugzer joined20:10
clemf left20:10
mablae left20:11
sin3t left20:11
dunpeal osse: as a perfectionist, I'd rather they all be very neat.20:11
clemf joined20:11
sin3t joined20:11
Darren_ left20:11
clemf left20:11
osse dunpeal: unfortunately git lives and lets live, and you can't make it do stuff to other peoples own repos20:12
the main goal should be to keep the main/central/official repo clean.20:12
it's the only goal that's easily achievable20:13
Faylite joined20:13
mischat left20:13
eivarv left20:14
nwkj86 joined20:14
SwiftMatt left20:15
dances-with-cats dunpeal: as long as the devs aren’t pushing their local copy of the branch back to the origin, it shouldn’t be an issue if they have a collection of dead branches on their local repo20:15
foist joined20:15
durham left20:15
rahtgaz joined20:15
GodGinrai dunpeal: making the server do things to people's repos could have horrible problems. (example: someone deletes an unmerged branch from the server, now everyone who pulls loses that branch)20:15
unbalancedparen joined20:15
durham joined20:15
trewe joined20:16
shinnya joined20:16
zacts joined20:16
eivarv joined20:16
aard_ left20:16
dunpeal osse: yeah, I'm just trying to establish best practices20:17
so far here's what I have:20:17
1) Once you've merged your PR, `git branch -d <merged-branch>`20:17
2) Then `git push origin --delete <merged-branch>`20:17
osse Agreed20:17
dunpeal 3) Finally `git fetch --prune` to remove remote reference.20:17
ResidentBiscuit If you're on GitHub/Lab, you can just click "Delete merged branch" after the merge20:18
Who cares what devs have on their machine20:18
dunpeal Done. As long as everyone occasionally fetch --prune, they'd all have a clean local.20:18
osse dunpeal: if it's a PR-style workflow then (2) can be done by the guy who accepts the PR.20:18
nitric ResidentBiscuit: perfectionists, apparently20:18
dreiss left20:18
daniel_rose joined20:18
mohabaks joined20:18
osse dunpeal: and (3) can be made automatic by doing ''git config fetch.prune true''20:18
lugzer left20:18
YourTheBombNow23 left20:18
ResidentBiscuit I never remember to delete my local branches. Every month or so I go on a cleaning spree20:19
rivarun left20:19
dances-with-cats left20:19
dances-with-cats joined20:19
diegoviola joined20:20
sin3t left20:21
sin3t joined20:21
rivarun joined20:21
perlpilot left20:24
Electrometro left20:25
SwiftMatt joined20:27
veilig2000 left20:27
DolphinDreamm left20:28
mohabaks left20:28
clemf joined20:28
airdisa left20:28
rwb left20:29
dreiss joined20:29
rivarun left20:29
sin3t left20:30
sin3t joined20:31
danimal2 a repo i need to work with has one branch - master, and several tags. assume i only care about Tag A. do i check out Tag A into my own branch? i dont want to mess up the master branch. sourcetree states by checking out Tag A it will create a detached head, etc. is that what i should do? thanks!20:33
alansaul left20:34
p1k hey so I have a submodule which I committed to20:34
daniel_r_ joined20:34
_ikke_ danimal2: Yeah, just create another branch based on the tag20:34
kadoban danimal2: What does "check out Tag A into my own branch" mean?20:34
p1k so logically the outer repo should now have an untracked submodule ref, but it doesn't show up on git status20:34
lifeforms left20:34
cjohnson p1k: you committed to the submodule from within the submodule as it sits on your parent repo's working copy?20:34
or, you have a clone of that submodule somewhere else, changed it somewhere else20:34
danimal2 _ikke_ ok got it.20:35
eivarv left20:35
cjohnson dunpeal: I would strongly recommend against auto-deleting anything. sometimes things happen and the only good backup is a dev's local repo20:35
p1k cjohnson: I have two of the same submodule they are both up to date with the remote master20:35
danimal2 kadoban like he said i would be creating a branch based on the tag.20:36
daniel_r_ left20:36
cjohnson p1k: your parent repo has two submodules both of which refer back to the same repo?20:36
dunpeal cjohnson: yeah, nobody is going to auto-delete anything (as others observed, there's no concept of centralized control in Git anyway), just posting some best practices for my fellow devs20:36
p1k cjohnson: they refer to the same other repo20:36
cjohnson: oh that's weird git status --verbose showed the untracked updates to submodules20:37
cjohnson p1k: you keep skipping parts of my questions20:37
p1k but regular git status did not20:37
cjohnson :P20:37
daniel_rose left20:37
rivarun joined20:37
cjohnson if you have two submodules, they aren't going to know about new updates until you update those submodules20:37
dances-with-cats left20:37
bongjovi left20:37
jimi_ left20:38
interne7y joined20:38
dances-with-cats joined20:38
cjohnson doesn't matter if htey point to the same remote20:38
dances-with-cats left20:39
rossome left20:40
sin3t left20:40
sin3t joined20:41
eivarv joined20:41
eivarv left20:42
interne7y left20:42
Rodya_ joined20:43
codeman_ left20:43
abyx left20:44
Anoia joined20:44
Anoia left20:45
Anoia joined20:45
Anoia hi all20:45
I have an issue at work were a named branch no longer seems to contain the changesets I;ve previously committed ont hat branch20:46
_ikke_ Ok20:46
Anoia form what I;ve read, it's possible for people pushing to change where a branch name points to20:46
is that correct?20:46
_ikke_ Yes, a branch is just a pointer, you can point it to whatever you want20:46
though you need to force push to the server when you point it to something not descending from what it currently is20:47
Anoia i.e. someone (force) pushes which "moves" the branch to another changeset20:47
_ikke_ Anoia: Correct20:47
Anoia ok20:47
so it looks liek some idiot force pushed :(20:47
_ikke_ But that does not affect your local history immediately20:47
Anoia great20:47
not until I git pulled and all my changes disappeared... :)20:47
_ikke_ git pull just merges20:47
So, the commits are still there20:48
Anoia but no longer seem to be a descendant of that branch20:48
decenedant? predecessor reven20:48
-typos20:48
hahuang61 left20:49
brandon joined20:49
_ikke_ You should see the merge of the pull you did20:49
osse "ancestor" i think is the common term20:49
Anoia osse: that's the one20:49
brandonGuest3123820:49
Anoia _ikke_: I don't, my repo was clean when I pulled20:49
_ikke_ Anoia: Do you still have the terminal session?20:49
Anoia and all my changes were pushed20:50
sadly not at the moment, I will do tomorrow though20:50
I just wanted to check that my understanding was correct20:50
_ikke_ Anoia: Did you set something up to rebase on pull instead of merge?20:50
Anoia: By default, git pull merges, which would merge the old history with the new history20:51
Guest31238 left20:51
Anoia would it still do that if I didn;t have any local only history?20:51
everythign I had was on the server already20:52
_ikke_ Yes, because of the rewriting you think happened20:52
mikecmpbll left20:52
_sjs_ joined20:52
mikecmpbll joined20:52
Anoia rewrite? of the branch/bookmark20:52
_ikke_ bookmark is an hg term :)20:52
Guest55 joined20:52
Rodya_ left20:52
Anoia yeah, I'm an hg user normally :)20:53
new job uses git20:53
_ikke_ 6right20:53
Anoia (sorry!)20:53
_ikke_ np20:53
Anoia we have some customisations to the workflow, but I don;t know to what extent20:54
dances-with-cats joined20:54
_sjs left20:54
ToBeCloud left20:54
mibr0 joined20:55
Anoia if there is a merge between my, and what is the new branch, is there a way to reinstate it?20:55
aidalgol joined20:55
irco joined20:55
osse the reflog can help20:56
Anoia if I check it out, it becomes detached20:56
clemf left20:56
_ikke_ Anoia: It helps to look at the history to see what actually happened20:56
_sjs_ left20:56
alansaul joined20:56
nikitasius left20:57
Anoia git log shows a number of merges from what is now the branch and what I thought it should have been (only if I do --all)20:57
I'll get more info when back in work though20:57
nidr0x joined20:57
abyx joined20:57
_ikke_ ok20:57
Anoia if the git admins haven;t worted it by then20:57
(admin gits? :)20:57
_ikke_ Anoia: like osse said, the reflog keeps track of HEAD and branches for 90 days20:58
Anoia thanks though, it gives me a bit more info20:58
_ikke_ So everything is still in your local repository20:58
Anoia yeah, I can see it all in git show and in another branch20:59
Rodya_ joined20:59
Anoia just not the one I;m working on :)20:59
sin3t left21:00
Anoia git reflog looks useful, I see what I can dig out of that too21:00
sin3t joined21:01
mohabaks joined21:01
NeXTSUN joined21:01
seishun left21:02
Captain_Ramius joined21:02
Captain_Ramius OK, I give up.21:02
*Hi, how is everyone?21:03
fmcgeough left21:03
dsdeiz joined21:03
Captain_Ramius I'm trying to push my code to github for peer review but I don't want to include certain parts of a file.21:03
_ikke_ Those keys are like next to eachother21:03
:P21:03
rubyonrailed left21:03
Captain_Ramius Is there an easy way to do that? Or should I put it in a separate file and include it (in PHP)?21:04
LionsMane left21:04
_ikke_ Captain_Ramius: Yes, the latter21:04
vassagus joined21:04
rubyonrailed joined21:04
_ikke_ If you don't want to share certain information, don't commit it21:04
Anoia Captain_Ramius: bear in mind that it'll still be in the history21:04
IWishIKnew left21:04
Captain_Ramius OK. It just occurred to me as I was asking the question. I did that with my DB credentials.21:04
_ikke_ Right, that's the best way21:04
Captain_Ramius Yeah, I just reset the push and now I need to rollback the commit right?21:04
lugzer joined21:05
Captain_Ramius AHHHH!21:05
sangy joined21:05
_ikke_ enlightenment21:05
Captain_Ramius My reset deleted my new files.21:05
_ikke_ The commits are still there21:06
Captain_Ramius Yeah, my Notepad++ just said "this file is no longer in this folder; you can't edit it anymore"21:06
So how do I get my files back locally? I see that they're on my Github though.21:07
_ikke_ use git reflog to find the commit, and reset your branch back to it21:08
vassagus left21:08
dsantiago left21:08
Captain_Ramius OK, I found the ID for the pre-reset commit21:08
rubyonrailed left21:09
Captain_Ramius What do I do with it? "reset --commitID"?21:09
_ikke_ git reset --keep <id>21:10
Captain_Ramius OK21:10
Captain_Ramius hopes he doesn't screw it up again21:10
rubyonrailed joined21:10
sin3t left21:10
Captain_Ramius PHEW! Thanks!21:10
sin3t joined21:11
Captain_Ramius I have to admit: despite the heart palpitations, it is educational lose several hours of work.21:11
*to lose21:11
_ikke_ git really makes it hard to loose any comitted work21:11
Captain_Ramius I like git reflog better than git log: the latter floods my screen.21:12
_ikke_ Captain_Ramius: git log --oneline -1021:12
lugzer left21:13
Captain_Ramius Boy, they thought of everything didn't they? It's nice to use tools that don't cut your hand off.21:13
_ikke_ git reflog is something different though, it shows you the commits where HEAD has been21:13
Captain_Ramius OK, I just ran "log --oneline" and "reflog" to see the difference.21:13
To be honest, I'm still not sure what a HEAD even is.21:14
_ikke_ !HEAD21:14
gitinfo HEAD is a 'pointer' to the currently checked out branch (or commit, if HEAD is !detached). In bare repositories it tells clients which branch to checkout initially after cloning. Unlike commonly believed, HEAD is *not* something that exists separately for every branch. It also is *not* necessarily the newest commit in the repo (that's hard to define in a DVCS, anyway...)21:14
Captain_Ramius Hmmm.21:14
_ikke_ You use the reflog when you somehow lost commits21:14
Captain_Ramius HEAD is like saying "the paper right in front of me on the desk, not the stack over there"?21:14
_ikke_ git symbolic-ref HEAD21:15
try to execute that21:16
mariuscc left21:16
Captain_Ramius returns "refs/heads/master"21:16
_ikke_ right21:16
johnny56 left21:16
_ikke_ That says that master is the currently checked out branch21:16
Any new commits will be appended to that branch21:16
johnny56_ joined21:16
sangy left21:17
Captain_Ramius it's a sym-link, then. That makes sense: like the shortcuts in windows or alias in macOS or whateveritscalled in linux21:17
LiohAu left21:17
_ikke_ Yes, a symbolic ref is how git calls it21:17
Captain_Ramius got it.21:17
livingstn left21:17
rivarun left21:17
fees left21:17
_ikke_ When pointing to a commit instead of a branch, git calls it that HEAD is detached21:17
Captain_Ramius OK21:18
SilNc joined21:19
paul424 left21:19
Captain_Ramius Thanks a bunch. My dull headache indicates I've learned a lot today. :-D21:19
sonOfRa http://classicprogrammerpaintings.com/post/144602205627/git-detached-head-state-gustave-moreau-1876 :)21:19
_ikke_ :-)21:19
reim joined21:20
sin3t left21:20
sin3t joined21:21
GodGinrai left21:23
kbs joined21:25
ChanServ set mode: +o21:25
Eugene changed the topic to: Welcome to #git, the place for git help and doorbells | Public logs at http://goo.gl/BuUi5o | Current stable version: 2.9.2 | First visit? Read: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | Knock knock. Who's there? Git. Git-who? Sorry, 'who' is not a git command - did you mean 'show'?21:25
Eugene set mode: -o21:25
rivarun joined21:26
_ikke_ The joke actually works21:26
Eugene Levenshtein functions, how do they work21:26
osse checks if its his21:26
fuchstronaut left21:27
Finnoloid left21:27
kappy joined21:27
byteflame left21:28
Eugene I believe the git-blame for that one lies with me21:29
osse it does21:29
initial commit21:29
p4trix left21:30
sin3t left21:30
sin3t joined21:31
ExoUNX left21:32
abdul left21:32
fuchstronaut joined21:33
dunpeal So I can ask about doorbells and it would be ontopic here?21:33
clinth joined21:33
_ikke_ PRobably, yes21:34
Guest55 left21:34
reim left21:34
pwnz0r joined21:35
rik316 joined21:35
rahtgaz left21:35
csd_ left21:36
rik316 left21:36
fuchstronaut left21:38
SilNc left21:39
doebi left21:40
sin3t left21:40
sin3t joined21:41
GT4066 joined21:41
Derperperd joined21:41
cjohnson Captain_Ramius: it's called a symlink in linux :P21:41
windows has them too. shortcuts are different21:41
Samual joined21:42
nevyn are shortcuts first class in windows yet?21:42
cjohnson windows has first class sym links21:42
has for several versions21:42
shortcuts are something else21:42
rivarun left21:43
Captain_Ramius cjohnson, that's ironic: I don't know what first class is21:43
Nugget symlinks with extra legroom and free booze21:43
_ikke_ Fully supported, native21:43
cjohnson with a shortcut, you can't make a shortcut to some file called foo, then edit that shortcut in your favorite editor21:43
unless the editor knows how to read teh shortcut21:43
nevyn right it needs app side support21:44
cjohnson with a symlink, being first class supported from the OS, the editor doesn't have to know21:44
dances-with-cats left21:44
cjohnson the OS just transparently links to the true file21:44
tabrez left21:45
abyx left21:45
abyx joined21:46
rivarun joined21:47
irco left21:48
Guest55 joined21:49
uri joined21:49
ikmaak left21:50
sin3t left21:50
kbs left21:51
sin3t joined21:51
Captain_Ramius Oh yeah, one more question:21:51
Mannn left21:51
Captain_Ramius I'm trying to add a dummy version of a file to my Github account containing sensitive data.21:51
I think I just figured it out.21:52
Dougie187 left21:52
Captain_Ramius Maybe not:21:52
How do I add a dummy version of a file like config.php?21:52
Doginal joined21:53
Captain_Ramius Just name it configDummy.php instead and push it to Github?21:53
(The other projects I see there have config.php but empty values for the credentials variables, like db_user etc.)21:53
rik316 joined21:54
Spec-Chum left21:54
kadoban Captain_Ramius: !config21:54
gitinfo Captain_Ramius: [!configfiles] It is recommended to store local configuration data in a file which is not tracked by git, but certain deployment scenarios(such as Heroku) may require otherwise. See https://gist.github.com/1423106 for some ideas21:54
kadoban Ignore most of that text, some of the link suggestions should help you out though.21:55
clinth left21:55
le_melomane left21:55
blockzombie joined21:56
Captain_Ramius It's a bit over my head. I'll see if I can slug through it.21:56
cjohnson Captain_Ramius: for sensitive data I keep a template file like you said and fill it out on the actual machines, if I don't have any other configuration management solution in place21:56
Portable left21:56
Spec-Chum joined21:56
cjohnson for insensitive data I try to do as much as I can to ensure sane defaults and environment-selected values21:57
so per-server config files really just contain API keys and the like. anything else should be baked in in some fashion21:57
Captain_Ramius yeah, that makes sense conceptually. I just have trouble making it happen.21:57
cjohnson If your difference between prod and dev machines is debug = 1, don't keep debug in your per-machine file, put debug = 1 in dev.php, debug = 0 in prod.php21:58
and include relevant file based on environment21:58
madewokherd left21:58
Captain_Ramius It's not a BIG deal in this case. I'm only using Github to share code with friends for peer review. They don't care if there's a dummy config file because they don't plan to RUN the code.21:58
It's the principle of the matter...and later, when I deploy, the server db credentials will be different than my dev environment.21:59
rivarun left21:59
lugzer joined21:59
Captain_Ramius So, I don't think I actually need a dummy file right now.21:59
davisonio left22:00
sin3t left22:00
ResidentBiscuit left22:00
sin3t joined22:00
rivarun joined22:02
chris2 joined22:02
dances-with-cats joined22:03
csd_ joined22:05
lugzer left22:08
therealGent joined22:08
therealGent left22:08
therealGent joined22:08
rahtgaz joined22:08
rahtgaz left22:08
rahtgaz joined22:08
rik316 left22:08
zacts left22:09
cjohnson depending on your setup you can also just firewall the DB and have open access to allowed app servers22:09
then you don't have to put any credentials in22:09
csd_ left22:09
Electrometro joined22:09
cjohnson that's what I try to do: everything I can to make the configuration consistent22:09
dhollinger left22:10
uri left22:10
sin3t left22:10
sin3t joined22:10
mikecmpbll left22:12
cjohnson I also use consistent host names between machines22:12
so the db's hostname is always just "percona-cluster" but on dev local, /etc/hosts points percona-cluster to 127.0.0.122:12
dances-with-cats left22:13
therealGent left22:15
rubyonrailed left22:15
rubyonrailed joined22:16
mohabaks left22:17
workkevin left22:17
dances-with-cats joined22:17
dunpeal What's the closest thing to Github that is OSS? Gitlab?22:18
ShekharReddy left22:19
StarWarsFanStarWarsFan|afk22:20
sin3t left22:20
mrpackethead joined22:20
sin3t joined22:20
rubyonrailed left22:20
AaronMT left22:21
clemf joined22:21
nitric dunpeal: gitlab calls itself "open core software", but basically yes, they're as close to github as you can get, feature-wise22:25
hahuang61 joined22:25
dsantiago joined22:26
splud joined22:26
choki left22:26
d4rklit3 joined22:26
splud I’m in the process of scripting some corefile processing. To this end, I need to be able to check out the appropriate commit from a source repository. This much actually does work - but what I’m having some trouble with is restoring the repo to the commit it was at before the core analysis.22:27
dances-with-cats left22:28
Spacew00t left22:28
splud I can get the branch, and the current commit, but if I attempt to checkout the commit (which may in fact be the HEAD of master), I’m left in a detached head state.22:28
cjohnson splud: why can't you just git checkout original-branch ?22:29
zivester left22:29
splud what if the repo wasn’t at that time at the HEAD of original-branch?22:29
nitric splud: if you're just doing exactly one checkout, "git checkout -" will get you back to the previous HEAD. or, save the output of "git rev-parse HEAD" before you detach22:30
sin3t left22:30
nwkj86 left22:30
cjohnson splud: sounds like a weird thing you're doing, this will be run on a dev machine?22:30
hahuang61 left22:30
sin3t joined22:30
mibr0 left22:30
nettoweb left22:31
splud using the commit id from `git rev-parse HEAD` still leaves me wihe detached head.22:32
which is curious, because that commit is HEAD.22:32
durham left22:32
i7c No it’s not.22:32
nitric you did "git rev-parse HEAD" *before* you checked out "the appropriate commit"?22:33
splud yes, on dev machine. Would rather not have to have a separate copy of the repos lingering about - eventually this may be on a server with clones of repos specifically for supporting analysis.22:33
i7c If you checkout a commit by its commit id you will always be in detached head.22:34
+mode22:34
fuchstronaut joined22:34
splud yes, in fact at shell: git checkout master then note commit from git rev-parse HEAD then checkout desired commit, then git checkout saved-sha, and still get detached HEAD.22:34
nitric whoops, i7c is totally right, ignore me22:34
splud hrm.22:35
i7c If you have several branches at the same commit, how should git know which one should be pointed to by HEAD if you just specify the commit id.22:35
jimi_ joined22:35
kadoban You're in "detached HEAD" anytime you've checked out something other than a local branch. The meaning is, when you commit, no branch pointer will be updated to include that new commit. That's why it's even noteworthy.22:35
i7c Indeed. It does no harm to be in detached head state. :)22:36
splud I’ll have to use - I guess.22:36
kadoban (because then if you switch away, you have no real reference to that commit, necessarily, and could lose it)22:36
gargola left22:36
durham joined22:36
rkazak joined22:37
NeXTSUN left22:37
IWishIKnew joined22:38
interne7y joined22:39
ash_workz .digraph a->b22:39
gitinfo .digraph: http://g.jk.gs/dv.png22:39
dsantiago left22:39
ash_workz (sorry git, couldn't remember the url)22:39
i7c I'm highly offended.22:39
You used us!22:39
rlb joined22:40
sin3t left22:40
sin3t joined22:40
ash_workz :P22:41
<3 i7c22:41
i7c <3 ash_workz22:41
rubyonrailed joined22:41
dsantiago joined22:42
sin3t left22:42
spudowiar joined22:42
gitinfo set mode: +v22:42
sin3t joined22:42
fuchstronaut left22:42
python903 joined22:43
interne7y left22:43
corebits left22:43
t0by left22:44
dsantiago left22:44
vktec How can I amend my second to last commit? I've not pushed yet, and I just want to change the message.22:45
rlb Is there a way to squash together two commits that precede a merge without having to redo the merge resolution (when the resolution was complicated)? My impression is that --preserve-merges wasn't likely to work, and in practice it doesn't just re-use the existing merge work, so I wondered if there was an alternative.22:45
ikmaak joined22:45
abyx left22:45
i7c vktec, git rebase -i HEAD~2, put "reword" in the right line, save and close, edit message, save and close.22:45
dsantiago joined22:45
i7c vktec, meaning replace "pick" by "reword".22:47
vktec Okay22:47
So both instances of "pick" get replaced?22:47
i7c No22:47
kadoban rlb: I think --preserve-merges might work, I never use it though. One thing you could do would be, save a reference to the merge, go back in time before the merge and squash the commits, and then redo the merge. When it asks you to fix the conflicts, just checkout the stuff from the saved merge and commit that.22:48
i7c vktec, the lines represent the recent two commits. Just put reword in the line of the commit whose message you want to edit.22:48
vktec Okay22:48
i7c vktec, in your case that should be the upper line.22:48
rlb kadoban: doh - of course, I should have thought about that. Thanks!22:48
vktec Thanks i7c22:48
i7c If I'm not horribly mistaken. :)22:48
vktec, you're welcome.22:48
kadoban 'welcome22:49
sin3t left22:50
vktec i7c: Thanks, that worked perfectly22:50
i7c :)22:50
dmto left22:50
tvw joined22:50
sin3t joined22:50
pwnz0r_ joined22:51
Rodya_ left22:52
pwnz0r left22:53
lugzer joined22:54
red_ joined22:55
dsdeiz left22:56
abyx joined22:57
cdown left22:57
corebits joined22:58
inflames left22:58
inflames joined22:59
YourTheBombNow23 joined22:59
sin3t left22:59
Electrometro left23:00
Electrom_ joined23:00
sin3t joined23:00
splud okay, I’m obtaining current branch, and SHAs for HEAD and branch, and if the same, I just checkout the branch, otherwise I check out the branch, then perform a subsequent checkout of the specific commit #23:01
starkhalo joined23:01
osse splud: unless you're checking out specific files from a commit you don't have to checkout a branch then a commit23:02
splud: you can checkout any commit directly from any other23:02
Dyonisos left23:02
lugzer left23:02
splud okay, then if commits == then check out branchname, otherwise checkout SHA ?23:03
osse where are the values coming from?23:03
ams__ left23:04
splud parsing ‘git branch23:04
vassagus joined23:04
splud for the marked line, and performing git rev-parse HEAD and git rev-parse branchname23:05
rubyonrailed left23:05
osse why?23:05
beyertech left23:05
beyertech_ joined23:05
veilig2000 joined23:05
rubyonrailed joined23:05
garethdaine left23:05
splud so that I can uniquivocally restore the git tree to the state before checking it out for a scripted core analysis.23:05
unequivocally.23:06
damn, can’t type worth ....23:06
osse splud: I think the shortcut 'git checkout -' will handle all your requirements23:06
splud assuming there wasn’t some intermediate git operation in there.23:07
satifant left23:07
cdown joined23:07
osse splud: if not I suggest you do 'git symbolic-ref HEAD' to get the current branch (if any), store that initially, then check it back out when you're done23:07
parsing 'git branch' is usually the wrong way of going about things23:08
if git symbolic-ref HEAD fails then you're already detached, so store the output of git rev-parse HEAD instead.23:08
rkazak left23:09
splud Anyway, the SHA of the application repo is in our environment, so can be parsed from a coredump. I’m using that to establish a suitable snapshot for a cross-compiled gdb with sources and symbols, etc.23:09
vassagus left23:09
sin3t left23:09
rubyonrailed left23:10
sin3t joined23:10
ResidentBiscuit joined23:11
YourTheBombNow23 left23:11
veilig2000 left23:12
kbs joined23:12
YourTheBombNow23 joined23:12
durham left23:13
durham joined23:14
splud feck.23:16
“HEAD detached at refs/heads/master”23:16
veilig2000 joined23:16
veilig2000 left23:17
rubyonrailed joined23:17
splud AND when I run ‘git symbolic-ref HEAD’ in this state, I’m advised HEAD isn’t a symbolic ref23:18
LeBlaaanc joined23:18
YourTheBombNow23 left23:18
kaldoran left23:19
osse splud: Ahhh, forgot about that23:19
rubyonrailed left23:19
d^sh left23:19
rubyonrailed joined23:19
sin3t left23:19
osse splud: Either strip refs/heads from the string, or use symbolic-ref --short23:19
theskillwithin joined23:20
BinGOs joined23:20
sin3t joined23:20
osse Not sure why git checkout behaves this way. I find it frustrating23:20
al-damiri left23:20
YourTheBombNow23 joined23:21
a3Dman left23:21
netj left23:22
splud okay, that’s working.23:22
netj joined23:22
mablae__ left23:23
rubyonrailed left23:24
splud thanks. Still have a bunch of other stuff to automate (sysroot and symbol grabbing, handling different platforms), but while tedious, that’s what scripting is for.23:24
When done, I’ll be able to either push a corefile to a server, or run the script locally on my workstation and have it belt out a report with stack frames, source and locals.23:25
It’s one thing when a core comes about during ones own testing, but from the field across multiple product versions, or with long term iterative testing, setting everything up to provide a proper core analysis involves a lot of manual steps.23:26
hahuang61 joined23:26
a3Dman joined23:26
csd_ joined23:26
osse I sense a lack of debug symbols23:27
YourTheBombNow23 left23:28
d^sh joined23:28
starkhalo left23:28
YourTheBombNow23 joined23:28
rkazak joined23:28
_toine joined23:29
sin3t left23:29
sin3t joined23:30
madewokherd joined23:31
hahuang61 left23:31
cjbrambo joined23:31
_toine left23:31
medeirosthiiago left23:32
splud Debug symbols are stripped from binaries that are packaged, but the symbols are retained for every sanity build.23:32
ws2k3 joined23:32
_toine joined23:33
osse I suppose you're not in a position to tell them "can you reproduce it with this? <link to a huuge archive>" :p23:34
dsdeiz joined23:34
splud So, I have a dir for each bug I handle, and in there are any cores for it, plus symlinks for sysroot, source (which needs to be checked out to the build commit), symbols, and binaries.23:34
_sjs joined23:35
YourTheBombNow23 left23:35
splud It’s an embedded device. testers don’t diagnose, just report. End users don’t see internal workings.23:35
YourTheBombNow23 joined23:36
haaaay joined23:36
splud Anyway, I have the step-by-step process down, but I want to fully automate it - THEN testers as well as devs who don’t spend much time in gdb would be able to take a corefile and just post it somewhere and have the magic happen.23:36
l4v2 joined23:36
splud The git part is handled, so moving on. Thanks again.23:37
mrpackethead left23:37
romerocesar left23:38
fuchstronaut joined23:39
sin3t left23:39
a3Dman left23:39
dsdeiz left23:39
dsdeiz joined23:40
sin3t joined23:40
gitinfo set mode: +v23:42
YourTheBombNow23 left23:42
haaaay I created a repository, committed a script, made further modifications to the script, want to go back and run old script. I used git checkout <hash> which ( as expected ) put me in a detached head mode. What I don't understand is why the script currently in the directory is the modified one and not the old one...what happened? How do I see the old script so I can run it?23:42
Any help that can be provided would be wonderful23:42
tsteinholz joined23:43
tsteinholz hi23:43
gitinfo tsteinholz: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.23:43
osse haaaay: !float23:43
gitinfo haaaay: If you have made a change in your working directory and have NOT YET COMMITTED, you may "float" that change over to another (`git checkout oldbranch`) or new (`git checkout -b newbranch`) branch and commit it there. If the files you changed differ between branches, the checkout will fail. In that case, `git stash` then checkout, and `git stash apply` and go through normal conflict resolution.23:43
osse This is probably what happened23:43
tsteinholz i cant clone from git, because it says my ssl cert :(23:43
osse If git status reports it as modified you may want to look into git stash23:43
fuchstronaut left23:44
Cata|Work left23:45
tsteinholz I get this "curl: (77) error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none" error when I try to clone a repository23:45
a3Dman joined23:45
haaaay I moved to a previous commit using the hash rather than a branch. Does that change the answer at all? Again, only one commit total followed by modifications of the file.23:45
dsdeiz left23:46
dsdeiz joined23:46
alansaul left23:47
Mannn joined23:47
rkazak left23:48
osse haaaay: I don't think it does23:48
What does git status say?23:48
clemf left23:49
Faylite left23:49
sin3t left23:49
lugzer joined23:50
sin3t joined23:50
haaaay There (I think) should be a conflict between the two files given that git diff is reporting differences. I was able to successfully checkout to that past commit...which sounds like it shouldn't have been possible given that I had a modified file (the only file).23:50
osse haaaay: Did you commit those changes? Ie.23:51
haaaay Only one commit was ever made and then modifications made thereafter with no committing or staging.23:51
Shentino left23:51
a3Dman left23:52
kpease left23:52
haaaay I'd show more detail on here, but I suspect it's probably poor ettiquette to copy and paste git status information on here...23:52
Rodya_ joined23:52
osse haaaay: Bad etiquette due to lots of text? Use a pastebin. Bad etiquette due to proprietary content? Either redact parts of it or explain ad best as you can23:53
trewe left23:54
haaaay just due to lots (not that much though) of text. I'll pastebin then.23:54
osse haaaay: If you have uncommitted changes and you checkout a different commit git will let it slide if the files with the uncommitted changes in them don't have to change23:55
Limes__ left23:55
osse If you want to get rid of changes git status will tell you how23:56
harish_ left23:56
a3Dman joined23:56
osse If only one commit was ever made then it still fits23:57
m0viefreak left23:57
osse Except that you check out the same commit, not a different one, and thus the files obviously don't have to change23:57
lugzer left23:58
osse If you want to temporarily get rid of changes, man git-stash23:58
gitinfo the git-stash manpage is available at http://jk.gs/git-stash.html23:58
haaaay What are the rules for "letting it slide"? I have exactly one document here hello.cpp. Pastebin:http://pastebin.com/TtyDRHcc23:58
Electrom_ left23:58
Rodya_ left23:59
osse By letting it slide I mean that the file with still appear modified23:59
sin3t left23:59
haaaay In this case the goal was just a simple experiment. Create a file, commit file, make modifications to file, go back to old file, run old file, go back to 'current with modifications state'23:59

Logs Search ←Prev date Next date→ Channels Documentation