IRCloggy #git 2017-10-22

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-10-22

kozy left00:00
goksinen left00:00
fstd left00:00
asphyxia left00:00
fstd joined00:01
upperdeck left00:01
upperdeck joined00:02
ofimaagha left00:03
bc86 left00:04
IRPG joined00:05
upperdeck left00:06
upperdeck joined00:08
dreiss joined00:08
fstd_ joined00:08
valize left00:09
blackmesa left00:10
Munt left00:11
fstd left00:12
tymczenko joined00:12
upperdeck left00:12
IRPG left00:12
upperdeck joined00:14
orbyt_ left00:15
gotcha joined00:19
bc86 joined00:20
dreiss left00:21
wootehfoot left00:21
matsaman joined00:21
Puffball_ left00:25
upperdeck left00:25
goksinen joined00:25
mikecmpbll left00:25
jcbitter left00:26
upperdeck joined00:26
Puffball joined00:27
Munt joined00:27
steeze joined00:28
SwiftMatt joined00:29
azerus joined00:29
steeze left00:29
goksinen left00:29
mikecmpbll joined00:30
cagedwisdom left00:30
i7ci7c[00:31
goksinen joined00:32
venmx joined00:32
xaxxon left00:35
upperdeck left00:35
xaxxon joined00:35
xaxxon left00:36
jcbitter joined00:36
goksinen left00:36
xaxxon joined00:36
i7c[i7c00:36
upperdeck joined00:36
maheshpec joined00:40
upperdeck left00:41
cagedwisdom joined00:42
upperdeck joined00:42
m0viefreak joined00:43
goksinen joined00:44
orbyt_ joined00:45
upperdeck left00:47
goksinen left00:48
peterbecich joined00:49
upperdeck joined00:49
asphyxia joined00:50
rafasc left00:50
overlord_tm left00:53
asphyxia left00:55
scientes left00:58
meadmoon joined00:58
netj left01:01
upperdeck left01:01
netj joined01:01
goksinen joined01:02
upperdeck joined01:02
white_knight left01:02
upperdeck left01:07
goksinen left01:07
j08nY left01:09
shinnya joined01:09
upperdeck joined01:09
meadmoon left01:13
upperdeck left01:14
goksinen joined01:15
jstein left01:16
finalbeta joined01:16
dre_ joined01:16
h12o joined01:16
upperdeck joined01:17
QualityAddict left01:19
drodger left01:19
goksinen left01:20
h12o left01:21
upperdeck left01:22
Solvaring left01:22
gugah joined01:22
upperdeck joined01:22
Murr left01:22
fjasle left01:23
Murr joined01:23
fjasle joined01:24
drodger joined01:25
goksinen joined01:27
d^sh left01:30
Munt left01:30
gopar joined01:30
demego left01:31
d^sh joined01:31
dviola left01:31
goksinen left01:32
sunri5e left01:33
upperdeck left01:34
upperdeck joined01:35
upperdeck left01:40
bc86 left01:40
upperdeck joined01:41
zenirc369 left01:41
sunri5e joined01:42
ShekharReddy left01:43
asphyxia joined01:44
ilbot3 left01:45
goksinen joined01:46
upperdeck left01:47
upperdeck joined01:48
asphyxia left01:49
goksinen left01:50
MACscr left01:51
MACscr joined01:53
gopar left01:55
ilbot3 joined01:56
neel joined01:58
m0viefreak left02:02
FrostyBytes joined02:02
FrostyBytes is it possible to have several checkouts open on top of the same git "filesystem"? like have one set of .git objects but check out two different tags at the same time (in different directories I guess)02:02
?02:02
goksinen joined02:04
sammyo joined02:07
lagothrix joined02:09
McKrakenMcKraken_zzzzz02:09
jason237 joined02:09
jcbitter left02:10
lagothri1 left02:11
upperdeck left02:12
goksinen left02:12
matsaman left02:14
Gustavo6046 left02:14
upperdeck joined02:14
nedbat FrostyBytes: look up the "worktree" feature: https://git-scm.com/docs/git-worktree02:15
goksinen joined02:15
zenirc369 joined02:16
drodger left02:16
scientes joined02:16
McKraken_zzzzzMcKraken02:16
spriz left02:20
goksinen left02:20
tunekey left02:20
chachasmooth_ joined02:21
drodger joined02:21
chachasmooth left02:22
spriz joined02:28
clickjack left02:30
goksinen joined02:32
upperdeck left02:36
maheshpec left02:37
goksinen left02:37
white_knight joined02:37
white_knightolat02:37
asphyxia joined02:38
upperdeck joined02:38
tymczenko left02:41
asphyxia left02:43
lb1c left02:44
lb1c joined02:44
goksinen joined02:45
kasual left02:45
bigjazzsound left02:48
bigjazzsound joined02:49
scientes left02:49
goksinen left02:50
zenirc369 left02:51
upperdeck left02:53
luckman212 left02:53
upperdeck joined02:54
fstd joined02:54
goksinen joined02:55
fstd_ left02:58
goksinen left03:00
matsaman joined03:00
pks left03:02
cdown left03:04
pks joined03:04
goksinen joined03:08
upperdeck left03:11
goksinen left03:12
upperdeck joined03:13
luckman212 joined03:16
peterbecich left03:17
Brando753-o_O_o left03:24
goksinen joined03:28
bambs joined03:28
neel left03:29
neel joined03:29
neel left03:30
str joined03:30
yohnnyjoe left03:30
neel joined03:30
bambs left03:31
asphyxia joined03:32
Soni left03:32
goksinen left03:32
upperdeck left03:33
yohnnyjoe joined03:35
h12o joined03:35
upperdeck joined03:36
asphyxia left03:37
SwiftMatt left03:37
Cabanossi left03:39
Cabanossi joined03:40
upperdeck left03:43
upperdeck joined03:44
matoro left03:44
matoro_ joined03:44
yohnnyjoe left03:47
goksinen joined03:47
Mattiaslndstrm joined03:49
goksinen left03:52
peterbecich joined03:54
Mattiaslndstrm left03:54
luckman212 left03:57
Mattiaslndstrm joined03:58
McKrakenMcKraken_zzzzz03:58
upperdeck left03:59
upperdeck joined04:01
Mattiaslndstrm left04:03
Solvaring joined04:06
goksinen joined04:07
safe left04:08
luckman212 joined04:09
Mattiaslndstrm joined04:10
dre_ left04:10
goksinen left04:12
str left04:12
luckman212 left04:13
luckman212 joined04:18
upperdeck left04:19
upperdeck joined04:22
gugah left04:22
luckman212 left04:22
Cabanossi left04:23
matsaman jim: hey, you04:24
jim: wtf?04:24
goksinen joined04:25
Cabanossi joined04:25
asphyxia joined04:26
luckman212 joined04:27
goksinen left04:30
asphyxia left04:31
quamtumslash joined04:32
quamtumslash left04:32
quamtumslash joined04:35
xaxxon left04:38
goksinen joined04:40
steeze joined04:41
goksinen left04:44
govg joined04:44
h12o left04:44
iamyask joined04:44
Mattiaslndstrm left04:48
matsaman left04:50
quamtumslash left04:51
quamtumslash joined04:51
whyme joined04:51
jfelchner left04:54
goksinen joined04:55
whyme left04:56
whyme joined04:57
quamtumslash left04:58
Gurkenglas left04:59
goksinen left05:00
quamtumslash joined05:02
goksinen joined05:06
steeze left05:07
quamtumslash left05:08
boombatower left05:10
goksinen left05:10
upperdeck left05:10
orbyt_ left05:11
upperdeck joined05:12
piremi left05:15
TinkerTyper left05:17
xaxxon joined05:19
TinkerTyper joined05:19
jaggz left05:19
asphyxia joined05:20
jstimm joined05:21
re1 left05:21
goksinen joined05:23
Cabanossi left05:24
asphyxia left05:25
Cabanossi joined05:25
jaggz_ joined05:26
virajturakhia joined05:28
goksinen left05:28
YuGiOhJCJ left05:29
YuGiOhJCJ joined05:30
virajturakhia left05:30
jfelchner joined05:32
miki joined05:33
piremi joined05:33
mikiGuest2852005:34
goksinen joined05:34
Guest28520 left05:34
_ng joined05:34
quamtumslash joined05:37
goksinen left05:38
dreiss joined05:39
goksinen joined05:51
quamtumslash left05:52
Cabanossi left05:55
Cabanossi joined05:55
goksinen left05:56
Murii|osx joined05:58
goksinen joined06:00
peterbecich left06:00
nd joined06:02
nd- left06:04
nd- joined06:04
luckman212 left06:04
clickjack joined06:06
sns left06:06
goksinen left06:06
nd left06:07
rt left06:07
sns joined06:08
rt joined06:09
dre_ joined06:10
luckman212 joined06:11
d1b left06:11
d1b joined06:14
asphyxia joined06:14
thinkpad left06:15
jcbitter joined06:18
asphyxia left06:19
dreiss left06:19
cdown joined06:20
robotroll joined06:21
goksinen joined06:21
jaggz_jaggz06:22
Cabanossi left06:24
Cabanossi joined06:26
demego joined06:26
King_Hual joined06:26
goksinen left06:26
kfoonamalik left06:30
ozcanesen left06:30
kfoonama2ik left06:30
kfoonama1ik left06:30
goksinen joined06:32
goksinen left06:37
mikecmpbll left06:37
ZexaronS left06:38
ZexaronS joined06:43
goksinen joined06:44
cdown left06:44
ZexaronS left06:44
chakra left06:44
thiago left06:46
goksinen_ joined06:47
ZexaronS joined06:47
goksinen left06:48
mattheweigand joined06:49
goksinen_ left06:51
goksinen joined06:52
mattheweigand left06:53
mattheweigand joined06:55
thinkpad joined06:55
goksinen left06:56
d5sx43 joined06:59
schleppel joined07:00
d5sx43 left07:01
jfelchner left07:02
goksinen joined07:07
whyme1 joined07:07
asphyxia joined07:08
thinkpad left07:09
whyme left07:10
thinkpad joined07:10
goksinen left07:11
quamtumslash joined07:11
asphyxia left07:13
umundhe joined07:17
goksinen joined07:20
Murr left07:22
Murr joined07:23
imack joined07:23
imack left07:24
goksinen left07:24
imack joined07:25
imack left07:25
drodger left07:26
imack joined07:26
styx_ left07:27
imack left07:27
styx_ joined07:27
_ng left07:27
umundhe left07:28
imack joined07:28
neunon left07:29
neunon joined07:31
drodger joined07:32
tango_ left07:33
YuGiOhJCJ left07:33
mattheweigand left07:35
a3Dman left07:35
a3Dman joined07:35
a3Dman left07:35
a3Dman joined07:35
mattheweigand joined07:35
YuGiOhJCJ joined07:35
goksinen joined07:35
dege joined07:39
opalepatrick joined07:43
goksinen left07:44
neel left07:45
diogenese left07:45
diogenese joined07:46
ZexaronS left07:49
Lyqyd left07:50
dave0x6d left07:52
[Kid] left07:54
Kidd left07:55
goksinen joined07:55
goksinen left08:00
jfelchner joined08:00
asphyxia joined08:02
saedelaere joined08:03
ZexaronS joined08:04
venmx left08:05
disperso joined08:07
asphyxia left08:08
gtristan joined08:09
gtristan so the one thing I _always_ forget (and consequently try to avoid)... is how to resolve conflicts on `git stash pop`08:10
quamtumslash left08:10
suy joined08:10
selckin 'git meregetool'08:11
gtristan What I want for the given file, is to discard local changes and prefer the stash, and not create a commit08:11
suy Hi! I often end up doing 'git rebase -i`git merge-base HEAD master`' to amend the commits of a feature branch. Besides an alias, is there some shorter way to do this?08:11
disperso left08:11
robotroll left08:11
saedelaere left08:12
saedelaere joined08:12
gtristan "The merge tool bc is not available as 'bcompare'"08:12
hrmmm, rather something brute force and not mergy anyway would be best08:12
ZexaronS-2 joined08:12
gtristan first, how can I back myself out of the unmerged state caused by `git stash pop` ?08:13
selckin install kdiff3 or the gnome one08:13
goksinen joined08:13
gtristan graphic UI ?08:13
ehhh08:13
selckin yes08:13
saedelaere left08:13
saedelaere joined08:14
gtristan anything I can do without a GUI ?08:14
ZexaronS left08:14
selckin they are insanely good to solve conflicts, you'll never go back, you can just checkout --theirs or --ours i believet to throw away one side08:15
Gurkenglas joined08:15
madewokherd left08:16
gtristan ok so, checkout --theirs works, but now that I'm not in a regular merge (i.e. weird stash pop thing)... How do I `git stash pop --continue` ?08:17
So I can continue applying the stash after having solved that ?08:17
saedelaere left08:18
selckin you remove the stash, or directly apply the one before it08:18
goksinen left08:18
selckin they dn't get removed if they conflict08:18
gtristan ok so there was a conflict... so git stash aborted and the stash is still on the stack ?08:18
selckin yes git stash list08:19
gtristan Mhm, now if I `git pop stash` again, it will just conflict again ?08:19
selckin it will be the same stash08:19
gtristan eek, now it doesnt do the conflict, but says "needs merge"08:19
So the local state is changed after having done checkout --theirs08:20
But, git will desire so so so much to create a commit08:20
Which is exactly what I dont want :)08:20
King_Hual left08:20
upperdeck left08:22
selckin what does status say08:22
Gurkenglas left08:23
blackmesa joined08:24
selckin think i always do git reset HEAD . after to unstage after08:24
upperdeck joined08:25
goksinen joined08:25
robinb joined08:26
selckin then git stash pop to remove the stash if you're sure08:27
rop08:27
*drop08:27
valize joined08:28
energizer left08:29
goksinen left08:29
robinb left08:31
jcbitter left08:33
CalinouCALINOU08:35
simka_ joined08:35
Phylock joined08:36
goksinen joined08:42
robin left08:43
ki0_ left08:43
robin joined08:43
ki0_ joined08:44
ZexaronS-2 left08:44
asphyxia joined08:46
goksinen left08:47
simka joined08:49
whyme1whyme08:52
ZexaronS joined08:52
Murii|osx left08:53
goksinen joined08:55
leah2 left08:57
goksinen left09:00
SteffanW joined09:00
venmx joined09:01
lupine left09:03
aspiers left09:03
j08nY joined09:04
iamyask left09:04
aspiers joined09:04
lupine joined09:05
SteffanW left09:07
nedbat left09:07
nedbat joined09:08
leah2 joined09:10
goksinen joined09:13
simka left09:14
simka joined09:14
goksinen left09:18
Murr left09:23
Murr joined09:23
Tobbi joined09:24
tango_ joined09:24
Cabanossi left09:25
h12o joined09:25
Cabanossi joined09:26
robotroll joined09:27
wootehfoot joined09:27
dege left09:28
simka_ left09:28
h12o left09:30
YuGiOhJCJ left09:31
rkta left09:31
YuGiOhJCJ2 joined09:31
tmm88 joined09:32
tmm88 left09:32
tmm88 joined09:32
robotroll left09:37
rkta joined09:37
tmm88 left09:43
simka left09:44
simka joined09:44
simka left09:48
simka joined09:48
jceb joined09:54
jfelchner left09:58
rkta left10:00
jungsubk joined10:03
mikecmpbll joined10:03
asphyxia left10:05
rkta joined10:05
catsup left10:06
karelk left10:06
catsup joined10:06
h12o joined10:06
catsup left10:07
catsup joined10:08
quamtumslash joined10:09
h12o left10:11
str joined10:17
quamtumslash left10:21
ki0_ left10:21
asphyxia joined10:22
ki0 joined10:22
ki0 left10:22
ki0 joined10:23
tmm88 joined10:23
tmm88 left10:23
tmm88 joined10:23
SkyPatrol joined10:26
re1 joined10:26
mda1 left10:28
Solvaring left10:33
blackmesa left10:33
nisseni joined10:34
Gurkenglas joined10:34
nisseni left10:40
thesquib left10:42
tarkus joined10:43
Murii|osx joined10:49
sarri left10:49
thesquib joined10:50
gloomy joined10:52
gloomy Hello :)10:52
I just noticed that I committed and pushed quite a lot of commit with a wrong email adress10:52
(on github)10:52
Is there a way to automatically fix ? I changed the setting locally so it's fine for future commits, but the ones on github haven't changed10:53
jungsubk left10:53
fatihgenc joined10:53
Seveas gloomy: I don't think you'll be surprised that this is an FAQ. The answer is documented here: https://help.github.com/articles/changing-author-info/10:54
_ikke_ gloomy: there is a way, but it involves rewriting history, which may be painful for other who already cloned your repo and worked on it10:54
wuseman joined10:54
gloomy Hmm, thanks for the link Seveas10:55
Alright, will do it when my coworkers are there so we don't end up in some rebasing nightmare10:56
thanks :)10:56
Seveas gloomy: if it's too much of a pain to change, have a look at mailmap to map the wrong address to the correct one in things like 'git log'10:57
tango_ left10:57
Nizumzen joined10:58
tango_ joined10:58
gloomy Ok thanks :)10:58
rkta left10:59
nick123 left11:00
Soni joined11:01
rkta joined11:04
albel727 left11:05
bc86 joined11:07
jceb left11:09
albel727 joined11:11
rkta left11:14
eb0t_eb0t11:15
human joined11:16
scorpiosec joined11:16
human left11:18
nick123 joined11:19
rkta joined11:19
Murr left11:23
Murr joined11:23
rkta left11:29
robotroll joined11:30
netj left11:31
netj joined11:31
Tobbi left11:33
rkta joined11:35
str left11:36
tunekey joined11:37
scorpiosec left11:38
scorpiosec joined11:39
asphyxia left11:39
upperdeck left11:43
upperdeck joined11:43
asphyxia joined11:44
rkta left11:44
tombusby left11:44
Grun6 joined11:47
re1 left11:48
asphyxia left11:49
tombusby joined11:49
rkta joined11:50
valtih2 joined11:51
btree joined11:51
Grun6 left11:51
btree left11:51
highkix joined11:52
m0viefreak joined11:54
cdown joined11:54
Cabanossi left11:55
Cabanossi joined11:55
cdown left11:55
cdown joined11:56
cdown_ joined11:58
beastd joined11:58
rkta left12:00
cdown left12:00
cdown_cdown12:00
beastd left12:00
rkta joined12:05
vamiry left12:07
wootehfoot left12:07
shiva__ left12:07
pbrewczynski left12:07
j08nY left12:09
jceb joined12:13
in1t3r joined12:14
in1t3r_ joined12:16
upperdeck left12:17
wootehfoot joined12:17
m0viefreak left12:18
upperdeck joined12:18
in1t3r left12:19
xaxxon left12:19
vamiry joined12:19
overlord_tm joined12:20
elbeardmorez joined12:22
re1 joined12:24
netj left12:26
netj joined12:26
opal joined12:28
diqidoq joined12:28
Tobbi joined12:35
quamtumslash joined12:36
scorpiosec left12:39
jceb left12:41
rkta left12:41
rkta joined12:47
jnavila joined12:51
quamtumslash left12:53
CheckDavid joined12:54
YuGiOhJCJ2 left12:55
highkix left12:56
rkta left12:56
YuGiOhJCJ2 joined12:57
cdown left12:58
sparetire left12:59
rafasc joined13:01
Bhootrk_ joined13:01
sparetire joined13:01
Bhootrk_ left13:01
rkta joined13:02
gtristan left13:02
gtristan joined13:05
Cabanossi left13:08
vetch joined13:09
Cabanossi joined13:10
rkta left13:11
thecrooked joined13:12
manuelschneid3r left13:14
blackmesa joined13:14
phluks joined13:15
jstein_ joined13:15
jstein_jstein13:15
disi left13:16
rkta joined13:17
disi joined13:19
thecrooked left13:23
ZenWalker joined13:24
sparetire left13:24
rkta left13:26
SpeakerToMeat left13:26
rkta joined13:27
duderonomy left13:27
tarkus left13:28
clickjack left13:32
noteness_noteness13:33
jnavila left13:37
dre_ left13:37
tombusby left13:39
Nizumzen left13:39
tombusby joined13:40
Gustavo6046 joined13:42
clickjack joined13:42
Gustavo6046 left13:42
Gustavo6046 joined13:43
cdown joined13:43
cdown_ joined13:46
blackmesa left13:46
jnavila joined13:47
cdown left13:48
cdown_cdown13:48
bc86 left13:49
SteffanW joined13:50
jimsio joined13:50
SteffanW left13:51
SpeakerToMeat joined13:54
jimsio left13:55
yohnnyjoe joined13:55
Tobbi left13:56
rkta left13:58
blackmesa joined13:58
tmm88 left13:59
fatihgenc left14:00
govg left14:03
rkta joined14:03
Gustavo6046 left14:03
overlord_tm left14:04
Cabanossi left14:09
koell left14:09
Cabanossi joined14:10
sparetire joined14:11
valtih2 left14:14
shinnya left14:14
wget left14:15
Gustavo6046 joined14:17
starter123 joined14:17
rkta left14:18
rkta joined14:18
wget joined14:20
wget left14:20
wget joined14:20
cdown left14:21
fstd_ joined14:22
robW_HK joined14:23
OutreEE joined14:23
fstd_ left14:24
fstd_ joined14:25
fstd left14:25
fstd_fstd14:25
squirrel joined14:25
squirrel what's the best git tutorial for someone who tried and hated git? something that would make them love it14:27
jstein left14:30
cdown joined14:30
dege joined14:32
grawity why bother, just let them use mercurial instead14:33
squirrel :s14:33
dave0x6d joined14:34
drodger left14:35
borkr joined14:36
starter123 left14:36
steeze joined14:37
Munt joined14:38
Cabanossi left14:40
Oatmeal joined14:40
m0viefreak joined14:40
Cabanossi joined14:41
Cabanossi left14:42
ankush joined14:42
Cabanossi joined14:42
quamtumslash joined14:43
fstd left14:45
planigan left14:45
rkta left14:48
fstd joined14:49
YuGiOhJCJ2 left14:49
infinisil left14:51
re1 left14:53
rkta joined14:54
gfixler joined14:54
infinisil joined14:55
gfixler left14:56
rkta left14:59
planigan joined15:00
neel joined15:01
planigan left15:01
CheckDavid left15:03
Munt left15:03
cdown left15:04
rkta joined15:05
infinisil left15:06
samtheknife joined15:07
infinisil joined15:08
Munt joined15:09
planigan joined15:09
highkix joined15:10
cdg joined15:10
sammyo left15:10
cagedwisdom left15:11
Tobbi joined15:13
rkta left15:13
rkta joined15:14
BSaboia joined15:15
neel left15:17
neel joined15:17
rkta left15:19
rafasc left15:19
karelk joined15:20
ankush left15:20
cdown joined15:21
ankush joined15:22
jnavila left15:23
jnavila joined15:24
ChanServ set mode: +o15:26
Eugene changed the topic to: Welcome to #git, the place for git help and poltergits | Public logs at https://gitirc.eu/log | First visit? Read: https://gitirc.eu | Current stable version: 2.14.2 | Getting "cannot send to channel"? /msg gitinfo .voice | 9 days until the skeleton war15:26
Eugene set mode: -o15:26
drodger joined15:26
gugah joined15:28
ghost43 left15:28
phluks left15:29
goksinen joined15:29
jnavila left15:30
infinisil left15:30
steeze left15:31
infinisil joined15:32
quamtumslash left15:32
Munt left15:32
sim590 left15:34
blackmesa left15:34
Munt joined15:35
elbeardmorez left15:35
ghost43 joined15:36
jnavila joined15:36
sim590 joined15:36
blackmesa joined15:38
infinisil left15:38
infinisil joined15:39
jnavila left15:40
jnavila joined15:40
infinisil left15:42
orbyt_ joined15:42
cdown left15:43
infinisil joined15:43
robW_HK left15:44
jnavila left15:44
Munt left15:44
robW_HK joined15:46
Masber_080 left15:46
orbyt_ left15:50
jnavila joined15:51
fstd_ joined15:51
fstd left15:51
fstd_fstd15:52
Munt joined15:52
olat left15:58
Munt left16:02
mjuszczak joined16:05
oprypin what, then they'll come back saying "maybe git is not so bad"16:06
ghost43 left16:07
ghost43 joined16:08
gotcha left16:08
orbyt_ joined16:08
blackmesa left16:09
m0viefreak left16:10
maheshpec joined16:11
Raed|Laptop joined16:11
Nizumzen joined16:13
ankush left16:14
meadmoon joined16:15
raynold joined16:19
raulp joined16:20
tgummerer ''16:20
ls16:20
whoops sorry wrong window16:21
gugah left16:22
tgummerer left16:22
tgummerer joined16:23
fstd_ joined16:25
fstd left16:26
ghost43 left16:26
Murii|osx left16:26
ghost43 joined16:26
upperdeck left16:28
upperdeck joined16:29
fstd joined16:30
fstd_ left16:30
thiago joined16:31
mjuszczak left16:31
goksinen left16:33
goksinen joined16:33
upperdeck left16:34
nisseni joined16:34
Seveas oprypin: in that case we should make them use svn16:35
neel left16:36
tmm88 joined16:36
tmm88 left16:36
tmm88 joined16:36
a3Dman left16:37
upperdeck joined16:37
highkix left16:38
raulp left16:39
a3Dman joined16:39
Cabanossi left16:39
Cabanossi joined16:41
goksinen left16:43
goksinen joined16:44
brokensyntax left16:47
goksinen left16:48
goksinen joined16:48
Eugene squirrel - do they hate `git`, or do they hate version control in general? I think !designers is a good read for the latter16:50
gitinfo squirrel: 'Git for Web Designers' is a quick "Who why what when how" on VCS and git: http://www.webdesignerdepot.com/2009/03/intro-to-git-for-web-designers/16:50
Eugene git isn't great, but neither is any tool set. You have to learn to use the thing, which is not as easy as advertised16:50
[[thufir]] joined16:51
Raed|Laptop left16:51
whyme left16:52
brandonw left16:52
goksinen left16:53
goksinen joined16:53
nitin59 joined16:57
SteffanW joined16:58
upperdeck left17:01
baxx joined17:02
gugah joined17:02
gugah left17:02
upperdeck joined17:03
rkta joined17:04
Puffball left17:04
mattheweigand left17:05
robW_HK left17:06
xender joined17:07
ag4ve joined17:08
goksinen left17:08
xender Hello. Is creating a git worktree inside the main working tree of the repository (as opposed to using an external directory) asking for trouble, or is it going to be fine?17:08
upperdeck left17:08
dviola joined17:09
goksinen joined17:09
upperdeck joined17:10
Cabanossi left17:10
kfoonamalik joined17:11
Cabanossi joined17:11
kfoonama1ik joined17:11
kfoonama2ik joined17:11
elbeardmorez joined17:12
oprypin xender, you mean having nested repository folders? that works just fine17:12
jceb joined17:13
nitin59 left17:14
goksinen left17:14
nitin59 joined17:15
Oatmeal left17:15
GPenguin_ joined17:15
GPenguin_ left17:16
oprypin nevermind, it's actual 'git worktree' that i have never heard about17:16
[Kid] joined17:17
xender oprypin: Actually it's git worktree's manual which states that "Multiple checkout in general is still experimental, and the support for submodules is incomplete. It is NOT recommended to make multiple checkouts of a superproject."17:17
upperdeck left17:17
xender I want to use it nevertheless for the purpose of creating a controlled build environment separate from the main working tree17:17
infinisil left17:18
upperdeck joined17:19
infinisil joined17:19
madewokherd joined17:21
dreiss joined17:22
Murr left17:22
Murr joined17:23
fmcgeough joined17:23
nitin59 left17:25
nitin59 joined17:26
GPenguin_ joined17:29
GPenguin_ left17:30
rafasc joined17:32
imack left17:32
dviola left17:33
SteffanW left17:36
tunekey left17:37
lkolstad joined17:37
baxx left17:38
Rodya_ joined17:38
tunekey joined17:39
sat-aton joined17:41
sat-aton left17:41
sat-aton joined17:41
finalbeta left17:43
kfoonama2ik left17:44
kfoonamalik left17:44
maheshpec left17:44
finalbeta joined17:44
kfoonama1ik left17:44
satifant left17:45
yohnnyjoe left17:48
tombusby left17:48
tombusby joined17:50
BSaboia left17:50
tarkus joined17:51
plongshot joined17:52
dreiss left17:56
jungsubk joined17:56
upperdeck left18:00
pbandark joined18:01
upperdeck joined18:01
peterbecich joined18:02
koell joined18:02
qaz left18:03
Toba left18:09
Disgeae joined18:09
xnca joined18:10
qaz joined18:11
upperdeck left18:12
CheckDavid joined18:12
xnca left18:12
jrgilman joined18:13
upperdeck joined18:14
jrgilman Let's say I made a pull request (with only a single commit), and it got denied by the maintainer, would the best course of action be to rollback to the HEAD on the upstream and then just make the said fixes to my commit and then make another pull request, or make another commit fixing the previous commit18:15
make the said fixes on a new commit*18:15
oprypin jrgilman, i don't get this notion of "denied"18:19
jungsubk left18:19
jrgilman ?18:19
https://github.com/laravel/docs/pull/379318:19
oprypin does it mean that your change will never get accepted no matter what? if so, your comment makes no sense18:19
jrgilman no18:19
He just believes I was too wordy18:19
oprypin I think closing the pull request for that reason was uncalled for18:19
it's not what normally happens. normally you just fix and rework it in the same branch / pull request18:20
laertus joined18:20
BenderRodriguez left18:20
jrgilman okay18:20
well in this case how should i proceed i guess18:20
just rollback and make the small change18:20
or make a commit ontop of my commit?18:20
spacemud left18:20
jrgilman what would be the better way18:20
oprypin jrgilman, you can make a commit on top of your commit.18:21
jrgilman okay18:21
thanks18:21
laertus using 'git checkout -b foo' i created a new branch in my git repo, then made some changes and committed them on the branch, and did a 'git push -u origin --all' which asked for my github un/pw and it pushed the changes, telling me 'Branch foo set up to track remote branch foo from origin.'18:21
oprypin jrgilman, GitHub UI has an option to squash and merge. make sure to mention that if they have objections18:21
laertus but the magit status window tells me 'Merge: origin/foo is missing'18:21
upperdeck left18:21
oprypin jrgilman, actually you know what? seems like they abstain from squash and merge feature in that repository18:21
Guest22424 joined18:21
jrgilman hmm18:21
oprypin jrgilman, so yeah, maybe would be safer to commit --amend and push --force18:21
jrgilman okay18:22
i will do that then18:22
oprypin you can also open a new pull request with the very same branch, i guess18:22
jrgilman I also should have branched my change18:22
but i forgot to do that like a derp18:22
upperdeck joined18:23
dviola joined18:23
jnavila left18:23
oprypin jrgilman, ok, with all these issues accumulated, at this point probably best to also make a new branch and a new pull request18:24
jrgilman yeah18:24
GrailKn1ght joined18:24
jrgilman i agree18:24
paul424 joined18:24
jrgilman thank you for the help btw18:24
Guest22424 left18:27
yohnnyjoe joined18:28
Munt joined18:28
Mattiaslndstrm joined18:29
laertus using 'git checkout -b foo' i created a new branch in my git repo, then made some changes and committed them on the branch, and did a 'git push -u origin --all' which asked for my github un/pw and it pushed the changes, telling me 'Branch foo set up to track remote branch foo from origin.'18:29
Sven_vB joined18:30
parsnip hello #git, recommended laertus to try here, he's got `foo` on remote, and `foo` on local, but can't get `origin/foo` to show up on local.18:30
upperdeck left18:30
rewt what's the output of `git branch -a`18:30
Sven_vB hi :)18:30
upperdeck joined18:31
laertus rewt: 'git branch -a' shows http://bpaste.net/show/34bbacde459618:31
jnavila joined18:32
rewt and the output of `git fetch`18:32
Munt left18:33
Mike1967GER_ joined18:33
laertus rewt: the output of "git fetch": http://bpaste.net/show/1b2293d5bd1418:34
rewt is it listed in `git branch -a` now?18:34
Mike1967GER_ left18:34
Sven_vB I'm trying to copy files between 2 git-annex repos but nothing happens. on closer inspection, both have the same UUID, so git-annex probably thinks the files are already there. how do I change one of the UUIDs with least damage?18:34
blackmesa joined18:34
laertus rewt: there is no difference between the "git branch -a" output now from what it was before18:35
meadmoon left18:35
laertus the thing is i can see the branch i created in my github repo, along with the commits i made and pushed18:36
and 'git push -u origin --all' did report 'Branch foo set up to track remote branch foo from origin.'18:36
rewt which versino of git do you have?18:37
laertus 2.13.618:37
Cabanossi left18:38
rewt did you change any configs?18:38
rafasc from the output, foo doesn't seem to be tracking origin.18:39
cur8or joined18:39
rafasc Maybe because it was used with --all?18:39
rewt because your local repo doesn't know about origin/foo18:39
Loula joined18:40
ShockingIsntIt2 left18:40
upperdeck left18:40
rafasc which is weird, if git gave you 'Branch foo set up to track remote branch foo from origin'18:40
Cabanossi joined18:40
Loula left18:40
parsnip `git branch -r` shows foo, iiuc.18:41
not sure if red herring.18:41
rewt it doesn't; if it did, `git branch -a` would too18:42
laertus rewt: here's my ~/.git/config http://bpaste.net/show/2d368e714eb718:42
parsnip laertus: does `git branch -r` show foo?18:42
laertus no18:42
upperdeck joined18:43
laertus it just shows "origin/HEAD -> origin/master" and "origin/master"18:43
rewt laertus, how about `git remote -v`18:43
nikklik joined18:44
nikklik left18:44
laertus rewt: "git remote -v" shows "origin https://github.com/me/myrepo.git (fetch)" and "origin https://github.com/me/myrepo.git (push)"18:44
rewt same url for both?18:44
laertus yep18:44
energizer joined18:45
Nizumzen left18:45
mizu_no_oto joined18:46
rafasc are you doing $git fetch origin; or $git fetch origin foo; ?18:46
nsc[m] left18:47
reactormonk[m] left18:47
dreiss joined18:47
horpoppy[m] left18:47
Bookie01721 joined18:47
Bookie01721 left18:47
torarne left18:47
QualityAddict joined18:47
colonelkrud[m] left18:47
Munt joined18:47
upperdeck left18:47
laertus in the course of troubleshooting this i've tried: "git fetch foo", "git fetch origin/foo" and "git fetch --all"18:47
mark_c left18:47
rafasc you should do git fetch origin.18:47
nappy[m] left18:47
energizer left18:48
jungsubk joined18:48
energizer joined18:48
rewt did you not try just `git fetch` ?18:48
rafasc or just fetch as rewt said. But git fetch --all should have worked in your case.18:48
upperdeck joined18:49
rafasc after that, check if the branch is present on git branch -a18:49
Munt left18:49
Nizumzen joined18:49
laertus rafasc: "git fetch origin" reported: http://bpaste.net/show/ad0d2474bd5018:49
"git branch -a" shows: http://bpaste.net/show/8413239f80fc18:50
justanotheruser left18:50
Demos[m] left18:50
spinningarrow[m] left18:50
aspiers[m] left18:50
waltervargas[m] left18:50
koell left18:51
swalladge[m] left18:51
Guest38590 left18:51
acme[m] left18:51
jayaura left18:51
CedaEI[m] left18:51
MeTheFlea left18:51
sphalerite left18:51
UncleCJ left18:51
Orbixx[m] left18:51
am2on left18:51
patrickr[m] left18:51
cdg left18:51
autrilla left18:51
dikiaap left18:51
cverna left18:51
aidalgol left18:51
dreadful[m] left18:51
cicada3307[m] left18:51
rewt laertus: `git config --list`18:51
olbat[m] left18:52
Remramm left18:52
equalunique[m] left18:52
dyce[m] left18:52
rafasc rewt: I think the problem is that he has a local branch named foo, which is not tracking remote branch foo.18:52
primeos[m] left18:52
unclechu left18:52
ushaNg6i[m] left18:52
Techie[m] left18:52
KevinMGranger left18:52
hiq[m] left18:52
Miguelngel[m] left18:52
abithvijayan[m] left18:52
rafasc So, when we try to git fetch, git doesn't know that those two are related.18:53
yanbbyan left18:53
rewt even so, fetch should still fetch the remote branch18:53
aviraldg left18:53
c0ff33[m] left18:53
rafasc I am pulling this out of my ass without testing.18:53
pvn[m] left18:53
flo[m] left18:53
upperdeck left18:53
sw1m left18:54
Sven_vB I think I managed to recover it. for anyone reading the log later: each repo has annex.uuid in its git config. I changed that to a new independent one (uuidgen -r), removed the remote UUIDs from the git remotes in the configs, then ran the fsck/sync/get git-annex tasks repeatedly on all hosts. I then fixed each repo's name with git-annex init, and synced again.18:54
mizu_no_oto left18:55
upperdeck joined18:56
rafasc laertus: what happens if you do git branch --set-upstream-to origin/foo18:57
!backup18:57
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/#backups18:57
j08nY joined18:58
laertus rafasc: i got an error: "error: the requested upstream branch 'origin/foo' does not exist"18:58
sw1m joined18:58
tarkus left19:00
Rodya_ left19:00
upperdeck left19:01
mizu_no_oto joined19:01
upperdeck joined19:02
mizu_no_oto left19:02
squirrel Eugene: thanks, link forwarded19:03
Sven_vB left19:03
kiim joined19:03
parsnip laertus: does your .git/config have something like `fetch = +refs/heads/*:refs/remotes/<name of remote>/*`19:04
yohnnyjoe left19:04
rafasc parsnip: was about to ask that.19:04
yohnnyjoe joined19:04
laertus parsnip: here's my ~/.git/config http://bpaste.net/show/2d368e714eb719:05
doener left19:05
ZexaronS left19:05
parsnip that's all?!19:05
vetch left19:05
laertus yep19:05
rewt laertus: `git config --list`19:05
parsnip wait, ~/.git/config?19:05
laertus yep19:05
rafasc git config -l --show-origin.19:05
parsnip you're backing up your whole home directory? yikes19:05
svm_invictvs joined19:05
ZexaronS joined19:06
rafasc I meant $git config --list --show-origin19:06
yohnnyjoe left19:06
nitin59 left19:06
morgoth88 joined19:06
morgoth88 left19:07
parsnip how does git know what the remote is if it's not in .git/config?19:07
yohnnyjoe joined19:07
kiim left19:08
upperdeck left19:08
rafasc he must have it on the global config I guess19:08
that's why I asked for $git config --list --show-origin19:09
jceb left19:10
upperdeck joined19:10
squirrel left19:10
glebihan left19:10
Raed|Laptop joined19:12
overlord_tm joined19:12
cici joined19:13
glebihan joined19:13
cici left19:13
tarkus joined19:14
yohnnyjoe left19:14
svm_invictvs left19:15
opalepatrick left19:15
upperdeck left19:15
upperdeck joined19:16
czart_ joined19:16
jungsubk left19:16
Error403 joined19:16
Error403 left19:17
glebihan left19:18
sunri5e left19:19
czart__ left19:19
sedrosken__ joined19:20
plongshot left19:21
sunri5e joined19:21
plongshot joined19:21
Murr left19:22
Murr joined19:23
sedrosken__ left19:23
justanotheruser joined19:23
upperdeck left19:25
overlord_tm left19:25
upperdeck joined19:25
laertus rafasc and parsnip: the output of "git config --list --show-origin" is http://bpaste.net/show/e9a57705c80919:26
parsnip fetch looks hard-coded to master.19:27
nisseni left19:27
TOTO47925 joined19:27
rafasc yep.19:27
GrailKn1ght left19:28
koell joined19:28
parsnip i don't understand why it says `file:.git/config` but there's no such lines in ~/.git/config19:28
laertus: which directory did you call config from?19:28
dpower joined19:29
rafasc it also doesn't agree with previous pastes.19:29
TOTO47925 left19:29
rafasc !privmsg !censor19:29
gitinfo You can get gitinfo keyword expansion (e.g. !doc or this one) sent directly to you by sending a private message to me: /msg gitinfo !doc. This avoids spamming the channel. Also see https://gitirc.eu/bot/trigger.php19:29
[!obfuscate] Please do not elide, obfuscate, or otherwise hide information from !repro pastes. This invariably leads to pastes that hide the actual issue or (worse) are not consistent, sending the investigation down false paths. See !secret.19:29
upperdeck left19:30
rafasc obfuscate was what I meant.19:30
glebihan joined19:30
nisseni joined19:31
Darcidride joined19:31
parsnip laertus: can you check `cat ~/.git/config`? maybe you misrepresented what is in there?19:31
upperdeck joined19:31
justanotheruser left19:32
justanotheruser joined19:32
cur8or left19:32
basiclaser joined19:34
parsnip laertus: maybe change it so it says `fetch = +refs/heads/*:refs/remotes/origin/*`, instead of hard-coding `master` in there, then try `git branch -r`, see if `foo` is listed.19:35
glebihan left19:35
upperdeck left19:36
upperdeck joined19:37
laertus parsnip: "cat ~/.git/config" -> http://bpaste.net/show/6678a8c0fe0919:37
that's literally all there is in there19:37
demego left19:37
laertus i didn't change anything but pasted it directly to bpaste19:37
QualityAddict left19:37
parsnip laertus: where is remote set?19:37
gtristan left19:38
laertus i don't know git well enought to know how to answer that question19:38
rafasc where is this repo located?19:38
laertus in a subdirectory in my home directory19:38
and on github19:38
parsnip subdirectory?!19:39
laertus like in /home/foo/bar19:39
nisseni left19:39
parsnip like /home/laertus/bar?19:39
blackmesa1 joined19:39
laertus more like /home/laertus/foo/bar/baz19:39
parsnip so is remote set in `~/bar/.git/config`?19:39
dreiss left19:39
parsnip so is remote set in `~/foo/bar/baz/.git/config`?19:39
rafasc do you have a repo with your /home/me files? Or did you accidentally set a repo there?19:40
parsnip yeah, why do you have a ~/.git/config19:40
or, a ~/.git/ for that matter19:40
[[thufir]] left19:41
laertus the contents of ~/foo/bar/baz/.git/config are http://bpaste.net/show/952a8d4cdece19:41
upperdeck left19:42
blackmesa left19:42
laertus i have a ~/.git because i wanted to put some of the dotfiles in my home directory under version control19:42
Feral_Cat joined19:42
parsnip in fetch, change `master` to `*`19:42
autrilla joined19:42
cdg joined19:42
laertus these days i use stow for that, but i still have a ~/.git because i haven't bothered to get rid of it19:42
rafasc do what parsnip mentioned. Or alternatively remove the remote and add it again.19:43
upperdeck joined19:43
[[thufir]] joined19:43
parsnip what set it to master? some old default?19:43
laertus parsnip: so under the '[remote "origin"]' section in ~/foo/bar/baz/.git/config i should change "fetch = +refs/heads/master:refs/remotes/origin/master" to "fetch = +refs/heads/*:refs/remotes/origin/*" ?19:44
Disgeae left19:44
rafasc laertus: yes19:44
laertus ok19:44
dreiss joined19:45
laertus now what?19:45
rafasc now fetch19:45
parsnip or `git branch -r`19:45
yohnnyjoe joined19:45
rafasc parsnip: I think you have to fetch first.19:45
laertus "git branch -r" still shows "origin/HEAD -> origin/master" and "origin/master"19:46
parsnip oh yeah, you're right19:46
i just learned this 15 minutes ago and forgot19:46
laertus after "git fetch origin" i now see "origin/foo" :)19:46
Disgeae joined19:46
laertus yay19:46
parsnip woooooot19:46
cur8or joined19:46
parsnip nice job everybody19:46
rafasc !next19:47
gitinfo Another satisfied customer. NEXT!19:47
laertus ok... so can someone help me understand what "fetch = +refs/heads/master:refs/remotes/origin/master" means and why changing it to "fetch = +refs/heads/*:refs/remotes/origin/*" fixed it?19:47
thiago it meant "download refs/heads/master and save it in refs/remotes/origin/master"19:47
cdg left19:47
thiago now it means "download refs/heads/* and save all those in refs/remotes/origin/"19:47
rafasc thiago, what's your wpm?19:48
spacemud joined19:48
laertus why didn't "git checkout -b foo" followed by changes and commits followed by "git push -u origin --all" do this for me?19:48
upperdeck left19:48
laertus what should i have done instead to push a new branch to github?19:48
thiago rafasc: what's wpm?19:48
laertus words per minute19:48
sdnv joined19:48
laertus he means you type fast19:48
parsnip laertus: --all probably only saw master19:48
thiago no, I copy & paste fast19:49
laertus what's the right way to push a new local branch to github?19:49
rafasc oh, ok. I'll set up my own expansions. Note taken.19:49
thiago laertus: git push github branchname19:50
adv_ left19:50
upperdeck joined19:50
laertus thiago: i should literally write "github" in that command? not "orgin" or something?19:51
thiago laertus: you should write the remote name that you want to push to19:51
krz joined19:51
diogenese left19:51
thiago I call mine related to github "github"19:51
you may call them differently19:51
laertus ah19:51
krzGuest2902719:51
Guest29027 left19:53
laertus thank you, i think i got it19:53
and thanks everyone19:53
astrofog joined19:54
dreiss left19:55
laertus left19:56
diogenese joined19:56
pbandark left19:57
Pedagodiche joined19:57
m0viefreak joined19:58
cur8or left19:58
upperdeck left20:00
upperdeck joined20:00
stonebat joined20:01
glebihan joined20:04
schleppel left20:04
glebihan left20:05
Pedagodiche left20:05
upperdeck left20:05
paul424 left20:05
borkr left20:06
rafasc does anyone knows where I can add Makeflags on git's makefiles?20:06
pbandark joined20:06
upperdeck joined20:06
bambams left20:08
kadobanmud20:08
peterbecich left20:08
goksinen joined20:09
jnavila left20:09
peterbecich joined20:10
Raed|Laptop left20:10
Slayerr joined20:10
pbandark left20:10
upperdeck left20:11
pbandark joined20:11
Slayerr left20:12
upperdeck joined20:12
peterbecich left20:12
goksinen left20:13
peterbecich joined20:14
lexruee left20:15
rafasc was just interested in adding -j8 by default.20:15
peterbecich left20:15
ahrs left20:15
ahrs joined20:17
peterbecich joined20:17
cur8or joined20:18
whoisit joined20:18
whoisit left20:19
primeos[m] joined20:20
olbat[m] joined20:20
equalunique[m] joined20:20
cverna joined20:20
reactormonk[m] joined20:20
flo[m] joined20:20
hiq[m] joined20:20
dikiaap joined20:20
spinningarrow[m] joined20:20
aspiers[m] joined20:20
UncleCJ joined20:20
nappy[m] joined20:20
Techie[m] joined20:20
patrickr[m] joined20:20
torarne joined20:20
unclechu joined20:20
Miguelngel[m] joined20:20
abithvijayan[m] joined20:20
dyce[m] joined20:20
acme[m] joined20:20
waltervargas[m] joined20:20
Guest56088 joined20:20
Orbixx[m] joined20:20
pvn[m] joined20:20
MeTheFlea joined20:20
aviraldg joined20:20
Demos[m] joined20:20
aidalgol joined20:20
yanbbyan joined20:20
horpoppy[m] joined20:20
cicada3307[m] joined20:20
dreadful[m] joined20:20
Guest62224 joined20:20
sphalerite joined20:20
am2on joined20:20
swalladge[m] joined20:20
c0ff33[m] joined20:20
Remramm joined20:20
mark_c joined20:20
KevinMGranger joined20:20
ushaNg6i[m] joined20:20
CedaEI[m] joined20:20
colonelkrud[m] joined20:20
nsc[m] joined20:20
CheckDavid left20:21
jnavila joined20:21
jcbitter joined20:22
glebihan joined20:22
upperdeck left20:22
idlemind left20:23
tarkus left20:24
upperdeck joined20:24
safe joined20:24
idlemind joined20:25
stonebat left20:27
jstein_ joined20:28
jstein_jstein20:28
wootehfoot left20:30
jungsubk joined20:31
upperdeck left20:31
Ren13 joined20:31
jstein left20:32
Ren13 left20:33
upperdeck joined20:34
koell left20:35
plongshot left20:35
Gigam joined20:36
Gigam left20:36
duderonomy joined20:37
Darren_ joined20:38
upperdeck left20:38
aksdf_ joined20:39
pbrewczynski joined20:40
upperdeck joined20:41
plongshot joined20:45
jungsubk left20:46
upperdeck left20:48
sombercomber joined20:50
upperdeck joined20:50
ag4ve any reason git tries to sign a stash?20:52
thiago probably something in your config20:52
ag4ve i mean, i make it sign commits/tags/merges, but it's kinda weird it's signing a stash20:52
thiago a stash sis just a commit20:53
NightMonkey left20:53
ag4ve orly?20:53
thiago ok, it's in fact two commits20:53
ag4ve i mean, it's stored as an object?20:53
errr two...20:53
thiago what else would it be stored as?20:53
ag4ve idk, a structure for submodules and the like20:54
i figured it'd be something like that20:54
Six-Degrees-Inne joined20:54
thiago it has nothing to do with other modules, it's this module20:54
no, it's just a commit20:54
ag4ve also, notes are different, right?20:54
thiago notes are different20:54
parsnip annotated tags?20:54
lnlnl joined20:54
thiago I don't know what they are20:55
I've never used them20:55
ag4ve that's fair20:55
it just surprised me20:55
ag4ve goes to get my hsm :)20:55
parsnip oh neat20:55
that one guy that wanted the author changed on an old commit, maybe could have just used a note.20:55
blackmesa1 left20:56
kfoonamalik joined20:56
kfoonama1ik joined20:56
blackmesa joined20:57
jnavila left20:57
chamunks left20:57
freekevin left20:57
mjuszczak joined20:57
NightMonkey joined20:59
linuxdaemon left20:59
ZexaronS-2 joined20:59
upperdeck left21:00
ag4ve stash asks for me to sign it 2x.... that's messed up :(21:00
one of these days, i'm going to have to go spelunking through that code....21:00
Six-Degrees-Inne left21:00
ZexaronS left21:01
thiago $ file /usr/lib/git/git-stash21:01
/usr/lib/git/git-stash: POSIX shell script, ASCII text executable21:01
upperdeck joined21:01
kfoonama2ik joined21:01
mjuszczak left21:02
ag4ve yeah, they're either bash or python (generally), just not overly interested atm - trying to get something out21:02
thiago there's only one Python script and that's git-p421:04
kfoonama1ik left21:05
kfoonamalik left21:06
kfoonama2ik left21:06
StephenS left21:07
Rodya_ joined21:07
upperdeck left21:08
stan_man_can joined21:10
stan_man_can how do you revert to an old commit?21:10
like i've made a few commits, pushed a couple to github, but i want to go back to an older commit and kinda re-start from there21:10
upperdeck joined21:10
parsnip stan_man_can: well...21:11
samfoobarbaz joined21:11
parsnip stan_man_can: i think that can be answered two ways21:11
the brute force do what you want way21:11
stan_man_can parsnip not sure if it makes a difference but i'm the only developer on this project too21:11
parsnip and the polite, "i'm sharing history" way.21:11
well, imagine that git is really just a commit graph, with divergences, convergences, etc, and branches are really just pointers to commits on the graph.21:12
stan_man_can parsnip i dno't really care, it was jsut me trying to figure some composer thing out, so it's just a few different messed up versions of composer.json and composer.lock21:12
durham joined21:12
parsnip then you could rephrase as, "how do i move this branch pointer to another commit?"21:12
McKraken_zzzzzMcKraken21:13
parsnip if you check `git log --oneline --graph --all`, you might note the hash of the commit where you'd like your branch pointer to point to.21:13
if HEAD is pointing to your branch (pointer), then you can use `git reset --hard <hash>` to move the branch ref to that commit.21:14
Mattiaslndstrm left21:14
samtheknife left21:14
stan_man_can parsnip thanks!21:14
parsnip :)21:14
tlaxkit joined21:14
Mattiaslndstrm joined21:15
parsnip if you had to do the polite way, you can sort of flip the inverse of those commits over your position to extend the branch with reversals.21:15
nisseni joined21:16
parsnip maybe it's `git revert` or something21:16
rafasc there's the nuke it version: git reset --hard commit; git push --force-with-lease.21:17
stan_man_can parsnip how do I handle the fact that the remote is "ahead"21:18
rafasc and the git revert A..B, where A and B are the first and last commits you want to revert.21:18
stan_man_can i did the revert, and then a new commiit and pushed but now it says that the crrent tip of the branch is behind it's remote counterpart21:18
--force ?21:19
parsnip stan_man_can: revert? i think you mean reset, no?21:19
rafasc did you use the range of commits?21:19
because if you did git revert <commit> that only reverts the changes brought by that specific commit.21:19
stan_man_can sorry yes I did reset21:20
upperdeck left21:20
stan_man_can I did get reset --hard **commit**21:20
parsnip he says remote is ahead, so suggests reset.21:20
you have to convince the remote to move the ref backwards21:20
i think rafasc might have given that command21:20
rafasc if you reset --hard, yes, the only option is to force push.21:20
stan_man_can made my changes, commit them, but then it says it's behind, so I guess i want to do a git push origin beta --force ?21:20
kk21:20
rafasc !backup21:20
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/#backups21:20
parsnip this is the "rewriting history" part21:21
upperdeck joined21:21
parsnip because now commits will diverge and old remote tip will be "unreachable", etc.21:21
stan_man_can so essentially the reset --hard it saying those comits i did didn't exist and they kind of disappear ?21:21
parsnip sort of21:21
rafasc you can still get it under some conditions. But yeah.21:22
stan_man_can thanks guys21:22
lxnr joined21:22
rafasc It will also cause major pains to everyone who cloned your repo. :)21:22
Murr left21:22
parsnip they are unreachable for about 2 weeks or 3 months, depending on defaults, type, etc, then they might be eligible to be garbage collected at some point.21:23
Murr joined21:23
parsnip unreachable means you can't start from a branch ref and follow parent commits to it.21:23
lnlnl left21:23
lnlnl joined21:23
rafasc in cause of github, they're stored forever.21:23
lnlnl left21:23
rafasc if you know the commit hash, you can get it.21:24
parsnip really?21:24
sword` left21:24
rafasc yeah.21:24
durham left21:24
parsnip that's a special github thing? i though in general git fetch is about branch refs.21:24
*thought21:24
rafasc there's an answer on stackoverflow where people say: github runs git gc periodically.21:24
durham joined21:25
rafasc but the commit is still available. 8 years later.21:25
QualityAddict joined21:25
netj left21:25
lxnr left21:25
lnlnl joined21:25
rafasc only way to get rid of it is deleting your repo.21:25
(or contacting support I guess)21:26
parsnip interesting21:26
yeah, the urls are kind of object organized.21:26
netj joined21:26
parsnip i only recently realized that.21:26
for years i was like, "why is blob in the url?"21:26
rafasc also, github keep copies of branches for pull requests. stuff like that21:27
upperdeck left21:28
mooasaurus left21:29
CheckDavid joined21:29
upperdeck joined21:30
rafasc do a git ls-remote on a repo with pull requests21:30
you'll see a bunch of refs under /refs/pull21:30
wuseman left21:31
mud Those refs are super useful. If you change your fetch spec, you can make it easy to see pull requests locally.21:31
bronson_ left21:31
bronson joined21:31
rafasc mud: I guess nothing stops you from merging them locally too.21:32
not sure if gihub will like it though. Never tried myself.21:32
mud It doesn't mind21:32
canton7 it won't mark the pr as 'merged', but that's all21:33
rafasc I guess you could try to make refs/pull/58/merge and push it21:33
or does it reject pushes from that namespace?21:34
Darcidride left21:34
wuseman joined21:34
mud canton7: Are you sure? I thought it did21:34
canton7 it never has when I've merged stuff manually, but then I might well have always tweaked something21:34
cur8or left21:34
wuseman left21:35
wuseman joined21:35
rafasc My guess is that it needs refs/pull/58/merge for marking it as merged.21:35
because that points too the commit the PR was merged21:35
where refs/pull/58/head points to the head of the branch21:36
upperdeck left21:37
upperdeck joined21:38
cagedwisdom joined21:38
boombatower joined21:38
cur8or joined21:39
Peng left21:39
Peng joined21:39
kfoonamalik joined21:42
justkitsu joined21:42
kfoonama1ik joined21:42
Feral_Cat left21:44
gitinfo set mode: +v21:44
justkitsu Hey! For now I have a tree that before every merge (let say to A) it's ensured that branch is rebased onto A21:44
Peng_ left21:44
Peng_ joined21:45
dpower left21:45
justkitsu so then I'd like to merge (same way) A to B (the last one also have updates)21:45
upperdeck left21:45
tmm88 left21:45
Solvaring joined21:45
mikecmpbll left21:46
justkitsu so have can I do that w/o much pain? I tried git rebase --preserve-merges B, but that for some reason don't work that good (some commits are missing)21:46
kfoonama2ik joined21:47
samfoobarbaz left21:48
upperdeck joined21:48
sammyo joined21:48
parsnip can you share !situation21:50
gitinfo Please pastebin the relevant output of `git log -n 20 --all --graph --format="%h %p %d"` to give us an idea about what your situation is (increase the -n argument if your problem is more complex than 20 commits can explain)21:50
SwiftMatt joined21:52
upperdeck left21:52
diqidoq_ joined21:54
ZexaronS-2 left21:55
upperdeck joined21:55
Rodya_ so i renamed some files on my local computer with `mv` (e.g. `mv src/utils.js -> src/Utils.js`) - these files are in repo. when i push this repo up to github, these files retain their old file name, and i'm not sure why21:55
diqidoq left21:56
mud Rodya_: Presumably because you didn't stage the changes with git. What's 'git status' say?21:57
gloomy left21:57
Rodya_ mud: up-to-date with 'origin/master'21:57
mud That's almost certainly not all that it said.21:58
Rodya_ i made some other changes alongside said name changes - these changes are up on the upstream repo21:58
On branch master21:58
Your branch is up-to-date with 'origin/master'.21:58
nothing to commit, working tree clean21:58
mud Oh are all of the changes just changes in capitalization of the filename?21:59
Rodya_ mud: yes they are21:59
mud What OS are you on? Some have weird behavior with respect to capitalization, and I think there's some setting to tell git how to handle that.22:00
Rodya_ mud: OSX El Capitan22:00
looking at the relevant commit on github, it looks as though the file changes were propagaated but the file name changes were not22:00
simka left22:00
mud Hm. I'm not sure how OSX handles filename capitalization. Does it treat 'blah' and 'Blah' as different files, or does either work?22:01
Rodya_ but the renaming was successful on my local computer22:01
i only found this problem as my travis tests are breaking, as they are unable to find the new file names i specify in the files22:01
Deltanic_ joined22:01
Deltanic_ anyone knows if its possible to split a folder from a git repo to a new repo retaining only the history of that folder in new repo?22:02
upperdeck left22:02
demize `git subtree`22:03
mud Rodya_: https://stackoverflow.com/questions/17683458/how-do-i-commit-case-sensitive-only-filename-changes-in-git has some information. It sound like just doing 'git mv src/utils.js src/Utils.js' might stage the changes, then you just have to make a commit like that and etc.22:03
freekevin joined22:03
demize Lets you both split the subtree into a separate branch and then pull from that, or just push the subtree directly to a different repo.22:03
upperdeck joined22:03
safe left22:04
Rodya_ mud: thank you, exactly what i was googling... i'll try it out22:04
Deltanic_ demize, doesnt subtree already assume i have 2 repos?22:04
demize Deltanic_: Nope.22:04
chamunks joined22:04
blackmesa left22:05
overlord_tm joined22:05
mud Rodya_: Also, a hint: if your filesystem is actually case-insensitive (I think it is), changing that one setting that's mentioned is usually not a good idea (core.ignorecase). It seems tempting, but I'd avoid it unless you really can't.22:05
demize `git subtree push` would require it, but `git subtree split` just spits out a new commit ID that you can then pull from after initializing a new repo.22:05
Deltanic_ aha!22:06
alright, thanks, will look into that then :)22:06
mud Deltanic_: By the way, if it's a one-time split and they'll have no further sharing of commits between them, you can just copy the repo and do a filter-branch. That can be simpler. But subtree is usually better.22:06
demize I can't see filter-branch being simpler honestly22:07
Rodya_ mud: OSX is case INsensitive - you're saying don't alter git config? is this to just avoid problems for any collaborators22:07
Disgeae left22:07
Goplat joined22:08
m0viefreak Rodya_: no, core.ignorecase = false on OSX will cause you problems locally, so don't do that22:08
mud demize: Well, I see subtree as being more complicated because there's more around it, it's a whole system of how you push, pull, split, etc. and you have to figure out what it all means. Nuking a repo down to a subdirectory with filter-branch has a lot less protocol to it.22:08
Deltanic_ mud, yeah it's going to be a one time split, no submodules needed either. just developing a project in a monorepo currently so i can pull deps directly from a sibling directory, and publish as an independent package when im confident enough22:08
mud Rodya_: Ya, I'd avoid changing it. It'll annoy you (and probably others)22:08
demize mud: I mean you just need `git subtree split -P foo` then just git-init and git-pull that commit.22:09
m0viefreak Rodya_: if ignorecase=true (which it should on osx), case-only changes will not automatically picked up if you rename them manually, so you *need* to use "git mv", to manually tell it22:09
blackmesa joined22:09
demize mud: And most git "users" I know would not really know how to use filter-branch, so they'd end up googling and copy-pasting some random command off of StackOverflow :p22:09
mud demize: Everything is easy if you just give the commands, usually the hard part is figuring out what anything means. Even that assumes a fair bit of savvyness with git, like fetching specific commits into a new repo.22:10
demize: They won't know how to do your thing either, so same problem.22:10
valize left22:10
Deltanic_ demize, about filter-branch, that'd be my approach if i didnt go here hahe - i found some article on github, but wasnt sure if it retains history22:10
fwiw, https://help.github.com/articles/splitting-a-subfolder-out-into-a-new-repository/22:10
demize It's much easier to explain mine quickly though, but sure. ;)22:11
Deltanic_ i dont mind either solution, if subtree is as easy as you explain, it's cool. it's a one-off thing anyway, but just want to be sure that the possibility is there for when i split off the repo22:12
demize Well, to be honest they're pretty close in easiness of explanation, but I find git-subtree to be easier to explain in contexts like these.22:12
blackmesa1 joined22:12
Deltanic_ yeah it makes sense22:13
thanks :)22:13
plongshot left22:13
blackmesa left22:15
plongshot joined22:15
robattila256 joined22:16
linuxdaemon joined22:17
Phylock left22:17
kfoonama1ik left22:18
upperdeck left22:18
kfoonamalik left22:18
BenderRodriguez joined22:18
thecrooked joined22:19
upperdeck joined22:19
kfoonama2ik left22:19
Rodya_ left22:23
upperdeck left22:24
upperdeck joined22:24
Rodya_ joined22:25
koell joined22:27
cur8or left22:28
luckman212 left22:28
upperdeck left22:29
upperdeck joined22:31
SerusWor1 left22:33
luckman212 joined22:34
SerusWor1 joined22:34
SerusWor1 left22:34
SerusWor1 joined22:34
Oatmeal joined22:35
peterbecich left22:37
diogenese left22:38
upperdeck left22:38
mooasaurus joined22:38
Cabanossi left22:39
cdg joined22:40
upperdeck joined22:40
Cabanossi joined22:41
nisseni left22:42
upperdeck left22:47
cagedwisdom left22:47
upperdeck joined22:47
maheshpec joined22:49
Bobdude joined22:50
ZexaronS joined22:53
dre_ joined22:53
upperdeck left22:57
mellernoia joined22:57
upperdeck joined22:58
cagedwisdom joined23:00
upperdeck left23:03
CALINOUCalinou23:03
finalbeta left23:03
Kaisyu joined23:04
nick123_ joined23:04
jrgilman left23:05
upperdeck joined23:05
Acerific left23:05
nick123 left23:06
aw1 joined23:07
aw1 left23:07
peterbecich joined23:09
nick123 joined23:09
nick123_ left23:09
upperdeck left23:10
upperdeck joined23:10
Deltanic_ left23:11
justkitsu left23:12
einnjo joined23:14
upperdeck left23:15
j08nY left23:16
upperdeck joined23:16
sunri5e left23:17
sunri5e joined23:19
mellernoia left23:19
upperdeck left23:21
gugah joined23:21
gugah left23:21
Gustavo6046 left23:21
Murr left23:22
Murr joined23:23
upperdeck joined23:23
Jode joined23:23
aimelajeunesse1 joined23:23
upperdeck left23:28
dege left23:28
quirk joined23:29
goksinen joined23:29
quirk what's the best way for deleting a bunch of files from the remote repo?23:29
they all end in `.un~`23:29
Fudge joined23:29
upperdeck joined23:30
parsnip for the next commit?23:30
rafasc git rm them on your local repo and push?23:30
Fudge any support people in here for the irc gitter? having trouble getting my token23:30
quirk they don't exist on local repo, though23:30
will it still work?23:30
aimelajeunesse1 left23:30
parsnip if a tree falls in the woods, and noone is there to hear it, does it make a sound?23:30
rafasc if they're tracked by your repo, they must exist locally too.23:31
check the branch out, delete and push.23:31
whitby left23:31
quirk ah, they weren't showing because they're all dot files23:32
whitby joined23:32
rafasc there you go :)23:32
Gustavo6046 joined23:32
rafasc !next23:32
gitinfo Another satisfied customer. NEXT!23:32
maheshpec left23:32
dadhadme- joined23:32
dadhadme- left23:34
upperdeck left23:34
goksinen left23:35
fscala left23:35
rafasc The only other reason your worktree could be different from your repo is if you have something like sparse checkouts configured.23:35
fscala joined23:35
goweol joined23:36
rafasc only other I know of, at least.23:36
upperdeck joined23:37
koell left23:37
deck joined23:38
Cabanossi left23:38
fission6 joined23:39
deck left23:40
Cabanossi joined23:41
upperdeck left23:41
ShockingIsntIt joined23:42
upperdeck joined23:42
cdown joined23:42
Bobdude left23:43
TikityTik joined23:43
piremi left23:43
goksinen joined23:44
Lyqyd joined23:46
sarri joined23:47
sarri left23:47
sarri joined23:47
goksinen left23:48
peterbecich left23:49
upperdeck left23:49
upperdeck joined23:50
nick123 left23:50
peterbecich joined23:52
Sonderblade left23:53
Fudge left23:54
ShockingIsntIt left23:54
Bobdude joined23:55
unine joined23:56
ShockingIsntIt joined23:57
unine hey guys, I've used an email I shouldn't for a commit, is there a way to somehow delete that commit from history along with that information? I know about bfg but I guess it doesn't do that, it only remove files23:57
goksinen joined23:58
CheckDavid left23:58
upperdeck left23:59
parsnip are you sharing the repo? do you care about messing with people that are working with that history?23:59

Logs Search ←Prev date Next date→ Channels Documentation