IRCloggy #git 2016-11-07

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-11-07

TSS_ left00:01
TSS_ joined00:03
dede_ left00:04
converge left00:06
romerocesar left00:06
Anja joined00:07
shaggycat joined00:07
TSS_ left00:07
CEnnis91 left00:08
TSS_ joined00:09
finalbeta left00:09
yohnnyjoe joined00:11
m___ hello00:12
gitinfo m___: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.00:12
dodobrain joined00:13
dodobrain left00:13
dodobrain joined00:13
dodobrain left00:13
thiago joined00:14
venmx joined00:14
dodobrain joined00:14
fahadash left00:16
thiago left00:18
venmx left00:19
_cyril_ joined00:19
johnmilton joined00:21
Gfurst so something really weird happened00:22
on a submodule00:22
this repo specifically used for assets, has tons of small images and etc, those pratically untouched and even before I used git-lfs00:23
jadesark joined00:23
_cyril_ left00:23
Gfurst for some reason a few of those images start getting "modified" even though I did nothing and they didn't actually change, but because of that git is giving a huge hassle and even checkout -- ... them will not work00:24
Maple__France00:24
justanotheruser left00:24
causasui joined00:25
nettoweb joined00:25
EricPoe left00:26
Gfurst so even if I checkout the problem files it still says they are modified00:26
EricPoe joined00:27
Starky left00:27
TSS_ left00:28
nwkj86 left00:28
pokalyis left00:30
relipse left00:30
overlord_tm left00:31
FranceUkraine00:33
ayjay_t left00:33
thiago joined00:34
UkraineMaple__00:34
TSS_ joined00:35
Siegfried joined00:38
_cyril_ joined00:40
qws-user-1229 joined00:42
qws-user-1228 left00:42
nfk left00:42
TSS_ left00:44
TSS_ joined00:45
thiago left00:46
Samual left00:48
JamesBaxter left00:49
red82 joined00:50
nettoweb left00:50
nettoweb joined00:51
TSS_ left00:52
Samual joined00:54
ejb joined00:56
dhollinger left00:57
sauron_ joined00:57
dhollinger joined00:58
yohnnyjoe left00:58
sauron_ left00:59
Ender13 joined00:59
JamesBaxter joined01:03
sdothum left01:03
sdothum joined01:05
mehola joined01:06
ramsub07 left01:06
johnmilton left01:06
fahadash joined01:07
afuentes left01:07
Kaisyu joined01:11
jfelchner left01:11
doener left01:13
babilen left01:13
aidalgol left01:16
raijin joined01:18
babilen joined01:20
fstd_ joined01:22
fstd left01:22
fstd_fstd01:22
aidalgol joined01:23
shaggycat left01:23
nettoweb left01:25
romerocesar joined01:25
hahuang61 joined01:26
manuel left01:29
m0viefreak left01:32
liuzhen joined01:32
nidr0x left01:33
cdown joined01:33
snthsnth left01:35
ejb left01:35
svm_invictvs left01:38
venmx joined01:44
cdown left01:45
leeN left01:46
venmx left01:49
Jameser joined01:52
red82 left01:54
bruce_lee left01:54
bruce_lee joined01:55
bruce_lee left01:55
bruce_lee joined01:55
jbitdrop left01:57
dreiss joined02:00
xall_ joined02:04
WizJin joined02:04
popmystack left02:05
_ADN_ left02:05
morenoh149 joined02:06
Urbany joined02:06
fuzzmz joined02:07
thiago joined02:09
svm_invictvs joined02:09
lindenle joined02:09
xall_ left02:09
apotry left02:12
a_thakur joined02:13
cdown joined02:13
JamesBaxter left02:13
mellernoia left02:14
govg left02:15
a_thakur left02:16
JamesBaxter joined02:17
pokalyis joined02:19
Gfurst left02:20
EricPoe left02:22
finalbeta joined02:24
jason237 left02:26
cdown left02:29
flopsec joined02:30
arand__ joined02:31
arescorpio joined02:31
red82 joined02:32
dreiss left02:32
nd_ joined02:33
netj left02:34
xall_ joined02:35
netj joined02:35
hahuang61 left02:36
nd- left02:36
steelsw0rd joined02:37
thiago left02:39
d^sh left02:41
d^sh joined02:43
Maple__Maple02:45
xall_ left02:45
MapleMaple__02:45
ilbot3 left02:45
ilbot3 joined02:49
st33lsw0rd joined02:49
st33lsw0rd left02:49
Limes joined02:49
thiago joined02:51
JamesBaxter left02:51
snthsnth joined02:51
barteks2x left02:52
scottxu joined02:52
xall_ joined02:52
thiago left03:01
jezze joined03:01
aavrug joined03:01
SwiftMatt joined03:02
aavrug left03:02
robogoat left03:02
aavrug joined03:03
jnewt1 joined03:04
jnewt1 i have a file i pulled from a project I haven't worked on in a long time. it has a bunch of the <<<<<<HEAD <CODE> ======= <OTHER_CODE> >>>>>>><SOME_SHA>03:06
archaic joined03:06
kbs joined03:06
nedbat jnewt1: those are conflict markers03:06
jnewt1 yes.03:06
i've seen them when merging03:07
nedbat jnewt1: is the file like that in the repo?03:07
jnewt1 nedbat: yeah, just pulled it03:08
JamesBaxter joined03:08
jnewt1 so what i want to do is get rid of them, and all the code in one side or the other, all at once, across the whole file03:09
i assume the code between <<<<HEAD and ===== was the most recent, so i'd like to start there. how do i get rid of the markers and the non HEAD code?03:10
nedbat jnewt1: i don't know a way other than firing up your text editor03:11
jnewt1 that's no fun03:12
Ender13 left03:12
snthsnth left03:13
Limes left03:13
kadoban jnewt1: You can use a mergetool. meld is okay03:14
There's a few others03:14
venmx joined03:15
Raed joined03:15
Andrew_K joined03:15
fahadash left03:16
yohnnyjoe joined03:19
jnewt1 so git can't interpret these markers it created?03:20
Hello71 git merge --ours03:20
menip left03:20
Hello71 or git checkout --ours03:20
Random832 jnewt1: whoever checked it in screwed up03:20
venmx left03:20
Hello71 oh, you mean *that*03:21
yeah, GIGO03:21
kadoban jnewt1: Why would it? The markers are there for cases when git isn't smart enough to merge it. That's your job.03:21
If you do it wrong, what is git supposed to do about it?03:21
BSAlb joined03:22
jnewt1 kadoban: allow me to checkout which to keep (ie HEAD or some other SHA), as marked in the file, without the markers is what i think git should do, whether or not it does is the question03:24
Hello71 the markers are *part of the file*03:25
BSaboia left03:25
jnewt1 Hello71, checkout --ours doesn't work, although it seems like that's what i want03:25
peepsalot left03:25
guampa joined03:28
nedbat jnewt1: if the markers are in the file in the repo, there's nothing git can do to get rid of them.03:30
thiago joined03:31
govg joined03:31
peepsalot joined03:32
BenderRodriguez joined03:32
snthsnth joined03:34
hexagoxel left03:35
hahuang61 joined03:35
chachasmooth left03:37
cqi joined03:37
chachasmooth joined03:39
lagothri1 joined03:39
inflames left03:39
rchavik joined03:39
SpeakerToMeat left03:40
hexagoxel joined03:40
ochorocho__ joined03:41
lagothrix left03:42
drbean left03:42
akushner joined03:42
ochorocho__ left03:45
drbean joined03:47
boombatower joined03:51
a_thakur joined03:52
acetakwas joined03:53
Corosauce left03:54
Corosauce joined03:54
liuzhen left03:55
hahuang61 left03:57
inflames joined03:57
thiago left03:58
justanotheruser joined04:00
jezze left04:00
thiago joined04:00
jost_ joined04:01
govg left04:02
kbs left04:02
jost__ left04:04
jason237 joined04:04
blackwind_123 joined04:04
JamesBaxter left04:06
_cyril_ left04:08
acetakwas left04:08
ac3takwas joined04:08
OS-11711 joined04:10
Anja left04:10
OS-11711 left04:10
OS-11711 joined04:10
mquin left04:11
OS-11711 left04:11
mquin joined04:12
thiago left04:14
jadesark left04:14
Vortex35 joined04:14
dsdeiz joined04:15
Oatmeal joined04:15
Anja joined04:15
Vortex34 left04:16
a3Dman left04:18
_cyril_ joined04:26
xall_ left04:27
liuzhen joined04:28
yohnnyjo1 joined04:30
yohnnyjo1 left04:30
yohnnyjoe left04:31
floatingman left04:36
howdoi joined04:36
snthsnth left04:37
floatingman joined04:38
cqi left04:39
theskillwithin left04:41
nilg joined04:41
xall_ joined04:43
venmx joined04:45
lightstalker joined04:48
liuzhen left04:48
askb joined04:49
boz_v1 left04:50
venmx left04:50
finalbeta left04:52
finalbeta joined04:52
subhojit777 joined04:52
snowkidind left04:53
rmichnik left04:55
resurtm joined04:57
aidalgol left04:58
kyan left04:58
mehola left05:00
Remramm No you can use git to checkout a specific version05:02
by using `git checkout master -- myfile` for instance05:02
govg joined05:03
Rickmasta joined05:04
Remramm --ours, --theirs and --merge should also work, but you have to pass paths05:04
pijiu left05:07
wxg joined05:11
a_thakur left05:12
askb Getting a git cli error "fatal: Paths with -a does not make sense." when using option `git commit -asm`, while -a -s -m works. Any suggestions appreciated ?05:12
a_thakur joined05:12
daey_ joined05:13
ELFreder1ch joined05:14
ELFrederich left05:14
daey left05:16
a_thakur left05:17
laumann joined05:17
a_thakur joined05:19
led_belly left05:20
cagedwisdom left05:22
CheckDavid left05:23
Remramm None of those should work, options -s and -m don't exist05:24
madewokherd left05:24
Kaisyu left05:24
Remramm Wait you said git-commit, not git-add05:24
I get the same error here, -m (--message) without a value doesn't work05:25
laumann left05:26
zumba_ad_ joined05:26
Remramm do you pass some other argument after those flags?05:26
robotroll left05:27
sdothum left05:28
resurtm left05:28
Cabanossi left05:29
sdothum joined05:29
d0nn1e left05:30
snthsnth joined05:31
svm_invictvs left05:31
Doginal left05:31
Cabanossi joined05:31
svm_invictvs joined05:32
d0nn1e joined05:32
cagedwisdom joined05:35
phanimahesh joined05:35
sangy left05:40
hahuang61 joined05:41
antwon joined05:41
resurtm joined05:41
pks left05:42
jfelchner joined05:42
antwon left05:42
pks joined05:42
ayjay_t joined05:43
liuzhen joined05:44
ome joined05:45
hahuang61 left05:45
dodobrain left05:48
DreamsandCode joined05:49
DreamsandCode left05:50
dan2k3k4 joined05:50
ngperfex joined05:51
jfelchner left05:52
zumba_ad_ left05:52
dan2k3k4 left05:53
netj left05:54
netj joined05:56
mehola joined05:58
thiago joined05:58
Vinnie_win joined06:00
bket left06:02
boz_v1 joined06:02
finalbeta1 joined06:03
Vinnie_win_w left06:03
finalbeta left06:03
shpew12 joined06:04
sdothum left06:04
sdothum joined06:06
ArchNoob joined06:08
dreiss joined06:08
arescorpio left06:09
bket joined06:09
Rickmasta left06:10
barteks2x joined06:10
sdothum left06:11
robattila256 left06:11
xall_ left06:11
brillenfux joined06:12
fatalhalt joined06:12
_cyril_ left06:15
Darren_ left06:16
venmx joined06:16
sdothum joined06:16
barteks2x left06:16
thiago left06:17
jozwior joined06:21
venmx left06:21
a3Dman joined06:23
subhojit777 left06:25
dreiss left06:27
subhojit777 joined06:28
bl0w3d_0ut left06:29
red82 left06:31
finalbeta1 left06:33
finalbeta joined06:33
cqi joined06:35
nbrogan left06:36
govg left06:36
synthmeat joined06:36
overlord_tm joined06:37
robattila256 joined06:38
ArchNoob left06:39
hahuang61 joined06:41
ochorocho__ joined06:43
thiago joined06:43
cagedwisdom left06:44
venmx joined06:46
hahuang61 left06:46
ochorocho__ left06:48
flavius left06:51
ThomasLocke joined06:52
ThomasLocke left06:52
ThomasLocke joined06:52
d^sh left06:53
d^sh joined06:54
qt-x joined06:54
jozwior left06:55
cagedwisdom joined06:58
brk_ joined06:58
ac3takwas left06:59
Raging_Hog joined06:59
pokalyis left06:59
LucaTM joined07:00
dermoth left07:00
dermoth joined07:00
underpantz_ left07:01
ThunderChicken joined07:03
ThunderChicken left07:03
ThunderChicken joined07:03
pijiu joined07:05
thiago left07:05
svm_invictvs left07:06
thiago joined07:07
ac3takwas joined07:07
rscata joined07:09
cbreak left07:09
ahmedelgabri joined07:10
_cyril_ joined07:11
dan2k3k4 joined07:11
cbreak joined07:12
sdothum left07:13
_cyril_ left07:16
fatalhalt left07:17
cdown joined07:17
ahmedelgabri left07:20
freimatz joined07:23
boombatower left07:23
zeroed joined07:25
zeroed left07:25
zeroed joined07:25
jozwior joined07:26
afusion joined07:28
conrad_ joined07:32
JeroenT joined07:33
Kaisyu joined07:33
meauses joined07:34
flavius joined07:34
_cyril_ joined07:35
JeroenT left07:35
thiago left07:38
jnavila joined07:39
_cyril_ left07:39
elect joined07:42
hahuang61 joined07:42
GodEater` left07:43
GodEater joined07:43
GodEater left07:43
GodEater joined07:43
f4 joined07:44
hahuang61 left07:48
MrWoohoo joined07:48
Sceorem joined07:48
ferr joined07:48
thiago joined07:49
lb1c joined07:50
realz left07:51
realz joined07:52
lss8 joined07:53
danslo joined07:56
JeroenT joined07:58
JeroenT left07:58
JeroenT joined07:59
Endarked joined08:02
eduardas_m joined08:02
BSab joined08:06
afusion_ joined08:10
PCatinean joined08:11
BSAlb left08:11
zeroed left08:12
danslo left08:12
afusion left08:13
a3Dman left08:13
Shentino left08:14
ngperfex left08:14
Shentino joined08:14
govg joined08:17
a_thakur left08:18
zeroed joined08:19
zeroed left08:19
zeroed joined08:19
cworth left08:20
ngperfex joined08:20
danslo joined08:21
Jameser left08:21
thiago left08:21
laumann joined08:21
snthsnth left08:21
danslo left08:22
ome left08:22
thiago joined08:23
a_thakur joined08:23
apotry joined08:25
Alienpruts joined08:26
cqi left08:28
_ng joined08:29
SwiftMatt left08:29
mablae left08:31
Goplat left08:34
thiago left08:34
thiago joined08:35
ahmedelgabri joined08:37
afusion joined08:39
JeroenT left08:40
JeroenT joined08:40
cagedwisdom left08:40
jozwior left08:43
sdlnv joined08:43
hahuang61 joined08:43
afusion_ left08:43
JeroenT left08:45
ochorocho__ joined08:45
Seveas suggestion: use -a -s -m insted of -asm. -asm is probably interpreted as -a sm08:46
Anja left08:46
KeelOfSteel left08:47
Anja joined08:47
JeroenT joined08:48
stemid left08:48
hahuang61 left08:48
shpew12 left08:48
milestone joined08:49
milestone hi all08:49
i have cloned a repo from github08:49
Glooomy joined08:49
Glooomy left08:49
milestone then i made changes to the code08:49
then i commited the changes to my local repo08:49
then i forked it on github (so i can push it)08:49
i added my new forked repo vie git add remote name url08:50
ochorocho__ left08:50
milestone but when i run git push name branch08:50
i am getting an error08:50
govg left08:50
milestone error: src refspec … does not match any08:50
error: failed to push some refs to repo08:50
Glooomy joined08:51
a3Dman joined08:52
mikecmpbll left08:52
cagedwisdom joined08:52
Darcidride joined08:52
Seveas milestone: so you're pushing a branch that does not exist.08:53
milestone Seveas: no, the branch is remotely tracked08:53
and present on github08:53
in my fork08:53
Seveas: but git status reports: HEAD detached from08:53
thiago left08:53
Seveas ah, so you probably did git checkout name/branch08:54
Ardethian left08:54
lss8 left08:54
flaviodesousa joined08:54
milestone hmm. now I ran git checkout master and git reports… Warning: you are leaving 3 commits behind, not connected to any of your branches:08:54
Seveas that means you're not on a branch and you've been igonring warnings about a detached HEAD at every commit08:54
milestone ok, git shows me what to do i guess08:55
jozwior joined08:55
Ardethian joined08:55
milestone If you want to keep them by creating a new branch, this may be a good time08:55
danslo joined08:55
Seveas yeah, in the last output, it'll have told you what to do08:55
milestone Seveas: thanks08:55
git is great08:55
ArchNoob joined08:56
fees joined08:57
snthsnth joined08:58
GavinMagnus joined08:58
dodobrain joined09:00
encod3 joined09:01
gfixler left09:01
synthmeat left09:02
synthmeat joined09:02
mikecmpbll joined09:02
encod3_ joined09:03
systemovich joined09:05
byte512 joined09:06
encod3 left09:07
snthsnth left09:08
afusion_ joined09:09
ocbtec joined09:11
kamog` joined09:11
brillenfux left09:12
afusion left09:13
sea-gull joined09:13
ramsub07 joined09:13
kurkale6ka joined09:13
kamog left09:13
afusion joined09:14
clmsy joined09:16
afusion_ left09:16
govg joined09:17
danslo left09:18
sdlnv_ joined09:19
systemovich left09:19
sdlnv left09:22
marcogmonteiro joined09:22
thiago joined09:22
sdlnv__ joined09:24
cworth joined09:26
sdlnv_ left09:28
Darcidride left09:33
chele joined09:34
nettoweb joined09:35
danslo joined09:36
cdown left09:36
Endarked left09:38
a3Dman left09:39
Serpent7776 joined09:39
flavius left09:40
brillenfux joined09:41
robattila256 left09:41
overlord_tm left09:44
hahuang61 joined09:44
cworth left09:45
sagerdearia joined09:45
phanimahesh left09:48
Endarked joined09:48
hahuang61 left09:49
courrier joined09:51
bmahe left09:51
mischat joined09:52
danslo left09:52
mischat left09:52
Snugglebash joined09:52
Snugglebash left09:52
mischat joined09:52
flavius joined09:52
Snugglebash joined09:52
cworth joined09:53
danslo joined09:53
a3Dman joined09:53
a_thakur left09:54
a_thakur_ joined09:54
realz left09:55
realz joined09:55
overlord_tm joined09:57
phanimahesh joined09:59
cagedwisdom left10:01
tvw joined10:04
def_jam left10:04
eb0t_ left10:05
afusion_ joined10:07
achadwick joined10:08
leeN joined10:08
byte512 left10:09
afusion left10:09
paws_ joined10:10
a_thakur_ left10:11
a_thakur joined10:11
lindenle left10:12
janxjanx|beach10:13
Andrew_K left10:13
rnsanchez joined10:13
Andrew_K|2 joined10:13
lindenle joined10:13
jbitdrop joined10:13
P4nther joined10:14
afusion_ left10:15
andrew710 joined10:16
King_Hual joined10:17
cyphase left10:19
P4nther left10:21
cyphase joined10:23
Darcidride joined10:25
Darcidride_ joined10:26
moritz .oO( what if git was one of us? )10:28
mablae joined10:28
Darcidride left10:31
wizardedit left10:31
fakenerd joined10:31
solf1re joined10:32
GavinMagnus left10:32
troulouliou_div2 joined10:33
dan2k3k4 left10:35
GavinMagnus joined10:35
ArchNoob left10:36
icedwater Cxcf: did you get an answer to your HW3/HW6 issue?10:36
liuzhen left10:38
icedwater If I understand correctly, you made one branch for each homework assignment, but while you were on the branch for HW3, you made some changes to HW6 and now you want HW3's copy of the HW6 file to remain as it was, as all changes on HW6 should be tracked on the HW6 branch, right?10:38
Learath2 left10:38
SpeakerToMeat joined10:38
kamog`kamog10:39
icedwater My instinct would be to stash the changes to HW6 (git stash --save if you have to stash things separately), then checkout HW6. Once on the correct branch, you can git stash pop, then add/commit the relevant changes in the branch.10:39
GavinMagnus left10:40
phanimahesh left10:40
GavinMagnus joined10:40
micdo_ joined10:44
cdown joined10:44
lindenle left10:45
hahuang61 joined10:46
phanimahesh joined10:46
qpdb joined10:48
interrobangd joined10:48
usm4n joined10:49
govg left10:49
troulouliou_div2 left10:50
hahuang61 left10:50
andrew710 left10:50
dsdeiz left10:52
rbern joined10:53
Blkt left10:53
mischat left10:53
mehola left10:54
meauses left10:55
meauses joined10:56
red82 joined10:57
BSab left10:58
govg joined10:58
BSaboia joined10:58
energizer left10:58
Blkt joined10:59
ramsub07 left11:00
mischat joined11:00
rmichnik joined11:00
venmx left11:02
usm4n_ joined11:04
ac3takwas left11:05
Nikitaw99 joined11:06
usm4n left11:06
allaroundArtist joined11:07
allaroundArtist left11:07
wizardedit joined11:09
wizardedit left11:09
wizardedit joined11:09
JeroenT left11:10
Glooomy left11:11
venmx joined11:11
piwne joined11:12
eivarv joined11:14
ac3takwas joined11:17
Rickmasta joined11:20
MrMojito joined11:23
MrMojito left11:23
MrMojito joined11:23
Rickmasta left11:25
askb left11:26
ac3takwas left11:27
ac3takwas joined11:28
ieee joined11:30
dan2k3k4 joined11:31
usm4n joined11:32
MafiaInc joined11:32
qpdbGuest5643911:33
Guest56439 left11:33
qpdb joined11:34
usm4n_ left11:34
fakenerd left11:34
danslo left11:35
fakenerd joined11:35
Cavallari joined11:35
_cyril_ joined11:36
nfk joined11:36
goTAN joined11:36
fuchstronaut joined11:37
afuentes joined11:39
fakenerd left11:40
_cyril_ left11:40
leeN left11:40
eivarv left11:41
JeroenT joined11:41
venmx left11:42
Snugglebash left11:42
govg left11:42
star_prone joined11:42
overlord_tm left11:44
jeffreylevesque joined11:45
hahuang61 joined11:46
flavius left11:46
Karazhan left11:47
dimi1947 joined11:47
Karazhan joined11:47
re1 joined11:48
hahuang61 left11:51
netj left11:52
netj joined11:52
manuel_ joined11:53
lmatteis joined11:53
dsdeiz joined11:54
tharuin joined11:56
usm4n left11:58
overlord_tm joined11:59
flavius joined11:59
tharuin Hey as a git-user, but still noob, I've run into this problem: I do have 1 + X repositories, one which is the backend, and X others representing different clients. All of these definately don't share stuff, so they are split into their own repos. Now I do feel like I need a master-repo, which contains config files and cmmon documentation for all of them,11:59
especially for workflows like CI, provisioning and deploying. But I only heard bad stuff about submodules, but at the same time I'd like to have this master-repo which just has all the other repos as folders inside, but just splitted lol. Is there a way to go for this or should I gtfo and just deal with it11:59
boxrick1_ left12:00
moritz tharuin: you can have a separate repo with config files, or things like ansible playbooks that deploy the config12:00
tharuin: and then let your CI system or so worry about correlating the versions12:00
boxrick1 joined12:01
danslo joined12:01
tharuin so I should rather have all repo's without links and version every of them by tags or something12:01
quackgyver joined12:01
moritz I don't know how complex your setup is, but we haven't needed explicit verification so far12:02
we have GoCD piplines, and in that pipeline, the version of the config repo and of the code repo are fixed12:02
so we modify both as needed, and the code changes trigger a new pipeline instance, which uses the latest config12:03
that works well enough for us12:03
mischat_ joined12:03
tharuin That is too complex for that case, it is all rather simple, but I need to track the versions right, so I thought submodules would be perfect. But I guess I'll just separate configs completely12:03
moritz GoCD isn't more complex than Jenkins, IMHO12:05
mischat__ joined12:05
moritz anyway, you can use submodules if you feel you need it; they just suck :/12:05
kedare joined12:05
tharuin We've used submodules for a customer some time ago and I know that it somehow took us a few days at some point to fix some issue, and googling also says to not use them lol12:06
mischat left12:07
mischat_ left12:08
cdown left12:09
dan2k3k4 left12:10
f4 left12:10
a_thakur left12:11
a_thakur joined12:12
ams__ joined12:14
ams__ left12:14
ams__ joined12:15
fuchstronaut is there a way to peak into a file on a certain branch without switching branches?12:15
goTAN left12:16
osse fuchstronaut: git show branch:path/to/file12:16
PCatinean left12:16
PCatinean joined12:17
fuchstronaut thank you12:17
zeroed left12:18
ac3takwas left12:20
fahadash joined12:21
ac3takwas joined12:22
Andrew_K|2 left12:23
Starky joined12:24
davimore left12:28
aavrug left12:30
jeffreylevesque left12:31
zeroed joined12:31
ac3takwas left12:32
jknetl joined12:33
bsanford joined12:34
jstimm left12:35
annoymouse256 joined12:35
ac3takwas joined12:35
Learath2 joined12:35
wrouesnel joined12:38
p1ngarn joined12:45
goTAN joined12:46
moop left12:46
lmatteis left12:46
venmx joined12:47
hahuang61 joined12:47
lmatteis joined12:48
moop joined12:48
goTAN left12:48
corpsicle left12:49
jknetl left12:50
hahuang61 left12:52
mehola joined12:53
PioneerAxon left12:54
johnmilton joined12:55
ramsub07 joined12:55
raijin left12:56
PioneerAxon joined12:57
mischat joined12:58
nanga left12:58
nanga joined12:58
nanga left12:58
nanga joined12:58
corpsicle joined12:58
govg joined12:58
mehola left12:58
NimeshNeema joined12:58
dviola joined13:00
Cavallari left13:00
Cavallari joined13:00
mischat__ left13:01
jast joined13:02
corpsicle left13:04
jknetl joined13:04
zeroed left13:06
nanga left13:07
aax joined13:07
sdothum joined13:08
qt-x left13:10
pirate21994 joined13:11
flavius left13:12
ArchNoob joined13:14
dimi1947 left13:15
ak5 joined13:15
thiago left13:18
nilg` joined13:18
thiago joined13:20
sdlnv__ left13:21
Rickmasta joined13:21
synthroid joined13:22
zumba_ad_ joined13:22
mablae left13:22
corpsicle joined13:22
jeffreylevesque joined13:24
qpdb left13:25
red82 left13:25
Rickmasta left13:25
flavius joined13:26
irco joined13:29
subhojit777 left13:33
flavius left13:34
JeroenT left13:34
xall_ joined13:35
Mo joined13:36
CheckDavid joined13:36
Mo Hi, I tried to clone via 'git p4 ' and this worked for all other P4 depots but is failing with this one like this: http://dpaste.com/23C4H12 Any idea?13:36
_cyril_ joined13:36
ArchNoob left13:37
fakenerd joined13:38
JeroenT joined13:39
snowkidind joined13:40
_cyril_ left13:41
durham joined13:41
hahuang61 joined13:48
barteks2x joined13:49
hahuang61 left13:53
rnsanchez_ joined13:53
Endarked left13:54
cdown joined13:54
rnsanchez left13:55
synthroid left13:58
synthroid joined13:58
durham left13:59
cdg joined13:59
noidea joined14:00
noidea left14:00
noidea joined14:00
Cavallari left14:01
_noblegas joined14:01
a_thakur left14:02
rishi` left14:05
rishi joined14:06
tlaxkit joined14:07
bannakaffalatta left14:07
Dougie187 joined14:08
durham joined14:10
al-damiri joined14:10
l0v38ug joined14:11
ExoUNX joined14:11
altendky joined14:13
paws_ left14:13
guampa left14:13
dodobrain left14:13
flavius joined14:13
hs366 joined14:15
Mo left14:15
l0v38ug left14:15
hs366 left14:16
cdown_ joined14:16
Mo joined14:16
gho5t joined14:17
goTAN joined14:19
cdown left14:19
CEnnis91 joined14:19
hs366 joined14:20
overlord_tm left14:20
Endarked joined14:21
nilg` left14:21
goTAN left14:22
JamesBaxter joined14:22
overlord_tm joined14:22
red82 joined14:23
d0nkeyBOB joined14:23
thiago left14:25
JeroenT left14:26
Ryanar joined14:26
Es0teric joined14:27
thiago joined14:27
danslo left14:27
ShekharReddy joined14:29
d0nkeyBOB left14:29
Ryanar left14:31
danslo joined14:32
nettoweb left14:32
dan2k3k4 joined14:32
ShekharReddy left14:33
Es0teric left14:34
Junior joined14:35
Es0teric joined14:36
mischat left14:36
d0nkeyBOB joined14:36
mischat joined14:37
alex1a left14:37
JeroenT joined14:37
guampa joined14:37
noecc joined14:38
sangy joined14:38
Xethron joined14:39
kpease joined14:40
Raging_Hog left14:42
lindenle joined14:43
encod3_ left14:45
MafiaInc left14:46
ajf- joined14:46
Ordentlig joined14:46
encod3 joined14:46
shinnya joined14:47
Ryanar joined14:47
lindenle left14:48
hahuang61 joined14:49
AaronMT joined14:49
Ryanar left14:50
Yorlik joined14:52
pirate21994 left14:53
govg left14:53
pirate21994 joined14:53
Yorlik Quick n00b question: How would I have to change the following entry in ".gitmodules" to set the branch of the submodule to be "5.2.x": [submodule "lua"]14:54
path = deps/lua14:54
url = https://github.com/lua/lua14:54
hahuang61 left14:54
govg joined14:55
manuel_ left14:56
eivarv joined14:58
liuzhen joined15:00
pijiu left15:01
boombatower joined15:02
Darren_ joined15:02
e14 joined15:03
mmlb_ joined15:04
overlord_tm left15:04
sangy left15:05
Es0teric left15:06
ramsub07 left15:06
danslo Yorlik: just add 'branch = <branch name>' apparently, http://stackoverflow.com/a/1879772015:07
Yorlik Thanks !15:08
Been searching this like crazy but failed15:08
todd_dsm joined15:08
Es0teric joined15:08
sangy joined15:09
jstimm joined15:09
Ordentlig left15:10
liuzhen left15:10
jstimm left15:10
kulelu88 joined15:10
LeBlaaanc joined15:10
jstimm joined15:11
star_prone left15:11
eivarv left15:12
LeBlaaanc left15:13
phaleth joined15:14
ash_workz joined15:14
LeBlaaanc joined15:15
ferr left15:15
nicksloa_ joined15:16
zumba_ad_ left15:18
zumba_ad_ joined15:18
anonymuse joined15:18
durham left15:19
phanimahesh left15:19
asti left15:19
solf1re left15:19
mablae joined15:20
EricPoe joined15:20
sweatsuit left15:21
zumba_ad_ left15:21
Rickmasta joined15:22
Seveas Yorlik: that's a fairly new feature. Submodules generally don't care what branch they're on, they just track which commit should be checked out.15:22
eduardas_m left15:23
sweatsuit joined15:23
Yorlik which way ever had worked - I needed a way to fixate it somewhere.15:23
Since Lua has mooved to 5.3.3 already but I needed 5.215:24
eivarv joined15:25
jknetl left15:27
Rickmasta left15:27
Es0teric left15:29
jknetl joined15:29
nettoweb joined15:30
xall_ left15:31
nettoweb left15:31
clearcut joined15:31
Es0teric joined15:31
brk_ left15:31
xall_ joined15:33
pks_ joined15:34
ahf left15:34
sunny256 left15:35
eduardas_m joined15:35
demize left15:35
Xethron left15:35
ahf joined15:35
sunny256 joined15:35
demize- joined15:36
finalbeta left15:36
finalbeta joined15:36
pks left15:37
pks_pks15:37
_cyril_ joined15:37
Mo left15:38
mmlb_mmlb15:38
stemid joined15:39
dsop left15:40
xaa__ joined15:40
finalbeta1 joined15:40
watabou_ joined15:40
_noblegas left15:41
flupke left15:41
saidelike left15:41
fcrick left15:41
jleclanche left15:41
unholycrab left15:41
al-damiri left15:42
lmatteis left15:42
fahadash left15:42
timwis left15:42
barq left15:42
FritzLakritz left15:42
bcardarella left15:42
teadrop_ left15:42
janx|beach left15:42
Urbany left15:42
fuzzmz left15:42
_cyril_ left15:42
CheckDavid left15:42
moop left15:42
howdoi left15:42
Eugene left15:42
midgetspy left15:42
meZee left15:42
joco42 left15:42
sfan786_ left15:42
martin_g left15:42
wenzowski left15:42
techntoke__ left15:42
pizzaops left15:42
beckyconning__ left15:42
spr0tsuki left15:42
prosody left15:42
shennyg left15:42
kutenai left15:42
Tee_Pee left15:42
belak left15:42
stealthii left15:42
oncall-pokemon left15:42
joseph_arnstein_ left15:42
amaged__ left15:42
aendrew left15:42
Siegfried left15:42
watabou left15:42
Keridos left15:42
elmcrest left15:42
discopatrick left15:42
doppo left15:42
tobiasvl left15:42
davisonio left15:42
Sna4x8 joined15:43
dsop joined15:43
mmlb left15:43
aax left15:43
ams__ left15:43
boxrick1 left15:43
zacts left15:43
montyboy left15:43
rom1504 left15:43
swift1_ left15:43
theresajayne left15:43
xkr47 left15:43
lmatteis joined15:43
mkoskar left15:43
nezZario left15:43
SegFaultAX left15:43
Furai left15:43
demize- left15:43
finalbeta left15:43
Peng_ left15:43
demize joined15:44
tvl joined15:44
Lowell joined15:44
martin_g joined15:44
tvltobiasvl15:44
aendrew joined15:44
oncall-pokemon joined15:45
mroth joined15:45
FritzLakritz joined15:45
xkr47 joined15:45
unholycrab joined15:45
sfan786_ joined15:45
moop joined15:45
reuf_ joined15:45
joseph_arnstein_ joined15:45
clearcut left15:45
ghostlight left15:45
lxnch joined15:45
jstimm left15:45
howdoi joined15:45
JeroenT left15:45
reuf_ left15:45
techntoke__ joined15:46
adambrenecki joined15:46
sebhoss joined15:46
pizzaops joined15:46
mischat_ joined15:46
CheckDavid joined15:46
trig-ger joined15:46
jleclanche joined15:46
ams__ joined15:47
brillenfux left15:47
theresajayne joined15:47
fahadash joined15:47
prosody joined15:47
belak joined15:47
janx|beach joined15:47
stealthii joined15:47
amaged__ joined15:48
shennyg joined15:48
wenzowski joined15:48
barq joined15:48
bcardarella joined15:48
davisonio joined15:48
fcrick joined15:48
epic_ joined15:48
marvi joined15:48
kutenai joined15:48
_noblegas joined15:48
meZee joined15:48
al-damiri joined15:48
Keridos joined15:48
teadrop_ joined15:48
twisted` joined15:48
jstimm joined15:49
timwis joined15:49
midgetspy joined15:49
joco42 joined15:49
elmcrest joined15:49
mischat left15:49
Eugene joined15:49
nezZario joined15:49
doppo joined15:49
angelsl joined15:49
saidelike joined15:50
wxg left15:50
hahuang61 joined15:50
Tee_Pee joined15:50
nettoweb joined15:51
p1ngarn left15:51
ochorocho__ joined15:51
skobes joined15:51
Endarked left15:51
flupke joined15:52
beckyconning__ joined15:52
Khisanth left15:52
boxrick1 joined15:52
spr0tsuki joined15:52
SegFaultAX joined15:53
rscata left15:53
nettoweb1 joined15:53
Peng_ joined15:53
rom1504 joined15:54
swift1_ joined15:54
mkoskar joined15:54
Filiphe joined15:54
kyan joined15:54
chrysaor joined15:54
discopatrick joined15:54
Furai joined15:55
montyboy joined15:55
hahuang61 left15:55
ochorocho__ left15:55
PioneerAxon left15:55
govg left15:55
mmlb_ joined15:55
mischat joined15:56
micdo_ left15:56
JeroenT joined15:56
ghostlight joined15:56
nettoweb left15:57
nettoweb_ joined15:57
sylario joined15:58
nettoweb1 left15:58
nettoweb joined15:59
mischat_ left16:00
PioneerAxon joined16:00
chele left16:02
ojdo left16:03
nettoweb_ left16:03
barteks2- joined16:03
barteks2x left16:03
LBV_User joined16:03
ngperfex left16:03
fakenerd_ joined16:04
jason237 left16:04
Endarked joined16:04
Khisanth joined16:05
madewokherd joined16:06
fakenerd left16:06
durham joined16:07
yoh joined16:07
JeroenT left16:07
nfk left16:08
eduardas_m left16:08
nettoweb left16:08
nettoweb1 joined16:08
nanga joined16:08
yoh Could someone digest for me -- is gc --prune=now safe or not? ;) doc says that "Unless the repository is quiescent, you will lose newly created objects ..." but I am not sure what it means for repo to be quiescent... if I have everything committed and all useful commits pointed to by branches/tags -- would I loose anything?16:09
barteks2- left16:09
nicksloa_nicksloan16:09
rchavik left16:09
Ryanar joined16:09
renlo joined16:09
barteks2x joined16:09
mischat left16:10
ojdo joined16:10
HedgeMage yoh: "quiescent" means exactly that: everything is committed, and there are no loose/unreferenced commits floating around without being connected to a branch16:10
or at least none that you care about, I guess16:10
yoh so, theoretically, in my case (all committed, pointed by branches) it should be safe to prune=now, correct?16:11
akushner left16:12
lacour joined16:12
nettoweb joined16:12
kyan left16:12
nettoweb1 left16:13
Sceorem left16:13
yoh asking so persistently since I think in one of the cases I ran in the situation that an object was not found later :-/ but unfortunately I haven't caught an exact sequence of events, so may be there was some index which wasn't yet committed16:14
ptx0 joined16:14
martin_g left16:14
sammyo joined16:14
gareppa joined16:14
sammyo left16:14
martin_g joined16:14
yoh would 'git fsck' catch such issues, i.e. that after some operation some objects referenced by branches etc are not reachable/found?16:15
fakenerd_ left16:15
ptx0 i've got a missing file i'm trying to locate in a repository, i created a branch with a fix / new file, and pushed it. my coworker then force pushed(?) over my branch and my commits aren't in the 'g log' but in Assembla they are still visible (but I cannot view them for some reason)16:15
cdown_ left16:15
ptx0 yoh: git fsck --lost-found16:15
yoh ptx0: cool, thanks! will do !16:15
Yorlik left16:16
danslo left16:16
wxg joined16:16
HedgeMage yoh: when in doubt, back up, but yes git fsck should warn you and then go ahead and prune16:17
yoh HedgeMage: yes -- I have backups (thanks btrfs for cheap snapshots ;) )16:17
HedgeMage heh :)16:17
cdown joined16:17
synthroid left16:18
vuoto joined16:19
ayjay_t left16:20
ayjay_t joined16:20
nettoweb1 joined16:21
davidfetter_ge joined16:21
yoh HedgeMage: well... FWIW those are also sent to the backup server by btrfs (btrbk is really neat for that)16:21
laumann left16:21
OliverJAsh joined16:22
OliverJAsh When using `git add --patch`, the go to next/previous hunk options don't work across files. Is there a solution to this?16:22
I often skip a hunk accidentally and need to go back16:22
piwne left16:22
nettoweb left16:23
CheckDavid left16:23
gareppa left16:23
byte512 joined16:23
railssmith left16:23
wrouesnel left16:23
ArchNoob joined16:24
moritz OliverJAsh: git add -i allows that, iirc16:24
jason237 joined16:24
nettoweb1 left16:25
ThomasLocke left16:25
jstimm left16:25
zine joined16:26
fuchstronaut How can I change the last commit on a branch that i already pushed?16:26
i know noone has pulled it16:26
tyreld joined16:27
svm_invictvs joined16:27
grawity `git push --force` something else16:27
fuchstronaut grawity: so I git amend and then do git push force?16:28
grawity yes16:28
Lipp joined16:29
hs366 left16:29
ptx0 i found my files but i used an old git tree directory reflog to merge the commits16:29
probably owuld have had to rewrite the stuff if i didn't have that dir, right?16:29
xall_ left16:30
joki joined16:30
durham left16:30
ahmedelgabri left16:30
durham joined16:31
ahmedelgabri joined16:31
zeorin joined16:31
zeorin !deploy16:31
gitinfo Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html16:31
zeorin left16:33
zine left16:33
Darcidride_ left16:33
ramsub07 joined16:35
durham left16:35
renlo left16:36
gareppa joined16:36
odxw joined16:36
averagedan left16:36
jccn joined16:38
odxw left16:38
ArchNoob left16:39
nettoweb joined16:39
ahmedelgabri left16:40
svm_invictvs left16:41
Sdieb joined16:42
nilg left16:43
doener joined16:44
beagleGuy joined16:45
jstimm joined16:45
bket left16:45
ac3takwas left16:45
bket joined16:45
a_thakur joined16:46
clmsy left16:47
InfoTest joined16:47
SwiftMatt joined16:48
LastWish joined16:49
kulelu88 left16:49
averagedan joined16:50
hahuang61 joined16:51
dan2k3k4 left16:53
snowkidind left16:53
kedare left16:54
nicksloan left16:55
a3Dman left16:56
hahuang61 left16:56
nicksloan joined16:56
gareppa left16:56
Sdieb left16:57
tlaxkit left16:57
tlaxkit joined16:58
svm_invictvs joined16:58
LastWish left16:58
Serpent7776 left16:59
logikos joined17:00
pijiu joined17:01
jstimm left17:01
lordjancso joined17:01
logikos i did a commit (local, no push to remote) that had more staged files in it that an thought it had at the time i wrote the commit message .. can i undo just the commit command so that I can change my staged files and commit message ?17:01
pijiu left17:02
logikos i do not want it to modify the content of any files, just remove the last commit and message17:02
pijiu joined17:02
boombatower left17:02
grawity git reset HEAD^17:03
interrobangd left17:03
pijiu left17:03
boombatower joined17:04
pijiu joined17:04
synthroid joined17:04
meauses left17:04
horatiohb left17:05
pijiu left17:05
logikos ty17:05
pijiu joined17:05
Raging_Hog joined17:05
pijiu left17:06
pijiu joined17:06
synthroi_ joined17:07
lordjancso left17:07
patarr_ joined17:07
patarr_ left17:07
tlaxkit left17:07
a_thakur_ joined17:08
pijiu left17:08
barteks2x_ joined17:08
barteks2x_ left17:08
pijiu joined17:09
pijiu left17:10
synthroid left17:10
pijiu joined17:10
a_thakur left17:11
akushner joined17:11
jnavila left17:11
_cyril_ joined17:11
pijiu left17:12
hahuang61 joined17:12
bratchley joined17:14
EricPoe left17:15
govg joined17:15
cdown left17:15
kriskropd left17:16
emg left17:16
cdown joined17:16
cdown_ joined17:18
renlo joined17:18
a_thakur_ left17:19
pirate21994 left17:19
mroth left17:20
mroth joined17:20
cdown left17:21
EricPoe joined17:21
Noldorin left17:22
BSaboia left17:22
BSaboia joined17:22
Rickmasta joined17:23
laumann joined17:25
a3Dman joined17:26
renlo left17:26
lindenle joined17:27
Rickmasta left17:28
mikecmpbll left17:31
synthroid joined17:31
_noblegas left17:32
jstein_ joined17:33
Raging_Hog left17:33
nicksloan left17:33
nbrogan joined17:33
hiwk I'm in branch A. I want to switch to branch B, do something there, switch back to A, and have non-tampered timestamps. Is that possible?17:33
right now, A-B-A followed by make re-makes way too much17:34
Noldorin joined17:34
Noldorin left17:34
synthroi_ left17:34
Noldorin joined17:34
jstein_jstein17:35
tang^ joined17:36
nilg joined17:36
lordjancso joined17:36
Darcidride joined17:36
dan2k3k4 joined17:36
kurkale6ka left17:37
renlo joined17:38
encod3 left17:38
Seveas hiwk: no.17:39
git doesn't do anything with file timestamps, so if you check out a branch where the file differs, the timestamp will be updated17:40
oskarkv joined17:40
Es0teric left17:41
gho5t left17:41
ajf- left17:42
freimatz left17:43
_cyril_ left17:44
nicksloan joined17:44
emg joined17:44
ramsub07 left17:46
joki left17:47
hiwk Seveas: ok. I guess I have to have one clone for compiling and another for branch switching then :/17:47
EricPoe left17:48
nicksloan left17:48
nicksloan joined17:49
_cyril_ joined17:49
ochorocho__ joined17:51
sunri5e joined17:53
ochorocho__ left17:53
SwiftMatt left17:53
Alienpruts left17:53
aard_ joined17:54
eivarv left17:55
SwiftMatt joined17:55
osse hiwk: man git-work-tree17:55
hmm17:55
hiwk: man git-work\tree17:55
RedneckDonut joined17:55
osse hiwk: man git-worktree17:55
gitinfo hiwk: the git-worktree manpage is available at http://jk.gs/git-worktree.html17:55
Nikitaw99 left17:55
osse there we go17:55
nuck left17:56
nilg left17:56
danslo_ joined17:56
meauses joined17:56
jknetl left17:57
cdg left17:58
elect left18:01
click joined18:04
gho5t joined18:04
robotroll joined18:04
shpew12 joined18:05
finalbeta1 left18:05
shpew12 left18:06
Bass10 left18:08
Filiphe left18:09
RedneckDonut left18:09
Learath2 left18:10
ahmedelgabri joined18:12
click left18:13
barteks2x left18:15
vuoto left18:15
barteks2x joined18:16
SwiftMatt left18:17
dsantiago left18:17
ShekharReddy joined18:18
grimdox joined18:19
grimdox left18:19
grimdox joined18:21
meauses left18:21
daniel_rose joined18:21
grimdox left18:21
danslo_ left18:22
fenris_kcf joined18:23
tyreld left18:23
Gfurst joined18:23
_ng left18:23
fenris_kcf saluton. how should i interpret and handle "modified content"-entries for submodules listed at "git status"?18:23
Gfurst hey guys, any of you use git-lfs on windows? I'm having a issue where connection is refused and there is a window(?) for git credential manager?18:23
the window picture https://www.dropbox.com/s/0bdhzuxj5hisnit/Untitled.jpg?dl=018:23
e14 left18:25
Es0teric joined18:25
diogenese left18:26
e14 joined18:27
eivarv joined18:27
annoymouse256 left18:28
osse fenris_kcf: cd to the location, run git status and see what it says18:28
diogenese joined18:28
Learath2 joined18:29
dan2k3k4 left18:29
fenris_kcf oh, tkx, osse!18:30
*thx18:30
conrad_ left18:30
cdg joined18:30
btree joined18:31
ShekharReddy left18:32
meauses joined18:33
OliverJAsh left18:34
vuoto joined18:35
doener left18:35
cdown_ left18:36
solrize joined18:37
btree left18:37
solrize i'm using a web host that runs the litespeed web server, does anyone know if there's a git-http-backend config for that?18:38
causasui left18:39
causasui joined18:39
robattila256 joined18:39
meauses left18:39
marcogmonteiro left18:41
CamonZ joined18:42
gho5t left18:48
Sasazuka joined18:49
Gfurst I'm having problems with windows credentials and lfs-test-server18:50
kyan joined18:51
sobersabre joined18:51
anonymuse left18:51
daniel_rose left18:51
sea-gull_ joined18:51
sobersabre hi. I am unclear when this happened, but so far when I did a git commit, only CHANGES in the index would be committed.18:52
anonymuse joined18:52
daniel_rose joined18:52
sobersabre now when I commit, I see ALL changed files, incl. changes outside the index, get into the commit.18:52
I'm on git 2.7.418:52
eivarv left18:53
kadoban sobersabre: Did you use -a ? Or make some weird alias?18:53
sobersabre kadoban: maybe an alias. checking....18:53
Endarked left18:53
Darcidride left18:54
WayToDoor joined18:54
Endarked joined18:54
sobersabre kadoban: the only thing related to my LOCAL git config I did was setting [push] default=matching18:54
gkatsev joined18:55
bocaneri left18:55
kadoban sobersabre: Check your shell config or something? Are you sure you didn't just typo as well? It's fairly easy to add unintended options to commands, I've done it many times.18:55
sobersabre I have some SHELL aliases gca, etc. but I did not use it18:55
how can I identify shell's config for git?!?!? is there a thing like this that doesn't show in 'alias' or 'env' output ?18:56
kadoban Would depend on the shell I guess. I wouldn't really know how you can check in any of them personally.18:56
anonymuse left18:56
dsantiago joined18:57
eivarv joined18:57
Gfurst anyone else have issues with windows credential (wincred) and lfs custom server?18:58
jephsf left18:59
achadwick left18:59
dsantiago left18:59
dsantiag_ joined18:59
Achylles joined19:00
jephsf joined19:01
harry1 joined19:01
morenoh149 left19:02
harry1 left19:02
bket left19:02
morenoh149 joined19:03
meauses joined19:03
harrymoreno joined19:03
morenoh149 how do I make a pre-commit hook?19:03
I wrote a python script an put it in .git/hooks/pre-commit19:03
is that enough?19:03
msonntag left19:03
msonntag joined19:05
kadoban morenoh149: Yep. You have to make sure it's executable and that it's set up to run as a python script, that should be it.19:07
jstimm joined19:09
kadoban morenoh149: Note that pre-commit hooks can be a bit tricky in logic. Git doesn't do anything magic with them, so by default you're testing things as they exist in the working directory, no as they will be commited.19:09
ethylomat joined19:10
robotroll left19:10
venmx left19:10
d0nn1e left19:11
meauses left19:12
d0nn1e joined19:12
anonymuse joined19:13
ethylomat left19:15
ethylomat joined19:15
brillenfux joined19:15
ionelmanolache joined19:16
brillenfux left19:17
tyreld joined19:18
jstimm left19:18
snthsnth joined19:19
averagedan left19:19
vuoto left19:19
quackgyver left19:20
matoro left19:20
jstimm joined19:20
PCatinean left19:21
ethylomat left19:21
railssmith joined19:23
danslo_ joined19:23
ToBeFree joined19:23
Gsham joined19:23
Rickmasta joined19:24
dtrott joined19:25
Lipp left19:25
e14 left19:25
renlo left19:26
dtrott Whats the easiest way to get a different return code from Git if there has (or has not) been a commit to the master branch in the last minute - sorry writing a Kludge for an already very Kludgey build server.19:27
danslo_ left19:28
osse dtrott: fetch once a minute19:29
howdoi left19:29
osse then check .git/FETCH_HEAD19:29
cdg left19:29
d0nkeyBOB left19:29
Rickmasta left19:29
meauses joined19:30
d0nkeyBOB joined19:30
ResidentBiscuit joined19:31
InfoTest left19:32
EricPoe joined19:32
LiENUS left19:33
nwkj86 joined19:37
dtrott osse:Not really what I was looking for, I think I have found a solution: if [[ $(git log -p "master@{1 minute ago}..master@{now}" | wc -c ) -ne 0 ]]19:38
Super kludgey, but it fits in the spirit of todays work ….19:38
HoierM joined19:39
anonymuse left19:39
hanthings joined19:39
anonymus_ joined19:39
osse the -p takes the cake :p19:40
if (( $(git rev-list --count "master@{1 minute ago}..master@{now}") > 0 )); then19:40
dtrott Thanks, thats a lot better.19:41
Es0teric left19:42
renlo joined19:42
nawwmz joined19:44
matoro joined19:44
paulgoulden joined19:44
cagedwisdom joined19:46
BSaboia left19:46
leeN joined19:46
treehug88 left19:46
bket joined19:47
Es0teric joined19:48
shpew12 joined19:48
dan2k3k4 joined19:49
lmatteis left19:49
overlord_tm joined19:50
dpower left19:50
snthsnth left19:50
dpower joined19:50
pandeiro joined19:52
mjuszczak joined19:53
mjuszczak left19:53
e14 joined19:54
gho5t joined19:54
gho5t_ joined19:54
resurtm left19:56
vuoto joined19:56
GenZai joined19:57
paulgoulden left19:57
Ryanar left20:00
paulgoulden joined20:00
jstimm left20:00
ionelmanolache left20:01
gho5t left20:02
nbrogan left20:03
VagabondAzulien joined20:04
Ryanar joined20:04
hanthings left20:05
johnmilton left20:05
nbrogan joined20:06
paulgoulden left20:06
jimi_ joined20:09
romerocesar left20:10
mellernoia joined20:11
pandeiro left20:12
meauses left20:13
Dougie187 left20:18
courrier_ joined20:22
courrier left20:23
alex1a joined20:23
Dougie187 joined20:23
jargan joined20:23
mar77i_ joined20:24
jast left20:24
_cyril_ left20:24
mar77i left20:24
hyperair left20:25
xehbit left20:25
hyperair joined20:25
revoltingPeasant joined20:25
xehbit joined20:25
red82 left20:26
m1dnight_ left20:27
Rodya_ joined20:27
ochorocho__ joined20:27
Gsham left20:28
synthroid left20:28
m1dnight_ joined20:29
dan2k3k4 left20:30
_cyril_ joined20:31
d0nkeyBOB left20:33
jstein left20:34
Gsham joined20:35
d0nkeyBOB joined20:36
emg left20:38
HoierM left20:39
sobersabre hi. I have a branch x, and out of its head there's a branch y with 3 commits.20:39
I would like to start pointing at the second commit in y, so that y has only 1 commit20:39
I have ran git checkout <2nd hash in y>20:39
kadoban What do you mean that you want to start pointing at it?20:40
d0nkeyBOB left20:40
sobersabre if I do 'git branch -f x' would the branch head become my current commit ?20:40
osse yes20:40
sobersabre kadoban: x branch is just a pointer. It currently points at its head, which is 3 commits behind y.20:41
d0nkeyBOB joined20:41
sobersabre osse: thanks.20:41
osse: for some reason after that I still am seeing 'detached:x'20:41
phaleth left20:41
osse sobersabre: you have to check it out20:42
git checkout x20:42
ionelmanolache joined20:43
sobersabre osse: yep, I did some sweet sweet git loggin' and it looks ok.20:43
vucks96 joined20:44
rnsanchez_ left20:45
Gsham left20:45
dmcAbsolem20:45
renlo left20:46
Gsham joined20:46
renlo joined20:47
ionelmanolache left20:47
lordjancso left20:49
dsdeiz left20:49
mellernoia left20:51
red82 joined20:52
theseb joined20:53
chris123456 left20:54
renlo left20:55
theseb anyone know why http://ethereumclassic.org redirects to the github page...https://ethereumclassic.github.io/ but the HTTPS version won't redirect?20:55
kadoban Because whoever set it up didn't set it up correctly?20:56
LBV_User left20:56
red82 left20:56
einnjo joined20:58
noecc left21:00
Emperor_Earth left21:01
d0nkeyBOB left21:01
theseb kadoban: ok good so i'm not crazy..i'm not a DNS guru but registrars can do this?21:01
(redirect ssl'd domains?)21:02
tyreld left21:02
annoymouse256 joined21:03
ammunta kadoban: probably because they couldn't be bothered to get a cert21:03
m0viefreak joined21:05
Endarked left21:05
kadoban theseb: Well, you can't really do redirects like that on the DNS level. At least, that site isn't. It's connecting to whatever server runs ethereumclassic.org, and that server is saying "Hey look over there! -->" (a 302 response, in HTTP-speak)21:05
theseb: And that web server just isn't set up to allow connections via HTTPS21:06
Orion3k joined21:06
atomi left21:06
MickyW joined21:06
kadoban Probably because of ammunta's reasoning21:06
gitinfo set mode: +v21:08
MickyW Im using git for windows. Pearson git-GUI. Having a pure local repo. No branches. Today I started a database check and got two messages about "dangling blobs". I am completely lost despite trying to get some help myself in the internet. I would like to know: 1. Is that a critical situation? 2. May I (in case that I can't fix it tonight) switch of the computer without making things worser? 3. What may I do to fix? Would be very kind, if you coul21:08
d give me some hints.21:08
akanksha__ joined21:08
dsdeiz joined21:08
dsdeiz left21:08
dsdeiz joined21:08
emg joined21:08
atomi joined21:08
Faylite joined21:09
cdg joined21:09
kadoban As far as I know, nothing on the DNS level really interacts with TLS at all, at least in this manner. If the redirect were happening via DNS, like a CNAME I guess it would be, it'd work identically for HTTP and HTTPS, if the final server accepted connections via both.21:10
MickyW: I don't think dangling blobs are an actual problem by themselves, though maybe wait for confirmation from someone else.21:10
MickyW kadoban: I am the only user. The repo is purely local. Not even a connection to internet.21:11
kadoban AFAIK you can get dangling blobs simply by doing 'git add' several times before you commit or probably other ways as well.21:11
MickyW kadoban: Thats probably true. I got impatient today, when the git-gui does comparison of a great file, which I didnt wanted to commit.21:13
Limes joined21:13
emg left21:13
MickyW Clicked "in advance" to the other file and entered commit message, expecting that event buffer will do. That occured about two or three times (I do not do it that way regularily, but today I was too impatient).21:14
atomi left21:14
atomi joined21:15
Lipp joined21:15
Lipp left21:16
ramsub07 joined21:16
kadoban I don't really use git-gui, I'm not sure what you're talking about.21:16
MickyW kadoban: I think thats like "disturbing" a running comparison by starting an "add".21:17
Endarked joined21:18
MickyW kadoban: Not sure if they at all may interfere each other. But that's the only irregularity I remember. (Just in order to declare each possible cause to you).21:19
Gsham left21:19
kadoban MickyW: AFAIK you don't actually have a problem just because of dangling blobs. Is anything else not working as you expect?21:20
renlo joined21:20
askb joined21:20
lalilulelo joined21:21
HoierM joined21:21
Endarked left21:22
MickyW kadoban: Can't say that as I stopped using git or to do anything related to git or the files at all. (Had to leave then). As far as I can see, all commits (I remember) are listed. Didn't try anything so far. But I am used to take warnings serious (like with compiler warnings), which may be superflous in this case.21:22
lalilulelo left21:23
MickyW kadoban: Maybe me I am too ... :-) But this is the first time ever having problems (say warnings) from git. That impressed me a lot. :-)21:23
crayon joined21:24
courrier_ left21:24
kadoban MickyW: I believe the warning exists because the "blobs" won't exist forever, since it's dangling it'll get cleaned up eventually.21:24
crayon left21:24
crayon joined21:24
danslo_ joined21:24
MickyW kadoban: Additionally git is a riddle to me. Would prefer to dismantle a watch and reconstruct it instead.21:25
lalilulelo joined21:25
daniel_rose left21:25
nettoweb left21:26
Rickmasta joined21:26
daniel_rose joined21:26
MickyW kadoban: But doesn't that mean, that I did something wrong or in the wrong sequence?21:26
kadoban I don't think so. Maybe hang around and see if anyone disagrees.21:26
MickyW kadoban: One more question if you allow: Do you think that will "heal" itself? Say, with a database compression or likewise?21:27
kadoban Dangling blobs eventually get garbage collected, if you call that healing.21:28
MarceColl joined21:28
MarceColl left21:29
danslo_ left21:29
MickyW kadoban: For me it sounds like something wasn't commited, even if I can't see any irregularity. As far as I can see, the blobs will hang around if do not do anything about them.21:29
pbrewczynski joined21:29
MarceColl joined21:29
Mobutils joined21:29
nettoweb joined21:29
MickyW kadoban: I mean, shouldn't that blobs anyhow incorporated into the repo?21:30
daniel_rose left21:30
Rickmasta left21:30
MickyW kadoban: Sorry. Don't want to be too talkative or even insisting, but I am really desperate.21:30
kadoban If you add a file, change it, add it again, and commit, why would the first blob make it anywhere? It *should* be dangling.21:31
chris123456 joined21:32
MarceColl left21:32
mar77i_mar77i21:32
MarceColl joined21:32
ieee left21:32
jost_ left21:32
MickyW kadoban: Hmm. Its only that all files are added a long time ago and I only did changes and commits since then.21:33
eivarv left21:34
emg joined21:35
MickyW kadoban: Sorry. That's not true. I recently added some more files. That was two days before I think. But maybe that blobs hung around for some days either and I didn't knew it, because I didn't start the database check until today. Hmm.21:35
Rodya_ left21:35
MickyW kadoban: OK. From what I told you, you would say, that the situation is not critical - means possible data loss? Right?21:36
eivarv joined21:37
Es0teric left21:37
jstimm joined21:40
ResidentBiscuit left21:40
ahmedelgabri left21:40
ResidentBiscuit joined21:40
jstimm left21:40
jstimm joined21:41
dsantiag_ left21:41
anonymus_ left21:42
anonymuse joined21:42
annoymouse256 left21:46
shinnya left21:47
Es0teric joined21:47
EricPoe left21:48
mischat joined21:48
finalbeta joined21:48
dviola left21:49
gho5t_ left21:49
MarceColl left21:50
MarceColl joined21:50
rmbeer joined21:52
rmbeer hello21:52
MarceColl left21:52
mischat left21:52
rmbeer is good practice comment the codes or always depend of git for recover lines?21:52
MarceColl joined21:52
Zarthus why an "either this or that" when you can do both? :)21:53
jimi_ left21:54
MarceColl left21:54
Snugglebash joined21:54
eb0t joined21:54
MickyW I think these are different matters. Comments will not recover and vice versa.21:54
rmichnik left21:55
fees left21:55
kadoban rmbeer: Do you mean comment out code to keep it? That's usually useless when you can just delete it and get it from history if you need it. Not always though.21:55
eb0t left21:55
MarceColl joined21:55
ExoUNX left21:56
eb0t joined21:56
lalilulelo left21:56
laumann left21:57
thebope joined21:58
jeffreylevesque left21:58
oskarkv left21:59
MickyW rmbeer: In case you meant commenting out code I would say, that depends on your usual workflow in such cases. Both are options but deleted lines will probably get out of scope of your mind. That may be compensated by revising commit history and/or using branches instead. But I usually comment out code which I intend to revise in short.21:59
mischat joined21:59
a3Dman left21:59
ochorocho__ left21:59
eivarv left22:01
utrack left22:03
blackwind_123 left22:04
MrWoohoo left22:05
blackwind_123 joined22:06
romerocesar joined22:07
Ryanar left22:09
cyan__ joined22:09
utrack joined22:10
Gsham joined22:10
eivarv joined22:11
Snugglebash left22:12
Es0teric left22:12
a3Dman joined22:13
snowkidind joined22:13
vuoto left22:15
aidalgol joined22:16
anonymuse left22:18
anonymuse joined22:18
mablae left22:19
mablae joined22:20
pijiu joined22:21
MickyW Is there a way to see, what's in my dangling blobs?22:21
dsdeiz left22:22
LucaTM left22:23
anonymuse left22:23
LaptopBrain joined22:23
noidea left22:23
thiago git show them22:24
MarceColl left22:25
danslo_ joined22:26
MickyW thiago: Thank you.22:27
romerocesar left22:28
MickyW kadoban: Thank you too, for answers.22:28
kadoban Anytime22:29
mellernoia joined22:29
danslo_ left22:30
ramsub07 left22:31
cyan__ left22:31
theseb left22:31
theskillwithin joined22:31
eivarv left22:32
nicksloan left22:32
e14 left22:34
leTali left22:34
eivarv joined22:34
sangy left22:35
shgysk8zer0 joined22:36
lucazz joined22:39
mischat left22:40
mischat joined22:41
WayToDoor left22:42
apotry left22:42
askb left22:43
WayToDoor joined22:43
WaReZ joined22:44
mycelium joined22:45
mischat left22:45
vucks96 left22:46
miklcct left22:46
JamesBaxter left22:46
miklcct joined22:47
MickyW Oh. git fsck --lost-found found one dangling commit, one dangling tree and three(!) dangling blobs.22:47
fenris_kcf left22:48
MickyW That's definitely not my day today.22:48
Only two blobs. Sorry.22:49
osse that's common22:50
MickyW Really? Oh.22:50
osse git commit --amend; # whoops, the previous commit object is now dangling22:50
morenoh149 left22:50
GenZai left22:51
osse git rebase # don't get me started22:51
git add file; modify file more; git add file (again) # welp, we gotta a dangling blob, boys22:52
MickyW Think, the latter is the case.22:52
Dont know what to do now. But I think I don't have a knack for such things today.22:53
osse are you actually (in the human sense) looking for something you lost?22:53
if not, forget about it22:53
thebope left22:53
leTali joined22:54
MickyW osse: Not so far, yet. But got unsecure now. Maybe I miss something which I do not know,that I miss it.22:54
kadoban said something similar but didn't know then that there are dangling trees and commits too.22:55
askb joined22:56
aard_ left22:56
ResidentBiscuit left22:57
MickyW However. Too tired and too bugged now. Will shift it until tomorrow and thotoughly go through it.22:57
osse MickyW: just so you know, this is advanced stuff. most people never get there22:59
and those that do mostly do so because they need to, because they as scientists say "fucked up"23:00
MickyW :-)23:00
johnmilton joined23:00
cagedwisdom left23:00
Sonderblade doesnt dangling just mean it is not reachable from a branch?23:00
MickyW As far as I understood that. Yes.23:00
osse Sonderblade: no, that's unreachable. dangling means that it's unreachable, but *also* unreachable from other unreachable objects23:01
it's like unreachable squared23:01
MickyW Ah. Thats a difference. Indeed.23:01
osse there is no deeper circle of hell23:01
Sonderblade so it's a special type of garbage?23:02
osse just a different one23:02
dling joined23:03
osse Sonderblade: ok, imagine you have this history: A - B - C - D - E (master). Now you do 'git reset --hard C' so you have A - B - C (master). D and E are now unreachable. D is reachable from E, so not dangling. E is not reachable from anywhere => dangling.23:03
MickyW That is uncritical in case I did that reset by intent. Right?23:04
osse yep23:04
uncritical even if they didn't, for up to two weeks or something like that23:05
(that's the minimum git keeps garbage around before deleting it)23:05
MickyW Ah.23:05
morenoh149 joined23:06
rmbeer MickyW, kadoban , thank. now thinking by remove lines of code. :)23:06
MickyW And otherwise? How may I reconnect D to C?23:06
osse MickyW: it is already connected.23:06
there just isn't any reference pointing to D or E, so that's what you gotta do23:06
dan2k3k4 joined23:07
madebymarkca joined23:07
crayon left23:08
jccn left23:08
AaronMT left23:08
MickyW But doesn't that mean, that a reference from D to C is missing? (That what I consider "unconnected" - am I wrong).23:08
Some ?s missing.23:08
Gsham left23:09
MickyW Do you make distinction between "connection" and "reference"?23:09
osse MickyW: yes there is a distinction. Every commit knows which commit is its parent. That's how the chain is formed23:10
MickyW Yes.23:10
I thought I already knew that.23:10
cagedwisdom joined23:13
justanotheruser left23:13
MickyW So information in D that C is its parent is deleted?23:14
osse no23:14
it's stored inside D23:14
D still exists23:14
you just don't know how to get to D.23:15
mischat joined23:15
Rodya_ joined23:15
MickyW Where is that info stored?23:15
osse inside the commit object23:16
LeBlaaanc left23:16
MickyW So that comit object is distinct from a "data object" - that mysterious "blob", isn't it?23:17
chris123456 left23:17
osse yes23:17
inside the commit object is also info about a tree object. that tree object that refer to other trees or blobs23:17
tree = "directory". blob = "file"23:18
sort of23:18
MickyW Ah. OK.23:19
Have to read about that. Thank you.23:19
osse !bottomup23:19
gitinfo 'Git from the bottom up' starts with explaining the building blocks of git and proceeds to tell you how they fit together. http://ftp.newartisans.com/pub/git.from.bottom.up.pdf (http://ikke.info/git.from.bottom.up.pdf)23:19
mischat left23:20
MickyW Uh. Fine. Thank you.23:20
hahuang61 left23:21
nettoweb left23:21
sea-gull_ left23:22
justanotheruser joined23:22
jwcapps joined23:22
ws2k3 joined23:22
gitinfo set mode: +v23:22
HoierM left23:22
jwcapps Why does $ git checkout -p give me patch does not apply, even if I don't actually edit the hunk23:23
osse does it say "doesn not apply to the index" ?23:24
eivarv left23:24
xall_ joined23:24
vacho joined23:24
vacho Saved working directory and index state WIP on master: 26197e4 Merge master with 'origin/WCP-209'23:25
HEAD is now at 26197e4 Merge master with 'origin/WCP-209'23:25
I can't stash in git.. getting this response:23:25
Saved working directory and index state WIP on master23:25
any idea?23:25
jwcapps osse: it just says patch does not apply23:25
osse: even if I just go through and type y for all hunks23:26
ramsub07 joined23:26
vacho I just want to reset my branch and start fresh from remote branch23:26
osse vacho: git reset --hard remote/branch23:27
Rickmasta joined23:27
finalbeta left23:27
osse presumably git reset --hard origin/WCP-20923:27
jwcapps: i don't know then23:27
finalbeta joined23:27
vacho fatal: ambiguous argument 'origin/WCP-209': unknown revision or path not in the working tree.23:27
osse find whatever is the right thing23:28
vacho osse: ?23:29
tyreld joined23:29
WaReZ left23:29
vacho I just want to reset so I can continue my work, not sure why git is giving this23:29
Darren_ left23:29
osse vacho: what is the name of the remote branch ?23:29
i can't know that23:30
vacho osse: how can I find out?23:30
Sasazuka left23:30
vacho I want origin master from remote23:30
osse then it's origin/master23:30
Faylite left23:30
vacho thx that worked really well.23:31
Darren_ joined23:32
Rickmasta left23:32
Darren_ left23:32
hahuang61 joined23:32
akanksha__ left23:32
jwcapps left23:33
e14 joined23:33
cdown joined23:33
Sasazuka joined23:34
sangy joined23:34
MickyW Thank you all for reading and patience. Good night (or whatever good). Bye.23:34
kpease left23:35
MickyW left23:35
stoned Hello, I have modified files accidentally, but not committed my changes. How can I restore the files to the last commit?23:35
johnmilton left23:35
netj left23:35
netj joined23:36
mikecmpbll joined23:36
Kaisyu left23:36
dsdeiz joined23:37
dsdeiz left23:37
dsdeiz joined23:37
thiago stoned: type git status. It will tell you what to do.23:37
einnjo left23:37
anonymuse joined23:37
Marbug joined23:37
e14 left23:38
vacho osse: thank u !23:39
vacho left23:39
Marbug_ left23:41
led_belly joined23:41
stoned thiago: thanks!23:43
e14 joined23:44
venmx joined23:46
Vinnie_win_r joined23:48
e14 left23:48
tyreld left23:50
Vinnie_win left23:50
askb left23:51
stoned now I seem to have lost some files23:52
They are live on my website, but when I check my local repository, they're not there23:52
aax joined23:54
Sna4x8 left23:55
fahadash left23:56
xaa__ left23:58
GavinMagnus left23:58
stoned I don't udnerstand what happened23:58
https://stoned.io/authors/jasmine-miller/Solitude-And-Grace-Original-Poem-By-Jasmine-Miller/23:58
It's the most_recent.html file that is clearly live on my website, which I git pull on my server, but it's not in the repository on remote or local23:59
how did that disappear?23:59
irco left23:59

Logs Search ←Prev date Next date→ Channels Documentation