IRCloggy #git 2017-11-16

Logs Search ←Prev date Next date→ Channels Documentation

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

2017-11-16

quesker so the first "commit sdfhs98dfh9s8dhfs9" line is where I am at now, and if I want to go back to the previous way things were I look for the second commit hfd938h938he line and do git checkout hfd938h938he right? this is just temporary and then I want to put things back to current00:01
overlord_tm left00:01
orbyt_ left00:03
pirocks left00:04
finalbeta left00:04
sz0 left00:05
kadoban left00:05
quesker I guess I don't want to do that based on git log -- filename but based on git log00:06
maxb joined00:08
quesker hmm I did that checkout git checkout hfd938h938he -- somefile and git status says the file is modified but git diff shows nothing00:08
overlord_tm joined00:08
orbyt_ joined00:09
dege left00:10
hexamod left00:11
mcmillhj_ left00:11
tunekey left00:11
tunekey joined00:12
InfoTest left00:12
cdg joined00:13
bilb_ono left00:14
InfoTest1 joined00:14
parsnip quesker: there's working tree, index, and various commits. git status may be specific about between which two of those there are changes. git diff can be told to compare between two of those.00:15
quesker hmm ok00:16
I think it all worked out00:17
cdg left00:17
wxg left00:18
orbyt_ left00:18
mcmillhj joined00:19
diogenese left00:22
rafasc left00:22
diogenese joined00:23
mcmillhj left00:24
jstimm joined00:24
PioneerAxon_ left00:25
damo22 joined00:26
pks left00:27
damo22 git is amazing... someone transferred a working tree over to migrate a server, and forgot to include the .git folder, so i thought we had lost the tracking of the version control ... so i just transferred the .git folder over to the new server and git diff just worked !!00:27
thats crazy good00:27
robics left00:28
InfoTest1 left00:28
diogenese left00:29
Feral_Cat joined00:31
diogenese joined00:32
olalonde joined00:33
astrofog joined00:33
overlord_tm left00:34
Murr left00:34
mcmillhj joined00:35
Murr joined00:35
ash_workz when I do `git log --graph --all` I can follow a line straight down to a commit where a branch is at00:35
when I attempt to delete said branch it tells me it's not fully merged00:35
if I am on a branch that can go straight down to where that branch left off, that message shouldn't exist right?00:35
(rather, I should get that message)00:35
nowhere_man joined00:36
damo22 its probably to save you accidently deleting a branch that is ahead of master?00:36
in case you wanted to merge it00:36
NiobiumVolant joined00:36
ash_workz hmm... this time when I tried it, it didn't give me that error00:36
damo22 -d versus -D00:37
-D will force delete00:37
ash_workz oh00:37
I was being retarded00:37
I thought I was on a branch that I wasn't on00:38
Acerific left00:38
damo22 heh00:38
git is cool00:38
lexruee joined00:38
mikecmpbll left00:39
damo22 my favourite part of git would have to be git rebase -i00:39
jameser joined00:39
lexruee left00:39
mcmillhj left00:39
lexruee joined00:40
rewt joined00:40
lexruee left00:40
astrofog left00:40
scientes left00:41
damo22 its great to be able to do heaps of atomic commits and then reorder them without breakage... or squash them into a logical kind of change00:41
lexruee joined00:41
butterthebuddha left00:43
lexruee left00:43
Hink left00:43
butterthebuddha joined00:44
lexruee joined00:44
lexruee left00:44
lexruee joined00:45
lexruee left00:45
pirocks joined00:47
mcmillhj joined00:47
overlord_tm joined00:47
dre_ left00:47
ash_workz .a->b00:47
. a->b00:47
. a>b00:47
I forgot the syntax00:47
s73vm1lls joined00:48
govg left00:48
nydel09 joined00:48
ash_workz .g a->b00:50
govg joined00:50
ash_workz damn00:50
polyrob left00:50
ash_workz well, w/e; I have a commit history that looks something like this: http://g.jk.gs/EY.png00:51
simonlin_ left00:51
mcmillhj left00:51
pirocks left00:51
ash_workz I suspect that the changes in B1 have made their way down to A5, is there a way to check that?00:52
thebope left00:52
skypatrol joined00:53
scientes joined00:53
scientes left00:53
scientes joined00:53
Samian left00:54
fstd_ joined00:54
ash_workz maybe I can loop all files with changes on B1{^,} and `git diff`those files between commits.00:54
govg left00:54
diogenese left00:55
diogenese joined00:55
leprechau joined00:56
leprechau left00:56
leprechau joined00:57
fstd left00:57
fstd_fstd00:57
damo22 ash_workz: how can changes be applied between B1 and A5 if they are on separate branches?00:58
your question doesnt make much sense00:59
Gustavo6046 left00:59
ash_workz damo22: no I mean like the same changes were made on both branches inadvertently00:59
(at some point)00:59
damo22 so then git lol00:59
ash_workz: put this in your .gitconfig:01:00
[alias]01:00
lol = log --graph --decorate --pretty=oneline --abbrev-commit --all01:00
mcmillhj joined01:00
damo22 then just run "git lol"01:00
pirocks joined01:00
jameser left01:01
damo22 i dont know how people use git without it01:01
led_belly_ joined01:03
mcmillhj left01:05
pirocks left01:05
akushner left01:08
led_belly_ left01:09
bilb_ono joined01:10
gugah joined01:10
led_belly_ joined01:10
orbyt_ joined01:14
mcmillhj joined01:14
bilb_ono left01:15
Ionic_ joined01:17
tkore left01:18
Ionic_ left01:18
dsdeiz left01:19
maxb_ joined01:21
Elon_Satoshi left01:21
mcmillhj left01:21
Ionic_ joined01:21
orbyt_ left01:21
maxb left01:21
Ionic_32NABA83T01:21
dsdeiz_ joined01:21
32NABA83TIonic01:22
__main__ left01:22
rorro left01:22
rkta left01:22
Someguy123 left01:22
Mixologic left01:22
a3Dman left01:22
a--m left01:22
pasky_ left01:22
JrCs_ left01:22
in1t3r_ left01:22
Garen left01:22
biertie left01:22
solos left01:22
traxo-xx left01:22
LeMike_ left01:22
rotaerk left01:22
Elon_Satoshi joined01:22
PioneerAxon joined01:23
nikow joined01:23
danemacmillan joined01:23
ManiacTwister left01:23
NightMonkey left01:23
odamn left01:24
A|TARIS joined01:24
kuchi joined01:24
thiago joined01:24
om_henners left01:24
cagomez left01:25
cagomez joined01:25
cagomez left01:25
cagomez joined01:25
kriskropd joined01:26
cagomez left01:26
om_henners joined01:26
ManiacTwister joined01:27
tymczenko left01:27
NightMonkey joined01:27
madewokherd joined01:28
Yondering joined01:28
rotaerk joined01:28
__main__ joined01:28
rorro joined01:28
Someguy123 joined01:28
Mixologic joined01:28
a3Dman joined01:28
a--m joined01:28
pasky_ joined01:28
JrCs_ joined01:28
in1t3r_ joined01:28
Garen joined01:28
biertie joined01:28
evil-god joined01:28
Xarodon joined01:28
robattila256 joined01:28
suy joined01:28
Jackneilll joined01:28
nydel07 joined01:28
lukasdboer joined01:28
Stravy joined01:28
chamunks joined01:28
troyt joined01:28
Phlogistique joined01:28
bttf joined01:28
comps joined01:28
RiPer joined01:28
Hogofwar joined01:28
mrkake joined01:28
volestorm joined01:28
neunon joined01:28
planigan joined01:28
traxo-xx joined01:28
solos joined01:28
LeMike_ joined01:28
holodoc joined01:28
d1b_ joined01:28
catern joined01:28
HedgeMage joined01:28
zululee joined01:28
kevr joined01:28
blunaxela joined01:28
avar joined01:28
spriz joined01:28
Bubo joined01:28
liori joined01:28
tolkien.freenode.net set mode: +vvv01:28
capri joined01:28
imMute joined01:28
mac- joined01:28
thoros joined01:28
tolkien.freenode.net set mode: +vvvv01:28
nunchuck joined01:28
abec0 joined01:28
macskay joined01:28
AndreSomers joined01:28
tolkien.freenode.net set mode: +vvvv01:28
dsnow_ joined01:28
ianp joined01:28
fk joined01:28
Tykling joined01:28
tolkien.freenode.net set mode: +vvvv01:28
greenbagels joined01:28
atrus joined01:28
incredible_ joined01:28
blueyed joined01:28
tolkien.freenode.net set mode: +vvvv01:28
moritz joined01:28
crater2150 joined01:28
bs joined01:28
shakalaka joined01:28
tolkien.freenode.net set mode: +vvvv01:28
valkyr2e joined01:28
Celelibi joined01:28
chrisml joined01:28
Phanes joined01:28
tolkien.freenode.net set mode: +vvvv01:28
cmosguy joined01:28
HalfEatenPie joined01:28
fcanela joined01:28
adymitruk joined01:28
tolkien.freenode.net set mode: +vvvv01:28
cxreg joined01:28
Walex joined01:28
kanzure joined01:28
rudi_s joined01:28
tolkien.freenode.net set mode: +vvvv01:28
michael_mbp joined01:28
tolkien.freenode.net set mode: +v01:28
odamn joined01:28
CalimeroTeknik joined01:28
rkta joined01:28
cmosguy left01:28
greenbagels left01:28
bs left01:28
michael_mbp left01:28
kevr left01:28
MarkusDBX joined01:28
bs joined01:28
simonlinj joined01:28
kevr joined01:28
mcmillhj joined01:29
cmosguy joined01:29
greenbagels joined01:29
ZexaronS left01:29
michael_mbp joined01:30
yohnnyjoe left01:30
biancat joined01:32
biancatGuest5966301:33
mcmillhj left01:34
MarkusDBX left01:34
easzero_ joined01:34
MarkusDBX joined01:34
tmz joined01:35
Bishop_Bautista joined01:35
polyrob joined01:36
polyrob left01:36
polyrob joined01:36
ArcaTech joined01:37
bilb_ono joined01:37
TikityTik joined01:38
jameswine anyone have any ideas about cause of this? https://pastebin.com/SwnYQwhg01:38
texinwien_ joined01:38
MarkusDBX left01:39
pbandark left01:39
MarkusDBX joined01:41
aax left01:41
texinwien left01:41
overlord_tm left01:41
ZexaronS joined01:41
parsnip did you paste it right? that `ffatal` is suspicious01:43
jameswine: does `git fsck` reveal anything?01:44
bilb_ono left01:44
parsnip does `git fetch` work? might want to contact github01:46
maybe try `ssh` protocol instead of `https` also01:46
MarkusDBX left01:46
pabs3 joined01:46
pabs3 when running git log -p, can I tell it to not print hunks to files in a directory, and hide any patches that only touch files in that directory?01:47
mcmillhj joined01:47
parsnip jameswine: might try various verbosity/debugging/logging settings in git01:47
pirocks joined01:47
koell joined01:49
aax joined01:50
sz0 joined01:51
pirocks left01:52
mcmillhj left01:52
MarkusDBX joined01:53
swood left01:54
gopar left01:57
wxg joined01:57
azerus joined01:57
lembron joined01:58
MarkusDBX left01:58
mcmillhj joined01:59
lembron hello, given a branch that i had checkout locally before was rebased on the gitserver, can i "shorthand" alias that checkout somehow? -- as in "currently i run git checkout bla, then see the prompt its outdated, so git checkout master, git branch -D bla, git checkout bla, is needed...01:59
MarkusDBX joined02:00
lembron id like to shorten that for those branches where i "blindly trust the rebased thing" and not merge my local ((to checkout branches for review that is))02:00
FJB joined02:00
jamiejackson left02:01
Gurkenglas left02:01
finalbeta joined02:03
rotaerk left02:03
mcmillhj left02:03
Wulf4 joined02:05
dreiss joined02:06
NiobiumVolant left02:06
DolpheenDream joined02:06
duckydan joined02:06
wxg left02:08
azerus left02:08
fassl left02:08
Wulf left02:09
Wulf4Wulf02:09
igemnace joined02:10
bilb_ono joined02:11
svm_invictvs left02:11
Arcaelyx left02:12
azerus joined02:12
Sasazuka left02:12
Arcaelyx joined02:13
FJB_ joined02:14
sucks joined02:14
salamanderrake left02:14
mcmillhj joined02:16
gopar joined02:17
gopar left02:17
FJB left02:18
ArcaTech left02:19
FJB_ left02:19
FJB joined02:20
mcmillhj left02:21
Barrt joined02:21
converge left02:22
finalbeta left02:22
FJB left02:26
FJB joined02:27
pabs3Guest8670102:27
pabs3 joined02:27
converge joined02:28
damo22 lembron: thats not really a good idea because you might have a different tree to the server that you want to keep instead in case there was a mistake force pushed to the server02:28
PioneerAxon left02:28
lembron hence 'for those branches where i "blindly trust the rebased thing"'02:28
damo22 of course you could alias it02:28
bashrc to the rescue02:29
FJB left02:29
Guest86701 left02:29
FJB joined02:29
koell left02:29
FJB left02:30
oojacoboo joined02:30
scientes left02:30
lembron ive got a git pullup for --ff-only, but seems strange one cant make a simple git pulldown with a "--force-reset" flag or so02:30
njbair left02:30
dviola left02:31
njbair joined02:33
dsdeiz_ left02:34
Murr left02:34
FJB joined02:34
dsdeiz joined02:34
dsdeiz left02:34
dsdeiz joined02:34
rh10 joined02:34
Murr joined02:35
mcmillhj joined02:35
PioneerAxon joined02:35
dreiss left02:36
skypatrol left02:37
skypatrol joined02:39
raynold left02:39
mcmillhj left02:39
rorro left02:40
Feral_Cat left02:40
Mattiaslndstrm left02:41
gitinfo set mode: +v02:41
FJB I am using Git on a Macbook pro with MacOS High Sierra version 10.13.102:41
(17B48). I have been using it in a virtualenv with python 3. I have02:41
begun to get "Segmentation fault: 11" with every git command. I have02:41
been searching for a reason why this is occurring but have not been02:42
able to find a solution. I have reinstalled the operating system,02:42
uninstalled and reinstalled Git, and a variety of other attempts at02:42
finding a solution. Is this a know issue? Any suggestions would be02:42
appreciated.02:42
pabs3 left02:42
scientes joined02:42
scientes left02:42
scientes joined02:42
Zamerick__ left02:42
olalonde left02:42
easzero_ left02:43
bobdobbs joined02:45
ilbot3 left02:45
dreiss joined02:46
JoeCode joined02:47
durham left02:47
skypatrol left02:50
skypatrol joined02:50
converge left02:51
d^sh left02:52
Zamerick__ joined02:52
d^sh joined02:54
mcmillhj joined02:54
ilbot3 joined02:56
fassl joined02:56
pirocks joined02:56
scientes left02:59
mcmillhj left02:59
pirocks left03:01
quamtumslash joined03:02
Munt left03:02
fassl left03:02
luckman212 left03:03
azerus left03:04
JoeCode left03:06
quamtumslash left03:07
nast joined03:08
luckman212 joined03:09
mcmillhj joined03:09
neil_cn joined03:09
lacour left03:10
dreiss left03:10
azerus joined03:12
gugah left03:12
Anja joined03:13
azerus left03:14
mcmillhj left03:14
TikityTik left03:14
Barrt hit people03:15
anyone here?03:15
govg joined03:15
lagothri1 joined03:17
dsdeiz left03:18
azerus joined03:19
NimeshNeema left03:19
lagothrix left03:20
pbrewczynski left03:25
cdg joined03:26
yohnnyjoe joined03:27
dsdeiz joined03:28
dsdeiz left03:28
dsdeiz joined03:28
quamtumslash joined03:28
cdg left03:30
yohnnyjoe left03:32
disi left03:33
scientes joined03:35
menip joined03:36
nast left03:36
orbyt_ joined03:37
disi joined03:37
robattila256 left03:38
cdg joined03:38
sucks_ joined03:41
robattila256 joined03:41
easzero joined03:41
bilb_ono_ joined03:42
dreiss joined03:42
Yondering left03:42
bilb_ono left03:43
bilb_ono_bilb_ono03:43
sucks left03:43
cdg left03:45
Arguggi joined03:45
cdg joined03:45
energizer joined03:45
quamtumslash left03:48
yurinew joined03:48
chachasmooth_ joined03:49
chachasmooth left03:49
cdg left03:50
quesker left03:50
Jooph joined03:51
Jooph left03:52
sucks joined03:54
sucks_ left03:54
bilb_ono left03:55
nedbat Barrt: it works best to just jump in03:55
pirocks joined03:55
fassl joined03:56
raynold joined03:56
bilb_ono joined03:58
dreiss left03:59
goweol1 joined03:59
damo22 left04:00
pks joined04:00
pirocks left04:01
goweol left04:01
fassl left04:03
Cabanossi left04:06
watabou joined04:06
m0viefreak left04:07
Cabanossi joined04:07
sz0 left04:09
gugah joined04:10
dave0x6d left04:16
bilb_ono_ joined04:20
sucks left04:20
bilb_ono left04:20
bilb_ono_bilb_ono04:20
dreiss joined04:21
str left04:22
tinanoo left04:23
gugah left04:24
justan0theruser joined04:26
justan0theruser left04:26
justan0theruser joined04:26
justanotheruser left04:27
goweol1 left04:27
DolpheenDream left04:28
bilb_ono_ joined04:28
bilb_ono left04:29
bilb_ono_bilb_ono04:29
boombatower joined04:29
goweol joined04:29
Barrt left04:31
dsdeiz left04:33
kadoban joined04:33
goweol left04:34
dsdeiz joined04:34
dsdeiz left04:34
dsdeiz joined04:34
Feral_Cat joined04:35
FJB left04:35
podlech joined04:37
Cabanossi left04:37
Cabanossi joined04:37
Andrew_K joined04:40
sucks joined04:44
sucks left04:44
sucks joined04:45
clickjack joined04:46
fassl joined04:46
lafleurdubien left04:47
xaxxon left04:48
Barrt joined04:48
fassl left04:51
Cabanossi left04:51
dreiss left04:51
Cabanoss- joined04:51
UTAN_dev joined04:52
Cabanoss-Cabanossi04:52
diqidoq left04:53
Feral_Cat left04:53
thebope joined04:53
dreiss joined04:53
akushner joined04:54
daynaskully left04:54
jceb joined04:54
AlynxZhou joined04:57
pirocks joined04:57
thebope left04:58
Arguggi left04:58
akushner left04:58
AlynxZhou left04:59
imack joined05:00
AlynxZhou joined05:00
daynaskully joined05:00
fguillot joined05:01
pirocks left05:02
bilb_ono left05:04
dreiss left05:07
dre_ joined05:09
mcmillhj joined05:09
roelmonnens joined05:10
orbyt_ left05:11
podlech left05:12
mcmillhj left05:14
roelmonnens left05:14
dsdeiz left05:16
sucks left05:16
ArcaTech joined05:18
skered left05:20
dsdeiz joined05:21
dave0x6d joined05:23
fguillot left05:24
Bishop_Bautista left05:25
easzero left05:26
yohnnyjoe joined05:28
simonlinj left05:28
yohnnyjoe left05:32
jceb left05:33
skered joined05:35
Kaisyu joined05:35
svm_invictvs joined05:44
scientes left05:48
fassl joined05:48
fassl left05:54
fassl joined05:56
luckman212 left06:00
scientes joined06:00
scientes left06:00
scientes joined06:00
clickjack left06:01
AlynxZhou left06:02
AlynxZhou joined06:02
fassl left06:02
Cabanossi left06:04
luckman212 joined06:05
menip left06:06
AlynxZhou left06:06
AlynxZhou joined06:07
Cabanossi joined06:07
watabou left06:08
jcarpenter2 left06:09
clickjack joined06:09
watabou joined06:10
kadobanmud06:13
Matze202 joined06:14
LocaMocha joined06:17
fatalhalt joined06:18
scientes left06:18
watabou left06:20
Arcaelyx left06:24
pifon joined06:27
tymczenko joined06:27
Ocoap joined06:28
Ocoap left06:28
yurinew left06:28
chaosruler joined06:28
scientes joined06:32
scientes left06:32
scientes joined06:32
rkta left06:32
Murr left06:34
Murr joined06:34
easzero joined06:38
easzero left06:40
goweol joined06:43
goweol left06:45
goweol joined06:45
ZyX-I joined06:46
goweol1 joined06:46
Nizumzen joined06:48
asultramosesdili joined06:49
goweol left06:49
s73vm1lls left06:50
freimatz joined06:52
manuelschneid3r joined06:53
mic4ael joined06:56
ArcaTech left06:57
goweol1 left06:58
Raging_Hog joined06:58
EgS joined07:01
neil_cn left07:02
ogny joined07:04
rscata joined07:05
mic4ael2 joined07:06
scientes left07:07
watabou joined07:07
dec0n joined07:10
njbair left07:11
olalonde joined07:12
dreiss joined07:12
njbair joined07:12
dsdeiz left07:15
dsdeiz joined07:15
dsdeiz left07:15
dsdeiz joined07:15
watabou left07:15
dege joined07:17
Kartagis how do I see what commits haven't been pushed again?07:21
cspotcode joined07:22
roelmonnens joined07:22
abba joined07:23
ZyX-I left07:23
papanik left07:23
huhlig joined07:23
igemnace git log @{u}..@07:26
in general, git log <branch-name>@{u}..<branch-name>07:27
CheckDavid joined07:27
Silmarilion joined07:27
selckin whats the @{u} and why not something simpler like branch...origin/branch07:27
dmj` joined07:27
mic4ael left07:28
igemnace @{u} means the upstream you set for that branch07:28
it's not all the time the upstream naming convention is origin/<branch-name>07:29
also isn't @{u} shorter?07:29
yohnnyjoe joined07:29
themill it's the face you have to pull to remember that particular rune07:29
mic4ael2 left07:29
igemnace does quite well as a general-purpose alias because it's more general than origin/<branch-name>, although it helps knowing certain @{} incantations07:30
abba left07:30
wandering_vagran joined07:30
igemnace git config alias.log-push 'log @{u}..@' for example07:31
tkore joined07:31
easzero joined07:31
konsolebox_ left07:32
mic4ael2 joined07:32
tkore\work joined07:33
tkore\work left07:33
tkore\work joined07:33
yohnnyjoe left07:33
Mattiaslndstrm joined07:34
neil_cn joined07:34
konsolebox joined07:34
mic4ael2 left07:35
ShekharReddy joined07:36
tkore left07:37
mic4ael joined07:38
Mattiaslndstrm left07:38
manuelschneid3r left07:38
konsolebox left07:39
polyrob left07:44
konsolebox joined07:46
schleppel joined07:46
watabou joined07:47
chele joined07:47
dre_ left07:48
tarkus joined07:49
thiago left07:49
zefferno joined07:49
svm_invictvs left07:51
re1 joined07:51
konsolebox left07:51
konsolebox joined07:53
manuelschneid3r joined07:54
AlynxZhou left07:54
AlynxZhou joined07:55
Murii joined07:55
madewokherd left07:55
MrMojit0 joined07:57
jfelchner joined08:00
konsolebox left08:00
boombatower left08:01
konsolebox joined08:01
tymczenko left08:02
Hi-Angel joined08:03
Hi-Angel I'm wondering, is there a way to "git clone" and set the repo being cloned as "upstream" in one command? E.g. maybe there's a switch… I'm cloning random repos on occasion a lot, and it would be nice to not go search where the upstream repo is for making "git pull"08:05
kharloss joined08:05
watabou left08:05
Cabanossi left08:05
jast Hi-Angel: you mean set the source repo as the upstream in the cloned repo? that's what happens by default.08:05
brillenfux joined08:06
konsolebox left08:06
Cabanossi joined08:07
Hi-Angel jast: hmm it doesn't work for me. E.g. I just a moment ago did "git clone https://github.com/Hi-Angel/purple-facebook", and now "git pull upstream master" triggers "fatal: 'upstream' does not appear to be a git repository"08:07
jast well, that's because it's called origin, not upstream08:07
and you can just say 'git pull'08:07
Hi-Angel Ah, hmm08:07
Thank you!08:07
konsolebox joined08:08
Matze202 left08:08
chaosruler left08:10
tymczenko joined08:10
re1 left08:11
gxt joined08:12
konsolebox left08:13
Kartagis igemnace: tried a bunch of combinations, no luck08:14
konsolebox joined08:14
ertes-w joined08:15
seschwar joined08:16
King_Hual joined08:16
King_Hual left08:16
King_Hual joined08:16
igemnace Kartagis: which one doesn't work? i use git log @{u}..@ all the time. maybe there *arent* commits that haven't been pushed?08:16
polydo_s joined08:17
TomyWork joined08:17
Kartagis git log @{u}..@08:18
fatal: no upstream configured for branch '7.x-1.x'08:18
jast right, you have to set it up once08:18
Kartagis and the previous attempt were showing nothing because of typos08:19
igemnace this is a branch you've never pushed before, i take it. in which case, you know *all* those commits are unpushed. problem solved \o/08:19
aboccia_ joined08:19
TomyWork i dont suppose there is a way to tell how much git push will transfer without immediately starting to transfer?08:19
git push -n doesn't show the transfer size08:19
igemnace unless the commits were pushed before...08:19
igemnace slowly takes it bakc08:19
Kartagis igemnace: I've pushed commits before08:20
Codaraxis_ left08:20
jim I have a repo on a private machine, and it has a submodule on github... right now, that submodule would require a passphrase, it's a git@ sshurl... I'm looking at a pair of scenarios... is there a way to set up the submodule repo to be pulled either anonymously without credentials, or else with one of the public keys stored on github? if "no", is it possible to change the private repo so it pulls the submodule anonymously?08:20
igemnace Kartagis: i mean unless commits in your history have been pushed before, from pushing a different branch08:20
sarri left08:21
Kartagis no, I've worked with only 1 branch08:21
igemnace Kartagis: oh. then you've never pushed before?08:21
Matze202 joined08:21
Kartagis I've pughed before08:22
sarri joined08:22
sarri left08:22
sarri joined08:22
jim hilite me when you have a chance to respond, no hurry08:22
Kartagis pushed*08:22
igemnace: http://cgit.drupalcode.org/sandbox-Kartagis-292325908:22
igemnace Kartagis: how come your upstream hasn't been configured yet. you push manually every time?08:22
just do git log <remote-tracking-branch>..<branch> in that case08:23
Kartagis igemnace: manually? there is another way idk about?08:23
czart joined08:23
sasheto joined08:24
igemnace sorry. manually, as in you manually specify the remote to push to every time. regardless, git log <foo>..<bar> in general will list commits between <foo> and <bar>, inclusive08:24
what git log @{u}..@ would have done was list those between the local branch and its upstream (where it pushes to). adjust accordingly08:25
BioSpider joined08:25
BioSpider left08:25
BioSpider joined08:25
BioSpider left08:25
overlord_tm joined08:25
Kartagis igemnace: what I'm looking for is something like commit 69406f716d73915b2c639d304ab530e338315f91 (HEAD -> master, origin/master, origin/HEAD output08:25
igemnace that's what git log does08:26
git log --oneline if you want terse output08:26
Kartagis macOS does this by default08:26
konsolebox left08:26
BioSpider joined08:27
finalbeta joined08:27
konsolebox joined08:28
sasheto left08:28
Xrayez joined08:29
Darcidride joined08:29
Andrew_K|1 joined08:30
floppydh joined08:32
flaviodesousa joined08:33
Andrew_K left08:33
osse git config log.decorate true08:33
ArcaTech joined08:33
ArcaTech left08:33
texinwien_ left08:34
konsolebox left08:34
aoscott joined08:34
Murr left08:34
texinwien_ joined08:34
Murr joined08:34
konsolebox joined08:35
Andrew_K|1 left08:36
Andrew_K|1 joined08:36
fission6 joined08:36
watabou joined08:36
oxymoron93 joined08:38
pro_metedor joined08:39
hs367 joined08:40
hs367 left08:41
peacememories joined08:41
Kartagis great, thanks osse08:42
polydo_s left08:42
Andrew_K joined08:42
polydo_s joined08:43
peacememories left08:43
peacememories joined08:44
parsnip oh, old git?08:44
osse does that default to true now?08:44
Andrew_K|1 left08:45
watabou left08:45
polydo_s left08:47
polydo_s joined08:48
Kartagis osse: I looked at git config log.decorate on macOS and no output08:50
Murii left08:53
mikecmpbll joined08:53
kharloss left08:53
QualityAddict joined08:53
Raed left08:53
NimeshNeema joined08:54
mel00010 left08:55
Raed joined08:56
dreiss left08:56
polydo_s left08:56
polydo_s joined08:57
Someguy123 left08:59
konsolebox left09:02
mud left09:02
konsolebox joined09:02
fission6 left09:02
SporkWitch joined09:04
Someguy123 joined09:06
_ADN_ left09:06
goweol joined09:07
pirocks joined09:08
pbandark joined09:09
kurkale6ka joined09:09
Someguy123 left09:13
TheWild joined09:13
TheWild hello09:13
wat just happened? https://kopy.io/N7XCo09:13
_ikke_ TheWild: That's a 'bug' that has been fixed09:14
kurkale6ka left09:14
_ikke_ bash 4 starts to warn about this09:14
TheWild update git, okay. But what I stashed is intact, right?09:15
_ikke_ yes09:15
TheWild fine. Thanks _ikke_09:15
_ikke_ It's just a warning09:15
kurkale6ka joined09:15
peacememories left09:15
Floflobel joined09:15
duderonomy joined09:17
watabou joined09:17
asultramosesdili left09:17
GameGamer43 joined09:18
bongjovi joined09:18
daxroc joined09:19
Someguy123 joined09:20
_ADN_ joined09:22
osse Kartagis: try git config --global log.decorate09:23
and --system09:23
polydo_s left09:25
gxt left09:25
_ikke_ add -l, right?09:25
(--list)09:25
polydo_s joined09:25
NiobiumVolant joined09:28
energizer left09:28
peacememories joined09:28
polydo_s left09:30
yohnnyjoe joined09:30
peacememories left09:30
NiobiumVolant left09:30
freimatz left09:30
mel00010 joined09:32
_ADN_ left09:32
srm joined09:34
yohnnyjoe left09:34
watabou left09:35
goweol left09:35
CheckDavid left09:35
polydo_s joined09:35
NiobiumVolant joined09:36
clmsy joined09:37
Matze202 left09:39
ZexaronS left09:40
ZexaronS joined09:41
Gonzo89 joined09:47
aielima joined09:47
_ADN_ joined09:47
Gurkenglas joined09:48
enkrypt left09:49
gfurlan joined09:49
dege left09:49
Tobbi joined09:49
dre_ joined09:52
King_Hual left09:53
devbaka_ left09:54
devbaka joined09:54
NiobiumVolant left09:55
devbaka left09:55
Tobbi left09:55
Tobbi joined09:56
Tobbi left09:56
devbaka joined09:57
wandering_vagran left09:58
Silenced joined09:59
goweol joined09:59
devbaka_ joined09:59
NiobiumVolant joined10:00
goweol left10:00
zefferno left10:01
Xrayez left10:02
devbaka left10:02
goweol joined10:02
Xrayez joined10:03
goweol left10:03
Gurkenglas left10:06
Hi-Angel left10:06
goweol joined10:08
enkrypt joined10:08
wandering_vagran joined10:10
ppang joined10:10
dege joined10:12
watabou joined10:12
gxt joined10:13
MarioBranco joined10:15
cstratak joined10:17
zefferno joined10:17
Raging_Hog left10:20
pifon left10:20
Kartagis osse: still nothing10:22
funny though10:22
Andrew_K left10:22
YuGiOhJCJ joined10:23
Cavallari joined10:23
MarioBranco left10:25
chll_ joined10:25
osse then perhaps the default changed10:26
yes it did10:27
goweol left10:28
goweol joined10:31
MarioBranco joined10:33
rorro joined10:34
ppang left10:34
Murr left10:34
Raging_Hog joined10:34
Murr joined10:34
Cabanossi left10:36
Cabanossi joined10:36
peacememories joined10:37
ferr joined10:39
ferr left10:39
NiobiumVolant left10:40
salamanderrake joined10:40
NiobiumVolant joined10:42
watabou left10:45
peacememories left10:45
clmsy left10:46
peacememories joined10:47
NiobiumVolant left10:49
peacememories left10:52
goweol left10:53
goweol joined10:53
peacememories joined10:53
Codaraxis joined10:54
watabou joined10:54
Xrayez left10:55
cstratak left10:56
peacememories left10:59
ertes-wsupercynic11:00
cstratak joined11:00
YuGiOhJCJ left11:00
YuGiOhJCJ joined11:01
freimatz joined11:02
Someguy123 left11:03
peacememories joined11:04
eshlox joined11:05
Peetz0r joined11:05
polydo_s left11:07
polydo_s joined11:08
SerusWor1 joined11:10
Tobbi joined11:10
NiobiumVolant joined11:11
peacememories left11:11
polydo_s left11:12
SerusWork left11:13
jstein_ joined11:13
jstein_jstein11:13
kiuma joined11:14
peacememories joined11:14
NiobiumVolant left11:14
kiuma hello, I'm starting to use git submodules in a new project11:14
cur8or joined11:15
peacememories left11:15
kiuma If I correctly understand a submodule is meant only to be used in read mode because it's in a detached status and any change should be done inside its (original) git repo. Am I right ?11:16
NiobiumVolant joined11:17
pirocks left11:17
zefferno left11:17
TikityTik joined11:18
osse kiuma: yes11:18
kiuma thanks11:18
osse kiuma: that said, it is possible to work inside the submodule at the same at, but you gotta know what you're doing11:18
NiobiumVolant left11:18
texinwien_ left11:19
peacememories joined11:19
NiobiumVolant joined11:19
kiuma osse what you say could be translate as : = dangerous :)11:19
texinwien_ joined11:19
kiuma thanks for clarifying11:19
ghost43 left11:20
ghost43 joined11:20
peacememories left11:21
avrdude hey, im trying to pull from my repo, but it is saying "error, your local changes to the following files will be overwritten by merge:" ... "please commit your changes or stash them before you can merge"11:23
freimatz left11:23
avrdude but i want to overwrite them.. i want to pull the new updated files from the repo11:23
oxymoron93 well remove your local changes if you want that11:24
peacememories joined11:24
avrdude i just delete all my local files basically?11:24
oxymoron93 basically git reset --hard11:24
freimatz joined11:25
avrdude that sounds dangerous. i'll just delete the files, atleast i know they'll be in the recycle bin11:25
oxymoron93 ahah no11:25
delete sounds more dangerous11:25
Someguy123 joined11:26
kishmesh joined11:26
AlynxZhou left11:27
ripero joined11:27
sleepingforest joined11:27
AlynxZhou joined11:27
oxymoron93 avrdude https://stackoverflow.com/questions/1125968/how-do-i-force-git-pull-to-overwrite-local-files11:27
kishmesh "git diff --cached" visually marks whitespace at the end of the lines which I can remove. But I also see marker at the beginnging of some lines. What are those?11:27
watabou left11:28
kishmesh in my case it is marked with a red "block"11:28
|ifei5good joined11:28
sphalerite kishmesh: probably mixed tabs/spaces11:28
|ifei5g00d left11:28
qpdb joined11:29
yohnnyjoe joined11:31
avrdude this is actually rather annoying. basically, im working on two computers, so if i make changes on one computer, commit and push, then try to pull on the other computer i get these errors11:31
kishmesh sphalerite: where is set/documented what these marker represent?11:31
ripero what is the git command that produces the list of all the parents of a commit? Something like $ git rev-parse 790c942b^1 790c942b^2 but without needing to know the number of parents beforehand11:31
zefferno joined11:31
AlynxZhou left11:31
olalonde left11:31
oxymoron93 you do get errors because you have changes that are not commited or stashed avrdude11:31
kishmesh sphalerite: reading "man git-diff"11:31
gitinfo sphalerite: the git-diff manpage is available at https://gitirc.eu/git-diff.html11:31
AlynxZhou joined11:32
osse kiuma: not dangerous in the sense that it will kill your dog. it's fine for testing code changes. but just might be confusing unless you're familiar with submodules already11:32
peacememories left11:32
kishmesh sphalerite: git diff --cached --check is useful11:33
ripero I thought about $ git show 790c942b --format=raw | grep parent | awk ' { print $2 } ' , but that looks a bit like an overkill11:33
sphalerite kishmesh: "What are considered whitespace errors is controlled by core.whitespace configuration."11:34
watabou joined11:34
sphalerite kishmesh: have a look at man git-config to see the values for it11:34
gitinfo kishmesh: the git-config manpage is available at https://gitirc.eu/git-config.html11:34
theoceaniscool joined11:34
kishmesh sphalerite: thank you11:35
yohnnyjoe left11:35
rafasc joined11:37
Murii joined11:38
goweol left11:40
goweol joined11:40
oxymoron93 ripero you can see parents hashes of a specific commit just with git log11:41
assuming you can get more parents just after merge?11:43
ripero oxymoron93: I want to produce a complete list of SHA-1's of the (immediate) parents of a commit11:45
oxymoron93 git log --pretty=%p -1 HEAD11:45
alexx8 joined11:46
ripero oxymoron93: that's it, thank you11:46
oxymoron93 with capital P you can get complete 40 hex digit hash11:47
wandering_vagran left11:48
polydo_s joined11:48
ripero yep, thx11:48
gitinfo set mode: +v11:49
alexx8 Hi. I just got my first pull request accepted on GitHub (yay!) but have a question. Locally, I created a branch "issue1234" for it, committed three times, then sent a pull request from my fork's branch issue1234 to their branch 'master'.11:50
texinwien_ left11:50
str joined11:51
alexx8 Now my local history shows the issue1234 branch merged into master, but on their "public" repository, it shows as a single commit inside the master branch, i.e. the issue1234 branch disappeared11:51
It seems the two repos' histories now diverged. Is that normal? I am a bit confused by this behaviour11:51
BioSpider left11:51
texinwien_ joined11:51
canton7 alexx8, it's hard to say exactly what happened. It may be a fast-forward merge (!ff), or it may be a rebase11:51
gitinfo alexx8: A fast-forward merge occurs when you merge a commit which is a descendant of !HEAD. No new commit is created, instead the branch is simply moved forward. See http://sandofsky.com/images/fast_forward.pdf11:51
canton7 either way, it doesn't matter. Delete your local branch (and in your github repo), fetch their updated master branch11:52
BioSpider joined11:52
canton7 branches in git are just labels which point to commits. You have an 'issue1234' label which points at the commit you made. They probably just merged that commit into their master branch, which updates their 'master' branch label to point to your commit11:53
alexx8 canton7, why is it hard to say? Can repo owners specify how they integrate? Or does it depend on how my local history developed?11:53
canton7 the repo owner can do whatever they want11:53
do could have done an ff merge, a non-ff merge, or a rebase11:53
Anticom joined11:54
canton7 *they could have done...11:54
alexx8 But my branch 'issue1234' had three commits (one of which was a revert), and in their history it shows as only one commit11:54
canton7 right, you didn't say that :)11:54
polydo_s left11:54
canton7 they'll have rewritten your 3 commits into 1 single commit11:54
alexx8 Was that a 'squash' then?11:55
canton7 it could have been, or an interactive rebase11:55
alexx8 Ah yes, I've heard of these too11:55
So, as an "external" developer of GitHub projects, are these all things I shouldn't worry/care about then?11:55
Nizumzen left11:56
canton7 correct11:56
throw away your branch (it's served its purpose), and fetch in what the upstream repo did11:56
their master branch is authoritative11:56
alexx8 Ah, that's nice to hear. Something I don't have to dive in deeper :)11:56
nast joined11:56
alexx8 good, I'm off to continue on my quest. Thanks for the help!11:59
tymczenko left11:59
alexx8 left11:59
Masber joined12:00
wandering_vagran joined12:00
salamanderrake left12:00
f2k joined12:03
Gurkenglas joined12:04
NiobiumVolant left12:05
polydo_s joined12:05
cstratak_ joined12:06
cstratak left12:06
watabou left12:07
NiobiumVolant joined12:07
Aichan joined12:07
jstein left12:10
watabou joined12:11
chaosruler joined12:13
jason237 left12:19
chaosruler left12:21
a3Dman left12:34
Murr left12:34
Murr joined12:35
rh10 left12:39
raynold left12:39
nooooone joined12:40
YuGiOhJCJ left12:41
nast left12:42
chaosruler joined12:43
watabou left12:44
Silenced left12:45
a3Dman joined12:45
tunekey left12:45
goweol left12:46
voker57 joined12:50
voker57 left12:50
voker57 joined12:50
rorro left12:51
watabou joined12:51
FilipNortic joined12:52
Nizumzen joined12:53
dre_ left12:53
Jackneillll joined12:54
gfurlan left12:54
pbandark1 joined12:54
pbandark left12:54
pbandark1pbandark12:54
ripero left12:55
surfist left12:55
surfist joined12:55
NiobiumVolant left12:56
Jackneilll left12:57
SerusWor1SerusWork12:59
NiobiumVolant joined12:59
PHPanos joined13:00
Silenced joined13:01
str left13:01
NiobiumVolant left13:01
NiobiumVolant joined13:01
dvl left13:03
punkbit joined13:03
str joined13:03
NiobiumVolant left13:03
goweol joined13:05
synthroid joined13:06
punkbit Q: I'd like to run the command `curl -X POST -d '{}' https://foobar/blablabla` when I push to a given `branchName`, let's say `preview`; in the `.git/hooks` directory there's a few hooks but not sure which one to place the command. Any hints? Thanks13:06
dvl joined13:06
dvl left13:06
dvl joined13:06
manuelschneid3r left13:06
manuelschneid3r joined13:07
canton7 punkbit, man githooks has full descriptions13:07
gitinfo punkbit: the githooks manpage is available at https://gitirc.eu/githooks.html13:07
jast punkbit: post-receive or post-update, see man githooks for details. to be clear, these are run on the server, not on the client.13:07
gitinfo punkbit: the githooks manpage is available at https://gitirc.eu/githooks.html13:07
canton7 it's not clear whether you want to run the hook from the server or the client13:07
jast hmm, seems like I haven't implemented dupe suppression for manpage links yet13:07
punkbit canton7: jast thanks for looking! I'm using Netlify, that connects to the repository, so I guess I can create it locally since the repo is shared, I believe?13:08
jast hooks aren't normally shared13:08
if you need to trigger the HTTP requiest it on the client, unfortunately there's no hook for that13:09
canton7 pre-push?13:09
jast pre-push is designed to allow preventing pushes, I'm guessing the HTTP request here triggers something that assumes the new content is already in the repo13:10
canton7 fiar point13:10
*fair13:10
tombusby left13:10
bongjovi left13:10
tombusby joined13:10
punkbit jast: Ok! Now wondering how does services like heroku and netlify work, when they connect to the repositories; I imagine it clones the repository, mirroring everything I'd have in my local, I guess?!13:11
rorro joined13:11
irrgit left13:11
f2k- joined13:11
polydo_s left13:12
canton7 which part of heroku/netlify are you referring to?13:12
the bit where it deploys when you push to the remote repo?13:12
punkbit canton7: yes, that feature13:13
canton7 heroku hosts a git repository, which you can fetch from and push to. There's a hook in the repo which they host (likely post-receive or post-update) which triggers a deployment if you push to a specific branch13:13
goweol left13:14
Gurkenglas left13:14
goweol joined13:14
f2k left13:14
goweol1 joined13:14
alexx8 joined13:15
gitinfo set mode: +v13:15
bongjovi joined13:15
govg left13:15
jast netlify will probably clone/fetch your repo, yes13:15
with many git hosting services, you can configure webhooks, i.e. notifications that are sent out when something is pushed to the git repo13:16
theoceaniscool left13:16
Guest73 joined13:17
govg joined13:17
goweol left13:18
polydo_s joined13:18
punkbit jast: right13:19
Xrayez joined13:19
punkbit ok, so if I create a post-receive hook in my local machine, how to push the hook to the repo, so that everyone who ever clone/fetch gets it?13:20
texinwien_ left13:20
MajorGrub joined13:20
MajorGrub Hi all13:20
gitinfo MajorGrub: 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.13:20
kurkale6ka left13:20
bZq82nURBDbrpRqg joined13:21
jast punkbit: it doesn't work that way. since hooks can contain arbitrary code, git hosting sites don't allow you to upload your own hooks.13:21
canton7 punkbit, 1) post-receive hooks are for repositories which people *push to*. Having one in a local repository will do nothing. 2) You can't force someone to install one of your hooks: that would be a security hazard. You have to ask each person to manually install your hook13:21
alexx8 !backup13:21
gitinfo Worried about your data while trying stuff out in your repo? The repository in its entirety lives inside the .git directory in the root of your work tree so to backup everything `cp -a path/to/workdir path/to/backup` or equivalent will suffice as long as the repo is not modified during backup. See also http://sethrobertson.github.com/GitBestPractices/#backups13:21
MajorGrub I'd like to disable sslVerify = false for a submodule of a repo, is it possible to configure this in the .gitmodules file ?13:21
jast post-receive isn't run by clients, so even if everyone copied it to their local repo it wouldn't do anything13:21
MajorGrub I'd like to set sslVerify to false*13:21
watabou left13:21
Puffball left13:21
punkbit Makes sense : )13:21
jast and git intentionally doesn't share hooks because of the risk from arbitrary code execution. best practice is to include the hook contents somewhere in the repo and maybe include a small script people can run to install them13:22
Guest73 left13:22
tanuki joined13:22
MajorGrub I'd like to set sslVerify to false for a submodule of a repo, is t possible to configure this in the .gitmodules file ?13:22
gusnan_ left13:22
gusnan joined13:23
MajorGrub Hmm kay13:23
rtjure joined13:24
canton7 MajorGrub, there's no mention in man gitmodules, so I suspect not13:25
gitinfo MajorGrub: the gitmodules manpage is available at https://gitirc.eu/gitmodules.html13:25
cbonobo joined13:25
dave0x6d left13:26
cur8or left13:27
kurkale6ka joined13:28
sz0 joined13:28
MajorGrub canton7: do you know of any way to do this ?13:29
cbonobo left13:29
czart left13:29
cbonobo joined13:29
canton7 I suspect there isn't: turning http verification off should probably be a conscious decision by each other, otherwise I suspect that might turn into an attack of some kind13:30
*by each user13:30
MajorGrub hmm :/13:31
irrgit joined13:31
MajorGrub Annoying13:31
dviola joined13:31
yohnnyjoe joined13:31
kurkale61 joined13:32
watabou joined13:33
kurkale6ka left13:33
Cabanossi left13:35
kristofferR joined13:35
yohnnyjoe left13:36
Cabanossi joined13:37
neil_cn left13:40
goweol1 left13:44
shinnya joined13:47
chaosruler left13:47
cdg joined13:47
Anthaas joined13:48
Floflobel left13:50
theoceaniscool joined13:50
re1 joined13:51
cdg left13:51
cdg joined13:52
re1 left13:53
Texan left13:53
re1 joined13:53
goweol joined13:53
Es0teric joined13:57
igemnace left13:58
TikityTik left13:58
Darcidride left13:58
PHPanos left13:58
TikityTik joined13:59
Darcidride joined13:59
Cavallari left14:00
PioneerAxon left14:00
Captain_Beezay joined14:01
koell joined14:01
PioneerAxon joined14:04
KieronWiltshire joined14:04
Floflobel joined14:07
jameser joined14:08
TomyWork left14:09
BioSpider left14:11
watabou left14:11
whyme joined14:11
navidr joined14:12
njbair left14:12
rorro_ joined14:14
gfurlan joined14:14
njbair joined14:15
rorro_ left14:16
riemann joined14:18
bZq82nURBDbrpRqg left14:21
oxymoron93 left14:21
TomyWork joined14:21
imack left14:22
MrMojit0 left14:23
jamiejackson joined14:24
TikityTik left14:24
eshlox left14:24
Gustavo6046 joined14:27
phluks joined14:27
koell left14:27
lb1c joined14:27
oxymoron93 joined14:28
oxymoron93 this happens? https://prnt.sc/hb9bqz14:28
TikityTik joined14:28
canton7 oxymoron93, what's your question?14:29
gitinfo set mode: +v14:29
Gustavo6046 left14:29
Matze202 joined14:30
oxymoron93 does banning happen regularly canton7?14:31
cstratak_ left14:31
rafasc yeah, why wouldn't it?14:31
cstratak_ joined14:31
jast hard to tell, this stuff is done by freenode14:31
canton7 being banned from individual channels is probably fairly rare, but I'd suspect people get k-lined relatively regularly: freenode is big14:32
tinanoo joined14:32
nakkht joined14:32
canton7 you have to do quite a lot to get k-lined, but low probability * a large number of users...14:32
oxymoron93 well, that is why I asked, I did nothing, but bang, harrasment14:32
RandomUser4321 joined14:32
jast possibly someone on the same address got banned14:32
in which case, tough luck, unfortunately :(14:32
rafasc oxymoron93: read http://freenode.net/14:33
oxymoron93 nvm, just wanted to check if I didn't actually spammed the chat accidentally14:33
canton7 curious that you're still here, from the same IP14:33
TikityTik left14:33
irrgit left14:34
oxymoron93 I thought I couldn't come back, but on contrary I did14:34
jast either it was a very short-lived ban, or it was limited to one server14:34
or even an accident14:34
rafasc maybe something to do with that post?14:35
jast what post?14:35
RandomUser4321 left14:35
Cabanossi left14:35
rafasc frontpage of freenode is talking about shadowbans14:35
canton7 a bunch of people in another channel were also k-lined, and have come back14:35
TikityTik joined14:35
jast the post is about channel bans, not network bans14:36
well, my guess is an operator set the k-line mask too broadly, and immediately removed it when they noticed14:36
Cabanossi joined14:37
canton7 the other people I've seen were all using kiwiirc too14:37
nakkht left14:38
nakkht joined14:38
jast so, probably an accident. case closed, yay! :)14:38
nakkht left14:38
nakkht joined14:39
hhernane joined14:39
TikityTik left14:40
watabou joined14:41
Dougie187 joined14:41
sleepingdeforest joined14:42
rorro left14:42
nakkht left14:42
goweol left14:42
nakkht joined14:42
nakkht left14:42
goweol joined14:42
nakkht joined14:42
TikityTik joined14:43
nakkht left14:43
polydo_s left14:43
PHPanos joined14:44
Darcidride left14:44
Darcidride joined14:45
infinite left14:45
watabou left14:45
sleepingforest left14:45
dfaught joined14:46
jameser_ joined14:46
sleepingforest joined14:46
watabou joined14:47
cstratak_ left14:47
stutter joined14:47
jameser left14:48
ripero joined14:48
cstratak joined14:48
sleepingdeforest left14:48
infinite joined14:48
cstratak_ joined14:48
kostur86 left14:49
ripero hi; is there an easy way to print all "topologically" relevant commits? that is, all commits that do NOT(have one parent and have one child)14:49
sleepingdeforest joined14:49
sleepingdeforest left14:49
sleepingdeforest joined14:50
osse ripero: so basically all the "ends" of the graph =14:50
?14:50
polydo_s joined14:50
ripero osse: and merge points / commits with more than one child14:51
Onemorenickname joined14:51
Raging_Hog left14:51
Onemorenickname hi14:51
osse ripero: rev-list --max-parents=0 and rev-list --min-parents=2 gets you half of what you want14:52
cstratak left14:52
TikityTik left14:52
Onemorenickname I have two branches, branch_a and branch_b. On branch_b, I have added files and so on. However, I messed up the indentation of some auxiliary files, and I want to fix that. How can I resync these files with branch_a ?14:52
cstratak_ left14:52
sleepingforest left14:52
zarzar joined14:53
Onemorenickname I have a "rough" solution, where I git clone branch_a somewhere else, copy-pasta and commit14:53
But I was wondering if there was a cleaner solution14:53
_ikke_ git checkout branch_a -- <files>14:53
But can't you just undo the commits?14:53
on branch_b?14:53
Onemorenickname I'd have to modify them14:53
goweol left14:53
Onemorenickname And track them14:54
osse ripero: as for the commits without children, that's all the commits in refs/heads14:54
Onemorenickname (I don't know at which point I changed those files. I didn't even expect to've done it, and saw it with a git diff)14:54
rafasc ripero: have you tried the History simplification options of git log? $git help log | less -p '^ History Simplification'14:54
osse ripero: commits with more than one child: no clue, I think you have to walk the whole thing14:54
gfurlan left14:55
MajorGrub left14:55
cstratak joined14:55
goweol joined14:55
Onemorenickname _ikke_, thanks, i just gitman'd checkout, "--" does exactly what i wanted14:57
polydo_s left14:58
sim590 left14:58
Onemorenickname if I "git branch -m" the branch I'm on, I'll move too ?14:58
or weird things will happen ?14:59
osse what is gitman? :O14:59
_ikke_ man git14:59
gitinfo the git manpage is available at https://gitirc.eu/git.html14:59
Onemorenickname osse, eh, githelp :(14:59
sim590 joined14:59
osse oh, I got the impression the command was 'gitman checkout'14:59
heh14:59
ripero osse,rafasc: thank you, I have not managed to come up with anything yet using history simplification15:00
AaronMT joined15:00
Onemorenickname "gitman is a tool developed by [X] to solve [marginal problem]. It does so using [some particular optimization] and [new tech]."15:00
moritz "it is hip, and will be unmaintained in 2 years".15:01
Onemorenickname :)15:01
_ikke_ acquihired and discontinued15:01
Onemorenickname :D15:01
Argylelabcoat joined15:01
HedgeMage hehe15:01
rafasc Is this normal? https://bpaste.net/show/0ca616e7925d $git diff; showing up slightly misaligned15:02
mariobranco__ joined15:02
Onemorenickname ( https://github.com/jacebrowning/gitman, not touched since 8 months. "GitMan is a language-agnostic "dependency manager" using Git. It aims to serve as a submodules replacement and provides advanced options for managing versions of nested Git repositories." )15:02
oxymoron93 git branch -m does nothing Onemorenickname15:03
jameser_ left15:03
_ikke_ git branch -m oldname newname15:03
Onemorenickname oxymoron93, it's simply a renaming ?15:03
oxymoron93 yes15:03
supercynicertes-w15:03
oxymoron93 if old name isn't given it defaults to current branch15:03
just checked with my master15:04
Onemorenickname On SO, this command is used : "git push origin :old-name new-name"15:04
It says that it deletes old-name15:04
Is ":" after "git push" specifying deletion, is this some other rule, where can I find doc about this ?15:04
polyrob joined15:04
polyrob left15:04
polyrob joined15:04
MarioBranco left15:05
_ikke_ git checkout -B newname oldname15:05
hhernane left15:06
hhernane joined15:06
osse Onemorenickname: man git-push: "Pushing an empty <src> allows you to delete the <dst> ref from the remote repository."15:06
gitinfo Onemorenickname: the git-push manpage is available at https://gitirc.eu/git-push.html15:06
hhernane left15:06
oxymoron93 you actually didn't give source branch to the git push, thus old-name branch on remote will be deleted15:06
osse Onemorenickname: because the full, general syntax is git push origin src:dst15:07
ogny left15:07
oxymoron93 don't know what new-name stands for15:07
njbair left15:07
ripero left15:07
Onemorenickname oh, i see, this is simply the "src:dst" syntax with "src" empty. and there are two pushes in parallel.15:07
i'm such a git noob '_'15:07
thx15:07
Andr0id left15:08
tvw joined15:08
hhernane joined15:08
osse ur dumb. u must brain harder15:08
!!!11115:08
oxymoron93 hm.. didn't know about parallelism15:08
osse Onemorenickname: well, it's no accident that they added the "--delete" flag so people wouldn't have to deal with it15:09
ajb-linaro joined15:09
mentalita left15:09
njbair joined15:09
Onemorenickname osse, this is the actual reason and was done after the ":dst" syntax ?15:09
ajb-linaro anyone familiar enough with Git:parse_email? I'm trying to fix a regression15:09
with [email@hidden.address] (open list:for thing (foo/bar))15:10
s/parse_email/parse_mailboxes/15:10
osse Onemorenickname: yes15:10
chaosruler joined15:10
osse Onemorenickname: internally all it does is prefix the thing that comes after with with :15:10
Glorian joined15:11
Onemorenickname osse, this is gold15:11
osse Onemorenickname: https://github.com/git/git/commit/f517f1f2e9c9e3abe0fde1b3c9a7bb20fdb5ba5515:11
tarkus left15:11
Onemorenickname where do you find this ?15:12
osse Onemorenickname: cd git; git log --grep=--delete; scroll down a up, scroll up a bit, there it is.15:12
Onemorenickname you're a good person15:12
stutter left15:13
osse in your case you'd have to invoke push twice, though. since --delete means you want to delete all the listed things15:13
jfelchner left15:15
osse also, thanks :315:16
Garen left15:17
aboccia_ left15:17
thebope joined15:18
Garen joined15:19
senaps joined15:20
Andr0id joined15:20
watabou left15:20
mentalita joined15:21
filcab joined15:22
goweol left15:22
tkore joined15:23
tkore left15:23
tkore joined15:23
hhernane left15:23
Andr0id left15:24
shpingrlde joined15:24
shinnya left15:25
oxymoron93 left15:25
tkore\work left15:25
Sulla joined15:26
stutter joined15:26
goweol joined15:26
ok91 joined15:26
watabou joined15:28
ok91 left15:29
shpingrlde I'm merging some files from upstream, and getting a lot of "conflicts". no actual code is in conflict, however - the software license requires each file to have a comment at the top which has the name of the most recent committer, and a datestamp. that's where the "conflict" is coming in. I can't safely just merge --theirs, though, because every now and then an actual conflict could come up.15:30
brillenfux left15:30
shpingrlde the comments with the name/date are automatically handled by a post-commit hook, I should mention.15:30
jstimm left15:30
mmlb joined15:31
osse shpingrlde: you can write your own merge driver to deal with that specific issue15:31
shpingrlde is there a way I can tell git to ignore conflicts (or apply "--theirs") only to the first 3 or 4 lines of each file? or to ignore conflicts when the only conflict is a comment?15:31
yohnnyjoe joined15:32
_ikke_ git itself does not have anything specifically for that15:33
perlpilot you can fix it once and use git rerere if you need to do it again though15:33
shpingrlde alright, I'll look up Merge Driver; thanks!15:33
mooasaurus left15:33
_ikke_ what git does have is a clean/smudge filter system that can add the specific information when you check out15:33
mooasaurus joined15:34
_ikke_ hmm, ident only supports the commit id apparently15:34
watabou left15:36
imack joined15:36
Andr0id joined15:37
yohnnyjoe left15:37
goweol left15:38
goweol joined15:38
mmlb left15:38
Gurkenglas joined15:39
Random832 left15:40
TikityTik joined15:40
senaps i have changed some files, now i want to go back to where i was, git reset last commit didn't remove the changes since the last commit. what should i do?15:40
Murii left15:40
sleepingdeforest left15:40
mmlb joined15:41
osse git status tells you15:41
Andr0id left15:41
TikityTik left15:42
PioneerAxon left15:42
TikityTik joined15:42
PioneerAxon joined15:42
Sulla left15:44
TikityTik left15:44
senaps i didn't commit any of the changes, git reset didn't do it, so i tried the git reset --hard i don't know what it did! but it looks like it did what i wanted(i removed new files, but changed files went back)15:44
Darcidride left15:45
stutter left15:45
Darcidride joined15:46
murii joined15:46
TikityTik joined15:46
senaps left15:47
IrishPrime joined15:47
MarioBranco joined15:48
Puffball joined15:49
njbair left15:50
zefferno left15:50
IrishPrimeIrish15:51
mariobranco__ left15:52
IrishIrishPrime15:52
Elon_Satoshi left15:52
aboccia joined15:52
rscata left15:52
Andr0id joined15:52
njbair joined15:53
Random832 joined15:53
staafl joined15:54
dec0n left15:56
sunri5e left15:56
mikecmpb_ joined15:56
Elon_Satoshi joined15:57
thiago joined15:57
Masber left15:57
mikecmpbll left15:57
notu joined15:58
Silmarilion left16:00
fassl joined16:00
sunri5e joined16:01
pro_metedor left16:01
manuelschneid3r left16:01
jason237 joined16:01
perlpilot_ joined16:02
kpease joined16:03
manuelschneid3r joined16:03
seschwar left16:03
watabou joined16:03
pro_metedor joined16:04
pro_metedor left16:04
kpease_ joined16:04
orbyt_ joined16:05
chele left16:05
perlpilot left16:05
cworth joined16:05
notu left16:06
d10n-work joined16:06
aoscott left16:07
kristofferR left16:07
kpease left16:08
B4S1L3 joined16:08
pbandark left16:08
roelmonn_ joined16:08
idlemind left16:08
scientes joined16:08
jstein_ joined16:09
jstein_jstein16:09
AaronMT_ joined16:09
cbonobo left16:09
alexx8 Does a default 'git pull' create a merge commit or a rebase on a local repository?16:10
murii left16:10
_ikke_ git pull == fetch + merge by default16:10
B4S1L3 hi, after setup new system, i cant sign anymore w/ GPG: msg is "commit-tree failed , error gpg couldn sign..." and then...16:10
sleepingdeforest joined16:11
roelmonnens left16:11
B4S1L3 and then ... https://pastebin.com/THCGSfK716:11
nydel07 left16:11
alexx8 but then the SHA-1 of my latest commit is different from, say, the latest commit of the origin repo, right?16:11
AaronMT left16:12
alexx8 i can't seem to grasp why that workflow works16:12
B4S1L3 though the message might be caused by signing failure, so maybe not relevant16:12
synthroid left16:12
_ikke_ alexx8: if you do not have any local changes, that merge would fast-forward, meaning no extra commit is created16:12
sunri5e left16:12
Tee_Pee joined16:12
roelmonn_ left16:13
_ikke_ alexx8: if you do have local changes, your local history would already be different. After the merge, you can push that merge back to origin, and then everyone can have the same history again16:13
nazza joined16:14
cworth left16:14
tkore left16:14
alexx8 oh, true. i forgot about fast-forward merges16:14
B4S1L3 my .gitconfig is copied from the old system and the GPG key is imported from the priv key as stored on keybase.io, so should be valid...16:15
fission6 joined16:16
z1haze joined16:17
z1haze is there an easy way to tell what branch another branch from started from?16:18
Nizumzen left16:18
stutter joined16:18
rorro joined16:18
nazza left16:18
mikecmpb_ left16:18
_ikke_ z1haze: only visually16:18
Matze202 left16:18
z1haze what do you mean16:19
B4S1L3 when it's merged otherwise it might be in the message "from ... to ..."16:19
mikecmpbll joined16:20
z1haze i just want to check if this release branch was actually started off master, or from another release16:20
chll_ left16:20
B4S1L3 the first derived commit has for parent a commit from the parent branch, so you can check for the SHA if you're not in a hurry16:20
_ikke_ z1haze: git does not track the starting branch of another branch16:21
heym0e joined16:21
z1haze ah perfect B4S1L316:21
scientes left16:21
z1haze that helps16:21
chaosruler left16:22
B4S1L3 ahah16:23
Use gitk goddamnit16:23
sunri5e joined16:23
cworth joined16:23
introom joined16:24
introom is there a thing like gitweb but with user authentication?16:24
dsdeiz_ joined16:24
selckin gitlab16:25
moritz there's gitlab and gitblit16:25
chll_ joined16:25
moritz if you just need authentication and no authorization, a webserver like apache or nginx can do it for you too16:26
floppydh left16:26
rafasc z1haze: can I ask you why do you want to know "where the branch started"?16:26
z1haze Just wanted to see how our releases start, if they start from master, or from the previous release, thats all16:27
rafasc In the past two weeks we got something like at least 3 different people asking for this.16:27
z1haze the guy who usually handles the releases branches is on vacation16:27
synthroid joined16:27
overlord_tm left16:27
db8093246 joined16:28
sleepingdeforest left16:28
alexx8 rafasc, to be honest, i was looking for this feature as well. it would be nice to see, when the history starts diverging, how the two lines were called (i.e their branch names) at that moment16:28
if i scroll through a commit history, and see three long parallel lines, i never know which one was the main development line back then16:28
introom moritz: yes. just authen.16:29
Chaosruler joined16:29
ruskie left16:30
Chaosruler left16:30
Matze202 joined16:31
pro_metedor joined16:31
str left16:31
jason237 left16:31
rafasc You can check the common ancestor with $git merge-base16:31
cstratak left16:31
Maestro joined16:32
rafasc or use $git branch --contains to see which branches contain that specific commit.16:32
kurkale61kurkale6ka16:32
roelmonnens joined16:32
scientes joined16:33
Maestro left16:33
thinkpad left16:33
SuperLag left16:34
rafasc the best you can do is use $git branch --edit-description; and write it there.16:34
alexx8 oh, that's a lot of new stuff again. i didn't know you can describe a branch16:35
durham joined16:35
rafasc In my opinion, when you create a branch, it doesn't start at the place you created. The branch is the whole history that is reachable from the tip of that branch.16:36
alexx8 including previous divergences, you mean?16:37
as in, parallel developments?16:37
Matze202 left16:37
roelmonnens left16:37
rafasc branches are just pointers to commits, right? and commits refer only to their parents.16:37
alexx8 true. that's what is hard to get into my head. i *would* like to think of branches as the complete lines starting at the point of divergence and ending at a merge16:38
netj left16:39
netj joined16:39
dsdeiz_ left16:40
PHPanos left16:40
gitinfo set mode: +v16:40
perlpilot_perlpilot16:40
_ikke_ right, but to get that from git, you have to know where it started, so that you know what to exclude16:40
ruskie joined16:40
Apogee joined16:40
_ikke_ branching (as in diverging history) is not an explicitly action in git16:41
Apogee left16:41
alexx8 _ikke_, and knowing where it started is not possible, right?16:41
Onemorenickname left16:41
_ikke_ not trivially16:42
alexx8 okay.. that clears things up then16:42
goweol left16:42
rafasc there's nothing wrong with thinking that way, i guess.. and if you have two tips that diverged, you can check where they started to diverge with $git merge-base tip1 tip216:42
Nizumzen joined16:43
rafasc but that only makes sense when you have two things two compare.16:43
_ikke_ .digraph E -> D -> C -> B -> A16:43
murii joined16:43
gitinfo .digraph: http://g.jk.gs/EZ.png16:43
str joined16:43
nixjdm joined16:43
_ikke_ alexx8: if you look at that diagram16:44
Can you see how many branches there are?16:44
rafasc hint: it's a trick question16:44
Khisanth left16:45
alexx8 i'd like to say one. but.. master could be C, and then new_feature could be A. and some other branch with no new history could be A too16:45
rafasc s/two compare/to compare/16:45
mel00010 left16:45
watabou left16:45
sleepingdeforest joined16:45
cworth left16:46
rafasc and you could have, lets say, 2000 branches pointing to B.16:46
BrainDamage joined16:47
alexx8 yep16:47
SuperLag joined16:48
pirocks joined16:48
orbyt_ left16:50
BrainDamage hello, is there a program whom lists local branch that are remote tracking ( the --track flag when using git branch ) other than parsing the .git/config file?16:50
_ikke_ if you just look at a single branch, and follow history back, everything looks just linear16:50
Cabanossi left16:50
nydel07 joined16:50
_ikke_ BrainDamage: git branch -vv16:50
flaviodesousa left16:50
rafasc .digraph E -> D -> C -> B -> A; G -> F -> D16:50
gitinfo .digraph: http://g.jk.gs/E_.png16:50
flavius joined16:51
BrainDamage _ikke_: excellent, thanks16:51
beerdrop joined16:51
cworth joined16:51
Cabanossi joined16:51
rafasc alexx8: you might say that F G is a branch that starts at D right? But what happens if we delete commit E?16:51
it's not that clean anymore right?16:51
BSaboia joined16:52
_ikke_ or better, what if master is at C16:52
rafasc if you use $git merge-base E G it will say that those two branches started to diverge at D.16:52
nydel07 left16:53
alexx8 oh, i think i read these graphs the wrong way. G or E is the newest commit, and A is the oldest?16:53
rafasc But each branch on their own doesn't have a "start"16:53
fission6 left16:53
_ikke_ .digraph E -> D -> C -> B -> A; G -> F -> D; node [shape=box] master -> C; branch_a -> G; branch_b -> E;16:53
rafasc yes16:53
gitinfo .digraph: http://g.jk.gs/E-.png16:53
nydel07 joined16:54
_ikke_ alexx8: the arrows point backwards, because each commit points to it's parent16:54
rafasc where does branch_a starts? D or C?16:54
Tbase joined16:54
alexx8 i can't say16:55
rafasc exactly.16:55
_ikke_ It's not possible to tell16:55
osse rafasc: That is left as an interpretational exercise for the developer16:55
alexx8 :D16:55
but the commit D was created either while branch_a or branch_b was checked out... so, theoretically, ....16:55
osse In git terms it starts at A.16:55
alexx8 anyway, it's starting to all make sense16:56
scientes left16:56
_ikke_ alexx8: you *can* ask git what commits are unique to a branch by excluding all other branches16:56
(though there is no automatic way to specify 'all other')16:56
but from that point of view, D belongs to no branch16:57
Tbase left16:57
Sound joined16:57
f2k- left16:58
osse Patch idea! Because ive been wanting that for so long16:59
_ikke_ osse: 'all other'?16:59
osse yes16:59
My unique log script iterates for each ref and bla blah.16:59
I want git log master --not --the-rest17:00
_ikke_ but which 'the rest'17:00
cagomez joined17:00
UD98 joined17:00
_ikke_ you need to be able to namespace it17:00
ie, --not --all-other-branches17:01
UD98 left17:01
osse --not-other-branches --not-any17:01
mikecmpb_ joined17:01
osse Some thing like that17:01
beerdrop left17:01
mikecmpbll left17:01
sleepingdeforest left17:01
osse Or maybe infer it from the type of positive ref17:02
ArcaTech joined17:02
cagomez left17:02
cagomez joined17:03
jameswine left17:04
Senecea joined17:05
Razor10 joined17:05
ertes-w left17:06
_ikke_ there is already --exlude17:06
Razor10 left17:06
Gurkenglas left17:08
staafl left17:09
manuelschneid3r left17:09
dreiss joined17:09
Khisanth joined17:09
KieronWiltshire left17:10
_ikke_ --exclude I mean17:10
murii left17:10
svm_invictvs joined17:10
Yuu joined17:11
dsdeiz_ joined17:12
madewokherd joined17:13
manuelschneid3r joined17:14
pro_metedor left17:14
osse not sure that solves the problem17:15
ArcaTech left17:15
manuelschneid3r left17:15
Cabanossi left17:15
riemann left17:15
beerdrop joined17:15
manuelschneid3r joined17:15
fassl left17:15
watabou joined17:16
Gianormagantrous joined17:16
Gianormagantrous left17:16
Gianormagantrous joined17:16
rafasc it doesn't17:16
pirocks left17:17
dsdeiz_ left17:17
Cabanossi joined17:17
Es0teric left17:18
B4S1L3 left17:19
oxymoron93 joined17:19
bwn joined17:19
cagomez left17:19
mud joined17:19
Guma I was wondering how to you amend last pushed commit? As of right now it is only myself so I know no one did pull17:19
osse Guma: amend the usual way, then push --force[-with-lease]17:20
cagomez joined17:20
Yuu left17:20
Nizumzen left17:22
chll_ left17:23
lacour joined17:25
thiago left17:25
rafasc osse: git log --oneline `git for-each-ref 'refs/heads/' --format='%(if)%(HEAD)%(then)%(refname)%(else)^%(refname:lstrip=2)%(end)'`17:26
dsdeiz_ joined17:26
Calisto joined17:26
cagomez left17:26
rafasc there's some unnecessary junk there that's not needed.17:27
cagomez joined17:27
bilb_ono joined17:27
rafasc it something like this the intended goal?17:27
Calisto left17:28
durham left17:28
roelmonnens joined17:29
pro_metedor joined17:30
dsdeiz_ left17:32
dreiss left17:33
yohnnyjoe joined17:33
roelmonnens left17:34
freimatz left17:34
dsdeiz_ joined17:34
MarioBranco left17:34
eino left17:35
paul424 joined17:35
Cabanossi left17:35
MarioBranco joined17:36
mikecmpb_ left17:36
kurkale6ka left17:36
Cabanossi joined17:36
hardneighbor joined17:37
yohnnyjoe left17:38
hardneighbor left17:38
pro_metedor left17:38
osse rafasc: nice17:39
osse updates unique-log script17:39
rafasc that works for HEAD only17:39
But I think you can update it for working with arbitrary refnames17:39
osse the :equals thing should do the trick17:40
rafasc using :equals17:40
exactly17:40
grk1 joined17:41
grk1 left17:41
rafasc you can remove the lstrip=2 part too.17:41
TheWild left17:42
chaosruler joined17:44
chaosruler left17:44
gxt left17:44
Man4boyinQc joined17:44
Man4boyinQc left17:44
chaosruler joined17:44
dave0x6d joined17:44
nestharus joined17:44
blackmesa joined17:45
pro_metedor joined17:45
sleepingdeforest joined17:46
gxt joined17:46
Darcidride_ joined17:47
dsdeiz_ left17:47
orbyt_ joined17:47
watabou left17:48
Murii joined17:48
Gurkenglas joined17:48
Darcidride_ left17:49
Darcidride_ joined17:49
dsdeiz_ joined17:49
pro_metedor left17:50
fassl joined17:51
roelmonnens joined17:52
stennowork joined17:53
stennowork good day, when i do `git status`, it tells me that my working directory is clean, even though i have just changed a file17:53
what am i doing wrong?17:53
watabou joined17:53
rafasc is the file ignored?17:54
stennowork no17:54
kozy joined17:54
pirocks joined17:54
stennowork that was my first guess too17:54
cbonobo joined17:54
durham joined17:55
bybb joined17:55
stennowork is there a way to re-initialize the repo?17:55
without removing any existing branches?17:55
rafasc does it show on $git ls-files -v17:56
osse rafasc: https://github.com/Osse/git-scripts/commit/70e3097489196769b52d2080d3db232f0d43ccf4 :317:56
mud stennowork: Before you get crazy with it, you're sure you actually saved the changes in your editor, right? I've managed to skip that step before.17:57
rafasc nice, credited and all. xD17:57
mud Reinitializing or whatever is likely not needed17:57
stennowork rafasc, duh! it was in another gitignore which was further down the file path17:57
rafasc !next17:57
gitinfo Another satisfied customer. NEXT!17:57
mud Ah, nice17:57
stennowork i didn't even know you could have nested .gitignores17:57
osse rafasc: hmm, what's the difference between your fork of jellybeans and the original ?17:57
rafasc: i use jellybeans myself17:57
d10n-work Is there a good way to prevent git commit -a when there are already staged changes?17:57
stennowork rafasc, your hint with the ls-files helped me to find the respective gitignore17:58
rafasc err not sure. probably nothing.17:58
Senecea left17:58
rafasc osse: in the past I used fork as bookmarks17:59
Puffball left18:00
fassl left18:00
bybb_ joined18:02
oxymoron93 left18:03
njbair left18:03
rafasc other than that, I just changed the background color to black.18:03
Kaisyu left18:03
sz0 left18:03
bybb left18:03
rafasc I don't like the bland gray..18:03
chaosruler left18:03
rominronin left18:04
beerdrop left18:04
mel00010 joined18:04
PHPanos joined18:05
njbair joined18:05
roelmonnens left18:05
rominronin joined18:05
hahuang65 joined18:06
roelmonnens joined18:06
Nicomp joined18:06
Nicomp left18:08
draget joined18:08
imack left18:09
mikecmpbll joined18:10
roelmonnens left18:10
sleepingdeforest left18:11
poppaboner joined18:11
_the_blackadder joined18:11
sleepingforest joined18:12
NimeshNeema left18:12
freimatz joined18:13
poppaboner left18:13
srm left18:13
blackmesa left18:14
Floflobel left18:14
blackmesa joined18:15
thiago joined18:15
thiago left18:15
cbonobo left18:16
cbonobo joined18:17
BrainDamage left18:17
beerdrop joined18:17
thiago joined18:18
mostlybadfly left18:18
Es0teric joined18:20
Senecea joined18:22
jamiejackson left18:22
roelmonnens joined18:23
Gustavo6046 joined18:23
invisbl joined18:23
Mattiaslndstrm joined18:25
Puffball joined18:25
adamf joined18:25
ResidentBiscuit joined18:26
adamf is this the right place to ask questions about customization of gitweb?18:26
cdown joined18:26
thiago we may be, but I don't remember ever seeing a question about it18:27
watabou left18:27
_ADN_ left18:27
mostlybadfly joined18:28
adamf eh, probably not a super huge deal. Just looking to bring my own stylesheet to the party...and I see how to do it when /usr/share/gitweb exists...but I was trying to do it on macOS and such a directory does not exist AND the system actively prevents creating it even with sudo18:29
I should just do this on my centos box, tbh....and stop barking up the wrong tree18:29
Sound left18:30
_the_blackadder left18:30
Gurkenglas left18:30
Darren_ joined18:31
rafasc adamf: not the wrong tree at all. :)18:31
adamf do you have experience with doing this?18:32
ye olde google barely turned up anything when I went fishing around for customization instructions18:32
Murr left18:34
Murr joined18:34
watabou joined18:35
tvw left18:36
narendraj9 joined18:37
Phylock joined18:37
tarkus joined18:37
ferdereine joined18:37
MarioBranco left18:37
salamanderrake joined18:39
wandering_vagran left18:41
narendraj9 left18:43
ferdereine left18:44
gxt left18:44
bybb_ left18:45
schmotty joined18:46
Nizumzen joined18:47
Cavallari joined18:48
schmotty left18:48
jaggz joined18:48
wootehfoot joined18:49
Tee_Pee Hey guys, I got a merge conflict in a binary file18:49
is there a way for me to resolve it with the file from the other branch?18:49
i.e. not keep the one I have locally18:49
gopar joined18:49
jason237 joined18:49
jaggz how do I clone this? http://git.dcmtk.org/18:49
oh.. got it18:49
mud Tee_Pee: You can usually resolve those with 'git checkout --theirs -- the-file' or --ours instead of theirs, depending on which side you want. With binaries, it's rarely possible to do much other than one of those two. (welcome to why having to merge binaries usually means you've done something wrong)18:51
blackmesa left18:51
rafasc Tee_Pee: before the merge you can use $git merge -Xtheirs to resolve in their favour.18:51
otherwise what mud said18:51
scientes joined18:52
Tee_Pee Eh, I know it means something is wrong, but it's not my repo unfortunately, so I have to adapt18:54
Is there a way to lock down a binary files across all branches when someone's working on it?18:54
fassl joined18:54
mud Not really, git doesn't work that way. In some cases you could build something on top of git that would do that, like maybe a hook to enforce it, but getting it right and not annoying would be tricky.18:55
zivester joined18:55
sbeller_ left18:56
Darcidride left18:56
sbeller joined18:56
sleepingforest left18:57
raynold joined18:57
rafasc Tee_Pee: you're in !lfs territory18:57
gitinfo Tee_Pee: [!annex] git-annex, git-media, and Git LFS are some solutions to the !binary problem. They work by keeping the blobs outside of the repo, storing a reference to the blob in the repo instead. http://git-annex.branchable.com https://github.com/alebedev/git-media http://git.io/git-lfs18:57
bongjovi left18:57
dsdeiz_ left18:57
theoceaniscool left18:57
scientes left18:58
Gurkenglas joined18:58
raynold ahh it's a wonderful day18:58
Tee_Pee ah, lfs then18:58
Matze202 joined18:58
Tee_Pee To be perfectly honest, I only work with Git when absolutely forced to, so I don't know how some of the things in it work :p18:58
mud Does lfs and etc. actually provide a solution to this? The problem seems conceptual, not about where the actual binary is stored.18:58
blackpajamas joined18:59
blackpajamas left19:00
rafasc I saw a talk on lfs where they were trying to tackle this. Not sure if it's implemented or not.19:00
madewokherd` joined19:00
TomyWork left19:00
mud Maybe I'm missing it, I just don't see what implementing it would even mean. Like what semantics should it have? If you conceptually have 2 different threads of changes to a binary ... I mean you're already screwed. There's no merging those without understanding what the binaries mean (and in cases of executables and photos and etc., merging it will be impossible automatically even if you do know what they mean)19:01
fassl left19:01
rafasc https://www.youtube.com/watch?v=iJ3hXuEVKAc19:01
mud In every case I've ever seen, you 1) take one side or the other 2) regenerate the binary from the source (in cases where you're tracking build products) 3) Manually merge the changes, like if it were a photo and you redo the changes from one side.19:02
madewokherd left19:02
konsolebox left19:02
jnavila joined19:02
mud None of those a computer can fundamentally do even if you told it you wanted to.19:02
rafasc yes, what they try to do is basically a system to tell: "hey this file is mine for now"19:03
mud Ah, the locking part. Fair enough, that could be possible.19:03
rafasc I gave you the wrong link19:03
https://youtu.be/p3Pse1UkEhI?t=146219:04
Spydar007 joined19:05
mud Thanks19:05
aielima left19:05
sonOfRa joined19:07
nd- joined19:07
rkta joined19:07
watabou left19:08
konsolebox joined19:09
scientes joined19:10
scientes left19:10
scientes joined19:10
nd left19:10
barton joined19:12
VladGh joined19:12
dsdeiz_ joined19:13
gopar left19:13
Darcidride_ left19:14
gopar joined19:14
barton left19:14
VladGh left19:15
watabou joined19:16
Gurkenglas left19:16
VladGh joined19:17
roelmonnens left19:17
dsdeiz_ left19:17
mud rafasc: That looks like an interesting model they're talking about. I like how after that though like ... well it doesn't work yet, just tell people you're working on something.19:17
sea-gull joined19:18
gopar left19:18
manuelschneid3r left19:19
jeffreylevesque joined19:19
scientes left19:19
Sasazuka joined19:20
rafasc mud: yeah.. that was a year ago.19:20
netj left19:20
manuelschneid3r joined19:20
rafasc "Git LFS v2.0.0 includes an early release of File Locking."19:20
mud Naw yeah I figured they've fixed that by now. I just thought it was funny.19:20
muelleme joined19:21
rafasc they're on v2.3.4, so I assume they already have it.19:21
netj joined19:21
Silenced left19:22
goweol joined19:24
LocaMocha left19:27
orbyt_ left19:27
Anticom left19:28
re1 left19:29
jottr joined19:29
cdg left19:30
cdg joined19:30
Mattiaslndstrm left19:30
sathed joined19:31
kishmesh left19:31
zivester2 joined19:32
orbyt_ joined19:33
dsdeiz_ joined19:33
PHPanos left19:33
tymczenko joined19:33
stemid joined19:33
Mattiaslndstrm joined19:34
zivester left19:34
cdg left19:34
FJB joined19:34
stemid I've been making some local changes to a git repo and then manually reversing them. and I've been running into this a lot https://bpaste.net/show/8ddc6d7c8ac7 and I don't understand what has changed or how to revert it. I know there's probably a fancy git method to do this like stash or revert but I don't know it yet.19:34
fyi it doesn't help to put a newline at the end of file.19:35
that just gives me more changed lines.19:35
mud stemid: What about removing a newline at the end of the file?19:36
kishmesh joined19:37
dsdeiz_ left19:38
durham_ joined19:40
allinonepker joined19:40
bongjovi joined19:40
allinonepker left19:40
gxt joined19:41
bttf left19:41
mud left19:42
mud joined19:42
durham left19:42
stemid huh that did it.19:43
did a printf %s "$(< tools/helpers.py)" and used that output19:43
thanks19:43
durham joined19:44
phluks left19:44
zifnab joined19:44
Gustavo6046 left19:45
stemid that's weird, vim displays the file the same. only cat reveals the missing newline.19:45
Sound joined19:46
FJB left19:47
durham_ left19:47
bongjovi left19:47
FJB joined19:47
durham_ joined19:48
durham left19:48
Gurkenglas joined19:49
watabou left19:49
Sound left19:50
stemid is there a way to merge the branch I currently have checked out into another branch that I have locally? I've been doing checkout on the other branch first and then merge. could save me a couple steps.19:50
FJB left19:50
FJB joined19:50
Doginal joined19:50
fassl joined19:51
tobiasvl stemid: if the merge is a fast forward, you can push to the branch19:51
but otherwise you need to have checked out the branch you're merging into, to resolve conflicts19:52
this should work for the former case: git push . current_branch:other_branch19:52
watabou_ joined19:52
dsdeiz_ joined19:52
stemid hm ok, thanks but I'll have to read about what fast forward merge means to understand.19:53
mud I would just get used to checking out the branch you're modifying.19:53
tobiasvl stemid: !ff19:53
gitinfo stemid: A fast-forward merge occurs when you merge a commit which is a descendant of !HEAD. No new commit is created, instead the branch is simply moved forward. See http://sandofsky.com/images/fast_forward.pdf19:53
raynold ahh it's a wonderful day19:54
stemid "simply moved forward" I hope that means that branch2 gets the changes from branch1.19:54
tobiasvl stemid: yes. it means that if the only thing that's happened is that branch1 has gotten new commits after it branched off of branch2, then it can be merged as a fast-forward with no conflictts19:55
but if the branches have diverged by both branches having added commits, it's not a fast forward19:55
gopar joined19:55
stemid oh well then it sounds like I need to try this. thanks19:55
tobiasvl yeah, you can just try it. if it's not possible to fast-forward merge, the push will fail19:56
stemid and if I understand the pdf correctly I can also add --no-ff to have a commit created like it has been before.19:56
dsdeiz_ left19:57
mikeymop left19:57
tobiasvl stemid: well, no. you can't add a merge commit without merging locally. --no-ff means the merge is treated as a non-fast-forward19:57
fassl left19:57
kasper^ joined19:58
durham_ left19:58
durham joined19:59
fassl joined19:59
Gustavo6046 joined20:01
bilb_ono left20:01
Gustavo6046 left20:01
Gustavo6046 joined20:02
Gustavo6046 left20:02
Gustavo6046 joined20:03
goweol left20:03
orbyt_ left20:03
durham left20:03
zivester2 left20:04
Floflobel joined20:04
zivester joined20:04
fassl left20:05
zivester left20:05
goweol joined20:05
nanga joined20:05
nanga left20:05
nanga joined20:05
BSaboia left20:06
Gurkenglas left20:07
googe joined20:08
BSaboia joined20:08
googe left20:08
stemid oh right I forgot to mention my branches are on different remotes.20:11
so git push remote branch1:branch2 didn't work immediately for me.20:11
mikeymop joined20:11
stemid maybe I can specify a full path to each branch including remote.20:11
RalphJr45 joined20:11
ZyX-I joined20:12
dsdeiz_ joined20:12
goweol left20:13
Rainee joined20:13
tarkus left20:13
tobiasvl stemid: huh? you said you had the branches locally20:14
you don't specify a remote in your push command. it's just a trick: you're pushing to your own repo20:14
the . stands in for the remote20:15
cagomez left20:15
stemid well I may be confusing what local means but what I meant was that I had fetched everything from the remote to my computer. but I still have to push changes to the remotes. and there's one remote for each branch.20:15
goweol joined20:16
stemid because I'm deploying from one of the branches20:16
cagomez joined20:16
stemid so the deployment needs to access the remote branch20:16
wilbert joined20:16
dsdeiz_ left20:17
Rainee left20:17
tobiasvl OK, but then I don't understand what you want to do. if it's a fast-forward, you can just push TO the remote itself. that's what people do every day when they've done some local changes that they want the remote to hav20:17
have*20:17
goweol left20:18
Akimb joined20:18
Akimb left20:18
goweol joined20:18
Cavallari left20:19
zivester joined20:19
_Vi joined20:20
_Vi Why --notes option of git-send-email is not documented? Is it intentional or just nobody cared to document it?20:21
cagomez left20:21
jnavila left20:22
jnavila joined20:22
_Vi Or is being documented for "git format-patch" means no need to document it for send-email?20:24
King_Hual joined20:25
King_Hual left20:25
King_Hual joined20:25
ResidentBiscuit left20:25
Scanty1 joined20:25
tobiasvl git: 'send-email' is not a git command. See 'git --help'.20:25
?20:25
goweol left20:25
watabou_ left20:26
goweol joined20:26
Scanty1 left20:28
watabou_ joined20:29
Eugene _Vi - patches welcome ;-)20:29
Floflobel left20:29
Eugene tobiasvl - some distributions(Ubuntu I know of) have git-core vs git-all packages20:30
_ADN_ joined20:30
dsdeiz_ joined20:32
dre_ joined20:32
dre_ left20:33
Murr left20:34
Murr joined20:34
dre_ joined20:35
prometh joined20:35
prometh can a pull/merge request git hook be limited to branches that stem from specific branches? such as release-1.0 -> feature20:35
am i limited to using tags?20:35
punkbit left20:36
SteffanW joined20:36
dsdeiz_ left20:36
rafasc send email is not from core :O20:38
m0viefreak joined20:38
rafasc ?20:38
_ikke_ prometh: are you referring to git(hub|lab)|bitbucket webhooks?20:38
prometh yes, and i'm using jenkins20:38
mud prometh: What hook exactly? That doesn't sound familiar. But you'll probably have to code whatever it is at a guess, assuming it provides the info you need.20:38
NiobiumVolant joined20:38
stemid tobiasvl: sorry for being confusing but my workflow is this. make changes to branch1. git commit in branch1, git push remote1 branch1. then I've always done git checkout branch2, git merge branch1, git push remote2 branch2. simplified, obviously the remotes are setup in .git/config so I only run git push in practice.20:38
staafl joined20:39
prometh origin/parent-branch/feature-branch20:39
i have two jobs in jenkins connected to the webhook20:39
mud webhook sounds a lot like a feature specific to some site. Are you talking about github?20:39
prometh hotfixes need to run a different build command than develop branches20:39
i'm talking about targeting branches with specific parent branches20:40
using some sort of git syntax20:40
https://i.imgur.com/qbTlW9R.png20:41
those appear to be my options20:41
some of its examples are a bit vague20:41
_3case_ joined20:44
_3case_ left20:44
sea-gull left20:44
diogenese left20:44
orbyt_ joined20:44
goweol left20:45
diogenese joined20:46
goweol joined20:46
Gurkenglas joined20:47
jnavila left20:47
BigD53 joined20:47
BigD53 left20:47
opal joined20:48
Acerific joined20:49
Acerific left20:49
Acerific joined20:49
dsdeiz_ joined20:52
zarzar left20:52
nokleby joined20:52
zarzar joined20:52
nokleby left20:53
binary106 does anyone know why git pull --rebase occasionally hangs seemingly forever? does it do a defrag/GC of some kind?20:53
jrabe left20:54
jrabe joined20:54
binary106 10k files in repo on ssd raid020:54
_ikke_ if it would do something like that, it would show output20:54
binary106: sounds more like a network issue20:54
binary106 ooh, maybe MTU?20:55
_ikke_ perhaps20:55
NiobiumVolant left20:55
phluks joined20:56
dsdeiz_ left20:56
Nizumzen left20:56
fassl joined20:57
NiobiumVolant joined20:57
SteffanW left20:59
jeffreylevesque left21:00
beastd joined21:00
yohnnyjoe joined21:00
goweol left21:00
prometh no one can help me?21:00
beastd left21:00
NiobiumVolant left21:01
snowkidind joined21:02
watabou_ left21:02
Matze202 left21:02
nooooone left21:03
durham joined21:03
nooooone joined21:04
NiobiumVolant joined21:04
mud prometh: You kind of ignored the question of what tech you're talking about, so I wandered off. It doesn't sound like pure git.21:04
gildarts joined21:04
prometh i'm using jenkins21:05
it's asking for an expression to target my desired branches21:05
rafasc also, it's not very clear what you're trying to do.21:05
prometh git uses things like origin/head21:05
Gurkenglas left21:05
prometh i want to run scriptA on pull requests that branch from branchA, and run scriptB on pull requests that branch from branchB21:06
paul424 left21:06
prometh this is complex: https://stackoverflow.com/questions/3161204/find-the-parent-branch-of-a-git-branch21:07
theoceaniscool joined21:08
rafasc there's no such thing as a "parent branch of a Git branch"21:09
MACscr left21:09
prometh i sort of knew that21:09
rafasc check the !logs21:09
gitinfo [!irclog] Public logs of #git are kept at: https://gitirc.eu/log or see stats for the last 30 days: https://itvends.com/irc/git.html or for all time (give or take): https://itvends.com/irc/git-all.html21:09
goweol joined21:09
Senecea left21:09
rafasc we've talked about this today.21:09
prometh huh?21:10
i have to parse git logs?21:10
_ikke_ that's this channel's logs21:10
prometh i can't do that with a regular expression in a jenkins sigline-line text field21:11
*single*21:11
rafasc no, I was asking you to check the irc logs, because we've talked earlier today how it doesn't really make sense talking about "branch parents"21:11
NiobiumVolant left21:11
_ikke_ you can check git branch --merged <branch> perhaps21:11
dsdeiz_ joined21:11
_ikke_ But that doesn't apply to all situations21:11
NiobiumVolant joined21:11
NiobiumVolant left21:12
prometh that sounds like it'd work for master branch, not a branch that merged into master21:12
muelleme left21:13
durham left21:13
goweol left21:13
MACscr joined21:13
prometh <branch> can't be an expression, can it?21:13
durham joined21:14
prometh also, i don't seem to have access to bash for this21:14
Nizumzen joined21:14
joshy-RP joined21:14
Matze202 joined21:15
tunekey joined21:16
dsdeiz_ left21:16
durham_ joined21:16
nachoman joined21:16
AlchemiA joined21:16
AlchemiA left21:16
joshy-RP left21:17
db8093246 left21:17
jnavila joined21:17
durham left21:18
dviola left21:18
diego2 joined21:19
diego2 left21:19
FJB left21:20
FJB joined21:20
prometh can i check for a sha in history somehow?21:20
lafromboise joined21:21
sathed left21:21
_ikke_ What do you want to check exactly?21:21
kostur86 joined21:21
prometh if a commit exists in the current git history21:21
navidr left21:21
_ikke_ git merge-base --is-ancestor21:21
sathed joined21:21
prometh that just gave me a help screen21:22
_ikke_ You have to provide it some details21:22
rorro left21:22
prometh git merge-base --is-ancestor f308241c9a940ae16d672ad07323377d06a750b721:22
lafromboise left21:22
goweol joined21:22
prometh dunno why it shows <commit> <commit> in the help21:23
_ikke_ You have provide it 2 comittish21:23
dviola joined21:23
_ikke_ hmm21:23
prometh what two commits?21:23
i guess the current commit?21:23
current/latest21:23
Eugene !HEAD21:23
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:23
_ikke_ Eugene: it requires 2 commits21:24
Eugene And head would be the other one21:24
_ikke_ prometh: git commit --is-ancestor <commit-to-check> <branch-to-check>21:25
prometh returns nothing21:25
_ikke_ It returns an exit code21:25
echo $?21:25
jnavila left21:25
_ikke_ It's meant to be used in scripts21:25
watabou_ joined21:25
prometh ah, 021:26
durham_ left21:26
_ikke_ that means it is an ancestor21:26
FJB left21:26
FJB joined21:26
durham joined21:26
_ikke_ prometh: git commit --is-ancestor <commit-to-check> <branch-to-check> && echo is-ancestor || echo no-ancestor21:26
prometh not?: git merge-base --is-ancestor f308241c9a940ae16d672ad07323377d06a750b7 HEAD && echo $?21:27
oh, they're strings21:27
_ikke_ that would not echo anything if it isn't an ancestor21:27
prometh i get it now21:27
_ikke_ yeah21:27
prometh echo $? || echo 121:28
average left21:28
_ikke_ && echo yes || echo no21:28
prometh same shits :)21:28
_ikke_ ; echo $?21:28
prometh what's that one do?21:29
_ikke_ That just echo's the exit code, regardless of what it is21:29
prometh ah, that's better21:29
thanks21:29
_ikke_ the ; is just meant to seperate it from the first command21:29
prometh cool, makes sense21:30
goweol left21:30
cdg joined21:30
durham left21:30
goweol joined21:31
dsdeiz_ joined21:31
Cabanossi left21:32
sathed left21:32
sathed joined21:32
cdg left21:33
cdg joined21:33
Cabanossi joined21:34
jnavila joined21:35
maroloccio joined21:35
j08nY joined21:36
dsdeiz_ left21:36
FJB left21:37
Es0teric left21:38
FJB joined21:38
bilb_ono joined21:39
PaulCapestany left21:39
GeraldW left21:40
daurnimator joined21:40
Doginal left21:40
kfunk left21:41
_ikke_ I'm just wondering how I can best provide feedback21:42
Es0teric joined21:42
phluks left21:43
goweol left21:43
durham joined21:43
durham left21:44
rafasc what do you mean by that?21:44
jcarpenter2 joined21:45
FJB left21:45
goweol joined21:45
FJB joined21:45
_ikke_ with patches, it's easy to give inline feedback, but just commits, it's harder21:46
rorro joined21:46
_ikke_ github would let me add inline comments on the code, but not on the commit message21:46
watabou_ left21:46
UserOO7_ joined21:47
durham joined21:48
durham left21:49
UserOO7_ left21:49
durham joined21:50
dsdeiz_ joined21:51
rafasc maybe a squash/fixup commit?21:51
dre_ left21:51
watabou_ joined21:51
clickjack left21:52
PaulCapestany joined21:54
_ikke_ That still does not take care of the commit message quite well21:54
rafasc is this about my branch my branch?21:55
Xrayez left21:55
_ikke_ ?21:55
goweol left21:55
goweol joined21:55
dsdeiz_ left21:55
RalphJr45 left21:56
AaronMT_ left21:56
mel00010 left21:56
jnewt joined21:56
rafasc was asking if this question regarding giving feedback is related to our patch. Because if it makes easier on you, I could still send it via email.21:56
_ikke_ yes21:57
it was21:57
heym0e left21:57
goweol left21:58
rafasc do you want me to send it via email?21:58
_ikke_ Yeah, I guess that's easiest21:58
rafasc Ok, I'll do it then.21:59
Gurkenglas joined21:59
cagomez joined21:59
prometh left22:00
synthroid left22:00
jeffreylevesque joined22:00
UserOO7 joined22:01
goweol joined22:02
uncut-66 joined22:02
uncut-66 left22:02
rafasc go it?22:03
_ikke_: got it?22:03
dsdeiz_ joined22:04
Matze202 left22:04
HornyVersRP joined22:05
HornyVersRP left22:05
UserOO7 left22:05
fassl left22:05
IrishPrime left22:06
goweol left22:06
goweol joined22:07
_ikke_ rafasc: yea22:08
deadlysin joined22:08
deadlysin left22:08
deadlysin joined22:08
jnavila left22:09
dsdeiz_ left22:09
goweol left22:10
goweol joined22:10
Es0teric left22:10
UserOO7 joined22:13
goweol left22:13
goweol joined22:14
UserOO7 left22:14
UserOO7 joined22:16
Gurkenglas left22:18
FJB left22:18
Seiichiro joined22:18
FJB joined22:19
Seiichiro left22:19
stutter left22:20
GeraldW joined22:23
dsdeiz_ joined22:24
sucks joined22:24
watabou_ left22:25
orbyt_ left22:26
UserOO7 left22:26
Mattiaslndstrm left22:27
UserOO7 joined22:27
Nugax__ left22:27
RalphJr45 joined22:29
orbyt_ joined22:29
sucks left22:29
dsdeiz_ left22:29
[Robert] joined22:29
[Robert] left22:30
UserOO7 left22:31
orbyt_ left22:32
watabou_ joined22:33
Murii left22:34
Murr left22:34
zivester left22:34
Murr joined22:34
perlpilot left22:36
ZyX-I left22:36
UserOO7 joined22:36
UserOO7 left22:37
UserOO7 joined22:38
mostlybadfly left22:38
tinanoo left22:40
Darcidride joined22:41
madewokherd` left22:42
UserOO7 left22:42
wilbert left22:42
jungsubk joined22:43
d^-^b Hey guys22:44
I need halp22:44
_ikke_ !just_ask22:44
gitinfo You can just ask your question. If anybody knows the answer, they will answer soon (most of the time)22:44
goweol left22:44
goweol joined22:44
d^-^b So I want to commit a folder which contains more folders which contains… (You get the gist of it)22:45
It doesn't include the content of my folders in the commit22:45
boombatower joined22:45
Darcidride left22:45
d^-^b I tried to add the folders but the content is still nowhere to be seen… Do I have to manually go to the folder then commit each one? :/22:45
_ikke_ d^-^b: what does git status say/22:46
d^-^b Changes not staged for commit: modified: anewmed.cpp (modified content, untracked content) …22:46
I tried: git add . and git add anewmed.cpp/.22:47
_ikke_ d^-^b: right, so that's a submodule22:47
d^-^b what's that22:48
mikecmpbll left22:48
_ikke_ !submodule22:48
gitinfo git-submodule is ideal to add subsidiary git repositories to a git superproject when you do not control the subprojects or more specifically wish to fix the subproject at a specific revision even as the subproject changes upstream. See http://www.git-scm.com/book/en/Git-Tools-Submodules22:48
_ikke_ anewmed.cpp contains a .git directory22:48
mostlybadfly joined22:48
d^-^b It does22:48
the other folder "hexToDec" does too but I created it today and haven't committed it yet on it's own22:49
_ikke_ d^-^b: do you have a .gitmodules file?22:49
wilbert joined22:49
_ikke_ in the top-most repo22:49
d^-^b erm22:50
in the .git folder?22:50
_ikke_ no, in the root of your repository22:50
Gurkenglas joined22:51
Teremy joined22:51
d^-^b https://gyazo.com/9834b240f6147bc6265b2c223bed74a822:51
That's the root of my repository… Well the local one22:51
_ikke_ Right, so no .gitmodules file22:51
d^-^b no22:52
what even is that22:52
_ikke_ So what s it that you want to achieve with this setup?22:52
a file that contains some data git needs for submodules22:52
d^-^b I just want everything you've just seen in that screen to be pushed to my repo22:52
Dougie187 left22:52
_ikke_ did you clone those other repositories from somewhere else?22:53
d^-^b No22:53
_ikke_ did you intentionally created multiple repositories?22:53
d^-^b yes22:53
I wanted to combine them and then delete the lonely ones22:54
if that makes any sense22:54
FJB left22:54
FJB joined22:54
d^-^b I'll just delete the git files in them22:55
_ikke_ If you have multiple repositories, you need to commt in each of them22:55
nachoman left22:55
_ikke_ If you want to treat them as one repo, you should indeed remove (or move) those .git directories22:55
Nizumzen left22:56
PaulCape_ joined22:57
PaulCapestany left22:58
d^-^b um22:58
nothing to commit, working tree clean22:59
Enphuego joined22:59
_ikke_ git rm --cached on both those directories22:59
to let git forget that they were submodules23:00
maroloccio left23:00
Argylelabcoat left23:01
d^-^b works great, thank you23:01
led_belly_ left23:01
Calinou left23:02
wootehfoot left23:03
pro_metedor joined23:03
dfaught left23:04
thebope left23:04
orbyt_ joined23:04
FJB left23:04
FJB joined23:05
thinkpad joined23:05
watabou_ left23:07
alexx8 left23:07
cbonobo left23:08
cbonobo joined23:08
Barrt Hi people23:08
cbonobo left23:09
cbonobo joined23:09
goweol left23:09
Barrt is there anyone that can point me to a direction in how to setup an lab test environment to learn and practice git server configuration?23:09
FJB left23:09
goweol joined23:09
cbonobo left23:10
cbonobo joined23:10
Barrt I'm learning git in git-scm23:10
Gurkenglas left23:10
cbonobo left23:10
Barrt and my hardware setup is 2 laptops, one with linux and other with windows, where I can run hyper-v23:11
I also have an vm with windows 2012 R2 where I can use to setup a domain in active directory23:11
cbonobo joined23:12
cbonobo left23:12
luckman212 left23:12
Barrt or IIS23:13
jstimm joined23:13
scientes joined23:13
Barrt would it be best to use a linux server machine to host git?23:13
goweol left23:14
rafasc git is decentralized, you don't need a server if you wan't to try git.23:14
watabou_ joined23:14
z1haze left23:15
rafasc as long as the two machines can talk to each other, via ssh or by accessing a common file system... git should work just fine23:15
wilbert left23:15
rafasc or even using $git daemon; man git-daemon23:16
gitinfo the git-daemon manpage is available at https://gitirc.eu/git-daemon.html23:16
tymczenko left23:16
goweol joined23:18
luckman212 joined23:19
rafasc Barrt: what are you really trying to learn? Can you be more specific?23:19
|ifei5g00d joined23:20
jungsubk left23:21
|ifei5g00d left23:21
rafasc s/wan't/want/ <- I guess I need some sleep.23:21
|ifei5good left23:21
|ifei5g00d joined23:21
kpease_ left23:22
TikityTik left23:23
TikityTik joined23:23
zarzar1 joined23:23
zarzar left23:23
easzero left23:25
Calinou joined23:26
pro_metedor left23:26
leeN left23:27
goweol left23:27
goweol joined23:28
pro_metedor joined23:28
FJB joined23:30
FJB left23:32
FJB joined23:33
dsdeiz_ joined23:34
adomas joined23:34
jottr left23:36
rafasc left23:36
AlynxZhou left23:37
thiago left23:38
dsdeiz_ left23:38
goweol left23:38
goweol joined23:39
pro_metedor left23:40
Kaisyu joined23:41
m0viefreak left23:41
NwS left23:42
netj left23:42
Barrt thanks rafasc23:43
netj joined23:43
Barrt in fact I want to learn to configure a git server, like it was for an organization23:43
orbyt_ left23:43
Barrt for what i read on some posts on stack , it seems that there are some features of git that are not available on windows machine23:44
in server of course23:45
like gitlab for example23:45
but I'm a newbie23:45
so23:45
mud ? gitlab isn't a feature of git, it's a separate project.23:45
orbyt_ joined23:45
FJB left23:46
Barrt sorry mud like I said I'm a newbie, I've learned that github is also a project, maybe there are some key concepts that I'm missing23:46
watabou_ left23:47
FJB joined23:47
jnewt_ joined23:48
jnewt_ left23:48
mud git started as just one piece of software, the one you're seeing on git-scm. There's a bunch of other projects surrounding it now though, using the same underlying software or at least the same protocol. Examples of those are gitolite, gitlab, github, bitbucket, etc.23:48
Barrt mud and in production, or professionally witch is more suitable for organizations23:49
or found more often?23:49
if you had to guess23:49
King_Hual left23:49
mud So, setting up a server for using git is mostly just a matter of picking which extra tool you want. You technically don't even need one, you *can* just use SSH for example, but it's not very friendly. gitolite is probably the minimal setup I'd actually use professionally. If that provides all of the features you'd need, you can stop there. Otherwise, I'd look at others.23:49
If you need more than gitolite provides, maybe look at using bitbucket or github directly. If the cost is too high or you really need it to be local, or something else, then I'd look at I don't know, whatever else.23:50
m0viefreak joined23:50
dege left23:50
Barrt so in fact if I know git-scm, I will probably be able configure any of those tools right?23:51
olalonde joined23:51
mud They're as easy to set up as any other server things are, in general.23:51
Barrt but is it normal for organizations to use git on their production environment?23:52
mud Sure, git is extremely popular.23:52
osse depends on what kind of production we're talking about. probably yes. why not23:52
Barrt in general of course, so its widely used23:52
hey thanks :)23:53
mud Git pretty much won the VCS wars, as far as it's possible for one tech to win anything.23:53
aw1 joined23:53
osse Serious question: when developing a standard desktop app, what is meant by "in production" ?23:53
I've never really understood that term23:53
Gurkenglas joined23:53
Munt joined23:54
goweol left23:54
goweol joined23:55
Barrt osse: I understand production by the workflow of the organization in question, even if you are developing a standard local App,23:55
kadoban joined23:55
mud left23:55
kadobanmud23:55
mud My connection to freenode today is just terrible, ugh.23:55
osse Barrt: then in my case git everywhere23:56
Barrt even if it is without collaboration, if git is on your workflow, probably you will much more organized23:56
AlynxZhou joined23:57
Barrt I htink I already understood the nuts and bolts of git in local env mode23:57
think23:57
osse Barrt: but I mean... you can reliably use git to produce a particular version of the code base. whether that is on a build server, web server, VM, whatever, you can rely on that. What you do with it *afterwards* (build it, host it) is out of the scope of git23:57
frew left23:57
goweol left23:57
cdown left23:58
osse maybe you think git does more than it actually does :p23:58
up_the_irons joined23:58
Barrt I understand, so for example I have read that gitlab just for a bit and it seems a bit like anaconda or rvm 723:58
an environment management app23:59
jstein left23:59
Barrt osse: maybe I think that git is like an amazing tool for an unorganized fellow like me ahah23:59
AlynxZhou left23:59
Barrt ;)23:59
dsdeiz left23:59
goweol joined23:59

Logs Search ←Prev date Next date→ Channels Documentation