IRCloggy #git 2017-05-25

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-05-25

aielima left00:01
MarioBranco joined00:01
anuxivm left00:01
Rotaerk joined00:04
duderonomy left00:05
bvcosta left00:05
revinard joined00:07
cdown joined00:07
justan0theruser joined00:08
mizu_no_oto joined00:09
antoine left00:10
fahadash left00:12
nitric left00:13
EgS left00:14
theskillwithin left00:14
kadoban left00:14
kadoban_ joined00:14
theskillwithin joined00:14
durham left00:14
EgS joined00:15
orbyt_ left00:16
backnforth joined00:17
durham joined00:23
re1 left00:28
alesan left00:30
cdown left00:34
cdown joined00:35
cam27 joined00:35
valhala_22 joined00:36
unreal left00:37
fstd_ joined00:38
fstd left00:38
fstd_fstd00:38
Darren_ left00:39
unreal joined00:39
al-damiri left00:40
valhala_22 left00:40
brent__ left00:41
acidvegas joined00:41
acidvegas <-00:41
durham left00:42
Achylles left00:43
mischat joined00:48
TheFuzzball left00:48
LeBlaaanc left00:49
jt left00:51
ZyX-I left00:52
thiago joined00:52
mischat left00:52
cdown left00:53
cdown joined00:53
antoine joined00:53
mikecmpbll left00:53
ZyX-I joined00:54
mikecmpbll joined00:54
meLon left00:57
Zialus left00:57
dave0x6d joined00:59
TheFuzzball joined00:59
dermoth left01:00
Zialus joined01:00
dermoth joined01:00
qpdbGuest3501301:00
Guest35013 left01:00
qpdb joined01:01
Noodlewitt left01:02
frobnic joined01:02
gopar_ left01:03
gopar joined01:03
shgysk8zer0 left01:04
menip joined01:05
mizu_no_oto left01:06
gopar left01:08
TheFuzzball left01:08
dtrott left01:09
duderonomy joined01:09
ZyX-I left01:10
cqi left01:11
mizu_no_oto joined01:11
cqi joined01:12
mizu_no_oto left01:13
joshszep_ left01:14
joshszep joined01:14
moei left01:17
joshszep left01:17
sunri5e left01:17
m0viefreak left01:18
j08nY left01:19
sunri5e joined01:19
Noodlewitt joined01:20
Introoter left01:21
thiago left01:22
Gustavo6046 left01:24
sbasso left01:24
stevenbenner left01:26
hahuang65 left01:27
bruce_lee left01:28
bruce_lee joined01:28
mikecmpbll left01:28
Sasazuka left01:31
MrMojit0 left01:31
m0viefreak joined01:32
mizu_no_oto joined01:34
freddieptf joined01:34
LTRand joined01:35
mizu_no_oto left01:35
BSAlb joined01:37
Naan left01:38
freddieptf left01:38
BSaboia left01:39
mizu_no_oto joined01:41
texinwien left01:41
phinxy left01:43
durham joined01:43
d^sh left01:45
cqi left01:46
d^sh joined01:47
brent__ joined01:47
yoh left01:47
mischat joined01:49
brent__ left01:51
svm_invictvs left01:52
LTRand left01:52
antoine left01:52
Sxeil joined01:52
jason237 left01:52
moei joined01:52
_W_ joined01:53
cdg joined01:53
mischat left01:53
yoh joined01:55
dendazen joined01:56
pbandark joined02:00
gugah joined02:01
Vortex35 joined02:02
jaziz left02:02
jameser joined02:02
jameser left02:03
justan0theruser left02:04
jason237 joined02:05
lagothri1 joined02:05
therealGent joined02:06
aakz left02:06
peterbec` left02:06
jt joined02:06
Vortex34 left02:06
pbandark left02:07
MNav joined02:07
jameser joined02:08
lagothrix left02:08
Goplat joined02:08
MNav left02:10
zuck05 joined02:13
Naan joined02:15
LeBlaaanc joined02:18
ojdo left02:19
NeXTSUN joined02:26
ojdo joined02:26
jaziz joined02:26
LTRand joined02:27
Aeterne joined02:29
peacememories joined02:30
leeN left02:30
tedwing left02:31
nevodka joined02:31
LTRand left02:32
livingstn left02:32
ertes joined02:33
kadoban_kadoban02:33
evie_hammond left02:33
notadeveloper joined02:34
rivarun left02:34
rivarun joined02:34
darkbit left02:35
evie_hammond joined02:35
ewitz joined02:36
derpster joined02:36
SwiftMatt joined02:37
valhala_22 joined02:37
chachasmooth left02:40
oskarkv left02:41
Sxeil left02:42
valhala_22 left02:42
NeXTSUN left02:43
chachasmooth joined02:43
hexagoxel left02:45
NeXTSUN joined02:46
aavrug joined02:50
mischat joined02:50
yandi joined02:50
Cabanossi left02:50
yandi left02:51
prg3 left02:51
Cabanossi joined02:52
hexagoxel joined02:52
kyan joined02:52
justan0theruser joined02:52
durham left02:52
justan0theruser left02:53
justanotheruser joined02:53
mischat left02:54
prg3 joined02:55
justrohu joined02:55
Darren_ joined02:56
justrohu Hello all, I am learning git... what is cherry pick .. can someone provide me an example02:56
kadoban It copies a commit, redoing the same changes the commit did and the commit message and etc., in a new context.02:57
It's a bit like rebase, except not.02:57
kfoonamalik left02:58
tunekey left02:58
zuck05 left02:58
tunekey joined02:58
mizu_no_oto left02:59
rwp A cherry pick is somewhat like taking a diff from one place and appyling it as if it were 'patch -p1 < difffile' to another branch.02:59
Somewhat.02:59
mizu_no_oto joined03:00
bruce_lee left03:01
Emperor_Earth joined03:02
justrohu kadoban, rwp - thank you03:03
MarioBranco left03:03
aavrug Hello everyone!03:05
How to add a commit after a old commit and keep the existing tree with that old commit.03:06
tmcmahon joined03:07
rwp Sorry but your question is not clear because that sounds like the default behavior of a normal "git commit".03:07
dave0x6d left03:07
maroloccio joined03:07
zuck05 joined03:09
aavrug rwp, I have currently three commits commit1, commit2 and commit3. Now I need to change something just after commit1 so it will be a new commit lets say commit4. Now I want the sequence like commit1, commit4, commit2 and commit3.03:10
beerdrop left03:12
a_thakur joined03:12
cqi joined03:13
nunchuck left03:14
nunchuck joined03:15
m0viefreak left03:15
HoierM_ left03:16
jt left03:16
kyan left03:18
Cabanossi left03:20
Cabanossi joined03:21
rwp aavrug, Have you pushed? Hopefully not. You want to rebase -i the ordering. man rebase03:22
aavrug rwp, ok thanks let me check.03:23
rwp aavrug, I failed to trigger the bot but let me try again. man git-rebase03:24
gitinfo aavrug: the git-rebase manpage is available at https://gitirc.eu/git-rebase.html03:24
ertesx joined03:24
aavrug rwp, ok no probs I am reading it.03:25
beerdrop joined03:26
ertes left03:27
ertesxertes03:27
bgerber left03:28
kyan joined03:29
bgerber joined03:29
Aeterne left03:29
nothingnew left03:29
navidr joined03:30
tmcmahon left03:31
aidalgol left03:31
mdbk joined03:31
gugah left03:35
SwiftMatt left03:38
valhala_22 joined03:38
LeBlaaanc left03:42
valhala_22 left03:43
LeBlaaanc joined03:43
rchavik joined03:44
LeBlaaanc left03:45
LeBlaaanc joined03:46
mischat joined03:51
sondr3 left03:54
mischat left03:56
mizu_no_oto left03:57
jnewt_ joined03:57
str left03:57
therealGent left03:59
Garen_ joined04:00
pxs joined04:00
om_henners left04:00
Dragoe joined04:01
om_henners joined04:02
Garen left04:03
lafleurdubien left04:04
reynierp left04:07
valhala_22 joined04:09
mdbk left04:11
peacememories left04:11
jesst joined04:13
peepsalot left04:14
rchavik left04:14
svm_invictvs joined04:14
jesst left04:15
Anja left04:16
RBoreal_Frippery left04:17
therealGent joined04:18
Cabanossi left04:20
cdg left04:20
Cabanossi joined04:21
therealGent left04:28
LTRand joined04:28
peepsalot joined04:31
LTRand left04:33
derpster left04:36
holodoc left04:42
Darren_ left04:43
dendazen left04:43
holodoc joined04:44
MineCoins joined04:44
prg3 left04:45
jackrandom left04:48
notadeveloper left04:51
mischat joined04:52
ayogi joined04:53
waveclaw joined04:55
fahadash joined04:56
mischat left04:57
armyriad left04:59
waveclaw left05:00
Noodlewitt left05:00
skered left05:00
prg3 joined05:00
NeXTSUN left05:01
prokbird joined05:01
overlord_tm joined05:02
armyriad joined05:03
NeXTSUN joined05:04
iffraff left05:05
Noodlewitt joined05:07
rscata joined05:12
notadeveloper joined05:14
Guest12304 left05:14
Bock joined05:15
dec0n joined05:15
MineCoins left05:16
holdsworth left05:17
snowkidind left05:18
waveclaw joined05:18
holdsworth joined05:19
dave0x6d joined05:20
fakenerd_ left05:21
fakenerd joined05:21
notadeveloper left05:22
robattila256 left05:22
notadeveloper joined05:22
notadeveloper left05:22
lindenle left05:23
watersoul_ left05:25
fakenerd left05:26
lordjancso joined05:29
peterbecich left05:29
durham joined05:31
watersoul joined05:32
skered joined05:32
dege joined05:33
durham left05:33
durham_ joined05:33
MineCoins joined05:33
watersoul left05:34
durham_ left05:34
watersoul joined05:37
Anja joined05:38
prg3 left05:38
shgysk8zer0 joined05:41
shgysk8zer0 left05:42
prg3 joined05:42
tvw joined05:42
MineCoins left05:44
Anja left05:44
maroloccio left05:45
jagob joined05:48
Cabanossi left05:48
Es0teric joined05:50
Cabanossi joined05:51
TSS_ left05:52
madewokherd left05:53
TSS_ joined05:53
thebope joined05:53
armyriad left05:54
ewitz left05:55
Anja joined05:55
overlord_tm left05:55
thebope_ left05:56
valhala_22 left05:57
ewitz joined05:57
armyriad joined05:58
durham joined05:58
pks left05:58
durham left05:59
jstimm joined06:00
durham joined06:00
jknetl joined06:01
LeBlaaanc left06:02
fakenerd joined06:03
pks joined06:03
thebardian joined06:04
durham left06:04
austin987 joined06:05
Silmarilion joined06:06
TSS_ left06:07
thebardian left06:07
Es0teric left06:08
MineCoins joined06:09
govg left06:09
sbulage joined06:13
TSS_ joined06:13
prg3 left06:14
SkyPatrol joined06:16
valhala_22 joined06:16
joshszep joined06:18
m4sk1n joined06:19
qt-x joined06:22
zuck05 left06:22
zuck05 joined06:22
MattMake_ joined06:22
menip left06:23
schleppel joined06:23
lindenle joined06:24
overlord_tm joined06:24
MattMaker left06:26
jnewt_ left06:28
lindenle left06:29
gopar joined06:29
gopar left06:29
LTRand joined06:29
tunekey left06:30
MattMake_ left06:33
LTRand left06:34
Cabanossi left06:34
Cabanossi joined06:36
Aaron1011 joined06:37
Aaron1011 left06:37
Aaron1011 joined06:37
cam27 left06:38
Guest12483 left06:42
lindenle joined06:43
lindenle left06:48
FuzzyWuzzyPanda joined06:48
FuzzyWuzzyPanda left06:49
King_Hual joined06:51
King_Hual left06:51
King_Hual joined06:51
jstimm left06:52
govg joined06:56
nd_ left06:57
rokups joined06:57
chat joined06:58
chatGuest8450906:58
darkbit joined06:59
z8z joined07:01
raatiniemi left07:04
waveclaw left07:04
raatiniemi joined07:05
ShapeShifter499 joined07:05
senaps joined07:05
senaps left07:06
senaps joined07:06
senaps hi, i have an error in my code i want to find out when that error has been made. i want to go back commit to commit and get the files and codes of that commit. is there a way?07:07
git reset just takes me back to that commit and i still have the codes commited after that.07:07
mattp_ left07:08
pookleblinky https://git-scm.com/docs/git-bisect07:08
You mark the current code as bad, mark the last good commit, and then step through the binary search one commit at a time running tests until you find the commit that caused it07:10
jagob left07:11
shgysk8zer0 joined07:12
LovesTha when I learnt of git bisect it was the biggest evidence that git is designed by people who use it.07:13
senaps can i pass commit hashes? i don't have any versions!07:13
LovesTha Yes, hashes work07:13
valhala_22 left07:15
jstimm joined07:16
senaps +LovesTha: should i use a branch just to be safe or it's okay and safe?07:16
Es0teric joined07:16
waveclaw joined07:16
APic left07:17
LovesTha It's safe07:18
In fact it really doesn't make much sense as a branch, as immediately you'll give it hashes that don't exist in your new branch.07:18
mattp_ joined07:19
bgerber left07:19
LovesTha But you aren't going to edit anything in git bisect, you are going to find the change that breaks things. Then either you'll fix that on your more recent revision or your create a new branch from that point.07:19
senaps so, im at current last version of my branch, i hit git bisect start, git bisect bad.07:20
pookleblinky https://github.com/grayghostvisuals/practice-git This is a practice repo you can clone, mess up, and then practice such as bisect on07:20
senaps now i should throw a git bisect good "hash of the one who works?"07:21
right?07:21
valhala_22 joined07:21
LovesTha Follow the guide you were given07:21
As to be honest I've done it once or twice, so I can't remember exactly how it goes07:22
Okay that wasn't a guide, google for a git bisect guide07:22
dsdeiz left07:22
senaps :) thanks alot.... i'll find my way around! :) thanks for the tip. i haven't heard of this bisect ...07:22
valhala_22 left07:23
LovesTha Giving a point in the right direction is easy, holding someones hand through every little step isn't interesting. And people have published lots of things to do that anyway07:23
bgerber joined07:24
LovesTha Actually that doc page is not a bad tutorial anyway07:24
Acerific joined07:26
valhala_22 joined07:26
pookleblinky It's easy to mkdir gitscratch, init, cp over a file and make a few commits, then practice various things on it07:26
This way you can then look at your terminal history, and use that as documentation for next time you need to do it for real07:27
justan0theruser joined07:28
pbandark joined07:29
justanotheruser left07:31
pbandark left07:32
hhee joined07:33
Murii joined07:34
pbandark joined07:34
Cabanossi left07:34
Noldorin left07:34
Cabanossi joined07:36
grayjoc joined07:37
mikecmpbll joined07:38
roby10 joined07:39
roby10 left07:39
cqi left07:40
Acerific left07:41
tvw left07:43
joshszep left07:44
kelvah joined07:44
joshszep joined07:45
fahadash left07:45
cqi joined07:45
fakenerd left07:47
fakenerd joined07:47
xaa joined07:48
joshszep left07:50
amosbird joined07:50
amosbird hi07:50
why does push -force still leads to ! [rejected] master -> master (stale info) ?07:50
senaps left07:52
dsdeiz joined07:55
dsdeiz left07:55
dsdeiz joined07:55
thebope_ joined07:55
thebope_ left07:56
xaxxon joined07:56
thebope_ joined07:56
thebope left07:57
shgysk8zer0 left07:57
govg left07:57
mikecmpbll left07:59
amosbird oh, force-with-lease fails08:02
but force works08:02
jas4711 left08:03
kurkale6ka joined08:03
govg joined08:04
Introoter joined08:06
a_thakur left08:06
a_thakur joined08:06
Quetzal joined08:06
tourdownunder left08:08
RahulAN joined08:08
RahulAN Hi all08:09
_ng joined08:09
RahulAN I have 2 repos in my git config08:09
and i have submitted changes to one of it ..08:09
not i need to get the latest revision from the other one ? how can i ?08:09
mikecmpbll joined08:09
a_thakur left08:11
xaxxon left08:11
svm_invictvs left08:11
marcogmonteiro joined08:12
jstimm left08:12
Chuguniy joined08:13
Noodlewitt left08:13
zulutango joined08:14
dege left08:15
intellix left08:15
dave0x6d left08:18
a_thakur joined08:18
acetakwas joined08:19
Guest84509 left08:20
antoine joined08:20
prokbird left08:21
RahulAN any suggestion !!08:22
zer0her0 left08:22
User458764 left08:22
User458764 joined08:23
zer0her0 joined08:23
chat_ joined08:25
Tobbi joined08:26
APic joined08:26
chat_ left08:26
ilmari left08:27
antoine left08:28
_ADN_ joined08:28
kurkale61 joined08:30
LTRand joined08:30
valhala_22 left08:30
kurkale6ka left08:33
dsdeiz left08:33
bwn left08:33
cstratak joined08:34
govg left08:35
Tobbi left08:36
Quetzal RahulAN: : you mean «git pull repoName master» ?08:36
LTRand left08:36
RahulAN Quetzal: Yes i got it :)08:37
i have to merge and do it ..08:37
Quetzal good ! :)08:37
RahulAN Quetzal: How can i get revert my merge ? i want to get the one on that repo08:37
Quetzal „revert“ ? like roll back to your latest commit?08:38
RahulAN Quetzal: https://bpaste.net/show/f487b6945f25 this is my config file08:39
not to my latest commit but on there ..08:39
IRQ` joined08:39
RahulAN Quetzal: i did a push on my local repo , but i want the revision of remote haiku08:40
Quetzal Ok, so you pushed over to origin, and now haiku is behind, isn't it?08:41
mdbk joined08:42
govg joined08:42
RahulAN Quetzal: Yes08:42
kurkale6ka joined08:42
RahulAN I did revert now :)08:43
kurkale61 left08:44
j`ey joined08:44
kurkale61 joined08:44
valhala_22 joined08:44
j`ey left08:45
Quetzal Ah, ok, and now «git pull haiku master».08:45
I think I got what you meant :·)08:46
kurkale6ka left08:47
rchavik joined08:48
Cabanossi left08:48
Tobbi joined08:50
m0viefreak joined08:50
ExpiredDev joined08:50
Cabanossi joined08:51
bwn joined08:54
prokbird joined08:56
marcogmonteiro left08:58
ij joined08:59
chat_ joined08:59
dhollin3 joined09:01
tourdownunder joined09:01
dimi1947 joined09:03
marcogmonteiro joined09:03
SkyPatrol left09:03
dhollinger left09:03
NotreDev left09:03
Phylock joined09:04
valhala_22 left09:04
SkyPatrol joined09:05
achadwick joined09:06
digidog joined09:07
Snugglebash joined09:07
mischat joined09:08
chichou joined09:09
j08nY joined09:10
SkyPatrol left09:10
govg left09:12
valhala_22 joined09:13
aavrug left09:15
valhala_22 left09:16
SkyPatrol joined09:16
romank joined09:16
valhala_22 joined09:17
TzilTzal left09:18
dsdeiz joined09:19
valhala_22 left09:21
jmd` joined09:21
Silenced joined09:23
aavrug joined09:23
Es0teric left09:23
valhala_22 joined09:24
TheFuzzball joined09:24
z8z left09:24
dersand joined09:25
TomyLobo https://en.internetwache.org/dont-publicly-expose-git-or-how-we-downloaded-your-websites-sourcecode-an-analysis-of-alexas-1m-28-07-2015/ i just found this article detailing how to download a .git repo from a web page09:25
i tried this a while ago to show a friend of mine why that's bad. the roadblock i hit was packs09:25
TheFuzzball left09:26
TomyLobo they solve that by reading from .git/objects/info/packs09:27
but isn't that only generated if you run a certain command?09:27
canton7 yes, that's only used if you enable a particular hook, which is only needed for "dumb http"09:28
it's incredibly unlikely to be generated these days, as almost everyone is using smart http09:28
and if the reason you've got a git repo in your web root is because you're doing deployment badly, there's no reason to use dumb http09:28
or smarthttp09:28
govg joined09:29
TomyLobo so basically they got lucky?09:29
peacememories joined09:30
TomyLobo july 2015... has the file historically been generated all the time?09:30
oh btw, how do i cat all versions of a file? the hard way?09:31
sbasso joined09:32
canton7 yeah, I think so. No, I don't think it's ever historically been automatically generated09:32
you can find all commits which touch a file with 'git log -- path/to/file' (add some format flags to just get the sha1), then use those with 'git show commit:path/to/file'09:32
should be able to do it in a couple of lines of bash09:32
yinye_ joined09:33
mdbk left09:33
TomyLobo or git rev-list for the first half09:33
canton7 true09:33
Goplat left09:33
TomyLobo i'm trying to do some statistics on a series of 200 thread dumps btw :)09:34
Cabanossi left09:34
TomyLobo kinda trying to profile a java program (minecraft) without an open debug port09:34
canton7 good luck :)09:34
Tobbi left09:35
Cabanossi joined09:36
Levex joined09:36
yinye_ left09:37
blr joined09:37
TomyLobo 200 at com.dmurph.tracking.JGoogleAnalyticsTracker$2.run09:38
what the f09:38
P4nther joined09:39
P4nther left09:41
peacememories left09:44
antoine joined09:46
kyan left09:47
mdbk joined09:47
dimi1947 left09:49
safe joined09:50
jameser left09:51
YuGiOhJCJ joined09:54
Atm0spher1c left09:54
mdbk left09:55
Cerise left09:55
cstratak left09:56
thebope joined09:56
thebope left09:57
thebope joined09:57
Cerise joined09:57
Cerise left09:57
Cerise joined09:57
cstratak joined09:58
thebope_ left09:59
finalbeta joined10:04
valhala_22 left10:04
PCatinean joined10:05
PCatinean hey guys10:05
I made multiple changes, staged something, then made some chages that are unstaged and I want to revert back to only the stages changes10:05
how to proceed?10:06
ij Although only tangentially related to git itself, does anyone happen to know adding deploy keys via bitbucket's API works right?10:06
PCatinean ij, you can try #bitbucket10:06
ij Oh, it exists?10:07
Memphis joined10:07
PCatinean yah, about 100 people but it's there10:07
ij That's significant.10:07
jaziz1 joined10:08
valhala_22 joined10:08
miklcct left10:09
phinxy joined10:10
phinxy left10:10
phinxy joined10:11
jost joined10:11
jaziz left10:11
cdown left10:14
cdown joined10:14
ferr joined10:15
SkyPatrol_ joined10:19
wandering_vagran joined10:19
njbair left10:20
SkyPatrol left10:21
j08nY left10:21
UTAN_dev joined10:22
phinxy left10:22
njbair joined10:22
jamick left10:23
jamick joined10:26
bruce_lee joined10:26
bruce_lee left10:26
bruce_lee joined10:26
chichou left10:26
fakenerd left10:27
fakenerd joined10:28
King_Hual left10:29
dendazen joined10:30
Acerific joined10:30
yqt joined10:31
ExpiredDev left10:31
fakenerd left10:32
chichou joined10:32
govg left10:34
tourdownunder left10:34
justrohu left10:37
dendazen left10:37
bongjovi joined10:38
oskarkv joined10:38
mischat_ joined10:39
Mang0es left10:41
nevodka left10:41
dsdeiz left10:41
mischat left10:42
yoh left10:42
Acerific left10:44
lindenle joined10:47
borkr joined10:48
Cabanossi left10:50
Cabanossi joined10:51
lindenle left10:51
kelvah left10:53
Memphis left10:54
zuck05 left10:56
finalbeta left10:58
finalbeta joined10:58
valhala_22 left10:59
ZyX-I joined11:00
mischat_ left11:01
mischat joined11:02
reynierp joined11:03
Keverw left11:08
masuberu joined11:09
MineCoins left11:11
caper left11:12
jstein_ joined11:12
RahulAN left11:13
wandering_vagran left11:14
jstein_jstein11:14
dsdeiz joined11:15
dsdeiz left11:15
dsdeiz joined11:15
xaxxon joined11:15
cqi left11:19
rchavik left11:20
jmd` left11:22
miklcct joined11:23
smurfendrek123 left11:23
njbair left11:24
cdown left11:25
cdown joined11:25
zulutango left11:25
njbair joined11:26
ufk git push --mirror pushes to new repository also remote branches or only the local branches that I have ?11:27
maroloccio joined11:27
raynold left11:28
mischat_ joined11:29
rorro joined11:30
HoierM_ joined11:30
jaziz1 left11:31
mischat left11:32
str joined11:32
mischat_ left11:33
mischat joined11:34
Cabanossi left11:35
tourdownunder joined11:36
Cabanossi joined11:36
wakd left11:36
Chuguniy left11:39
D630 joined11:42
HoierM_ left11:42
mdbk joined11:44
livingstn joined11:47
noob_on_rails joined11:48
wakd joined11:49
noob_on_rails Im working with a friend on a project/repo , we have the master branch(default) and then the stage branch which we update so it gets merged with the master , so we both branch from stage when we develop11:49
Chuguniy joined11:49
noob_on_rails now while i had branched from stage , my friend pushed a bug fix on stage branch11:49
how can i get the changes in my stage branch AND the branch im working on at the moment ?11:50
prokbird left11:51
str left11:51
tourdownunder left11:52
prokbird joined11:53
sarri left11:53
xaxxon left11:53
zuck05 joined11:53
scottjl left11:55
HoierM_ joined11:56
caper joined11:59
scottjl joined11:59
thebope_ joined11:59
thebope left11:59
synthroid joined12:00
sbasso left12:00
Noodlewitt joined12:00
sarri joined12:01
sarri left12:01
sarri joined12:01
TheCycoONE joined12:03
synthroi_ joined12:03
antoine left12:05
TheCycoONE left12:06
synthroid left12:06
Levex left12:06
sbasso joined12:07
prokbird left12:08
Noodlewitt left12:10
Snugglebash left12:10
kelvah joined12:13
cstratak_ joined12:14
bongjovi left12:15
MineCoins joined12:15
Cerise left12:15
marcogmonteiro left12:15
d^sh left12:16
Cerise joined12:16
Cerise left12:16
Cerise joined12:16
cdown left12:16
Noodlewitt joined12:17
cstratak left12:18
Cabanossi left12:19
ayogi left12:19
prokbird joined12:20
Acerific joined12:20
Acerific left12:20
Acerific joined12:20
dglambert joined12:21
dglambert yo12:21
Cabanossi joined12:21
mac- hey, when I execute 'git log --all' then all branches will be listed, right ?12:22
I mean commited changes in all branches12:22
Cavallari joined12:22
valhala_22 joined12:23
Masber_080 joined12:24
mdbk left12:26
mdbk joined12:27
masuberu left12:28
osse mac-: Yes12:31
Potentially even more12:31
aavrug left12:31
mac- and my question is, how can I request that every record will show its branch name ?12:31
LTRand joined12:32
bongjovi joined12:32
Noodlewitt left12:32
osse You can't because git doesn't know12:32
tsdev joined12:33
mac- I think it knows when git is able to give output for --graph flag12:33
EDAKIRI joined12:34
Snugglebash joined12:34
osse It knows the parents of commits and draws the graph that way, like a linked list12:34
But it doesn't know whether any branch was renamed or rebased, and after merges and rebases it doesn't know on which branch a commit came from12:35
d^sh joined12:36
Kaisyu joined12:36
dendazen joined12:37
miklcct left12:37
Noodlewitt joined12:38
mac- yeah I noticed that after I had done 'merge commit' and was trying to revert it I had to show which linked commit of two is the master one12:38
d^sh left12:38
yqt left12:38
fakenerd joined12:39
Noodlewitt left12:39
mdbk left12:40
mdbk joined12:40
safe left12:41
mdbk left12:41
mdbk joined12:41
mdbk left12:42
sbasso left12:42
mdbk joined12:43
miklcct joined12:43
d^sh joined12:43
Levex joined12:43
jstimm joined12:43
mdbk left12:44
mdbk joined12:44
mdbk left12:45
mdbk joined12:46
smurfendrek123 joined12:46
mdbk left12:46
mdbk joined12:47
miklcct left12:48
wandering_vagran joined12:48
cdown joined12:49
Cabanossi left12:50
miklcct joined12:50
Cabanossi joined12:51
marcogmonteiro joined12:51
a_thakur left12:51
ShapeShifter499 left12:52
zumba_addict joined12:53
rokups left12:53
cdg joined12:54
zumba_addict I'm still why this happened yesterday. I did a git clone then I made some updates and pushed it successfully. I ran git pull then I got merge conflicts. I rm -rf it and did a git clone to get a clean copy. Why did that conflict happen?12:55
tsdev left12:55
zumba_addict Ooops, I'm still wondering why^12:55
tunekey joined12:55
re1 joined12:56
Cassiopaya joined12:57
Masber_080 left12:57
sbasso joined12:58
masuberu joined12:58
zumba_addict left12:59
mdbk left13:00
RBoreal_Frippery joined13:00
prg3 joined13:00
robattila256 joined13:00
a_thakur joined13:01
bahamas joined13:01
a_thakur left13:02
a_thakur_ joined13:02
jstimm left13:03
caper left13:03
livingstn left13:04
miklcct left13:04
fission6 joined13:04
ExoUNX joined13:05
mizu_no_oto joined13:05
j08nY joined13:05
a_thakur joined13:06
caper joined13:06
a_thakur_ left13:07
miklcct joined13:07
Vasya666 joined13:10
ertes left13:11
maroloccio left13:14
NeXTSUN left13:14
dege joined13:15
kvaz joined13:16
btree joined13:17
cjohnson somebody else pushed some conflicting changes, or your local updates included rewritten history13:17
and you didn't force push the rewritten history13:17
Cabanossi left13:18
Cabanossi joined13:21
GT4066 joined13:23
pxs left13:23
a_thakur left13:23
a_thakur joined13:24
Cavallari left13:24
sbulage left13:25
livingstn joined13:26
absence left13:26
jknetl left13:27
griffindy joined13:28
cyphase left13:28
iffraff joined13:28
bongjovi left13:29
m0viefreak left13:30
iffraff left13:30
iffraff joined13:30
geojunkieSCI joined13:30
ilyaigpetrov joined13:31
mischat_ joined13:31
Gustavo6046 joined13:32
cyphase joined13:33
Snugglebash left13:35
revinard left13:35
ij left13:35
synthroid joined13:35
mischat left13:35
ufk left13:35
cev joined13:36
Snugglebash joined13:36
sondr3 joined13:36
revinard joined13:37
revinard left13:37
NeXTSUN joined13:37
revinard joined13:37
sbulage joined13:38
Es0teric joined13:38
synthroi_ left13:38
SkyPatrol_ left13:39
valhala_22 left13:39
fission6 left13:40
SkyPatrol joined13:40
valhala_22 joined13:40
thebope_ left13:41
sondr3 left13:42
valhala_22 left13:42
valhala_22 joined13:43
thebope joined13:44
BSAlb left13:44
Cabanossi left13:49
sbulage left13:49
synthmeat left13:49
synthmeat joined13:50
iota_pi joined13:50
BSaboia joined13:50
revinard left13:50
rscata left13:51
Cabanossi joined13:51
sim590_ joined13:51
fission6 joined13:52
BSAlb joined13:52
kaldoran left13:53
sim590 left13:54
sim590_sim59013:54
Acerific left13:54
robnester left13:55
robnester joined13:55
BSaboia left13:55
kaldoran joined13:55
ResidentBiscuit joined13:56
geojunkieSCI left13:57
valhala_22 left13:57
jagob joined13:57
valhala_22 joined13:57
Vasya666 left13:58
Es0teric left13:59
geojunkieSCI joined13:59
dave0x6d joined13:59
sbulage joined14:01
AaronMT joined14:02
Sonderblade joined14:02
Es0teric joined14:02
dsdeiz left14:03
kelvah left14:03
Cassiopaya left14:03
Snugglebash left14:04
rchavik joined14:04
TbobbyZ joined14:05
chachasmooth left14:06
qt-x left14:07
chachasmooth joined14:08
ansimation joined14:08
maroloccio joined14:09
dec0n left14:10
lindenle joined14:11
TheFuzzball joined14:13
Levex left14:15
bahamas left14:15
lindenle left14:17
strugee left14:17
valhala_22 left14:18
strugee joined14:20
kelvah joined14:21
thebope_ joined14:21
valhala_22 joined14:21
jwest left14:22
thebope_ left14:22
jwest joined14:22
thebope left14:22
rmesta joined14:24
thebope joined14:24
rmesta left14:24
rmesta joined14:24
aspiers left14:24
om_henners left14:25
rmesta left14:25
LTRand left14:26
Rotaerk left14:26
fahadash joined14:27
om_henners joined14:27
mtiernan joined14:27
LTRand joined14:27
mtiernan left14:28
adiabatic joined14:29
visual hello gits14:29
attempting to rename a local branch (the remote branch has already been merge and is _non_ existant at this point)14:29
Echo6 joined14:29
visual is there anything i should be aware of? any complications that might arise? or a simple branch -m old new will work like a sexy thing?14:30
HardlySeen joined14:30
matthiaskrgr it should work yes14:30
Echo6 We have a project with three different pieces (Web Application, Android App, iOS App). Given that we are using three different IDE's should these be in one Git repo or 3 Git repos?14:31
cdg left14:31
mikecmpbll left14:31
visual matthiaskrgr: you are correct, thanks for inspiring confidence!14:31
matthiaskrgr :D14:32
CandyAngel left14:32
matthiaskrgr you can check with git branch -a if there is still some leftover branch (like origin/post-rename)14:32
visual Echo6: you can add the ide-specific files (.idea-config, .sublime-project, w/e...) to the git, and the repo can stay the same14:32
HOWEVER14:32
how are your files the same if you develop in both Android App AND iOS App? :I, i would recommend using 3 different repos for those14:33
kvaz left14:33
kurkale6ka joined14:33
mikecmpbll joined14:33
visual supposing you want to revert android's app in leu of a new version /android/ version coming out which would allow you to replace a functionality thingy with something better, but you'd have to revert to do that..14:34
also branching would be weird with 3 repos at the same time14:34
FUCK14:34
Echo6 They aren't the same, that was part of the debate. We could have one root folder call "ProjectName" and three child folders called "Web","Android","iOS" and check them into a single repo but that doesn't seem like a good idea.14:34
visual matthiaskrgr: that was all to you. and the ide-specific files should be added to .gitignore14:34
matthiaskrgr oO what14:34
visual i highlighted Echo6 instead of you matthiaskrgr at first, my bad14:35
yeah man, folders called "Web","Android","iOS" and check them into a single repo but that doesn't seem like a good idea.14:35
it really doesnt14:35
matthiaskrgr but I didnt say anything about different repos ??14:35
I'm confused14:36
justan0theruser left14:36
Echo6 Ok, thanks for the confirmation visual.14:36
visual oh wait fuck, that was Echo614:36
freimatz joined14:36
kurkale61 left14:36
Echo6 left14:36
visual sorry man, 5:36Pm on a friday, and im out of it14:36
it's even thurdsay, jesus christ my brain is fried14:36
shinnya left14:37
d10n-work joined14:37
LTRand left14:38
justan0theruser joined14:39
mstenta joined14:40
thebope_ joined14:41
mstenta I have a question: I merged some sub-repos into a parent repo (because I'm going to maintain them all in one now instead of separately). I used these instructions: http://nuclearsquid.com/writings/subtree-merging-and-you14:42
Is there a way to view the history of a sub-folder (that used to be a separate repo) with git log? Currently it only shows up to the merge commit, but nothing before.14:43
cookra joined14:43
gargola left14:43
mstenta I can view all the commits with a visualizer like gitk or gitg, but I'm wondering how to best view a single file's commit history, beyond the merge commit.14:43
Is it possible?14:43
qqx mstenta: `git log --follow <file>`14:44
xaa left14:44
prokbird left14:45
mstenta qqx: I tried that, but it doesn't seem to be working for some reason.14:45
qqx: Worth noting, I merged multiple repos into subdirectories all at once (with an octopus merge commit). Could that be why --follow isn't working?14:46
sbulage left14:46
aspiers joined14:46
Murii left14:46
valhala_22 left14:47
iffraff left14:47
dhollin3dhollinger14:49
Cabanossi left14:50
Levex joined14:50
Khisanth left14:51
Cabanossi joined14:51
valhala_22 joined14:52
a_thakur left14:53
mstenta qqx: Hmm. I used the "ours" merge strategy when I performed the merge... I wonder if that's the cause? Maybe I should have used "-s octopus" instead.14:54
I will give that a try and see if it makes a difference... if it does then I will have learned yet another new thing about Git!14:54
qqx I wouldn't expect using an ocopus merge or the choice of strategy to make a difference.14:54
mischat_ left14:56
yqt joined14:56
yehowyada joined14:58
sunri5e left14:59
duderonomy left14:59
Silmarilion left14:59
Es0teric left14:59
sunri5e joined15:00
mstenta qqx: hmm yea - looks like i can't even do an octopus strategy anyway: "Unable to find common commit with farm_log/7.x-1.x"15:01
mischat joined15:02
mischat left15:02
mischat joined15:03
kurkale61 joined15:03
thiago joined15:04
Khisanth joined15:05
Zarthus left15:05
Zarthus_Zarthus15:05
LionsMane joined15:05
mizu_no_oto left15:05
valhala_22 left15:05
kurkale6ka left15:05
crose joined15:05
bathtub_shark joined15:05
Zarthus left15:08
bathtub_sharkZarthus15:08
Zarthus_ joined15:08
a_thakur joined15:09
lufei joined15:09
LionsMane left15:09
jnavila joined15:09
rorro left15:09
cstratak_ left15:10
SkyPatrol_ joined15:10
acetakwas left15:10
valhala_22 joined15:10
adiabatic left15:10
mikecmpbll left15:10
overlord_tm left15:10
kurkale6ka joined15:11
leeN joined15:11
sz0 left15:12
geojunkieSCI left15:12
mikecmpbll joined15:12
SkyPatrol left15:12
dsdeiz joined15:13
dsdeiz left15:13
dsdeiz joined15:13
cam27 joined15:13
mstenta qqx: hmm i found this https://stackoverflow.com/questions/10918244/git-subtree-without-squash-view-log15:13
sounds like maybe it's a known limitation15:13
kurkale61 left15:14
geojunkieSCI joined15:14
mstenta qqx: i'm going to try this instead: https://saintgimp.org/2013/01/22/merging-two-git-repositories-into-one-repository-without-losing-file-history/15:15
smurfendrek123_ joined15:16
smurfendrek123 left15:17
GT4066 left15:18
Snugglebash joined15:19
acetakwas joined15:20
valhala_22 how can i push all the files as i also want to ignore some files declared in gitignore one .15:21
caper left15:21
rorro joined15:22
synthroid left15:22
caper joined15:23
grayjoc left15:23
zivester joined15:24
levex_ joined15:24
grayjoc joined15:26
valhala_22 left15:26
Levex left15:27
LeBlaaanc joined15:27
levex_Levex15:27
smurfendrek123_ left15:28
sq-one joined15:28
ogny left15:29
thiago left15:30
Darren_ joined15:31
dsdeiz left15:32
onehrxn joined15:32
smurfendrek123_ joined15:33
borkr left15:33
ghormoon joined15:33
onehrxn_ left15:34
onehrxn left15:34
Levex left15:34
Levex joined15:35
Cabanossi left15:35
Cabanossi joined15:36
lufei left15:36
lufei joined15:36
lufei left15:37
Snugglebash left15:38
Sound joined15:38
ghormoon left15:39
ghormoon joined15:39
Snugglebash joined15:41
jackrandom joined15:41
sbasso left15:43
inovas left15:43
MineCoins left15:43
joeytwiddle left15:43
sbasso joined15:43
valhala_22 joined15:44
joeytwiddle joined15:44
brent__ joined15:45
AlgorithmWizard left15:45
inovas joined15:46
raynold joined15:46
madewokherd joined15:46
valhala_22 left15:47
pelegreno___ joined15:47
netj left15:47
netj joined15:47
mstenta left15:47
borkr joined15:47
mstenta joined15:48
sbasso left15:48
smurfendrek123_ left15:48
smurfendrek123_ joined15:49
AlgorithmWizard joined15:49
LionsMane joined15:51
alexandre9099 left15:53
alexandre9099 joined15:53
thebope left15:53
romank left15:53
masuberu left15:53
fakenerd left15:54
mstenta i have three repositories: A, B, and C. I want to merge B and C into A. They do not share a common ancestor, but they do not have any conflicting files.15:54
romank joined15:54
mstenta If I have A checked out, and B and C as local branches, and run "git merge A" - it works to merge A.15:55
And likewise, "git merge B" works to merge B15:55
MineCoins joined15:55
mstenta (oops, meant to say "merge B" and "merge C" in those last two...)15:55
govg joined15:56
mstenta But, if I try to merge B and C in the same commit, it fails ("git merge B C"): "Unable to find common commit with B"15:56
thebope joined15:56
mstenta Why would that be?15:56
None of them have common ancestor commits.15:57
dendazen left15:57
mstenta So why would the merge work when it is just merging a single branch, but not when it's merging multiple branches?15:57
mischat left15:57
canton7 they are different merge algorithms15:57
Snugglebash left15:57
IRQ` left15:58
maarhart joined15:58
canton7 the octopus merge (which can merge multiple heads in one commit) isn't as advanced (since it's very rarely used), and presumably can't handle the case of having no common history15:58
raspado joined15:58
romank left15:59
mstenta canton7: ah ok... so it's just a current limitation of the octopus strategy, i see16:00
a feature request is in order?16:00
raspado_ joined16:01
canton7 current and future most likely :P I'm not following the mailing list these days, but I'd be very surprised if there was any motivation to add support for this to octopus merge16:01
raspado left16:03
raspado_ left16:04
mischat joined16:04
royho joined16:05
royho left16:05
mel00010 joined16:06
maarhart left16:06
lordjancso left16:07
orbyt_ joined16:09
jab416171 left16:10
hobodave joined16:10
gargola joined16:11
zuck05 left16:12
d^sh left16:15
wandering_vagran left16:16
fakenerd joined16:17
cstratak joined16:17
GT4066 joined16:18
Cabanossi left16:19
wandering_vagran joined16:19
jab416171 joined16:19
kfoonamalik joined16:20
cdg joined16:20
rorro left16:20
d^sh joined16:21
Cabanossi joined16:21
QwertyDragon joined16:21
QwertyDragonGuest4820416:22
d^sh left16:22
Guest48204 left16:22
mattcen left16:23
Naan left16:23
d^sh joined16:23
QwertyDragon_ joined16:24
QwertyDragon_ left16:24
synthroid joined16:24
webdev007 joined16:24
sbasso joined16:25
QwertyDragon_ joined16:25
mischat left16:25
mattcen joined16:25
Muzer left16:28
awc737 joined16:29
kelvah left16:30
mikecmpbll left16:30
Chuguniy left16:30
LionsMane left16:32
cev left16:33
kvaz joined16:33
a_thakur left16:33
D630 left16:34
kurkale6ka left16:35
rorro joined16:36
nitric joined16:37
wandering_vagran left16:38
winfli left16:38
winfli joined16:39
robnester left16:39
robnester joined16:40
fission6 i have not pushed upstream, how do i add a file to a commit which is the second to last commit i made16:40
kind of like --amend but for a commit thats a pinch further back16:40
tvm joined16:40
chichou left16:41
canton7 fission6, 'git commit --fixup commit_to_add_to', followed by 'git rebase -i --autosquash commit_to_add_to^' (that ^ is deliberate)16:42
if you've got some config set up (I forget whether it's set up by default, you can skip the --autosquash)16:42
tvm hi guys, i've been struggling with this: http://imgur.com/a/1BMHw - the problem is quite obvious from the screenshot. The repo is mounted over SMB (not ideal, i know), but *why* git on the Windows box sees the file as if it has changed permissions ?16:42
sbasso left16:43
fission6 canton7 wow way to complex, im just gonna add in a new commit16:43
sbasso joined16:43
Eugene tvm - Windows git is not good with permissions. `git config core.fileMode false` will make it ignore them16:43
MineCoins left16:43
canton7 fission6, yeah you add it to a new commit, then you rewrite history to combine that new commit with the one you want to modify16:43
Eugene tvm - git stores the UNIX execute bit(+x); Windows/NTFS has no direct equivalent, so yeah.... its dumb16:43
canton7 if you want to you can skip the --fixup and --autosquash, and set up the fixup in the rebase -i editor window that comes up16:44
tvm Eugene, thanks! I'll try.16:44
Eugene tvm - also, I do not recommend using a repo over SMB. I have seen Samba locking behaviour "eat" a .git repository first-hand, its pretty annoying16:45
tvm Eugene, yeah, i've noticed that it's quirky :/16:45
svm_invictvs joined16:45
tvm but I wasn't able to come up with better solution16:45
it's windows host with vbox linux guest16:46
Eugene "just make another clone" usually works ;-)16:46
You can use push/fetch(over SSH) to move things between windows and linux just fine16:46
tvm well, the guest also runs apache/postgres and what not and i use it for testing as i go and before i commit16:47
core.filemode solved this though16:47
Eugene Or, and I am assuming that you are using Windows for an editor, you can just not run `git` from the Windows side.16:47
awc737 left16:48
tvm yeah, that's also another option16:48
sbasso left16:48
tvm but as it is now, it's good enough16:48
Eugene !next16:48
gitinfo Another satisfied customer. NEXT!16:48
acetakwas left16:48
ac3takwas joined16:48
acetakwas joined16:49
tvm :D16:49
awc737 joined16:49
MineCoins joined16:49
nanga left16:50
nanga joined16:50
peepsalot left16:50
Stumbler joined16:50
scoobert1on joined16:50
armyriad left16:50
bernd27 joined16:50
storrgie left16:51
enckse left16:51
awc737 left16:51
sbasso joined16:52
TheFuzzball left16:52
enckse joined16:52
jackrandom left16:53
armyriad joined16:53
TbobbyZ_ joined16:53
storrgie joined16:53
scoobertron left16:55
pxs joined16:56
NeXTSUN left16:56
acetakwas left16:56
ac3takwas left16:56
TbobbyZ left16:57
FuzzyWuzzyPanda joined16:57
tedwing joined16:58
acetakwas joined16:58
TbobbyZ_ left16:58
peacememories joined17:00
Muzer joined17:00
mischat joined17:00
mischat left17:00
tedwing left17:01
crose left17:01
duderonomy joined17:01
raspado joined17:02
kaldoran left17:02
lafleurdubien joined17:03
grayjoc left17:03
sim590 left17:03
sim590 joined17:03
thiago joined17:03
kaldoran joined17:05
lindenle joined17:05
TbobbyZ joined17:07
cdg left17:07
Silenced left17:08
lindenle left17:09
lindenle joined17:09
perrier-jouet joined17:09
cdg joined17:10
PMunch joined17:11
rchavik left17:12
cdown left17:13
sq-one left17:14
Kartagis left17:15
cdown joined17:15
reynierp left17:16
jnavila left17:16
prg3 left17:16
PMunch Hi, I contributed a pull request to a GitHub repository and when I wanted to contribute with another one I managed to mess up. I created a new branch (but forgot to switch to it), I then fetched that branch to be up to date with the current devel branch and made my changes. I then added the file and pushed to GitHub. This obviously meant that my old pull request now has changes that doesn't belong there. How can I go back to the old commit for that branch so I17:17
can do that properly?17:17
FuzzyWuzzyPanda left17:17
NeXTSUN joined17:17
Eugene PMunch - !fixup is a great place to start with this type of question17:17
gitinfo PMunch: So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history!17:17
Eugene PMunch - the easiest thing to do is to close the existing PR on Github; leave a comment that you will open a new one so it isn't too embarassing.17:18
navidr left17:18
PMunch Yeah I thought about that, but that would leave all the comments with the old PR..17:19
Eugene Fix up your branches(you may need to push -f; be careful not to lose any work), push, and start over17:19
govg left17:19
Eugene That's OK, people are pretty smart. Just reference the old PR # in the description of the new one. They'll either figure it out, or you will get banninated from the community and in that case you probably don't want to contribute anyway ;-)17:20
Cabanossi left17:20
synthroid left17:20
Eugene It will be less confusing than if you try to push over a bad PR17:20
Kaisyu left17:20
PMunch Haha, fair point17:20
steeze joined17:20
steeze is it possible to cherry pick a list of commits from another branch, but based on the output of a command?17:21
Cabanossi joined17:21
steeze not using the cherry pick range functionality, but im thinking i could write a script to loop over hashes from a filtered git log17:21
al-damiri joined17:21
Eugene Sure, cherry-pick doesn't care how/where the commits you feed it come from.17:22
YuGiOhJCJ left17:22
PMunch Aah, thanks Eugene the link you provided helped :)17:22
_ADN_ left17:23
govg joined17:23
Eugene steeze - you probably want to use a plumbing command like `git rev-list` instead of log(which is intended for humans)17:23
steeze ah thanks for that! yeah i was about to use awk haha17:24
LeBlaaan_ joined17:24
steeze so i was using this command `git log --first-parent --no-merges` but not sure how to do the same thing with rev-list17:24
im basically wanted all commits that were only to that branch and weren't merges17:25
Eugene Yeah, that's a recipe for pain heh. Also see the custom formats section in man git-log; you can have it spit out what you need instead of awk-ing it17:25
gitinfo the git-log manpage is available at https://gitirc.eu/git-log.html17:25
steeze awsome, thanks for the resources!17:25
LeBlaaanc left17:25
winfli left17:26
perrier-jouet left17:26
perrier-jouet joined17:27
EDAKIRI left17:31
Aeterne joined17:31
EDAKIRI joined17:31
EDAKIRI left17:32
EDAKIRI joined17:32
Pseudocrat joined17:33
Pseudocrat left17:33
Pseudocrat joined17:33
gopar joined17:34
thiago left17:35
j08nY left17:36
peacememories left17:36
d^sh left17:37
FuzzyWuzzyPanda joined17:37
synthroid joined17:37
walafa left17:39
j08nY joined17:39
NeXTSUN left17:40
mischat joined17:43
crose joined17:44
d^sh joined17:46
pbandark left17:47
RBoreal_Frippery left17:47
strugee left17:47
mischat left17:47
joshszep joined17:48
jaziz joined17:49
jnavila joined17:49
NeXTSUN joined17:51
NeXTSUN left17:51
kvaz left17:51
strugee joined17:52
_ng left17:54
orbyt_ left17:56
itseris left17:56
itseris joined17:58
thebope left17:58
prokbird joined17:58
orbyt_ joined18:00
orbyt_ left18:01
steeze is it possible to cherry-pick and _always_ pick the new commit on merge conflicts?18:01
thebope joined18:01
prg3 joined18:02
diogenese left18:02
EDAKIRI left18:04
jnavila left18:04
Sasazuka joined18:05
NotreDev joined18:06
steeze i guess this is a bash question now, but i would think this would work `${ output of command to grab hashes i want to merge} | xargs -n 1 git cherry-pick --strategy=recurisve -X theirs $1`18:07
Pseudocrat left18:09
cdown left18:09
crankslider left18:09
orbyt_ joined18:10
prg3 left18:13
jaziz left18:15
orbyt_ left18:17
mstenta left18:17
Bock left18:18
Cabanossi left18:19
jagob left18:19
orbyt_ joined18:19
diogenese joined18:20
orbyt_ left18:20
achadwick left18:20
Cabanossi joined18:21
fu-fu joined18:22
fu-fu Grettings, I have found some fun!18:22
orbyt_ joined18:23
TbobbyZ_ joined18:23
orbyt_ left18:23
Dougie187 joined18:23
crose left18:24
Emperor_Earth left18:24
fu-fu So, there's a branch of a project that... seems to have just started off by copying all the files, without actually making a git branch/reference... and I'm trying to re-attach it.18:24
Tobbi joined18:24
rmesta joined18:26
TbobbyZ left18:26
sbasso left18:26
fu-fu aand suddenly interrupted, be back later.18:27
fu-fu left18:27
sbasso joined18:27
TbobbyZ_ left18:28
jstein left18:28
FuzzyWuzzyPanda left18:28
Acerific joined18:29
Acerific left18:29
Acerific joined18:29
cdg left18:30
brent__ left18:30
FuzzyWuzzyPanda joined18:30
orbyt_ joined18:31
zzz joined18:31
zzz left18:31
sbasso left18:32
TbobbyZ joined18:32
Tobbi left18:34
peepsalot joined18:34
Achylles joined18:37
marcogmonteiro left18:40
RBoreal_Frippery joined18:40
cis_admin joined18:43
relipse joined18:45
relipse I merged a branch foo into develop and pushed, is there a way to undo my merge?18:45
oprypin relipse, with the usual warnings about force pushing...18:46
find the commit id of what the `develop` branch used to be at before the merge18:46
arecaceae left18:47
arecaceae joined18:47
oprypin git checkout develop && git reset --hard $THAT_COMMIT && git push --force-with-lease18:47
relipse That assumes no more have been committed after that18:47
oprypin yeah18:48
relipse Ok let me check18:48
thanks18:48
sbasso joined18:48
ferr left18:49
overlord_tm joined18:50
ZyX-I left18:52
PMunch left18:52
pakus joined18:52
pakus Hiya! I need help with my git repository. I've lost a file between two merges and I want to recover it. Can you help me?18:54
rmesta left18:54
regedit joined18:54
blr left18:57
watersoul left18:57
gitinfo set mode: +v18:57
pakus Hiya! I need help with my git repository. I've lost a file between two merges and I want to recover it. Can you help me?18:57
watersoul joined18:58
cookra left18:58
acetakwas left18:58
rivarun left18:58
Atm0spher1c joined18:58
rivarun joined18:58
orbyt_ left19:00
pakus Can anyone help me with a file disappeared bw merges?19:00
jnavila joined19:01
TinkerTyper_ left19:01
TinkerTyper joined19:02
sgen left19:02
TheWild joined19:02
TheWild hello19:03
I think I messed something up. git rev-list --all --parents... was that right command?19:03
in one repo this work. In another displays usage instead of bunch of hashes.19:04
gnarf joined19:05
bodie_ joined19:05
brent__ joined19:05
ExeciN left19:05
tymczenko joined19:06
misosoup joined19:07
Acerific left19:07
jnavila left19:10
iatkotep left19:10
miklcct left19:10
SkyPatrol_ left19:11
Hello71 !undo19:12
gitinfo [!fixup] So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history!19:12
SkyPatrol joined19:12
pakus !fixup_hints19:12
gitinfo Hints for fixing commits are: (1) NOT PUSHED/PUBLISHED: `git rebase -i $COMMIT^` or perhaps `git commit --amend` (or `git reset HEAD^`). (2) OTHERWISE, `git revert $COMMIT` to make a reverse commit. (3) If you have pushed and MUST remove it, use rebase or filter-branch and type !rewrite in IRC to learn about the implications.19:12
iatkotep joined19:13
pakus left19:13
mikecmpbll joined19:14
TheWild experiment: I did `git init`, then `git fetch https://the-remote/repo.git`. Succeded but right now I don't have an access to remote repository.19:14
`branch -v` doesn't list anything19:14
Is there a way to bring this repository to usable state?19:15
Snugglebash joined19:15
bluepixel left19:15
grawity `git fetch <url>` doesn't create any refs other than FETCH_HEAD19:16
kadoban TheWild: Typically you add that repository as a remote and then fetch. Then you checkout whichever branches/commits you want.19:16
grawity so normally you `git remote add <name> <url>` instead, and fetch that19:16
TheWild hmm... say I don't know the branches' names.19:17
kadoban If you just 'git remote add origin <theurl> && git checkout master' that'd usually give you pretty much what clone does19:17
TheWild git branch -v isn't helping19:17
kadoban TheWild: Once you add the remote and fetch normally it'll help19:17
grawity it isn't because you didn't tell it to download the branch names19:17
kadoban Actually it might be 'git remote -a', or maybe both work, I don't remember offhand.19:17
jrahmy joined19:17
kadoban 'git branch -a', sorry.19:17
strugee left19:20
Cavallari joined19:22
ansimation left19:24
dviola joined19:24
cdown joined19:25
strugee joined19:25
TheWild `git branch -a` didn't show anything.19:27
The .git directory is 15 MB big, so there must be something!19:27
grawity well yes, there is19:28
kadoban TheWild: Did you add the remote and then fetch?19:28
TheWild Nooo. Okay, I'm doing it ;)19:28
grawity tbh I really don't enjoy repeating myself19:28
nicexe joined19:32
MacWinner left19:32
ttoocs joined19:33
ttoocs Aaand back.19:33
DaGoaty joined19:33
TheWild `git fetch <url>` didn't work. `git remote add origin <url>; git fetch` worked. What the...?19:34
grawity 22:16 (grawity) `git fetch <url>` doesn't create any refs other than FETCH_HEAD19:35
ttoocs So, I have a branch of a project, where the git history is missing, and (at some point) starts occuring again.. but without any prior referances to the main branch. (I have no idea where this branch initally took off from the main project either)19:35
kadoban TheWild: There's typically no reason to do 'git fetch <url>', at least in usual workflows.19:35
TheWild well, I was doing `git pull <url>`, `git push <url>` so I thought `git fetch` and `git fetch <url>` won't be much different.19:36
ttoocs What I did in a vain help it'd just magically work: Put the `branch` into a new git branch. But this seems to indicate it's not the same, as git diff master <file> shows every line as beeing different, while quite a few of them are identical.19:37
GT4066 left19:37
TheWild works. grawity, kadoban. Thank you very much.19:37
PCatinean left19:37
ttoocs So, is there a nice way to re-intigrate the orphan branch?19:38
dave0x6d left19:38
ePirat left19:40
zzz joined19:41
ShapeShifter499 joined19:41
cdown left19:42
ZyX-I joined19:42
zzz left19:42
ePirat joined19:42
xaa joined19:43
sbasso left19:43
sbasso joined19:44
danemacmillan left19:44
dodobrain hi all, can i do an interactive merge?19:45
mbrevda joined19:45
dodobrain like i do `git rebase -i`, i want to be able to drop certain commits19:45
Sound left19:46
deadserf joined19:46
zzz joined19:46
grawity nope19:47
either you merge the entire history, or none of it19:47
cis_admin left19:47
zzz left19:47
grawity ttoocs: use `git replace --graft` to link the new branch's first commit to the old branch's last commit19:47
dsdeiz joined19:48
dsdeiz left19:48
dsdeiz joined19:48
dodobrain umm, the reason i asked is because there are merge conflicts because some devs went crazy and cherry picked the commits in one branch onto the other one!19:48
sbasso left19:49
dodobrain so merge is guaranteed to create conflicts (on many many commits) now and those 2 branches should really be merged19:49
kadoban cherry-picks don't typically cause that many conflicts that I've experienced19:49
mfilipe joined19:51
mfilipe do you know if it's possible to fetch branch of a remote git repo using directly git-fetch?19:52
or do I have to git clone, git fetch and git checkout?19:52
HoierM_ left19:52
grawity git fetch <url> <remotebranch>:<localbranch>19:52
dsdeiz left19:53
grawity or `git remote add ...`19:53
zivester left19:53
grawity generally this is a "but why are you asking this" sort of question19:53
kadoban Generally you'd just add a remote and the fetch, because usually you're going to end up wanting either the same remote branch multiple times or multiple remote branches. But yes that does work.19:54
uidzer0 left19:55
phinxy joined19:55
phinxy left19:56
phinxy joined19:56
uidzer0 joined19:56
Antimachine joined19:56
ttoocs grawity: But I don't know where it brached off, there's no real "old branch", just at somepoint someone copyd all the files and made a new git of it, (probably after changes)19:57
danemacmillan joined19:57
grawity nearly the same, just fetch it into the old repo (or the other way around)19:58
and now you have a repo with two branches to be linked19:58
deadserf left19:59
MattMaker joined19:59
thebope__ joined19:59
ExoUNX left20:00
thebope left20:00
orbyt_ joined20:01
dodobrain ummm, do tools like gitk or simply `git log --oneline --all` have a facility to display only 2 branches ?20:02
caper left20:02
grawity git log --oneline branch1 branch220:02
dodobrain oh cool, that is exactly what i want!20:03
grawity yes, that --all actually meant "display all branches"...20:03
pxs left20:03
grawity you'll probably want --graph or gitk/tig with more than 1 branch though20:03
dodobrain yes, i know about all being all branches, didnt know you can specify branches separately20:03
thanks20:03
Acerific joined20:04
ShapeShifter499 left20:05
smurfendrek123_ left20:07
prg3 joined20:08
kpease joined20:11
cdg joined20:15
smurfendrek123 joined20:16
fahadash left20:16
cdg left20:17
cdg joined20:17
Snugglebash left20:17
jstein_ joined20:17
prg3 left20:19
ttoocs So, I did this, and I'm trying to understand what the result was...... I'm a little lost.20:19
jstein_jstein20:20
shinnya joined20:20
schleppel left20:22
JanC_ joined20:22
JanC left20:23
JanC_JanC20:23
thiago joined20:24
jstein left20:25
Tobbi joined20:26
prg3 joined20:28
LocusAsaf joined20:31
ttoocs Yeah, i'm confused.20:31
BSAlb left20:31
LocusAsaf I'm getting an non-fast-forward error when executing `git fetch origin refs/heads/mybranch:refs/heads/mybranch` , can anyone explain why or how to fix it?20:32
f3r70rr35f joined20:32
LocusAsaf I read online that you can possible override the error with a --force to the fetch but I don't know the implications there20:32
digidog left20:33
f3r70rr35f left20:33
f3r70rr35f joined20:34
kadoban LocusAsaf: That's not a very usual command, why are you doing that?20:34
LocusAsaf kadoban: sure let me explain20:35
for our development process we have special branches QA, DEV that represent the code deployed on particular servers20:35
during our CI process (gitlab) the tests are run against one or the other particular environment. So for feature branches I created a script to determine which of these environments you are branched from20:37
f3r70rr35f left20:37
ttoocs from what understand of git graft, I'm just putting their historys togeather in some weird way.... (without changing the files somehow, isdk.).. I'm trying to merge these two weird branches tho.20:38
LocusAsaf the method to do so is to do `git merge-base feature QA`, `get merge-base feature DEV` and then I walk down `git rev-list HEAD` until I hit a SHA that matches the merge-base20:38
in order for the merge-base to work git has to know about the branches specified20:39
I came in here a week ago to figure out what git command I could use to let it "know" them20:39
I ended up with `git fetch origin refs/heads/mybranch:refs/heads/mybranch` on the recommendation of someone in the channel here20:40
prg3 left20:40
LocusAsaf kadoban: make sense now?20:40
ttoocs So I guess, is there a nice way to merge a branch that was created by just stealing all the files, doing some stuff, at some point re-intigrating git, and kept doing stuff... back into the master branch?20:40
kadoban LocusAsaf: brb in a couple and I'll read if nobody else helps first20:40
LocusAsaf okay thanks20:41
f3r70rr35f joined20:41
shinnya left20:41
Snugglebash joined20:41
Stumbler left20:41
LocusAsaf from what I'm reading about git fetch --force in the documentation it says `When git fetch is used with <rbranch>:<lbranch> refspec, it refuses to update the local branch <lbranch> unless the remote branch <rbranch> it fetches is a descendant of <lbranch>`20:41
f3r70rr35f left20:41
LocusAsaf the command I'm executing is such that <rbranch> & <lbranch> are the same branch so I'm not sure why it stopped working all of a sudden20:42
it feels like the force would be okay but I want to be sure20:42
mmercer joined20:43
mmercer lo folks; when referring to origin/master and origin/dev, isnt the refhead always refs/heads/master and refs/heads/dev where dev and master are the respective branches on the origin ?20:43
or is it refs/heads/origin/{dev,master}20:43
synthroid left20:44
prg3 joined20:45
mmercer nvm, found the answer20:45
ttoocs Alt: Is there a good way to find out where a bunch of copy'd files originate from in the git?20:46
dviola left20:46
ttoocs AltAlt: Can I check git for a particular version of a file?20:48
miczac joined20:49
gitinfo set mode: +v20:49
FuzzyWuzzyPandaBishop_Bautista20:50
SkyPatrol left20:52
ecuanaso joined20:53
SkyPatrol joined20:53
d10n-work left20:53
HardlySeen left20:53
Pseudocrat joined20:55
Pseudocrat left20:56
Pseudocrat joined20:56
indonesia joined20:56
indonesia left20:58
Naan joined20:58
aidalgol joined20:58
mmercer left20:58
NeXTSUN joined20:59
btree left20:59
Tobbi left20:59
sbasso joined21:00
FBIWarning joined21:03
brent__ left21:03
LeBlaaan_ left21:03
Antimachine left21:05
FBIWarning left21:06
LocusAsaf kadoban: what do you think?21:06
NeXTSUN left21:06
beerdrop left21:07
TheWild left21:07
plasticle left21:08
Sound joined21:09
NeXTSUN joined21:09
freimatz left21:10
misosoup left21:14
ayogi joined21:14
mykespb joined21:17
Orion3k left21:18
beerdrop joined21:19
cstratak left21:21
_ng joined21:25
madewokherd left21:26
Bishop_Bautista left21:26
_ADN_ joined21:27
thiago left21:28
mizu_no_oto joined21:29
ecuanaso left21:29
strugee left21:30
tvw joined21:30
RBoreal_Frippery left21:30
ilyaigpetrov left21:30
blr joined21:33
Gustavo6046 left21:33
strugee joined21:34
askb left21:35
ecuanaso joined21:35
ttoocs left21:36
brent__ joined21:36
orbyt_ left21:36
dglambert left21:37
jost left21:37
dsdeiz joined21:37
Cavallari left21:38
hobodave left21:39
dave0x6d joined21:39
steeze im having an issue where i try to checkout a different branch but it says i cannot because local changes would be overwrriten, but git status shows nothing21:41
i had done --skip-worktree on it though. i possibly did that after i had changed the file. is it because it was tracked but then i did skip worktree?21:42
(doing --no-skip-tree and manually reversing my edits to bring it back to same as remote worked, but curious what caused this to happen)21:43
HoierM_ joined21:44
mizu_no_oto left21:45
strugee left21:46
chachasmooth left21:46
chachasmooth joined21:48
Quetzal left21:48
Cabanossi left21:48
Gustavo6046 joined21:50
m0viefreak joined21:51
Cabanossi joined21:51
Snugglebash left21:52
strugee joined21:52
_ng left21:56
askb joined21:57
Gustavo6046_ joined21:57
bernd27 left21:58
Gustavo6046 left21:58
RBoreal_Frippery joined21:59
Dougie187 left21:59
Tobbi joined22:01
xaa left22:01
relipse left22:01
thebope__ left22:02
Gustavo6046_Gustavo604622:02
Cassiopaya joined22:02
jstein_ joined22:03
dabukalam joined22:04
geojunkieSCI left22:05
jstein_jstein22:06
bvcosta joined22:06
kyan joined22:07
geojunkieSCI joined22:07
jstein Hi, I defined a [User] in ~/.gitconfig and have a repository in /usr/local/foo where I defined a [User] section with a different mail address. When I go in to the folder /usr/local/foo and type git config -l22:08
I get a list including *both* [User] definitions, but I expect, that the local definition overwrites that in my home folder. Did I miss a point?22:08
therealGent joined22:08
yqt left22:09
orbyt_ joined22:10
ecuanaso left22:11
raspado left22:11
bluepixel joined22:11
fission6 left22:12
tvw left22:12
Achylles left22:13
therealGent left22:14
holodoc left22:14
Eugene jstein - what does `git config user.email` say?22:15
--list is "all variables set in config files"; I'm unsure that actually reflects what is used at runtime. Eg, as you describe it, you should get the correct "override" behaviour. THat's exactly how its supposed to work ;-)22:16
thebope joined22:17
gargola left22:18
holodoc joined22:18
m4sk1n left22:18
jstein git config user.email shows the correct mail. Thank you. I understand not the --list has to be read top down and the last variable wins.22:19
cis_admin joined22:19
Eugene !next22:19
gitinfo Another satisfied customer. NEXT!22:19
jstein ;-)22:19
prg3 left22:20
tvw joined22:20
alexandre9099 left22:20
alexandre9099 joined22:21
ecuanaso joined22:22
rivarunGuest8256222:25
Guest82562 left22:25
rivarun joined22:25
hagridaaron joined22:28
griffindy left22:29
QwertyDragon_ left22:30
Zialus left22:31
theoceaniscool joined22:32
Phylock left22:33
dege left22:33
Zarthus left22:35
Zarthus_Zarthus22:35
Zialus joined22:35
smurfendrek123 left22:36
nevodka joined22:37
jaziz joined22:38
sythe joined22:39
tvm left22:42
d^sh left22:43
strugee left22:44
bathtub_shark joined22:44
d^sh joined22:45
anuxivm joined22:45
tvw left22:45
strugee joined22:47
bvcosta left22:48
hagridaaron left22:49
safe joined22:50
geojunkieSCI left22:50
cis_admin left22:51
DaGoaty left22:51
DaGoaty joined22:51
cecilgol joined22:51
cdown joined22:51
bathtub_shark left22:52
DaGoaty left22:52
DaGoaty joined22:52
DaGoaty left22:52
Zarth^s joined22:52
cecilgol Hello git - ridiculous question: has anyone here used git to backup a quickbooks DB, or know of any writeups? is that a totally stupid idea?22:53
DaGoaty joined22:53
DaGoaty left22:53
Eugene cecilgol - terrible idea. QB files are !binary22:53
gitinfo cecilgol: Storing binary files in git causes repo balloon, because they do not compress/diff well. In other words, each time you change a file the repo will grow by the size of the file. See !annex for some solutions22:53
reynierpm joined22:53
DaGoaty joined22:53
Eugene Just use QB's built-in backups to an external drive or something; they default to creating dated files ;-)22:54
cecilgol Eugene: thank you!22:54
DaGoaty left22:54
tourdownunder joined22:54
revinard joined22:54
revinard left22:54
DaGoaty joined22:54
DaGoaty left22:55
DaGoaty joined22:55
DaGoaty left22:56
Zarth^s left22:56
anuxivm left22:56
bathtub_shark joined22:57
finalbeta left23:04
Cabanossi left23:05
caper joined23:05
kpease left23:06
Cabanossi joined23:06
CDanU joined23:07
CDanU I know that I can decide which hunks I can stage with git add -p, is it possible to pre filter this process? I want to decide about hunks that have a certain word in them.23:09
mel00010 left23:09
ecuanaso left23:10
menip joined23:10
cbreak you can filter them on a file by file basis23:12
tristanp left23:13
TbobbyZ_ joined23:13
MacWinner joined23:13
thebope left23:13
prokbird left23:14
thebope joined23:14
sbasso left23:14
sbasso joined23:15
TbobbyZ_ left23:16
TbobbyZ_ joined23:16
TbobbyZ left23:16
peepsalot left23:17
Acerific left23:18
thebope left23:18
sbasso left23:19
nevodka left23:19
miklcct joined23:20
Orion3k joined23:20
ecuanaso joined23:20
MineCoins left23:21
jstein left23:21
AaronMT left23:21
thebope joined23:22
re1 left23:22
miczac left23:23
mikecmpbll left23:23
steeze left23:26
RBoreal_Frippery left23:28
strugee left23:28
CussBot left23:30
Tobbi left23:30
theoceaniscool left23:30
CussBot joined23:31
cdg left23:32
strugee joined23:34
ToBeCloud joined23:35
gitinfo set mode: +v23:35
Noodlewitt joined23:37
mykespb left23:38
ertes joined23:40
cam27 left23:40
overlord_tm left23:40
Random832 left23:41
cdown left23:41
TbobbyZ_ left23:42
m0viefreak left23:42
fu-fu joined23:42
m0viefreak joined23:42
TbobbyZ joined23:42
fu-fu Hello, I'm aware of git log -S"foobar", but I'm wondering is there a nice way of making the foodbar be an entire file?23:43
jt joined23:43
jeffreylevesque joined23:43
ahrs left23:44
borkr left23:45
ahrs joined23:45
duderonomy left23:47
thebope__ joined23:47
thebope left23:48
livingstn left23:48
mel00010 joined23:48
TbobbyZ left23:49
livingstn joined23:49
tymczenko left23:49
peepsalot joined23:54
m0viefreak left23:54
Hello71 left23:54
nidr0x joined23:56
Sound left23:57
bruce_lee left23:59

Logs Search ←Prev date Next date→ Channels Documentation