IRCloggy #git 2016-12-19

Logs Search ←Prev date Next date→ Channels Documentation

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

2016-12-19

WhiskerBiscuit joined00:00
inflames joined00:01
theoceaniscool left00:01
rorro left00:03
buffal0 joined00:03
tobiasBora joined00:03
sylario left00:03
Nilesh_ left00:04
dsdeiz joined00:04
howitdo left00:05
WhiskerBiscuit left00:05
WhiskerBiscuit joined00:06
rangergord joined00:07
venmx left00:07
mario_ joined00:09
venmx joined00:09
diogenese left00:09
howitdo joined00:10
bdeferme left00:11
jaguarmagenta joined00:12
cagedwisdom left00:15
venmx left00:17
mischat joined00:17
inflames left00:18
kazantip left00:20
diogenese joined00:21
Limes left00:21
Goplat joined00:22
mischat left00:22
arescorpio joined00:22
nikivi left00:23
Vampire0_ left00:25
overlord_tm left00:25
buffal0 left00:25
buffal0 joined00:26
cagedwisdom joined00:28
Poppa left00:28
Singmyr left00:30
mikecmpbll left00:30
Gsham joined00:31
Shentino joined00:32
hahuang61 joined00:32
romerocesar_ joined00:32
invisbl joined00:33
netj left00:34
romerocesar left00:34
netj joined00:34
Vampire0_ joined00:34
bronson joined00:35
romerocesar_ left00:35
garethdaine left00:36
invisbl left00:36
buffal0 left00:36
ochorocho__ left00:37
hahuang61 left00:37
buffal0 joined00:37
bronson left00:40
buffal0 left00:42
CheckDavid left00:42
romerocesar joined00:43
particleGolem joined00:43
WhiskerBiscuit left00:46
WhiskerBiscuit joined00:47
tobiasBora left00:48
tobiasBora joined00:50
jaguarmagenta left00:51
Sample joined00:51
jaguarmagenta joined00:52
gentoo joined00:53
Darren_ joined00:53
cdown left00:55
cdown joined00:55
cdown left00:56
King_Hual left00:56
_jan left00:57
netj left00:59
netj joined01:00
_28_ria left01:01
_28_ria joined01:03
_28_ria left01:04
re1 left01:05
_28_ria joined01:05
tobiasBora left01:07
dodobrain joined01:09
buffal0 joined01:10
romerocesar left01:10
romerocesar joined01:10
Gsham left01:12
cdown joined01:13
venmx joined01:13
rchavik joined01:15
ReptilianBrain left01:15
romerocesar left01:16
mischat joined01:18
realz joined01:18
venmx left01:19
Noodlewitt joined01:19
romerocesar joined01:20
Sample left01:21
cdown left01:21
Spec-Chum left01:23
tobiasBora joined01:23
mischat left01:23
menip joined01:24
FederationOfNULL joined01:24
[0xAA] left01:24
paraparity left01:26
oskarkv left01:26
nwkj86 left01:27
BenderRodriguez left01:28
BenderRodriguez joined01:28
whitby joined01:29
Gsham joined01:30
BenderRodriguez left01:33
hahuang61 joined01:33
BenderRodriguez joined01:33
shgysk8zer0 joined01:34
cdown joined01:34
hahuang61 left01:38
oskarkv joined01:38
Gsham left01:39
ShapeShifter499 left01:42
ShapeShifter499 joined01:43
boombatower joined01:43
cdown left01:43
dreiss left01:44
JJMcPhearson joined01:44
bill99 left01:45
rangergord left01:49
rangergord joined01:50
dsdeiz left01:51
invisbl joined01:54
Poppa joined01:54
Siegfried left01:57
cdg joined01:57
Poppa left01:59
somaReve1 joined02:00
somaReve1 hi, how can I git pull <remote branch> <local branch> ?02:01
invisbl left02:01
preaction somaReve1: git pull <remote> <remote branch>:<local branch>02:03
LordRyan somaReve1: git checkout local-branch; git fetch origin; git merge origin/remote-branch02:03
or if ^^ works that's fine too i guess02:04
cqi joined02:06
buffal0 left02:07
kyan left02:08
Darren_ left02:08
gentoo left02:09
d^sh left02:09
gentoo joined02:09
gentoo left02:09
gentoo joined02:09
gentoo left02:10
d^sh joined02:10
gentoo joined02:10
gentoo left02:10
gentoo joined02:10
gentoo left02:10
gentoo joined02:11
_28_ria left02:13
Gsham joined02:13
_28_ria joined02:14
venmx joined02:15
breezy_ left02:15
QuestionTime left02:16
mischat joined02:19
Noodlewitt left02:19
venmx left02:20
sonOfRa Can I somehow set the "pager" that is used for git add -p, via some setting like core.pager?02:23
My core pager is diff-so-fancy, and I'd like the fancy output also when staging things02:23
Vampire0 joined02:23
Gsham left02:23
mischat left02:24
paintenzero left02:25
madewokherd left02:25
Vampire0_ left02:26
sonOfRa Answered my own question, but for completeness' sake: interactive.diffFilter is the setting I was looking for02:26
madewokherd joined02:27
tmsmith left02:30
Siegfried joined02:30
tmsmith joined02:31
gentoo_ joined02:31
Gsham joined02:32
gentoo left02:33
Gsham left02:34
buffal0 joined02:34
bronson joined02:36
paws_ left02:37
storrgie left02:38
enckse left02:38
pks left02:39
paraparity joined02:39
bronson left02:41
pks joined02:41
enckse joined02:41
storrgie joined02:42
buffal0 left02:43
ilbot3 left02:45
dodobrain left02:47
ilbot3 joined02:48
safe joined02:53
dodobrain joined02:54
_ng left02:54
gentoo_ left02:55
gentoo_ joined02:55
rangergord left02:57
gentoo_ left02:57
dodobrain left02:58
Pulp left02:58
Shakeel__ joined02:59
somaReve1 preaction: hmm, i did 'git pull origin master:master'. It also merged to my current branch.02:59
bruce_lee left02:59
bruce_lee joined03:00
xall joined03:00
Shakeel_ left03:00
krillr left03:00
codebam left03:00
Klumben left03:00
preaction okay, well, the docs on my version say that works03:00
krillr_ joined03:00
hussam left03:01
hussam joined03:01
rafalcpp_ joined03:01
averell left03:02
rafalcpp left03:02
CussBot_ joined03:03
CussBot left03:03
CussBot_CussBot03:03
salamanderrake left03:03
ochorocho__ joined03:03
samwise[m]1 joined03:04
salamanderrake joined03:04
moop_ joined03:04
JrCs left03:04
Peng_ left03:04
moop left03:05
samwise[m] left03:05
elmcrest left03:05
dpower left03:05
moop_moop03:05
storrgie left03:05
storrgie_ joined03:05
ShapeShifter499 left03:05
xall left03:05
shauna left03:06
storrgie_storrgie03:06
M64137[m] left03:06
JrCs joined03:06
M64137[m] joined03:06
dpower joined03:06
tmsmith left03:06
shauna joined03:07
codebam joined03:07
Klumben joined03:07
aw1 left03:07
habbasi left03:07
Bigcheese left03:07
JelmerD left03:07
rchavik left03:07
Xarodon left03:07
ixian8 left03:07
Potatoes joined03:07
Bigcheese_ joined03:07
quizzi left03:07
Peng_ joined03:07
ochorocho__ left03:07
texasmynsted left03:08
cyphase left03:08
cyphase joined03:08
JelmerD joined03:08
afuentes left03:08
Afforess left03:08
cspotcode left03:08
aavrug joined03:09
rchavik joined03:09
texasmynsted joined03:09
quizzi joined03:09
Xarodon joined03:10
ws2k3 left03:10
zeller left03:10
afuentes joined03:10
nilsi left03:10
tmsmith joined03:11
nilsi joined03:11
nixdork left03:12
ws2k3 joined03:12
def_jameb0t03:12
Afforess joined03:12
ixian joined03:13
Noodlewitt joined03:13
nixdork joined03:13
cdg left03:14
chachasmooth left03:14
invisbl joined03:15
netj left03:15
netj joined03:15
chachasmooth joined03:16
venmx joined03:16
mostlybadfly left03:16
mostlybadfly joined03:16
axisys left03:16
axisys joined03:17
invisbl left03:17
lolmac_ joined03:18
lolmac left03:18
BlessJah left03:19
BlessJah joined03:19
mtso[m] left03:19
aw1 joined03:19
mtso[m] joined03:19
mischat joined03:20
ulkesh_ left03:21
VladGh left03:21
VladGh_ joined03:21
venmx left03:21
tabakhase left03:22
mei[m] left03:23
ulkesh_ joined03:23
mei[m]1 joined03:23
jaafar left03:23
jaafar joined03:24
tabakhase joined03:24
fcrick left03:24
mischat left03:25
fcrick joined03:25
compeman left03:28
QualityAddict joined03:28
mrnuke left03:28
compeman joined03:29
mrnuke joined03:29
CtrlC left03:29
Gsham joined03:29
eycsigfy left03:30
JuliusN left03:31
JuliusN joined03:31
invisbl joined03:31
CtrlC joined03:32
eycsigfy joined03:33
buffal0 joined03:33
aidalgol left03:35
kyan joined03:36
invisbl left03:36
fahadash joined03:38
ResidentBiscuit joined03:38
LiMp^ left03:39
QuestionTime joined03:41
xall joined03:41
dodobrain joined03:42
ResidentBiscuit left03:42
buffal0 left03:44
hexagoxel left03:45
cdg joined03:45
hexagoxel joined03:46
Gobbert joined03:47
Gsham left03:48
HanClinto joined03:48
test joined03:50
test left03:50
QuestionTime left03:50
howdoi joined03:51
QuestionTime joined03:51
moestevens left03:52
LiMp^ joined03:54
a_thakur joined03:55
QuestionTime left03:56
dreiss joined03:56
sunri5e left03:59
sunri5e joined04:02
Bigcheese_Bigcheese04:03
anonymus_ joined04:03
anonymuse left04:04
fstd left04:04
fstd joined04:04
toothe joined04:05
toothe I have a master branch and a branch called 'policy'. There were some changes merged to master.04:06
I have some changes in the 'policy' branch, that I would like to grab the updates in master. How do I merge them in?04:06
in other words, master and policy have gone in two different directions, and I would liek to copy over the changes from master into policy.04:06
(they are not on the same files)04:06
kadoban toothe: merge master into policy? Or rebase policy on master, depending on if history of policy has been published and depending on what you want history to look like.04:07
Limes joined04:07
toothe I think its called rebasing?04:08
so, master had changes to a file called 'core/variables.py', and policy doesn't have that file. I would like to get that, along with any other changes.04:08
diogenese left04:09
kadoban Answer unchanged so far04:10
toothe https://dpaste.de/q1dw04:10
romerocesar_ joined04:10
toothe I do not fully understand how to resolve this. I get that its saying "You need to do something to this file to resolve the problem"04:11
but, I don't get how.04:11
jaguarmagenta left04:12
anonymus_ left04:12
whitby left04:13
romerocesar left04:13
Lyqyd joined04:13
Limes left04:13
jaguarmagenta joined04:13
romerocesar_ left04:13
toothe kadoban: assistance please?04:14
Vortex35 joined04:14
toothe nist/migrations/0001_initial.py: needs merge04:15
what does that mean?04:15
Vortex34 left04:16
toothe wait, I think I got it. git rm04:16
dirtyroshi left04:16
venmx joined04:17
Lyqyd left04:20
toothe okay, I screwed up my git repo04:21
I need assistance???04:21
romerocesar joined04:21
mischat joined04:21
toothe https://dpaste.de/ngii04:21
I don't get what's wrong?04:21
venmx left04:22
SwiftMatt joined04:22
FSadino joined04:22
Gobbert left04:23
FSadino left04:23
toothe I have no idea wha tjust happened.04:23
assistance?04:23
error: you need to resolve your current index first04:23
what does that mean?04:24
diogenese joined04:25
toothe I just did a rebase from a master, but now I can't seem to push either the master or the branch.04:25
Gsham joined04:25
FSadino joined04:25
mischat left04:25
Gsham left04:26
gtristan left04:26
breezy_ joined04:27
toothe wait...fixed it.04:27
that was confusing.04:27
gitinfo set mode: +v04:28
robotroll joined04:28
FSadino left04:28
FSadino joined04:28
dreiss left04:28
FSadino What I can do when git doesn't detect changes on working dir?04:29
gitinfo set mode: +v04:30
FSadino What I have to do when git doesn't detect changed files on working dir?04:31
bdonnahue left04:31
FSadino I changed some files on my working dir, the I do "git add *, but when I do " git status" it doesn't show any files to pull04:32
toothe try git add -A .04:32
cdg_ joined04:33
FSadino toothe: thanks in advance04:33
Why -A?04:33
sdothum left04:34
cdg left04:34
subhojit777 joined04:35
toothe All.04:35
man git-add, the -A means 'All'.04:35
gitinfo the git-add manpage is available at http://jk.gs/git-add.html04:35
FSadino Thanks again04:35
dsdeiz joined04:36
hahuang61 joined04:36
bronson joined04:37
QuestionTime joined04:37
brent__ left04:40
hahuang61 left04:41
toothe FSadino: did it work?04:41
bronson left04:42
FSadino I can't test it because I'm on my job. Thanks for the manual04:42
I will report later04:42
sbulage joined04:43
fstd left04:45
fstd joined04:45
AfroThundr joined04:46
AfroThundr left04:46
unbalanced left04:48
FSadino toothe: its strange because I have done always with "git add *" but now it doesn't work... Already cleaned reinitializated git repo but no efect04:48
sbulage left04:51
dreiss joined04:51
jaguarmagenta left04:53
jaguarmagenta joined04:54
SwiftMatt left04:54
dreiss left04:58
bocaneri left04:59
SwiftMatt joined04:59
FSadino left05:00
FSadino joined05:01
FSadino left05:03
elmcrest joined05:03
ochorocho__ joined05:04
alex1a left05:07
cspotcode joined05:08
dreiss joined05:08
dviola left05:08
ochorocho__ left05:09
zeller joined05:10
Noodlewitt left05:10
Sample joined05:16
dreiss left05:17
venmx joined05:18
aidalgol joined05:20
Sample left05:20
mischat joined05:22
dreiss joined05:22
cqi left05:22
venmx left05:23
tmsmith left05:24
robotroll left05:24
dsdeiz left05:24
paraparity left05:25
mand0 left05:27
mischat left05:27
dreiss left05:27
prg3 left05:28
howitdo left05:29
OwlN joined05:30
prg3 joined05:31
llamapixel I hve never used * but . so therefore git add .05:31
hahuang61 joined05:33
OwlN left05:33
arescorpio left05:34
bocaneri joined05:34
Atm0spher1c left05:35
howitdo joined05:35
invisbl joined05:36
invisbl left05:38
SwiftMatt left05:39
Cabanossi left05:40
donught joined05:41
invisbl joined05:41
Cabanossi joined05:43
invisbl left05:47
rchavik left05:47
netj left05:48
netj joined05:49
kazantip joined05:54
freimatz joined05:57
ismithers joined05:57
Khisanth left05:59
tarkus joined06:00
jaguarmagenta left06:02
gtristan joined06:03
jaguarmagenta joined06:03
WhiskerBiscuit left06:04
fahadash left06:05
ochorocho__ joined06:05
dreiss joined06:06
rscata joined06:07
z8z joined06:07
ayogi joined06:07
afuentes left06:08
ochorocho__ left06:09
lordjancso joined06:11
Khisanth joined06:12
dreiss left06:12
menip left06:13
Nilesh_ joined06:16
ToBeCloud joined06:17
gitinfo set mode: +v06:17
venmx joined06:18
overlord_tm joined06:19
cqi joined06:20
venmx left06:23
mischat joined06:24
dreiss joined06:24
Raging_Hog joined06:26
jw4242 left06:27
lightstalker left06:27
jfr joined06:27
tarkus left06:29
mischat left06:29
lightstalker joined06:30
dreiss left06:31
gtristan left06:32
tarkus joined06:32
dan2k3k4 joined06:32
tarkus left06:33
breezy_ left06:35
breezy_ joined06:36
OOPMan joined06:37
bronson joined06:38
pothepanda left06:39
freimatz left06:40
parasite_ left06:41
bronson left06:43
gtristan joined06:43
Macaveli joined06:44
Ovex joined06:45
kyan left06:45
tarkus joined06:47
qt-x joined06:50
donught left06:52
dreiss joined06:52
donught joined06:52
dreiss left06:56
ThomasLocke joined06:58
ThomasLocke left06:58
ThomasLocke joined06:58
kyan joined06:58
darkbit joined06:58
xall left07:00
dermoth left07:00
venmx joined07:00
dermoth joined07:01
boombatower left07:02
Ovex left07:03
venmx left07:05
freimatz joined07:07
dan2k3k4 left07:07
cyan__ joined07:09
vdv joined07:09
shgysk8zer0 left07:14
cdg_ left07:14
madewokherd left07:14
cdg joined07:15
cdg left07:15
hahuang61 left07:15
xall joined07:15
cdg joined07:15
[Saint] left07:17
rorro joined07:17
[Saint] joined07:19
Goplat left07:19
JeroenT joined07:20
ogny joined07:21
xall left07:22
snowkidind left07:22
cyan__ left07:23
zeroed joined07:25
mischat joined07:25
ogny left07:29
Mogget left07:30
nidr0x joined07:30
jnavila joined07:30
mischat left07:30
nidr0x left07:30
zeroed left07:32
Endarked joined07:35
Mogget joined07:36
xall joined07:37
jaafar left07:37
pks left07:37
pks joined07:38
zeroed joined07:38
zeroed left07:38
zeroed joined07:38
svm_invictvs left07:44
vdv left07:45
Sceorem joined07:46
z8z left07:48
dreiss joined07:51
a_thakur left07:51
aoilotr joined07:54
aoilotr Hello I have a question, I have to take the train and I will be offline for some hours, if I do my commits on my computer (like git add ./git commit -m "message") when I'll come back to my house will I be able to push all the commits at the same time ?07:55
invisbl joined07:58
Macaveli left07:58
osse aoilotr: yes07:59
ogny joined08:00
venmx joined08:01
Derderderd left08:01
zeroed left08:03
invisbl left08:03
NimeshNeema joined08:03
Derderderd joined08:05
elect joined08:05
aoilotr left08:05
Maktm joined08:05
theoceaniscool joined08:05
Maktm i don't understand the reasoning for this answer -- https://softwareengineering.stackexchange.com/questions/69178/what-is-the-benefit-of-gits-two-stage-commit-process-staging08:05
Jackneill joined08:05
Maktm why can't you do the same thing with other VCSs?08:06
i.e. fix it all at once and commit08:06
venmx left08:06
ochorocho__ joined08:06
_ikke_ Because they don't care enough about clean commits?08:07
Endarked left08:08
_ikke_ Because they think the process is too complicated?08:08
Who knows08:08
llamapixel Are all VCS really distrubted like GIT? no08:09
Atm0spher1c joined08:09
diogenese left08:10
ochorocho__ left08:10
iron_houzi kadoban: Sorry for popping the question and ghosting you. Thanks for the help yesterday.08:11
uu joined08:14
diogenese joined08:15
zeroed joined08:15
zeroed left08:15
zeroed joined08:15
hahuang61 joined08:17
dreiss left08:20
jknetl joined08:20
utanapischti joined08:20
hahuang61 left08:22
BadSnappa joined08:22
ToBeCloud left08:26
ogny left08:26
mischat joined08:26
mischat left08:27
mischat joined08:27
mischat left08:27
derk0pf joined08:27
a_thakur joined08:27
Singmyr joined08:28
finalbeta joined08:29
sea-gull joined08:33
Siegfried left08:35
zeroed left08:35
djb-irc left08:37
zeroed joined08:38
zeroed left08:38
zeroed joined08:38
HanClinto left08:39
bronson joined08:39
overlord_tm left08:40
inflames joined08:41
syg_ joined08:42
Maktm left08:42
bronson left08:44
PCatinean joined08:44
Balliad joined08:44
Singmyr left08:45
danslo joined08:45
Gloomy joined08:45
cyphase left08:48
darkbit left08:48
kedare joined08:49
kedare left08:49
kedare joined08:49
parasite_ joined08:51
hhee joined08:51
djb-irc joined08:52
roxlu joined08:53
cyphase joined08:53
Sample joined08:53
Singmyr joined08:53
ogny joined08:54
willlondon joined08:57
encod3 joined08:58
marcogmonteiro joined08:59
LiMp^ left09:00
jaguarmagenta left09:01
cdg left09:01
venmx joined09:02
theoceaniscool left09:02
cdg joined09:02
GavinMagnus joined09:02
chele joined09:02
_ng joined09:05
mikecmpbll joined09:06
venmx left09:06
zeroed left09:07
GavinMagnus left09:07
aidalgolDingDong09:07
ochorocho__ joined09:08
ogny left09:09
syg_ left09:09
inflames left09:09
spb left09:10
cdg left09:10
kurkale6ka joined09:11
zeroed joined09:11
zeroed left09:11
zeroed joined09:11
DingDongaidalgol09:13
subhojit777 left09:13
Nitesh left09:15
subhojit777 joined09:15
breezy_ left09:16
nilg joined09:20
a_thakur left09:22
a_thakur joined09:22
a_thakur left09:23
a_thakur joined09:23
BrianJ left09:24
spb joined09:24
spb left09:24
overlord_tm joined09:26
Sample left09:26
spb joined09:27
Sample joined09:28
mischat joined09:28
a_thakur_ joined09:30
a_thakur left09:30
clmsy joined09:32
a_thakur_ left09:33
a_thakur joined09:33
mischat left09:34
troulouliou_div2 joined09:35
ochorocho__ left09:36
freimatz left09:36
ochorocho__ joined09:36
mischat joined09:42
star_prone joined09:42
finalbeta left09:42
finalbeta joined09:43
nettoweb joined09:44
dan2k3k4 joined09:45
aw1 left09:47
rahtgaz joined09:48
ochorocho__ left09:49
ochorocho__ joined09:49
Gloomy left09:53
cdown joined09:53
onmeac joined09:53
thief joined09:58
rahtgaz left09:59
hahuang61 joined10:00
mischat left10:01
clmsy left10:02
ferr1 joined10:02
venmx joined10:02
realtime left10:03
lohfu joined10:03
howitdo left10:04
cdown left10:04
QwertyDragon joined10:06
venmx left10:07
greeny___ joined10:09
thief left10:09
howitdo joined10:11
aidalgol left10:11
a_thakur left10:12
a_thakur joined10:12
willlondon left10:13
Serpent7776 joined10:13
hahuang61 left10:13
rnsanchez joined10:14
nanga joined10:15
Sample left10:15
QwertyDragon left10:16
aw1 joined10:17
invisbl joined10:18
danslo left10:19
bouncy left10:19
CheckDavid joined10:21
realtime joined10:21
Caelum I was correcting an #include statement, and wanted to put both the erroneous and correct version in the commit message, but forgot that # starts a comment...10:22
and I already pushed it10:22
god dammit10:22
achadwick joined10:22
invisbl left10:23
bouncy joined10:27
xall left10:27
clmsy joined10:29
a_thakur left10:30
a_thakur joined10:30
zeroed left10:31
danslo joined10:32
inflames joined10:33
syg_ joined10:33
danslo left10:33
Atm0spher1c left10:34
danslo joined10:35
cagedwisdom left10:36
timothy joined10:38
zivester left10:39
derk0pf left10:39
bronson joined10:40
sylario joined10:42
YuGiOhJCJ joined10:42
_jan joined10:44
bronson left10:45
raspado joined10:50
greeny___ left10:53
rorro left10:56
tarkus left10:57
cdown joined10:59
onmeac left11:00
mikecmpb_ joined11:01
rorro joined11:01
jaguarmagenta joined11:02
mikecmpbll left11:03
venmx joined11:03
mahendratech joined11:04
Nilesh_ left11:04
safe left11:04
Gloomy joined11:05
metachr0n joined11:05
rominronin joined11:06
jaguarmagenta left11:06
cdown_ joined11:06
buffal0 joined11:07
aw1 left11:07
venmx left11:08
SwiftMatt joined11:08
cdown left11:09
cdown_cdown11:09
los joined11:09
hahuang61 joined11:09
joki- joined11:10
re1 joined11:11
buffffal00 joined11:12
bdeferme joined11:12
JeroenT left11:12
derk0pf joined11:12
re1 left11:12
JeroenT joined11:13
hahuang61 left11:14
buffal0 left11:14
Endarked joined11:16
willlondon joined11:16
JeroenT left11:17
afuentes joined11:18
_Vi left11:18
_Vi joined11:18
aw1 joined11:20
SwiftMatt left11:21
byte512 joined11:22
invisbl joined11:23
aw1 left11:23
ochorocho__ left11:24
thesha joined11:24
King_Hual joined11:25
King_Hual left11:25
King_Hual joined11:25
invisbl left11:26
Derderderd left11:27
buffal0 joined11:28
marcogmonteiro left11:28
buffffal00 left11:29
d0nn1e left11:31
invisbl joined11:31
hecliunyx joined11:31
d0nn1e joined11:32
rominronin left11:35
SwingShock joined11:36
invisbl left11:36
metachr0n left11:36
metachr0n joined11:37
freimatz joined11:39
danslo left11:41
buffal0 left11:45
thesha how do i bring back changes that i done i a file? i tried git checkout commit_id file name11:45
willlondon left11:45
_ikke_ That should do11:47
What changes do you want to bring back?11:47
orfeo joined11:47
orfeo Hello!11:47
thesha _ikke_ : i remove braces then i staged it using git add and after that i use git commit -s -v then i checked again , it was causing extra blank line so i gone to the code and remove the single blank line and save it .now i want the file as it was earlier11:48
JeroenT joined11:48
willlondon joined11:48
thesha _ikke_: ??11:50
mikecmpb_ left11:50
MrWoohoo left11:51
_ikke_ AS it was before the commit, or after the commit?11:52
thesha _ikke_: before the commit11:52
mikecmpbll joined11:52
_ikke_ git checkout HEAD~ <file>11:53
thesha _ikke_: by mistaken i have already tried git checkout commit_id, will it create a problem?11:53
g5pw left11:54
_ikke_ No11:54
marcogmonteiro joined11:55
thesha _ikke_: O wow ..i got it back. thanks a lot :) :)11:55
ronskisika joined11:55
_ikke_ np11:55
Raging_Hog left11:56
thesha _ikke_: btw what is the difference between git checkout commit_id <file> and git chekout HEAD~ <file>11:56
_ikke_ Nothing11:56
But perhaps you used the wrong commit id11:57
g5pw joined11:57
phanimahesh joined11:57
_ikke_ HEAD~ is a way to describe a commit in a relative manner11:57
while commit_id always specifies that specific commit11:57
thesha _ikke_: this HEAD~ will point to current commit?11:57
delboy1978uk joined11:58
rafalcpp_ left11:58
los left11:58
delboy1978uk how do i checkout one file from another branch into my current branch?11:58
rorro left11:58
thesha _ikke_: ??11:59
delboy1978uk ah its ok i figured it out11:59
deadnull joined11:59
Vortex35 left12:00
Singmyr left12:00
phanimah1sh left12:00
flavius left12:00
flavius joined12:00
BadSnappa left12:01
mischat joined12:01
realtime left12:02
osse thesha: previous12:04
flavius left12:04
venmx joined12:04
King_Hual left12:04
flavius joined12:04
WaReZ joined12:04
delboy1978uk is there a way of diffing an entire branch with another? or at least an entire folder?12:05
flavius left12:05
Vampire0_ joined12:05
danslo joined12:05
satifant joined12:05
ismithers1 joined12:05
thesha osse: you mean latest commit?12:05
rominronin joined12:05
willlondon left12:05
osse thesha: no12:06
thesha: HEAD is latest/current/whatever. HEAD~ is the one before that12:06
Vampire0 left12:06
flavius joined12:06
joco42 left12:07
ismithers left12:08
a_thakur left12:08
a_thakur_ joined12:08
dsdeiz joined12:08
thesha osse: by using git add , will my HEAD point to the staging area?12:08
venmx left12:08
osse no12:09
derk0pf left12:09
Singmyr joined12:09
thesha osse: if i do commit then only it will point?12:09
osse yes12:09
thesha osse: ok ..got it. thanks12:10
diogenese left12:10
marcogmonteiro left12:10
spacelord_ joined12:10
willlondon joined12:10
derk0pf joined12:11
esc Seveas: http://pastebin.com/y067nUCc <-- my fault or somewhere in git-spindle?12:12
I can file an issue, but not sure if known12:12
encod3 left12:15
encod3 joined12:16
gtristan left12:16
danslo left12:17
jeffreylevesque joined12:18
marcogmonteiro joined12:19
danslo joined12:19
askb left12:19
BadSnappa joined12:20
ochorocho__ joined12:20
encod3 left12:20
manuel_ joined12:21
masuberu joined12:22
UncleCJ joined12:22
Derderderd joined12:23
UncleCJ Hey. Quite some time back, I did something stupid, trying to add or commit way too much binary data (PDFs...) to my repo. Then I ran git fsck, got my .git/lost-found full of somethings and forgot about it. Seems now they aren't recognizable by "file" as anything but data, is there a tutorial anywhere how I can clear up this massive mess?12:24
ochorocho__ left12:24
UncleCJ Sorry, that would be .git/lost-found/other12:25
selckin is the problem that you want to rid of lostfound to free space or recover the pdfs or what12:26
a_thakur_ left12:26
a_thakur joined12:27
Derderderd left12:28
Endarked left12:31
ufk joined12:32
ufk hi :)12:32
aavrug left12:32
selckin !hi12:32
gitinfo [!welcome] Welcome to #git, a place full of helpful gits. If you have a question, feel free to just go ahead and ask—somebody should answer shortly. For more info on this channel, see http://jk.gs/git/ Take backups (type !backup to learn how) before taking advice.12:32
ufk i commited code in the wrong branch12:32
can i take a commit from one branch and apply it on another branch ?12:32
selckin git cherry-pick12:33
ufk thanks12:33
Gloomy left12:35
encod3 joined12:35
re1 joined12:35
noecc joined12:36
mar77i is there an option for git diff to always run in a pager?12:37
selckin iirc it does, its the pager that exists12:37
jdelStrother joined12:38
jdelStrother Heya12:38
mar77i selckin: hmm, can I pass an option to the pager through git-diff, then?12:39
joki- left12:39
osse mar77i: you can set LESS12:39
selckin .gitconfig core.pager = less12:39
jdelStrother Say I used to have a file in my repo called kittens.c, but I don't know what directory it was in. Is there a way of searching for commits affecting that filename?12:39
star_prone left12:39
selckin you must be passing -F there if it exists12:39
mar77i osse: oh right, thanks12:40
Balliad left12:40
Ahiiru joined12:40
thesha left12:40
bronson joined12:41
_Patrick_ left12:41
Ahiiru while doing git on a wordpress site, is there a way to version control the database? or just the files inside the FTP?12:41
byte512 left12:42
qt-x left12:43
mar77i osse: so uh, how would I unset -F in LESS?12:43
garethdaine joined12:43
osse mar77i: by not setting it. if it is set at all then git won't add its own flags12:43
Nilesh_ joined12:43
osse I mean if LESS is set at all12:44
joki- joined12:44
rwb left12:44
bronson left12:46
willlondon left12:47
ojdo left12:48
delboy1978uk can you git diff myfolder between branches12:49
?12:49
re1_ joined12:50
re1 left12:51
UncleCJ selckin: Preferably I'd like to recover the pdfs, they were deleted from the worktree when the add went wrong12:51
Anticom joined12:51
nilg left12:52
Anticom Hi all. How can i move the "root" of a branch from one branch to another? I've found this question on SO: http://stackoverflow.com/questions/10853935/change-branch-base12:52
i've got a bugfix-branch that's accidentally based on a release branch instead of our development branch12:53
garethdaine left12:53
Anticom now i'd like to move it. I've tried `git checkout bugfix/... && git rebase --onto develop`but that didn't seem to do anything12:53
JeroenT left12:54
WhiskerBiscuit joined12:55
Ahiiru left12:55
manuel_manuels12:55
star_prone joined12:55
ojdo joined12:55
orfeo left12:57
osse Anticom: git checkout bugfix-branch; git rebase --onto=develop release-branch12:58
UncleCJ selckin: By refining my google slightly I found this, will try it soon enough: https://medium.com/@CarrieGuss/how-to-recover-from-a-git-hard-reset-b830b5e3f60c#.kc58pd33112:58
davimore joined12:58
Derderderd joined12:59
davimore__ left12:59
spacelord_ left12:59
cdown_ joined12:59
garethdaine joined13:00
tmsmith joined13:01
cdown left13:02
cdown_cdown13:02
jaguarmagenta joined13:02
SpaghettiCat joined13:03
jeffreylevesque left13:03
SpaghettiCat Hello, I have a pattern in my .gitignore "*.d" that's meant to ignore some C++ files, but it also means the directory "init.d" is ignored. Is there a way to apply a pattern to regular files only, not directories?13:03
Derderderd left13:04
selckin git never tracks directories13:04
canton7 selckin, sure, but it tracks the contents of directories, and gitignore applies to directories13:04
venmx joined13:05
osse selckin: no but you can unignore specific names: !init.d13:05
SpaghettiCat selckin: yeah? If I do `git status` it says "Untracked files: etc/"13:05
JeroenT joined13:05
tmsmith left13:05
_Patrick_ joined13:05
canton7 SpaghettiCat, you can unignore init.d with '!init.d'13:05
SpaghettiCat hmm thanks, that's a good enough solution13:05
tmsmith joined13:06
al-damiri joined13:06
eduardas_m joined13:07
jaguarmagenta left13:07
sdothum joined13:08
synthroid joined13:08
raspado left13:09
venmx left13:09
clmsy left13:10
King_Hual joined13:10
King_Hual left13:10
King_Hual joined13:10
hahuang61 joined13:10
jeffreylevesque joined13:11
GodGinrai joined13:11
johnmilton joined13:11
garethdaine left13:12
Anticom osse: i'm getting "fatal: needed a single revision \n invalid upstream-branch release/..."13:13
osse Anticom: then you didn't specify the branches properly13:13
Anticom osse: my autocompletion can't be wrong :p13:13
osse !repro13:14
gitinfo [!transcript] Please paste (using https://gist.github.com/ or similar) a transcript ( https://git.io/viMGr ) of your terminal session so we can see exactly what you see13:14
a_thakur left13:14
Anticom osse: is this channel logged?13:14
it's a company repo :S13:14
osse it is13:15
Anticom can i PM you?13:15
hahuang61 left13:15
osse either PM, or double check. do you have a local branch and remote branch by similar names?13:15
Anticom oh.. i guess the remote branch tracking is messed up because of svn import13:16
wxg left13:16
Eryn_1983_FL left13:16
Anticom instead of pointing to a remote branch it's referencing a single commit13:17
osse that's fine13:17
thesha joined13:18
Anticom $ git branch -avv --> "* bugfix/the-bugfix 00b57b8 [origin/bugfix/the-bugfix] <msg>"13:18
cdown left13:18
jeffreylevesque left13:19
JeroenT left13:20
Eryn_1983_FL joined13:21
ochorocho__ joined13:21
osse Anticom: from the error it seems the release branch is the problem...13:21
ajf- joined13:22
Anticom osse: preparing a gist. just a second13:22
wxg joined13:22
JeroenT joined13:23
romerocesar_ joined13:23
romerocesar left13:23
cdown joined13:26
ochorocho__ left13:26
Vortex34 joined13:27
tvw joined13:27
dodobrain left13:27
thesha I use git checkout HEAD~ <file> to bring back my changes in a file ,but when i did the changes and make it a correct patch to send,the changes are not reflecting inside the patch.13:28
rudi_s thesha: You need to commit the change.13:30
thesha rudi_s : how?13:30
JJjack joined13:30
JJjack hi13:31
rudi_s thesha: git add + git commit?13:31
JJjack I pulled a new branch in when merging iget13:31
error: The following untracked working tree files would be overwritten by checkout:13:31
thesha rudi_s : i did that13:31
wxg left13:31
JJjack rm readme.md13:32
fatal: pathspec 'readme.md' did not match any files13:32
rudi_s thesha: On the correct branch? Do you have a detached head?13:32
thesha rudi_s : detached head??13:32
osse JJjack: it's untracked, so git can't delete it. do it yourself13:32
thesha i didn't get it13:32
rudi_s thesha: git status will tell you.13:32
thesha rudi_s : yes it is showing13:33
rudi_s (It's a term when you aren't on any branch so your commits seem to be lost. It happens when you run git checkout <commit> without a file.)13:33
thesha: It says "HEAD detached"? Then create a new branch from the current commit with git checkout -b test-branch and then use gitk --all or tig --all to verify where your current commit is.13:33
JJjack but I dont see anything in git status13:34
Cavallari joined13:34
JJjack I tried git add .13:34
rudi_s JJjack: Is it ignored?13:34
JJjack no13:34
jbitdrop joined13:36
thesha rudi_s : what is the second command gitk --all??13:36
ocbtec joined13:36
rudi_s thesha: It displays the current repository layout visualizing the branches and commits (--all displays all commits).13:36
fahadash joined13:37
thesha rudi_s : gitk --all says: commond not found13:37
derk0pf left13:37
thesha s/commond/command13:37
rudi_s thesha: Either install it or try: git log --pretty=oneline --graph --all --decorate --abbrev-commit13:38
sdlnv joined13:38
dan2k3k4 left13:38
wxg joined13:38
dan2k3k4 joined13:39
bsanford joined13:40
rtjure joined13:40
thesha rudi_s :i installed gitk ,the command gitk --all shows some graphical representation.Now what i have to do now?13:41
rafalcpp joined13:42
chll_ joined13:42
invisbl joined13:42
Darcidride joined13:43
Anticom osse: btw for !repo i'd recommend adding asciinema. That way you see what the user **actually** sees13:44
gitinfo osse: Repo is a tool produced by Google for the AOSP project(and others) which wraps git and provides its own set of commands. While it is possible to use git with repositories that are managed by repo, it is not always easy. https://source.android.com/source/using-repo.html13:44
Balliad joined13:45
jeffreylevesque joined13:45
Anticom Oh and thanks for helping me out btw :)13:45
Cavallari left13:46
tmsmith left13:47
mischat left13:47
thesha rudi_s : ??13:47
nettoweb left13:49
rominronin left13:49
Balliad left13:50
rominronin joined13:50
Balliad joined13:51
ochorocho__ joined13:53
romerocesar_ left13:53
ismithers1 left13:53
rominron_ joined13:53
romerocesar joined13:54
rominronin left13:54
invisbl left13:54
ToBeCloud joined13:55
gitinfo set mode: +v13:55
ToBeCloudGuest8509313:56
wxg left13:56
rudi_s thesha: You have a look where the commit occured.13:57
Guest85093 left13:57
maroloccio joined13:57
rudi_s And if you intend to apply this change to the master branch, the simplest solution is to switch back to master (losing the commit in the process), redoing the checkout for the file, committing the changes on the master branch.13:57
OOPManZA joined13:57
ToBeCloud_ joined13:58
cqi left13:58
gitinfo set mode: +v13:58
Derderderd joined13:59
subhojit777 left14:00
cdown_ joined14:00
cdown left14:01
cdown_cdown14:01
OOPMan left14:01
diogenese joined14:01
wxg joined14:02
jaguarmagenta joined14:02
ExoUNX joined14:02
robnester joined14:02
rnsanchez_ joined14:04
rnsanchez left14:05
venmx joined14:05
Derderderd left14:05
thesha rudi_s :do i need to note down the SHA id?14:06
nettoweb joined14:06
dan2k3k4 left14:06
_Vi left14:07
thesha rudi_s :i was able to see the changes there in gitk what should i do now?14:07
dan2k3k4 joined14:07
diogenese left14:08
shgysk8zer0 joined14:09
cdown_ joined14:09
ayogi left14:09
diogenese joined14:09
theshathesha|away14:09
theoceaniscool joined14:10
venmx left14:10
lmatteis joined14:11
porsche944 joined14:11
_rnsanchez_ joined14:11
rorro joined14:11
cdown left14:12
cdown_cdown14:12
yogesh_ joined14:12
yogesh_ left14:12
jaguarmagenta left14:13
jimi_ joined14:13
rnsanchez_ left14:14
thesha|away left14:14
cdown_ joined14:15
JJjack left14:16
shgysk8zer0 left14:16
cdown left14:17
cdown_cdown14:17
manuels left14:18
manuel_ joined14:19
_ng left14:19
nettoweb left14:20
tobiasBora left14:22
Balliad left14:22
_rnsanchez_ left14:22
ochorocho__ left14:23
rnsanchez joined14:23
_ng joined14:26
cdown left14:26
cdown joined14:26
anonymuse joined14:27
sdothum left14:28
nicksloan joined14:28
DolphinDream joined14:29
DolphinDream howdy gitsters14:29
SuperLag left14:29
OOPManZA left14:30
sdothum joined14:30
Singmyr left14:30
DolphinDream i am trying to do a git rebase interactive.. adn stop for edit (e).. but I cant see the current commit changes being present in my working folder or in the stage area when the rebase stops for edit (git status does not show local changes or staged)14:30
any ideas what i'm doing wrong ?14:30
moritz they are already committed14:31
so 'git show' should show them14:31
Singmyr joined14:31
moritz you can do your changes, add them to the index, and then do a git commit --amend14:31
DolphinDream aha... commited behind the scene (not quite yet officially commited) ?14:31
cdg joined14:31
DolphinDream moritz: waht i want to do actually is to revise each commit.. as if they are in my working directory so that i can recommit them.14:32
romerocesar left14:32
romerocesar joined14:32
cdown_ joined14:32
shinnya joined14:32
Dougie187 joined14:33
DolphinDream is there a way to do rebase interactive where each commit is dumped into the working directory and pause so i can do the edits and re-stage and recommit myself ?14:33
wxg left14:33
DolphinDream should i rather to this with the cherry pick .. one commit at a time ?14:33
rishi left14:34
Balliad joined14:34
rishi joined14:34
willlondon joined14:34
kadoban DolphinDream: Is it really any harder to --amend ?14:34
cdown left14:35
cdown_cdown14:35
perlpilot joined14:35
kadoban If you want, there's a way to just undo a commit and leave it in working directory ... what is it, git reset HEAD~1 maybe? Wouldn't trust that, I haven't slept in a while, but it's one of those.14:35
DolphinDream kadoban: you suggest to do --amend for each of the (multiple) commits i rebase ?14:35
kadoban DolphinDream: Sure?14:36
DolphinDream kadoban: I want to see the files that are modified by each commit.. so i can make slight changes. but when the interactive rebase stops it does not show me the current commit diffs relative to the previous commit (as working dir changes) so it's hard to see what are the changes introduced by the current commit being replayed14:36
kadoban Fair enough. Ya, I'd do the reset thing then I guess.14:37
dsdeiz left14:37
qqx DolphinDream: `git show` ?14:37
Derderderd joined14:37
jon-mac left14:38
Gsham joined14:38
MattE left14:38
qqx But if you truly want to see the changes as unapplied you can use `git reset @~` to undo the commit, leaving the changes in only the working tree.14:38
masuberu left14:38
JeroenT left14:39
DolphinDream qqx sure .. that does show the diff. but what if i want to use a visual editor (meld, smartgit, gitg etc) to visualize the diffs and handpick only the changes i want to include in the next commit ? If I had the files/changes not commited, but checkedout as working dir changes i can look at the changes in GUI editors and hand pick the chances i want to keep.14:39
watmm joined14:39
Caelum left14:39
osse git difftool14:39
boombatower joined14:39
JeroenT joined14:40
Caelum joined14:40
watmm Hey, im getting "Protocol error" messages for files that don't exist. The files have the '@' symbol in their path for some reason. Anyone ever see this?14:40
Dougie187 left14:40
DolphinDream osse: during the interactive rebase the difftool doesn't do anything apparently. (though git show does show me diffs)14:40
shanapu joined14:40
roelmonnens joined14:40
wxg joined14:40
delboy1978uk left14:41
osse what stage in the rebase process are you in? a conflict? or did you mark a commit 'edit' ?14:41
koenvg joined14:41
bronson joined14:42
Dougie187 joined14:42
Derderderd left14:42
DolphinDream osse: there is no conflict. I want to rebase interactive and remove some of the changes made in each commit. So i did a e (for edit) for each commit and expected that the rebase will pause for each commit and show the commit changes ad working dir changes that I can then edit, stage, comitt and contineu the rebase.14:42
gitterbug joined14:42
DolphinDream osse: the later (marked as "edit")14:43
osse DolphinDream: in that step the commit has already been made and you're supposed to use git commit --amend to modify it14:43
MattE joined14:43
osse you can do git difftool @~ then14:43
DolphinDream osse: sure.. i can use amend but first i need to see what files are modified.. and what are the chagnes introduced in those files relative to the previous commit so that i know what changes to keep and what to throw away.14:43
gitinfo set mode: +v14:43
gitterbug Hi -- how can I determine which commit ids were rolled up into a merge -- trying to search across all branches14:44
leeN left14:44
DolphinDream osse: hm.. @~ ? that does something.14:44
what is @~ ?14:44
osse DolphinDream: sounds like you want to do 'git reset @q' and do the commit again14:44
same as HEAD~14:44
DolphinDream aha14:44
@q ?14:44
i know HEAD~ :)14:45
so the interactive commit does a commit behind the scene and only update the branch/head to point to it once you amend and continue I take?14:46
Gsham left14:46
nckpz left14:46
qqx DolphinDream,osse: I suspect that @q was a typo for @~14:46
bronson left14:46
osse DolphinDream: yes. it informs you of this. "make your changes then do git commit --amend ..." etc.14:46
qqx DolphinDream: It doesn't update the branch until you finish the entire rebase process.14:46
BSaboia joined14:47
mahendratech left14:47
JJjack joined14:47
saml joined14:47
Miika-- Hello, when I do git rev-list --format="some format", I get formatted string but also some "commit hash" -formatted lines, which I do not want... how I can suppress them?14:48
wxg left14:48
troulouliou_div2 left14:49
bannakaffalatta joined14:49
wxg joined14:51
ketas- joined14:52
osse Miika--: you can u se git log14:53
NimeshNeema left14:53
ronskisika left14:53
gitterbug To rephrase my question differently, I have a large repo where the commit message is a really high level summary, and I want to drill down to the individual commit messages that were merged into the former. How can I find which commits those were?14:53
leeN joined14:53
ketas left14:53
osse gitterbug: git log merge^1..merge14:54
that's the log of all commits that were merged in14:54
Nilesh_ left14:54
_Vi joined14:55
BrianJ joined14:55
koenvg Hi! I am doing a "git rebase -i ..." to fix the author field of a few commits. However, during the second "git rebase --continue", I get this error: "fatal: empty ident name (for <unknown>) not allowed". What is causing this? I have set my own name and email in .gitconfig14:55
nickabbey joined14:58
wxg left14:59
Gsham joined14:59
overlord_tm left14:59
tmsmith joined15:00
Miika-- osse: if I use git log --format="%H" -- file, is it same as git rev-list --all -- file?15:00
rscata left15:01
DolphinDream osse: so reset HEAD~ does the trick (which unstaged the changes) but my question is why were the staged changes not listed when i do a git status ? I only see untracked files but no staged or local changes .15:02
anonymuse left15:02
e14 joined15:02
jimi_ left15:02
osse Miika--: almost. same as git rev-list HEAD -- file15:02
jimi_ joined15:02
SwingShock If i have a forked repository, how to update it to become the same as the one that it is forked from if it accepted another pull request.15:02
anonymuse joined15:02
osse DolphinDream: because there aren't any!15:02
DolphinDream my guess is that like people said.. the changes are already applied to a commit (which can be ammended) even though this commit is not yet officially part of the replayed history15:02
osse DolphinDream: like i said, the commit is already applied. you're supposed to make changes and then use --amend15:03
cdown_ joined15:03
ketas joined15:05
AaronMT joined15:05
wxg joined15:05
cdown__ joined15:05
cdown left15:05
cdown__cdown15:05
DolphinDream osse: yeah. i got it. :) thx. the git reset HEAD~ after every replayed commit is the behavior i wanted :)15:06
venmx joined15:06
upenox joined15:07
rominron_ left15:07
cdown_ left15:07
invisbl joined15:08
wxg left15:09
dreiss joined15:10
WaReZ left15:10
metachr0n left15:11
hahuang61 joined15:11
venmx left15:12
JeroenT left15:12
ketas- left15:12
ferr1 left15:13
wxg joined15:14
xall joined15:14
invisbl left15:15
cdown left15:16
hahuang61 left15:16
Black_knight joined15:16
Black_horse joined15:16
Black_knight left15:16
Black_horse left15:17
nohop joined15:17
thesha joined15:17
bronson joined15:19
Spiney joined15:20
govg joined15:20
theoceaniscool left15:20
ochorocho__ joined15:20
theoceaniscool joined15:21
theoceaniscool left15:21
theoceaniscool joined15:21
wxg left15:22
evie_hammond left15:22
nohop hey guys. I have a weird problem with rebasing (It's also the first time i used it, so i'm probably doing something really dumb)15:22
I want to rebase my branch with origin/master. My local branches are in sync with those on github.15:23
hhee left15:23
phanimahesh left15:23
nohop When i do a rebase origin/master, all the changes that i made to my local branch are gone.15:23
(which are changes that i have pushed to the server.)15:24
What am I missing ?15:24
bronson left15:24
Balliad left15:24
jknetl left15:24
ochorocho__ left15:25
algun left15:25
Balliad joined15:25
nohop (I HAVE done a rebase --abort before that, because i accidentally didn't have my branches in sync... maybe that has something to do with it?)15:26
nettoweb joined15:27
_ikke_ nohop: Did you complete the rebase, or is it waiting for you to fix and continue?15:27
cdown joined15:27
_ikke_ What does git status say?15:27
roelmonnens left15:27
roelmonnens joined15:28
nohop i did not finish it. The problem is that, after i do git rebase origin/master, it seems to revert my local branch to an older commit...15:28
evie_hammond joined15:28
nohop as in, older than the latest on github15:28
dan joined15:29
nohop so, it's not finished at all :) I'm not even starting because I don't feel like re-doing everything i did :)15:29
selckin git fetch ?15:29
nohop i have15:29
my local branches are in sync with those on github15:29
Linux-Ninja01 joined15:30
wxg joined15:30
nohop _ikke_: after rebase origin/master? It says there are TONS of changes... which isn't true. Like i said, my local branch at the time of typing git rebase origin/master is exactly the same as the one on github15:31
_ikke_ read good what git status says15:32
tobiasBora joined15:32
Ardethian\work joined15:33
cdg left15:34
TomyLobo left15:34
kjbrjwqsevveohhm joined15:34
kjbrjwqsevveohhmdbenxwlwgigdhtyn15:34
dbenxwlwgigdhtynTomyLobo15:34
cdg joined15:34
GodGinrai left15:34
nohop _ikke_: i'm not sure what you mean15:35
Spiney left15:35
Spiney joined15:35
nohop it sais rebase in progress; onto 14b5af7 (which is master)15:35
ams__ joined15:36
upenox left15:36
cdown left15:36
nohop that doesn't explain why it reverts my local branch to an old commit, which is neither the latest of the branch i'm working on, NOR the latest master branch15:36
gitterbug left15:36
_ikke_ The rebase is still in progress15:37
It ran into a conflict15:37
nohop hmm15:37
but i did git rebase --abort15:37
then git feth origin15:37
_ikke_ before or after the last rebase?15:37
nohop then did rebase origin/master again15:37
ok... let me go chronologically :)15:38
Derderderd joined15:38
_ng left15:38
_ikke_ (according to git, the rebase is still in progress)15:38
nohop yeah, because i just did a new rebase, because i though you wanted to know what git status sais :)15:38
if you just wanted to know the status after i aborted it, that would be 'clean'15:39
cdown joined15:39
rmainanon joined15:39
cdg left15:39
cdg joined15:40
albel727 joined15:40
nohop meh... whatever.. I'll just ask my boss to merge all this shit into master... This is taking way too much time now15:41
thanks anyways15:41
guardian hello, is there a syntax to synchronize a submodule to a specific SHA1 without checking it out first?15:41
cdown_ joined15:41
wxg left15:41
NathanI_ joined15:42
bdonnahue joined15:42
Derderderd left15:43
ResidentBiscuit joined15:43
ResidentBiscuit left15:43
ResidentBiscuit joined15:43
ResidentBiscuit left15:43
ResidentBiscuit joined15:43
ResidentBiscuit left15:43
cdown left15:44
cdown_cdown15:44
Guest8417 left15:44
jasondockers joined15:44
jasondockersGuest5950015:45
fahadash left15:45
NathanI_ left15:45
_ng joined15:46
wxg joined15:46
Spiney left15:46
OOPMan joined15:47
nikivi joined15:48
Renter anyone know about gitlab in here? I have a stupid question15:48
I've been using git for two years and am still a bit fuzzy about rebase / merge15:49
Nerbrun joined15:49
nikivi left15:49
thesha rudi_s : ping15:49
phanimahesh joined15:49
bejeb left15:50
Renter anyway, I have a merge request active and it's saying "Fast-forward merge is not possible. Rebase the source branch onto the target branch or merge target branch into source branch to allow this merge request to be merged." with a button 'rebase onto <target>', should I just click that button, do something manually with the source branch or target branch?15:50
mainly, if I push that button, will it affect the source branch or target branch, it says target15:51
romerocesar left15:52
mischat joined15:52
Neelixx joined15:53
jaafar joined15:53
Darren_ joined15:53
bejeb joined15:54
romerocesar joined15:54
Balliad left15:54
Guest59500 left15:55
Guest59500 joined15:55
salamanderrake left15:56
dsdeiz joined15:56
Guest59500jasondockers15:56
rudi_s thesha: Simplest solution is to apply the changes manually on master. Or you can note the commit it, change to master (git checkout master) and then git cherry-pick commit-id to bring that change onto the master branch.15:56
salamanderrake joined15:57
danslo left15:57
theoceaniscool left15:58
nanga left15:58
nanga joined15:58
nanga left15:58
nanga joined15:58
xall left15:59
rorro left15:59
nickabbey left15:59
davimore_ joined16:00
danslo joined16:01
rominronin joined16:01
Black_knight joined16:01
kazantip left16:01
Black_knight left16:01
theoceaniscool joined16:02
shinnya left16:02
Ardethian\work left16:02
thesha rudi_s : nothing new happens,same as before. should i change the file manually?16:03
chele left16:03
davimore left16:04
Shentino left16:04
los joined16:04
rudi_s thesha: Then you're doing it wrong.16:04
ThomasLocke left16:04
realz left16:04
rudi_s You have the change on the current branch (which is detached). After changing to the master branch and cherry-picking the commit, something will happen.16:04
steeze joined16:05
AustinMatherne left16:05
MillerBoss joined16:06
ToBeCloud_ left16:06
willlondon left16:06
thesha rudi_s : this is what i got https://paste.fedoraproject.org/509780/16:06
AustinMatherne joined16:06
thesha after doing the commands you told16:06
crayon joined16:07
Shentino joined16:07
satifant left16:07
venmx joined16:07
tmsmith left16:07
nanga left16:07
crayon left16:07
nettoweb left16:08
rominron_ joined16:08
synthroid left16:08
davimore_ left16:08
rudi_s thesha: So you didn't commit any changes, at least in relation to the master branch.16:09
tmz joined16:09
davimore_ joined16:09
Singmyr left16:09
rudi_s But as I said, just perform the change you want manually while on the master branch and commit it.16:09
sdlnv left16:09
rorro joined16:09
stevenxl joined16:09
diogenese left16:10
roelmonnens left16:10
trelane joined16:11
trelane left16:11
trelane joined16:11
Lea2 left16:11
sdlnv joined16:11
invisbl joined16:11
stevenxl Hello folks. I have a bit of a problem, and I want to get some ideas from the pros on how to fix this issue. Basically I have one branch (master) with commits (A B C D E F G), and another branch (dev) with commits (A B C D E X Y Z). I want to take the changes from dev (X Y Z) and put them in master, so that master looks like (A B C X Y Z D E F G).16:12
comps joined16:12
Singmyr joined16:12
menip joined16:12
stevenxl Is there a concept for what I am trying to do?16:12
venmx left16:12
Linux-Ninja01 left16:12
Singmyr left16:12
satifant joined16:12
sdlnv left16:13
JJjack left16:13
selckin left16:13
jaguarmagenta joined16:14
selckin joined16:14
nettoweb joined16:14
Seveas esc: always your fault :P16:15
My code has no bugs16:15
LionsMane joined16:16
dan_ joined16:18
dan_Guest3925016:18
mischat left16:18
Guest39250 left16:18
dan left16:18
mischat joined16:18
byte512 joined16:18
rtjure left16:19
jaguarmagenta left16:19
nanga joined16:19
los left16:19
bronson joined16:21
GodGinrai joined16:21
wxg left16:21
Sceorem left16:22
rorro left16:22
tobiasBora left16:22
GodGinrai left16:22
GodGinrai joined16:22
cjohnson stevenxl: is your dev branch used by other people?16:22
stevenxl cjohnson: No.16:22
govg left16:22
fahadash joined16:23
cjohnson well, you could rebase your dev branch16:23
mischat left16:23
cjohnson bringing F G into dev so that X Y Z happen sequentially after F G16:23
then simply merge dev to master16:23
lordjancso left16:24
cjohnson rebasing your dev branch rewrites history though which requires a force push, which you don't want to do on branches others are using16:24
gtristan joined16:24
drbean left16:24
drbean joined16:24
a_thakur joined16:25
cjohnson if not, you can cherry pick X Y Z into master16:25
wxg joined16:25
subhojit777 joined16:25
bronson left16:25
QuestionTime left16:25
stevenxl cjohnson: thank you for both those options. If I do cherry-pick, can I "stick" the commits into master at any point, or do they go on after the current HEAD of master?16:26
DolphinDream how do i check the changes introduced by two commits SHA1/ SHA2 (on different branches) (one was possibly cherry picked from the other branch and perhaps even amended). I want to exclude diffs for all the commits in between SHA1 and SHA216:26
stevenxl cjohnson: No one else uses the dev branch, so I think that rebasing dev from master might be the way to go.16:26
steeze left16:27
GodGinrai stevenxl: very first sentence in the manpage for git-cherry-pick: "Given one or more existing commits, apply the change each one introduces, recording a new commit for each."16:27
rorro joined16:28
e14 left16:28
manuel_manuelschneid3r16:28
steeze joined16:28
setuid joined16:28
drbean_ joined16:29
stevenxl GodGinrai: got it thank you16:29
GodGinrai DolphinDream: you want to diff the changes?16:29
Vortex34 left16:29
dreiss left16:30
a_thakur left16:31
a_thakur joined16:31
drbean left16:31
jccn joined16:32
DolphinDream GodGinrai: yep.. A->B->C and A->D->E .. i want to diff the changes introduced by C and E .. where E is a cherrypick of C + some amends .. i want to compare C and E without including the changes introduced by B and D16:33
ochorocho__ joined16:33
e14 joined16:34
nickabbey joined16:34
Vortex34 joined16:35
Alsino joined16:35
GodGinrai DolphinDream: gut instinct is telling me diff the output of git diff for each commit16:35
kyan left16:36
wxg left16:36
GodGinrai DolphinDream: for example: `diff "$(git diff B C)" "$(git diff D E)"`16:36
Renter I read that 'git instinct' and thought what a wonderful idea that would be16:37
GodGinrai the ordering of the commits might be different16:37
pkiller_ joined16:37
floatingman left16:37
GodGinrai Renter: lol16:37
tmg left16:37
ochorocho__ left16:37
Lea2 joined16:38
koenvg How bad is it if "git fsck" complains about a repository because an author field is bad?16:38
wxg joined16:38
_ikke_ I think it's not that bad16:38
koenvg I was having trouble fixing the author field, so now I wonder if it's needed at all16:38
Derderderd joined16:38
dan2k3k4 left16:39
setuid Did my last post go through? Don't want to re-post if it did :) (having irccloud/join issues)16:39
_ikke_ man git config, look for fsck.skipList16:39
gitinfo the git-config manpage is available at http://jk.gs/git-config.html16:39
floatingman joined16:40
GodGinrai setuid: what forum are you posting to?16:40
_ikke_ setuid: I don't see any earlier messages from you16:40
setuid GodGinrai: Here, in irc... at 10:59:07am eT16:40
I'm trying to solve an interesting problem... git CLI on Windows, eventually run as a scheduled task, but for now, interactive. What's the best way to commit changes to a tree of data in %USERDATA%\Documents\Foo to -another- location, so if \Documents\Foo is blown away, it can be recovered easily?16:40
tobiasBora joined16:41
GodGinrai setuid: push to a repo?16:41
rominron_ left16:41
kadoban setuid: git does not replace backups16:41
_ikke_ with kadoban16:41
koenvg ikke: thank you, that seems like just the thing I need!16:41
setuid kadoban: Agreed, that's not the goal, just trying to keep some data merged and intact16:41
GodGinrai kadoban: _ikke_: I agree if he is doing this to backup his documents16:41
setuid GodGinrai: No upstream, these are Windows users, very basic understanding16:42
No, not to back up documents, I use rsnapshot for that (on Windows)16:42
_ikke_ setuid: just make a full file-system copy of the repository16:42
that will include things like settings, ignored files, reflog, which are not covered with just pushing16:42
setuid I'm trying to document an easy way for users of an app to commit their ride logs (fitness app) to a local repo, where they can pull it back out later, base on date/time/etc.16:42
I could use SyncToy, I guess... not very robust, monolithic, but it could work16:43
cjohnson upstream can be another local repo setuid16:43
Derderderd left16:43
GodGinrai ^ this was my point16:43
cjohnson I've used that setup where I had a server that stored both the working copy and the authoritative source (bare repo)16:43
on my local machine I do work, push to bare source, then on the server I go into the working copy and pull from that same source16:44
Vampire0_ left16:44
setuid Ok, so create a repo in the tree of the data I'm merging, and then create another one elsewhere on the same fs, and commit across?16:44
Alsino left16:44
wxg left16:44
cjohnson push not commit16:44
GodGinrai setuid: push16:44
cjohnson and it would be a bare copy for the authoritative one16:44
no working files16:44
setuid er, right16:44
Vampire0 joined16:45
maroloccio left16:45
thesha left16:46
holgersson left16:46
tobiasBora left16:46
misgit joined16:47
holgersson joined16:47
Travis-42 joined16:47
star_prone left16:47
tobiasBora joined16:48
Travis-42 I'm trying to figure out what went wrong with someone's merge conflict and conflict resolution. How can I see what merge conflicts were faced in the merge?16:48
gitinfo set mode: +v16:48
kedare left16:48
a_thakur left16:49
synthroid joined16:49
GodGinrai Travis-42: I believe `git status` tells you16:49
which files16:50
then you just check those files16:50
tvw left16:50
tvw joined16:50
duderonomy left16:50
holgersson left16:51
tvw left16:51
Travis-42 how would I get into that state? try to check out the commit before the merge and try to perform the merge myself?16:51
wxg joined16:52
jimi_ left16:52
Siegfried joined16:52
Travis-42 I was hoping there was some command I could run on the merge commit itself16:52
danslo left16:52
GodGinrai Travis-42: the merge commit doesn't exist if there are conflicts16:53
Travis-42 the conflicts were resolved and the merge commit was made a while ago16:53
there were just problems with how they resolved the conflicts16:53
GodGinrai OHH16:53
grawity check out the first parent, and try to merge the 2nd16:53
Travis-42 and I'm having trouble figuring out what the conflicts were, and how they resolved them :-)16:53
grawity then see what happens16:53
ufk left16:53
eduardas_m left16:54
grawity because Git doesn't really store much else than that16:54
just the state before and the state after16:54
Travis-42 hmm, I'm surprised I can't get it to show the particular changes that the git commit author authored in resolving the conflicts, but I can work it out this way I guess16:55
grawity hmm, well16:55
`git show -3 <mergecommit>` would probably help16:55
GodGinrai OHHhttp://stackoverflow.com/questions/15277708/how-do-you-see-show-a-git-merge-conflict-resolution-that-was-done-given-a-mer16:56
grawity maybe without the -3, I forget.16:56
GodGinrai whoa16:56
not sure what just happened with my paste16:56
Gloomy joined16:56
GodGinrai http://stackoverflow.com/questions/15277708/how-do-you-see-show-a-git-merge-conflict-resolution-that-was-done-given-a-mer16:56
wxg left16:56
GodGinrai ^ that sounds like someone wanting to do the same thing as you16:56
and he accepted the answer16:57
Travis-42 ok, this is helpful too, thanks16:57
manveru joined16:59
tobiasBora left16:59
nickabbey left16:59
synthroi_ joined16:59
manveru hey guys, is there any way to get the sha of the object a specific remote branch points to without cloning the repo?16:59
unbalanced joined17:00
kadoban manveru: 'git ls-remote' can tell you17:00
jnavila left17:00
misgit left17:02
rominron_ joined17:02
theoceaniscool left17:02
wxg joined17:03
synthroid left17:03
howitdo left17:04
rominronin left17:05
Derderderd joined17:05
fiter joined17:06
theoceaniscool joined17:07
raspado joined17:07
AaronMT left17:07
wxg left17:07
d0nkeyBOB joined17:07
venmx joined17:08
Serpent7776 left17:08
bronson joined17:08
tyreld joined17:09
manveru kadoban: thanks a lot17:09
breezy_ joined17:09
kadoban anytime17:10
bronson left17:10
hahuang61 joined17:12
romerocesar left17:12
ixjlyons left17:12
dsdeiz left17:12
dreiss joined17:12
venmx left17:13
Gsham left17:13
robotroll joined17:13
sLite left17:14
romerocesar joined17:14
cyan__ joined17:15
sLite joined17:16
hahuang61 left17:17
robotroll left17:17
robattila256 left17:17
cjohnson ANY time?17:17
cjohnson makes note17:17
aard_ joined17:19
GodGinrai hey guys, how do I get tab-completion working for git in bash on Mac OS X?17:19
it doesn't seem to be working for me17:20
ocbtec left17:21
canton7 GodGinrai, https://github.com/git/git/blob/master/contrib/completion/git-completion.bash#L1817:21
maroloccio joined17:21
tanuki left17:23
tanuki joined17:23
averell joined17:24
lmatteis left17:24
raspado left17:24
jbitdrop left17:25
madewokherd joined17:25
raspado joined17:25
maroloccio left17:27
algun joined17:27
Tobias_ joined17:27
Tobias_ left17:28
dviola joined17:28
a3Dman_ left17:28
GodGinrai canton7: thanks17:29
vuoto joined17:29
sea-gull_ joined17:29
mikecmpbll left17:29
tanuki left17:31
FederationOfNULL left17:31
tanuki joined17:32
misgit joined17:32
gitinfo set mode: +v17:32
LionsMane left17:32
crayon joined17:33
dreiss left17:33
misgit left17:34
govg joined17:36
encod3 left17:37
djb-irc left17:38
rominronin joined17:38
Derderderd left17:39
msonntag left17:39
a3Dman joined17:39
kurkale6ka left17:40
kumarsuraj joined17:40
Gloomy left17:40
msonntag joined17:41
_ng left17:42
griffindy joined17:42
tang^ joined17:42
nickabbey joined17:42
thesha joined17:46
unbalanced left17:47
JJjack joined17:48
Anticom left17:51
jimi_ joined17:52
Jupelius left17:53
Gsham joined17:54
aard_ left17:57
xall joined17:58
spacelord_ joined17:58
freimatz left17:59
Salander27 joined18:00
thesha when i run git status it shows Your branch is ahead of 'origin/master' by 6 commits.18:00
is it because i have not done git push?18:00
JJjack left18:01
realz joined18:01
xpk joined18:01
xpk left18:01
xpk joined18:01
svm_invictvs joined18:01
BadSnappa left18:01
_Vi left18:01
thiago thesha: yes18:01
garethdaine joined18:01
kanyeezy left18:02
shanapu left18:02
garethdaine left18:02
thesha thiago, is it compulsory to do git push?18:02
garethdaine joined18:02
thiago thesha: no18:02
thesha: you do it if you want to18:03
dreiss joined18:04
thesha thiago, thanks18:04
kumarsuraj left18:05
kumarsuraj joined18:05
regedit joined18:06
acetakwas joined18:06
thesha thiago, i am not able to do git commit18:07
On branch master18:07
Your branch is ahead of 'origin/master' by 6 commits.18:07
(use "git push" to publish your local commits)18:07
You are currently cherry-picking commit aa4f267.18:07
what should i do to make commmit?18:08
elect left18:09
venmx joined18:09
hashpuppy joined18:09
bocaneri left18:11
garethdaine left18:12
cmn left18:12
rominronin left18:12
achadwick left18:12
cmn joined18:13
_ikke_ git cherry-pick --continue18:13
I guess18:13
venmx left18:13
Vampire0 thesha, as the message says, you are in the middle of a cherry-pick. Either abort ist, or continue it or finish it, then you can commit normally again18:14
jnavila joined18:15
jaguarmagenta joined18:15
stevenspasbo joined18:15
griffindy left18:17
thiago left18:18
Derderderd joined18:19
jaguarmagenta left18:19
marcogmonteiro left18:20
thesha _ikke_, Vampire0 : is it happening because i have created git test-branch?18:20
holgersson joined18:21
thesha i also tried git cherry-pick commit_id18:21
matsaman joined18:21
duderonomy joined18:21
Ufm joined18:22
DolphinDream scripting question.. how do I test if a file differs between two commits ? this one doesn't seem to work : if git diff $SHA1 $SHA2 -- $filename > /dev/null; then echo "the files differ"; else echo "no difference"; fi18:24
Didac left18:24
_ikke_ thesha: Don't know what you exactly did, but I don't think creating a branch has to do with it18:24
InfoTest joined18:25
_ikke_ DolphinDream: --quiet18:25
InfoTest left18:25
_ikke_ (implies --exit-code)18:25
SwiftMatt joined18:25
DolphinDream _ikke_: --quiet instead of >/dev/null ?18:25
subhojit777 left18:26
_ikke_ sure, but it also implies --exit-code, which makes it exit 1 on diff18:26
InfoTest joined18:26
DolphinDream why do i get a "files differ" if i compare SHA1 with SHA1 ?18:26
InfoTest left18:26
SwiftMatt left18:26
_ikke_ Don't know?18:26
garethdaine joined18:26
matsaman because they differ, probably18:27
ajf- left18:27
Miika-- left18:27
InfoTest joined18:28
InfoTest left18:28
ikrabbe left18:29
thesha _ikke_, i was about to bring back changes that i have done in a file ,so it was not happening ,also tried git checkout HEAD~ <file>,so i created another test-branch and switch to it ,then i did git cherry-pick commit_id18:30
dsantiago left18:32
freimatz joined18:32
BrianJ left18:32
Balliad joined18:33
todder joined18:33
mikecmpbll joined18:33
BrianJ joined18:33
LionsMane joined18:33
BrianJ left18:33
BrianJ joined18:34
BrianJ left18:34
BrianJ joined18:34
BrianJ left18:35
BrianJ joined18:35
BrianJ left18:36
BrianJ joined18:36
BrianJ left18:36
BrianJ joined18:37
BrianJ left18:37
BrianJ joined18:38
BrianJ left18:38
BrianJ joined18:38
nettoweb left18:39
sLite left18:39
BrianJ left18:39
DolphinDream _ikke_: i found out why :)18:39
nettoweb joined18:40
DolphinDream _ikke_: i was not in the root folder ... and I used the full path of the file :)18:40
vdv joined18:40
InfoTest joined18:40
InfoTest left18:41
sLite joined18:41
hkandala joined18:41
InfoTest joined18:42
rafalcpp left18:42
wxg joined18:42
JJjack joined18:44
Derderderd left18:45
hhee joined18:45
chll_ left18:46
byte512 left18:46
aarobc joined18:46
wxg left18:47
DolphinDream _ikke_: http://pastebin.com/CmHgm5X8 . any ideas why the scripts craps out after difftooling the first file? (instead of difftooling every file that is different?)18:47
nickabbey left18:47
JJjack left18:48
rominron_ left18:48
mischat joined18:48
crayon left18:49
romerocesar_ joined18:50
romerocesar left18:51
jagob joined18:52
synthroid joined18:53
cyan__ left18:53
nickabbey joined18:53
d^sh left18:54
synthro__ joined18:55
troulouliou_div2 joined18:55
synthroi_ left18:55
mikecmpbll left18:55
d^sh joined18:55
doener joined18:56
PCatinean left18:56
roman joined18:57
synthroid left18:58
vuoto left18:59
govg left18:59
roman left18:59
cagedwisdom joined18:59
roman joined19:00
roman left19:02
roman joined19:02
orfeo joined19:02
Discovery joined19:03
Sasazuka joined19:04
roman left19:04
roman joined19:05
IlNominePatre joined19:06
roman left19:07
garethdaine left19:07
roman joined19:07
fiter left19:07
roman left19:09
rominronin joined19:09
theoceaniscool left19:11
raspado left19:11
ixjlyons joined19:11
raspado joined19:11
bannakaffalatta left19:12
M-ou-se_ joined19:13
venmx joined19:13
kenansulayman left19:13
IlNominePatre left19:13
nd_ left19:13
psyb0t left19:13
mmmikey joined19:13
kenansulayman joined19:13
xall left19:14
avizmarlon joined19:14
psyb0t joined19:14
Balliad left19:14
venmx left19:14
nd joined19:14
IlNominePatre joined19:15
gitinfo set mode: +v19:15
flavius left19:15
misgit joined19:15
ghostlight left19:15
avizmarlon I found a problem in Git documentation, how can I report?19:15
gitinfo set mode: +v19:16
nwkj86 joined19:16
ghostlight joined19:17
govg joined19:17
e14 left19:17
garethdaine joined19:18
synthroid joined19:19
dsantiago joined19:19
_Vi joined19:19
Balliad joined19:19
synthro__ left19:21
avizmarlon left19:22
e14 joined19:22
mischat left19:23
Derderderd joined19:24
deadnull left19:24
dsantiag_ joined19:24
raspado left19:24
Sasazuka left19:24
aarobc left19:26
nickabbey left19:26
Sasazuka joined19:26
aarobc joined19:27
dsantiago left19:28
denisMone joined19:29
Neelixx left19:29
steeze left19:30
Neelixx joined19:31
aidalgol joined19:31
Atm0spher1c joined19:32
thiago joined19:32
blahdodo left19:32
vuoto joined19:33
Sasazuka left19:35
corn13read joined19:35
blahdodo joined19:36
acetakwas left19:36
Sasazuka joined19:36
ugjkaUgJkA19:37
sbeller left19:37
sbeller joined19:38
Singmyr joined19:38
Ahiiru joined19:42
Ahiiru hello there19:42
manuelschneid3r left19:42
Ahiiru at my terminal, I'm trying to use this command: git pull origin master19:43
it's all good, but its asking for a certain user's password to proceed19:43
e14 left19:43
noecc left19:43
Ahiiru what is the syntax to do the pull with -my- user?19:43
rominronin left19:44
Ahiiru so I can use my password19:44
sLite left19:44
phroa generally you edit the URL of origin to be your username@thedomain instead19:45
sLite joined19:45
Singmyr left19:46
Ahiiru like this? git pull user@domain/project.git origin master?19:46
hhee left19:46
Ahiiru or without "origin"?19:47
preaction you could do that without "origin" yes19:47
Ahiiru hm ok19:47
preaction or you could git remote set-url origin <new url without user in it>19:47
e14 joined19:47
GodGinrai left19:48
GodGinrai joined19:49
_ikke_ Or you use a credential helper19:49
multi_io_ joined19:50
GodGinrai left19:50
GodGinrai joined19:50
multi_io left19:50
misgit left19:50
Ahiiru it worked good ^^ thanks19:51
vuoto left19:51
thesha left19:53
Ahiiru left19:54
thiago left19:54
sea-gull_ left19:55
troulouliou_div2 left19:55
finalbeta left19:55
finalbeta joined19:55
thesha joined19:56
nickabbey joined19:56
doener left19:57
fling joined19:57
Sebastian joined20:01
rorro left20:01
Sebastian left20:01
SebastianM joined20:02
DolphinDream how do you cherry pick and keep the original author name ? (also in case of conflicts)20:02
rnsanchez left20:03
derk0pf joined20:03
gitinfo set mode: +v20:04
_ikke_ Doesn't git automatically reuse the author (but not the comitter)?20:05
OOPMan left20:07
hahuang61 joined20:07
lb joined20:07
lbGuest4111620:07
SebastianM Hey guys. Trying to push a repo to remote, getting the error "submodule paths contain changes that can not be found on any remote" although all submodules are pushed to remote. http://pastebin.com/xV4zpf3t Can somebody help? (-:20:07
Guest41116 left20:08
matsaman left20:09
venmx joined20:10
cdg_ joined20:12
crayon joined20:13
cdg left20:14
onmeac joined20:15
cyan__ joined20:15
BrianJ joined20:15
venmx left20:16
jaguarmagenta joined20:16
PresidentElect joined20:16
PresidentElect Is it possiible to even get git to work with ssh keys in windows?20:16
xall joined20:16
gitinfo set mode: +v20:16
sbeller SebastianM: that is an odd error message :(20:17
SebastianM PresidentElect: Yes, it is definitely. Are you using GitBash?20:18
PresidentElect SebastianM: yes20:18
I've generated myself a key using ssh-keygen, but it is then telling Git to use that one20:18
Jackneill left20:19
Salander27_ joined20:19
jaguarmagenta left20:20
toothe left20:20
xall left20:22
SebastianM PresidentElect: Unfortunately, it is some time ago that I used it. Does the second section of this page help? https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/20:22
hahuang61 left20:23
Sample joined20:24
matsaman joined20:24
hahuang61 joined20:25
jbitdrop joined20:25
PresidentElect huh ok SebastianM! Works! Thanks. My mistake was using cmd not git bash20:27
snowkidind joined20:27
jbitdrop left20:27
iamthad joined20:27
Salander27 left20:29
Salander27_ left20:29
irco joined20:29
Salander27 joined20:30
rominronin joined20:31
tang^ PresidentElect: so, yes20:31
I use ssh keys with bash and powershell20:31
PresidentElect tang^: git bash will do!20:32
tang^ VS doesn't understand keys, though so you have to drop out of VS to use git with ssh-secured repos20:32
PresidentElect But it appears to be ok :)20:32
tang^ but the VS git implementation is weak so that's nbd20:32
countingdaisies joined20:32
PresidentElect tang^: I'm only just learning git so I want it all done via cli for now anyways20:32
tang^ other GUIs, like SourceTree will launch ssh-agent for you20:33
iamthad left20:33
iamthad joined20:34
tang^ wow... didn't even realize this convo was in a different channel20:34
PresidentElect: you'll get lots of good cli help in here20:35
dodobrain joined20:36
Balliad left20:37
GodGinrai lol20:37
trobotham left20:38
iamthad left20:38
iamthad joined20:38
iamthad left20:38
Es0teric joined20:39
sea-gull_ joined20:40
PresidentElect tang^: Aye. Not using much of git though20:40
finalbeta left20:40
PresidentElect At work it's all about the svn20:40
finalbeta joined20:40
iamthad joined20:40
rominron_ joined20:41
_28_ria left20:41
nettoweb left20:42
emg left20:42
_28_ria joined20:43
sLite left20:43
sLite joined20:45
askb joined20:45
flavius joined20:45
xpk left20:46
YuGiOhJCJ left20:47
ispn joined20:48
rominronin left20:48
kumarsuraj left20:49
dsteplight__ joined20:49
manuelschneid3r joined20:52
jccn left20:54
denisMone left20:55
trobotham joined20:55
maroloccio joined20:56
DieguezZ joined20:57
SwiftMatt joined20:58
johnmilton left21:00
Sasazuka left21:00
Balliad joined21:01
Sasazuka joined21:01
d0nkeyBOB left21:03
d0nkeyBOB joined21:03
d0nkeyBOB left21:07
mischat joined21:09
duderonomy left21:09
howitdo joined21:09
cagedwisdom left21:10
finalbeta left21:10
InfoTest left21:10
finalbeta joined21:10
countingdaisies left21:11
synthroi_ joined21:11
aard_ joined21:11
venmx joined21:11
afuentes left21:13
fatalhalt joined21:13
fatalhalt left21:13
Gsham left21:13
j416 PresidentElect: git-svn is not bad if you're stuck in svn world.21:14
GodGinrai left21:15
synthroid left21:15
jeffreylevesque left21:16
venmx left21:16
rominron_ left21:16
Es0teric left21:16
SwiftMatt left21:18
Vampire0 PresidentElect, getting Git was the best that could happen when stuck at companies that still insist on using SVN as VCS. I always since I know Git use its git-svn subcommands as SVN client, so I use almost the full power of Git on my local side and the others can continue using plain SVN if they prefer :-)21:18
howitdo left21:19
onmeac left21:19
Es0teric joined21:21
thesha left21:21
j416 ^ that21:22
cagedwisdom joined21:22
afuentes joined21:23
Vortex35 joined21:23
Vortex34 left21:24
SwingShock left21:29
kraut joined21:30
jimi_ left21:31
epist3me_ left21:31
epist3me joined21:31
dsantiag_ left21:32
syg_ left21:34
Balliad left21:35
SwiftMatt joined21:35
epist3meepisteme21:37
Discovery left21:38
IlNominePatre left21:38
venmx joined21:39
alipoor90 joined21:40
msonntag left21:40
msonntag joined21:42
cdg_ left21:42
episteme left21:43
nettoweb joined21:44
m0viefreak joined21:44
DocLivesey joined21:47
countingdaisies joined21:47
freimatz left21:48
nickabbey left21:48
Gsham joined21:48
alipoor90 Hi, I'm new to VCSs, I have repo where I make small changes in many files, and often my work in not done by the end of day and I want to save changes as a commit to ensure their integrity, or I want to make other changes but I want to have a backup of the current state (and e.g. 1h later have another backup and so on, not just a single backup), what feature of git should I use for this purpose? branches or git stash? or ...?21:51
j416 alipoor90: commit21:51
alipoor90: then use for example rebase to redo that into useful logical commit(s)21:52
Limes joined21:52
llamapixel alipoor90: are you on your own local branch as well?21:52
alipoor90 to make them add a single commit?21:52
SwiftMatt left21:53
kadoban alipoor90: I commit probably once every 10 minutes when I'm generating content, at least. Git can't save you from losing work until you ... tell it about the work.21:53
countingdaisies left21:53
kadoban It should not be like an end-of-day thing.21:53
alipoor90 for now I have a local repo which gets only updated by me, but I like to know about the right way of working with a remote repo, should I make a new local branch for my self when I'm working with remote repos?21:53
llamapixel http://nvie.com/posts/a-successful-git-branching-model/ || https://gist.github.com/djspiewak/9f2f91085607a4859a66 alipoor90 a little bit of reading for two articles. in article two add the dmz before master21:53
I commit when I have an obvious solid change, refactor a few things, added a feature, purged files...21:54
synthroi_ left21:54
alipoor90 I wasn't aware that I can convert multiple commits into one21:54
llamapixel git status will show you how many commits you are in front or behind in case that was not known.21:55
kazantip joined21:55
llamapixel It never hurts to have a MyGitTest project you can do crazy things into for experience as well.21:56
WaReZ joined21:57
govg left21:58
llamapixel alipoor90: If you grow to quite a few repos and working with people who need you to commit and push without the dmx concept, the can I go concept is great because it checks them all for you. https://github.com/stevenjack/cig21:58
ExoUNX left21:59
llamapixel dmz*21:59
DolphinDream so again.. how do you compare two commits (one cherry pick of another + possibly some extra amends) to check if the sets of changes within those two commits are exactly the same ?21:59
llamapixel mmm cherries22:00
alipoor90 If I have a repo with these commits: A-B-C-D-E-F-G, and I make the B and C and D a single commit to make the repo look like this A-newD-E-F-G will it change the E and F and G SHAs? as whole which operations can change SHAs of other commits?22:00
bremner DolphinDream: patch-id22:00
man git patch-id22:00
gitinfo the git-patch-id manpage is available at http://jk.gs/git-patch-id.html22:00
DolphinDream i see22:00
texasmynsted say I have branch, branchA and it maps to a remote origin/branchA, and I branch it to local branch branchB.22:01
GavinMagnus joined22:01
rewt alipoor90, yes, the SHA1 of every commit is partly dependent on the SHA1 of its parents22:01
GavinMagnus left22:01
FSadino joined22:02
alipoor90 Thanks22:03
FSadino left22:03
texasmynsted When remote branch origin/branchA updates I should be able to update branchB with "git pull" or "git pull —rebase" from the remote without separately updating the local branchA etc, then merging local branchA into local branchB. RIght?22:03
leeN left22:04
jasondockers kadoban, do you squash your history?22:04
err, commits22:04
thebope joined22:04
rewt texasmynsted, if branchB is only local, it won't change with "git pull"22:04
DieguezZ left22:05
kadoban Not usually. I cleanup stuff once in a while, if they're real shit. Otherwise I just merge --no-ff all the time and consider merged braches fairly "don't bother looking here usually" material22:05
rewt btw "git pull" is basically just short for "git fetch; git merge"22:05
mmmikey left22:05
texasmynsted ah, yes, you are correct.22:05
kadoban I find the history useful occasionally, and not distracting otherwise.22:05
texasmynsted Ok so I mean get merge22:05
jnavila left22:05
kadoban (almost every commit I ever make is on a feature branch)22:05
texasmynsted So I should be able to merge with the remote branchA without fetching anything right?22:06
rorro joined22:06
morenoh149 joined22:06
rewt if you git fetch without updating local branchA, and merge branchA -> branchB, then you'll merge that old state of branchA, not the most recent22:06
morenoh149 how do I see changes that are staged?22:06
jasondockers kadoban, makes sense22:06
bremner morenoh149: git diff --cached22:06
kadoban morenoh149: git diff --cached (you'd be wise to add an alias for this, it's insanely useful)22:06
texasmynsted for branchB, now I want to ignore that branchA exists locally.22:07
rivarun left22:07
texasmynsted I just want to update my local-only branchB directly from the remote version of branchA.22:07
rivarun joined22:07
jagob left22:08
rewt texasmynsted: checkout branchA; pull; checkout branchB; merge branchA22:08
romerocesar joined22:09
e14 left22:09
romerocesar_ left22:09
Darren_ left22:09
texasmynsted Why when I do not care about local branchA?22:10
must I really do that?22:10
Sasazuka left22:11
tmsmith joined22:11
kadoban texasmynsted: What do you actually want to do? I'm lost.22:11
macivy joined22:11
diogenese joined22:11
rewt texasmynsted, i guess you can: checkout branchB; fetch; merge origin/branchA22:11
watabou_ joined22:12
Darcidride left22:12
rewt texasmynsted, but you'll have the branchA commits anyways, and branches are just pointers to commits, so not saving much by "not having local branchA"22:12
watabou left22:12
roxlu left22:13
rominronin joined22:13
texasmynsted I am trying to do this update in as few steps as possible22:13
fetch will fetch revisions for all branches right?22:13
So I really do not need to co branchA.22:14
rewt fetch will fetch commits/branches/tags that you don't have locally22:14
llamapixel !fetch vs commit22:14
gitinfo When you work with remote repositories, Git stores copies of the remote's branches in !tracking_branches (basically mirrors). You can use 'git fetch' to update those. If you want to actually apply changes from the remote to your checked out branch, a second step is needed, usually 'git merge' or 'git rebase'. There's also 'git pull' which combines both steps.22:14
jimi_ joined22:14
llamapixel sorry that was supposed to be fetch /pull22:14
texasmynsted yeah22:15
This is something that will run in a script so I want to eliminate steps that I would normally do manually22:15
emg joined22:15
texasmynsted so I can git fetch everything in one command22:15
then I can merge the changes from origin/branchA to branchA w/o checking out branchA. Then I an merge the changes from branchA to branchB.22:16
rewt i tend to be more verbose in scripts vs manual, because it is scripted, so it will just do it all, and when looking at the script later it's more obvious what's being done22:16
Sasazuka joined22:16
texasmynsted I guess I am just saving two checkouts but that is two saved commands22:16
jaguarmagenta joined22:17
zacts joined22:17
jeffreylevesque joined22:17
jccn joined22:18
Cavallari joined22:18
emg left22:20
JamesBaxter joined22:21
jaguarmagenta left22:21
emg joined22:24
macivy left22:26
DocLivesey left22:26
SwiftMatt joined22:28
buffal0 joined22:28
griffindy joined22:28
llamapixel Get a git hub account , or gitlab and make a test repo then go crazy in there touching fred, sam, and joe files with red green and blue branches. Use another git hub / lab account and test it as if you are two devs.22:29
Nothing beats that aha test environment for speed.22:29
corn13read left22:31
Ufm left22:33
morenoh149 left22:33
madewokherd left22:34
rewt don't even need github/gitlab; you can use a bunch of local repos22:34
Cavallari left22:35
rewt all repos are equal as far as git is concerned, so having a "remote repo" point to a local directory is no different than having it point to somewhere in the cloud22:35
Spec-Chum joined22:35
buffal0 left22:36
SebastianM left22:37
chardan joined22:39
nicksloan left22:42
adamm left22:43
maroloccio left22:44
countingdaisies joined22:45
matthiaskrgr so, I have a repo that I deleted all the checked out files in22:45
QuestionTime joined22:45
osse git checkout -- . && echo yaaay22:45
matthiaskrgr is there a way to do a git checkout and a git pull in the same step so that I don't have to checkout all the files and then update them again because of the pull?22:46
(didn't do git pull in a while)22:46
osse not that i know of. but why? one huge repos checkout should only take a couple of seconds22:47
rominronin left22:47
Es0teric left22:47
Noodlewitt joined22:47
mizu_no_oto joined22:48
macivy joined22:48
joki- left22:48
Poppa joined22:49
vdv left22:49
countingdaisies left22:50
nohop left22:50
tmsmith left22:51
tmsmith joined22:51
corn13read joined22:52
mattkrea joined22:53
llamapixel You have a copy of the files locally, it is just updating the differences. Part of why distributed git is god22:53
romerocesar_ joined22:56
romerocesar left22:56
bremner no, clapton is god22:56
QuestionTime left22:56
llamapixel ^^22:56
cdown_ joined22:56
nohop joined22:57
rwb joined22:57
llamapixel https://youtu.be/idLyobOhtO4?t=38422:58
osse not knopfler?22:58
cdown left22:59
cdown_cdown22:59
fmeerkoetter left23:01
fmeerkoetter joined23:01
MrEnergy joined23:01
anonymuse left23:02
anonymuse joined23:02
Sasazuka left23:02
nowhere_man left23:03
bremner well, not according to 1970s london graffiti23:03
QuestionTime joined23:03
mellernoia joined23:04
QuestionTime left23:04
Dougie187 left23:04
Sasazuka joined23:04
irco left23:05
JamesBaxter left23:05
anonymuse left23:07
peeps[lappy] joined23:08
Gsham left23:09
mischat left23:09
mischat joined23:10
hahuang65 joined23:10
MrWoohoo joined23:10
King_Hual` joined23:10
QuestionTime joined23:11
Sasazuka left23:12
FSadino joined23:13
dsteplight__ left23:13
King_Hual left23:13
gitinfo set mode: +v23:13
FSadino Hello ppl23:13
Wza joined23:13
FSadino I'm getting a strange error while trying to use meld on mergetool23:14
Sasazuka joined23:14
FSadino It says meld need python 3.3 or up23:14
Already update to 3.5 and change it to be used as default but the error continues...23:15
Anyone can help?23:15
Thanks in advance23:15
hashpuppy left23:15
Gsham joined23:16
howitdo joined23:16
howitdo left23:16
howitdo joined23:16
sea-gull_ left23:16
maroloccio joined23:17
maroloccio left23:17
sofly left23:19
nanga left23:19
sofly joined23:20
sofly left23:20
sofly joined23:20
nettoweb left23:20
nettoweb joined23:21
nettoweb left23:21
chromity joined23:21
tmg joined23:22
macivy left23:22
nd_ joined23:22
FSadino left23:23
FSadino joined23:23
nanga joined23:24
nanga left23:24
nanga joined23:24
satifant left23:25
nd left23:26
rmainanon left23:26
osse FSadino: does meld work from the command line directly?23:26
romerocesar_ left23:27
aarobc left23:27
griffindy left23:27
Sasazuka left23:27
SwiftMatt left23:28
FSadino osse: No, same error23:28
Sasazuka joined23:29
osse at least we can rule git out23:29
roxlu joined23:29
romerocesar joined23:29
FSadino osse: didn't understand what you mean23:29
osse FSadino: i mean git has nothing to do with it23:30
FSadino No, got is not the problem. I can use kdiff323:30
But I prefer meld23:30
*git23:31
osse in that case maybe you should ask #python. I at least have no idea how to debug it23:31
jimi_ left23:32
derk0pf left23:32
gnoirzox joined23:33
nicksloan joined23:35
mattkrea left23:39
Wza left23:39
Sasazuka left23:39
johnmilton joined23:39
mikecmpbll joined23:39
rominronin joined23:44
Limes left23:45
tmsmith left23:45
ralph_ joined23:46
FSadino osse: thanks, I will try on python channel23:48
FSadino left23:48
matsaman left23:50
porsche944 left23:50
roxlu left23:53
cdown left23:54
Sasazuka joined23:54
venmx left23:54
rorro left23:55
johnmilton left23:55

Logs Search ←Prev date Next date→ Channels Documentation