IRCloggy #git 2017-07-04

Logs Search ←Prev date Next date→ Channels Documentation

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

2017-07-04

fstd_ joined00:00
peterbecich joined00:00
pyfoo left00:00
Cabanossi joined00:02
hherman1 joined00:02
Trendrrr left00:03
fstd left00:04
fstd_fstd00:04
dsdeiz left00:04
Trendrrr joined00:04
phinxy left00:07
gugah left00:07
Kaisyu joined00:08
EvilPenguin joined00:09
anuxivm left00:12
gopar left00:13
gopar joined00:13
Trendrrr left00:13
EvilPenguin left00:14
jimmyrcom_ joined00:15
Trendrrr joined00:15
PaulCapestany left00:16
Dreadnaught joined00:16
Dreadnaught left00:16
Dreadnaught joined00:16
PaulCapestany joined00:18
Kulrak left00:18
bergice_ left00:21
gopar left00:24
TbobbyZ_ joined00:25
Trendrrr left00:25
str left00:26
moth joined00:27
Trendrrr joined00:27
jimi_ joined00:28
TbobbyZ left00:28
TbobbyZ_ left00:29
star_prone joined00:32
theiostream joined00:34
Trendrrr left00:34
dsdeiz joined00:34
bill99 left00:34
Trendrrr joined00:35
theiostream left00:35
Muzer left00:36
star_prone left00:36
orbyt_ joined00:36
cyphase left00:38
m0viefreak left00:39
dsdeiz left00:39
snowkidind left00:40
durham joined00:40
duderonomy joined00:40
bill99 joined00:40
Maskettaman left00:42
Tobbi left00:42
Hyp3ri0n joined00:42
Hyp3ri0n left00:43
Maskettaman joined00:43
Trendrrr left00:44
cebula left00:44
cebula joined00:44
Hyp3ri0n joined00:45
Trendrrr joined00:45
peterbec` joined00:45
bill99 left00:45
Hyp3ri0nOtakuSenpai00:47
raynold joined00:47
Muzer joined00:48
bill99 joined00:48
navidr left00:49
peterbec` left00:50
TbobbyZ joined00:52
bill99 left00:52
durham left00:53
bill99 joined00:53
jimi_ left00:54
svm_invictvs left00:54
madewokherd joined00:54
cyphase joined00:54
duderonomy left00:54
duderonomy joined00:55
Gustavo6046 left00:55
gugah joined00:56
IntrinsicCause joined00:56
Trendrrr left00:58
TbobbyZ left00:58
TbobbyZ joined00:58
Trendrrr joined00:59
peterbecich left00:59
mentazoom joined01:00
dsantiago left01:02
tunekey left01:02
d^sh joined01:03
TbobbyZ left01:03
donmichelangelo joined01:03
Trendrrr left01:04
Trendrrr joined01:06
d^sh_ left01:06
mvensky left01:07
wxg joined01:08
sunri5e left01:09
TbobbyZ joined01:09
dsdeiz joined01:09
dsdeiz left01:09
dsdeiz joined01:09
sunri5e joined01:11
mniip left01:12
j08nY left01:12
misosoup left01:13
cagedwisdom joined01:13
ojdo left01:14
dsdeiz left01:14
Rr4sT joined01:15
Cabanossi left01:15
TbobbyZ left01:16
OtakuSenpai left01:16
TbobbyZ joined01:16
Cabanossi joined01:17
gugah left01:17
ohHenry left01:17
notebox joined01:19
lafleurdubien left01:19
notebox left01:19
ojdo joined01:20
TbobbyZ left01:20
finalbeta joined01:21
fakenerd joined01:22
fakenerd left01:26
GT4066 left01:27
gugah joined01:28
quite left01:30
quite joined01:30
reynierpm joined01:34
a_thakur left01:36
dsantiago joined01:37
diogenese left01:38
diogenese joined01:39
ward3n left01:40
sp33drac3r joined01:40
roelmonnens joined01:41
IniGit left01:43
dsdeiz joined01:44
dsdeiz left01:44
dsdeiz joined01:44
Cabanossi left01:45
ilbot3 left01:45
roelmonnens left01:45
peterbec` joined01:46
Cabanossi joined01:46
dsdeiz left01:49
ilbot3 joined01:49
perrier-jouet joined01:50
pyfoo joined01:50
peterbec` left01:51
VaultTec joined01:51
Maskettaman_yo joined01:55
Maskettaman left01:56
CBF16888 joined01:56
davimore left01:57
pyfoo left01:57
mellernoia joined01:58
jimmyrcom_ left02:00
pks left02:00
Trendrrr left02:01
Trendrrr joined02:03
davimore joined02:04
pks joined02:04
NeXTSUN left02:05
cebula left02:06
kyan left02:06
StuartMI joined02:07
jaziz joined02:07
nast joined02:08
Hyp3ri0n joined02:08
moth left02:10
xyphoid left02:10
berndhs left02:12
Hyp3ri0n left02:13
Hyp3ri0n joined02:15
peterbec` joined02:16
jaziz left02:17
ZyX-I left02:17
HoierM_ left02:18
Trendrrr left02:18
kfoonamalik left02:18
cqi joined02:18
kyan joined02:19
dsdeiz joined02:19
dsdeiz left02:19
dsdeiz joined02:19
Hyp3ri0n left02:19
Trendrrr joined02:20
Maskettaman_yo left02:21
star_prone joined02:21
sp33drac3r left02:22
gugah left02:24
dsdeiz left02:24
star_prone left02:25
snowkidind joined02:26
cqi left02:27
Goplat joined02:28
reynierpm hi there02:30
can I get some advice here: https://stackoverflow.com/questions/44896081/how-to-setup-two-different-git-accounts-for-two-different-repositories-through-s ??02:30
(if you've a SO account please answer over there so I can give you the reward points)02:31
chachasmooth left02:31
chachasmooth joined02:32
Noldorin left02:33
shgysk8zer0 joined02:35
lagothri1 joined02:35
lagothrix left02:38
TbobbyZ joined02:40
yanomeyn02:40
TbobbyZ left02:40
TbobbyZ joined02:41
VaultTec left02:41
menip joined02:44
Cabanossi left02:45
TbobbyZ left02:45
Cabanossi joined02:46
kyan left02:47
peterbec` left02:48
ahr3n joined02:48
webstrand reynierpm: It looks as if you've got the wrong permissions set on your .ssh directory. Try `chmod 0700 ~/.ssh -R` to fix the issue02:49
jameser joined02:49
jimi_ joined02:51
wxg left02:51
Lyqyd joined02:52
xyphoid joined02:53
dsdeiz joined02:54
nast left02:56
_ikke_ 0700 is not a good permission02:56
cxreg left02:56
webstrand _ikke_: You're right, hadn't thought about recursion when I wrote that02:56
cxreg joined02:57
_ikke_ 644 for config and authorized_keys, 600 for private keys02:57
xyphoid left02:58
a3Dman left02:58
Vortex35 joined02:59
dsdeiz left02:59
kyan joined02:59
nast joined03:00
rmbeer joined03:01
rmbeer hello03:01
Peste_Bubonica left03:01
rmbeer i can remove with secure the files of .git/objects/ ?03:02
_ikke_ no03:02
zmt00 left03:02
_ikke_ You will corrupt your repo03:02
zmt00 joined03:02
rmbeer the 'git add .' is break by out of space, and now have garbage that annoying, i unknown how to clean this...03:02
Vortex34 left03:03
_ikke_ rmbeer: git prune --expire=now -v03:04
a3Dman joined03:04
nast left03:04
roelmonnens joined03:05
rmbeer _ikke_, very thanks!03:05
zmt00 left03:05
zmt00 joined03:06
zmt00 left03:06
NeXTSUN joined03:06
nast joined03:07
roelmonnens left03:09
xyphoid joined03:14
Peste_Bubonica joined03:15
Cabanossi left03:16
Cabanossi joined03:16
mellernoia left03:18
nevodka joined03:19
CBF16888 left03:19
xyphoid left03:20
nast left03:20
jon-mac joined03:21
reynierpm _ikke_, you're right that fixed my problem thx03:21
*a lot03:21
nast joined03:21
CBF16888 joined03:22
xyphoid joined03:22
Peste_Bubonica left03:22
fakenerd joined03:23
rmbeer left03:24
adymitruk is there a way to create an orphan branch with a commit that uses the tree from another commit?03:24
krs93_ joined03:25
shgysk8zer0 left03:25
krs93 left03:26
xyphoid left03:28
_ikke_ git commit-tree <tree> -m "message"03:28
fakenerd left03:28
dsdeiz joined03:29
dsdeiz left03:29
dsdeiz joined03:29
krs93_ left03:29
hherman1 left03:32
Rr4sT left03:32
Rodya_ left03:33
dsdeiz left03:34
cschneid left03:34
xyphoid joined03:35
CBF16888 left03:35
jimi_ left03:36
durham joined03:36
notebox joined03:37
notebox left03:37
cschneid joined03:39
CBF16888 joined03:41
Trendrrr left03:43
livingstn left03:44
xyphoid left03:44
Trendrrr joined03:44
SaberArthur joined03:45
Hyp3ri0n joined03:45
SaberArthur left03:46
mmattice joined03:46
ahrs left03:48
orbyt_ left03:48
ahrs joined03:49
mentazoom left03:51
kfoonamalik joined03:53
duderonomy left03:54
Trendrrr left03:56
cschneid left03:57
Trendrrr joined03:57
Cabanossi left03:58
livingstn joined03:59
Cl0udN9ne joined03:59
Hyp3ri0n left04:00
fstd left04:00
fstd joined04:00
xyphoid joined04:00
Cl0udN9neOtakuSenpai04:00
Cabanossi joined04:00
Rakkus joined04:01
czart__ joined04:01
dreiss left04:01
Rakkus left04:01
shinnya joined04:02
cschneid joined04:02
Trendrrr left04:04
dsdeiz joined04:04
czart_ left04:04
Trendrrr joined04:05
xyphoid left04:06
rscata joined04:07
dsdeiz left04:09
Elon_Satoshi left04:11
mattcen left04:12
Trendrrr left04:13
dreiss joined04:14
Trendrrr joined04:14
jaziz joined04:14
davimore left04:15
YuGiOhJCJ joined04:16
davimore joined04:16
svm_invictvs joined04:17
mattcen joined04:18
a_thakur joined04:18
olalonde joined04:19
nast left04:19
xyphoid joined04:21
nast joined04:21
Trendrrr left04:23
dreiss left04:23
durham left04:24
Trendrrr joined04:24
jceb joined04:27
peterbec` joined04:28
xyphoid left04:28
peterbec` left04:33
Rodya_ joined04:35
malmalmal joined04:35
Hello71 left04:36
cqi joined04:38
CBF16888 left04:39
dsdeiz joined04:39
dsdeiz left04:39
dsdeiz joined04:39
Trendrrr left04:40
Rodya_ left04:41
dreiss joined04:41
bitbit left04:41
Trendrrr joined04:41
svm_invictvs left04:44
dsdeiz left04:44
Cabanossi left04:44
Cabanossi joined04:45
xyphoid joined04:45
Hello71 joined04:46
duderonomy joined04:47
dave0x6d left04:47
zmt00 joined04:47
zmt00 left04:47
mmlb left04:48
zmt00 joined04:48
zmt00 left04:48
Trendrrr left04:49
zmt00 joined04:49
Trendrrr joined04:50
mniip joined04:51
xyphoid left04:52
CBF16888 joined04:55
TzilTzal left04:56
xyphoid joined04:57
Trendrrr left04:57
podlech joined04:58
Trendrrr joined04:58
xyphoid left05:02
svm_invictvs joined05:03
snowkidind left05:06
xyphoid joined05:06
dec0n joined05:08
Trendrrr left05:09
madewokherd left05:10
dsdeiz joined05:10
dsdeiz left05:10
dsdeiz joined05:10
xyphoid left05:11
Trendrrr joined05:11
tens0r joined05:12
dsdeiz left05:15
xyphoid joined05:16
crossroadsman joined05:19
Trendrrr left05:19
Trendrrr joined05:20
df0 joined05:21
star_prone joined05:21
govg joined05:22
svm_invictvs left05:22
malmalmal left05:22
fakenerd joined05:23
nast left05:25
xyphoid left05:26
fakenerd left05:28
peterbec` joined05:28
Trendrrr left05:31
Trendrrr joined05:33
peterbec` left05:33
senaps joined05:34
cam27 left05:36
Rodya_ joined05:37
podlech left05:38
xyphoid joined05:38
podlech joined05:38
fatihgenc joined05:39
jknetl joined05:40
cagedwisdom left05:40
df0 left05:40
nilukush joined05:41
Rodya_ left05:42
overlord_tm joined05:42
Trendrrr left05:43
jameser left05:44
jnavila joined05:44
thiago left05:44
Trendrrr joined05:45
jameser joined05:45
ThomasLocke joined05:46
ThomasLocke left05:46
ThomasLocke joined05:46
dsantiago left05:46
dsantiago joined05:47
svm_invictvs joined05:47
King_Hual joined05:48
nast joined05:48
jnavila left05:50
lordjancso joined05:50
xyphoid left05:52
cagedwisdom joined05:53
Trendrrr left05:54
TomyLobo joined05:55
senaps left05:56
Trendrrr joined05:56
overlord_tm left05:56
Cabanossi left05:59
Cabanossi joined06:01
xyphoid joined06:01
svm_invictvs left06:01
Trendrrr left06:01
EvilPenguin joined06:04
xall joined06:05
Trendrrr joined06:05
freimatz joined06:07
EvilPenguin left06:08
menip left06:09
svm_invictvs joined06:10
xyphoid left06:11
schleppel joined06:11
opalepatrick joined06:12
EvilPenguin joined06:12
Trendrrr left06:14
roelmonnens joined06:16
Trendrrr joined06:16
khatri1 left06:18
podlech left06:19
tvw joined06:19
ogny joined06:19
IntrinsicCause left06:20
overlord_tm joined06:21
jceb left06:21
chele joined06:21
Trendrrr left06:22
overlord_tm left06:22
overlord_tm joined06:23
jameser left06:24
Trendrrr joined06:24
dsdeiz joined06:27
safe left06:27
nilukush left06:28
jameser joined06:28
cschneid left06:29
Silmarilion joined06:29
cagedwisdom left06:30
gxt left06:30
fbwnd joined06:32
rasto left06:32
freimatz left06:33
qt-x joined06:33
cschneid joined06:35
JeroenT joined06:36
m4sk1n joined06:36
Trendrrr left06:36
xyphoid joined06:38
Trendrrr joined06:38
nilukush joined06:38
sweatsuit joined06:39
dsdeiz left06:42
livingstn left06:43
xyphoid left06:43
dsdeiz joined06:43
Cabanossi left06:43
livingstn joined06:44
Trendrrr left06:44
Cabanossi joined06:46
Trendrrr joined06:46
dmj` left06:47
fatihgenc left06:47
svm_invictvs left06:48
fatihgenc joined06:50
nisseni joined06:51
singer22 joined06:51
Trendrrr left06:52
livingst_ joined06:53
ManAcidBath joined06:53
lorena_love joined06:53
Antimateria joined06:53
Antimateria left06:53
ManAcidBath left06:53
dmj` joined06:53
lorena_love left06:54
Trendrrr joined06:54
livingstn left06:54
jameser left06:55
khatri1 joined06:58
doev joined06:59
wandering_vagran joined07:02
Trendrrr left07:04
rda-mac left07:04
dpl joined07:04
svm_invictvs joined07:05
trig-ger joined07:05
nilukush left07:06
davimore left07:07
pigeon joined07:07
Trendrrr joined07:08
jameser joined07:08
kadoban left07:10
xyphoid joined07:10
khatri1 left07:11
sondr3 left07:12
jimmyrcom left07:12
King_Hual left07:13
khatri1 joined07:13
jameser left07:14
davimore joined07:14
fakenerd joined07:14
iamtakingiteasy left07:16
roelmonn_ joined07:17
rasto joined07:18
xyphoid left07:18
ethali joined07:18
dreiss left07:18
roelmonnens left07:20
Trendrrr left07:20
tens0r left07:22
valhala_22 joined07:22
Trendrrr joined07:22
ethali left07:23
eizua joined07:23
valhala_22 left07:25
valhala_22 joined07:25
mostlybadfly left07:26
cschneid left07:27
JeroenT left07:27
JeroenT joined07:28
energizer left07:29
peterbec` joined07:29
energizer joined07:30
dsdeiz_ joined07:30
cschneid joined07:31
dsdeiz left07:31
jameser joined07:31
steeze joined07:31
peterbec` left07:34
BSaboia left07:34
p4trix joined07:35
roelmonn_ left07:35
steeze left07:35
roelmonnens joined07:36
Trendrrr left07:36
chachasmooth left07:36
Vaelatern left07:37
Trendrrr joined07:37
chachasmooth joined07:38
Rodya_ joined07:38
enckse left07:38
p4trick joined07:38
shodan` joined07:39
olalonde left07:39
jameser left07:42
enckse joined07:42
p4trix left07:42
Rodya_ left07:43
jameser joined07:45
notebox joined07:46
notebox left07:46
safe joined07:46
flaviodesousa joined07:48
hs366 joined07:49
duderonomy left07:49
se1_ joined07:49
Cthalupa left07:50
Trendrrr left07:52
valhala_22 left07:54
ethali joined07:54
valhala_22 joined07:54
fishcooker joined07:55
Trendrrr joined07:55
oxymoron93 joined07:56
xall left07:56
armin it seems my company is blocking outgoing connections to some tcp port(s?) as i can't git clone git:// URLs. can i read somewhere what that port is / what these ports are, without having to do a pcap and look at it? ;)07:56
selckin 2207:56
_ikke_ git:// is not 2207:56
it's 941807:57
armin _ikke_: thank you. :)07:57
_ikke_ man git-daemon mentions it07:57
gitinfo the git-daemon manpage is available at https://gitirc.eu/git-daemon.html07:57
Cthalupa joined07:57
selckin my google got me Ignore or deny information that conflicts with existing beliefs ("This doughnut is not a high-sugar food.")07:57
err wrong copy paste07:57
_ikke_ lol07:57
marcogmonteiro joined07:58
selckin was reading cognitive disonance wikipedia07:58
https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols only lists 2 protocols, so had to be the ssh one :)07:58
duderonomy joined07:58
ethali left07:58
Cabanossi left07:59
_ikke_ selckin: https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols#_the_git_protocol07:59
selckin blub time to hide in my corner07:59
Cabanossi joined08:01
amrits joined08:04
Trendrrr left08:04
Trendrrr joined08:05
seschwar joined08:06
mikecmpbll joined08:06
hs366 left08:07
kurkale6ka joined08:08
alcohol joined08:09
EvilPenguin left08:10
pbandark joined08:10
cschneid left08:11
Brski joined08:11
bongjovi joined08:11
jstein_ joined08:12
staafl_ Do smudge filters run between history and the index or between the index and the working copy?08:12
Trying to figure out why I have to delete the index after creating a filter to have it apply to the currently checked out files08:12
_ADN_ left08:13
hs366 joined08:13
Seveas osse: fair enough :) was wondering if I had missed something :)08:13
jstein_jstein08:13
duderonomy left08:13
dsdeiz joined08:15
dsdeiz left08:15
dsdeiz joined08:15
dsdeiz_ left08:16
Trendrrr left08:16
a_thakur left08:17
a_thakur joined08:17
Trendrrr joined08:18
frew joined08:18
gxt joined08:18
Maskettaman joined08:18
Baxter001 joined08:19
xyphoid joined08:19
Klumben joined08:19
EvilPenguin joined08:20
a_thakur left08:21
murph joined08:22
eshlox joined08:23
murphGuest8388408:23
xall joined08:24
xyphoid left08:25
fishcooker left08:25
Trendrrr left08:26
cschneid joined08:26
zulutango joined08:28
swords joined08:28
EvilPenguin left08:29
Trendrrr joined08:29
nast left08:29
_ADN_ joined08:32
chll_ joined08:33
Trendrrr left08:33
a_thakur joined08:34
Trendrrr joined08:35
kurkale6ka left08:35
a_thakur left08:36
sunri5e left08:36
a_thakur joined08:36
sunri5e joined08:36
kurkale6ka joined08:36
chachasmooth left08:36
_ADN_ left08:37
sondr3 joined08:38
martybr_ left08:40
martybr joined08:41
chachasmooth joined08:42
oskarkv left08:42
huqinlou joined08:44
ToBeCloud joined08:44
gitinfo set mode: +v08:45
xyphoid joined08:45
chachasmooth left08:47
chachasmooth joined08:48
Baxter001 left08:48
Trendrrr left08:48
_ADN_ joined08:49
Paraxial joined08:50
Trendrrr joined08:50
chachasmooth_ joined08:50
xyphoid left08:51
notebox joined08:51
cstratak joined08:51
cstratak_ joined08:51
mischat joined08:51
ti2 joined08:52
chachasmooth left08:52
mischat left08:53
chachasmooth joined08:53
mischat joined08:54
mikiones joined08:55
chachasmooth_ left08:55
IniGit joined08:56
Arcaelyx left08:57
cstratak left08:58
cstratak_ left08:58
cstratak joined08:59
ferr joined08:59
Lyqyd left09:00
feodaron left09:00
mischat_ joined09:00
chachasmooth left09:01
Trendrrr left09:01
manuelschneid3r joined09:02
MeltedLux left09:02
Trendrrr joined09:02
chachasmooth joined09:03
marcogmonteiro left09:03
ma5ter joined09:03
mischat left09:03
ma5ter left09:04
howitdo left09:04
ma5ter joined09:04
MeltedLux joined09:05
xyphoid joined09:07
Trendrrr left09:07
Goplat left09:08
chachasmooth left09:08
chachasmooth joined09:08
Trendrrr joined09:10
theoceaniscool left09:11
marcogmonteiro joined09:12
chachasmooth left09:13
MeltedLux left09:15
JeroenT left09:16
JeroenT joined09:16
MeltedLux joined09:17
xyphoid left09:18
amcsi joined09:19
amcsi Hi09:19
Gurkenglas joined09:19
JeroenT_ joined09:20
amcsi I know I can get a pretty graph if I do: `git log --all --decorate --oneline --graph`. But if I also filtered by author with `git log --all --decorate --oneline --graph --author=amcsi`, then even merge commits done by others are not shown, and thus I don't get a clear visual of which commits belong to the same branch. Is it possible to filter by author, but also show merge commits done by others to get a more complete graph?09:20
JeroenT left09:21
feodaron joined09:23
hplar left09:24
howitdo joined09:24
dwts joined09:24
dwts good morning, is there a way to "emulate" git merge to see all possible merge conflicts without doing it? I mean something like a "noop" option09:25
chachasmooth joined09:26
moritz dwts: there is a --no-commit option to git merge09:26
cschneid left09:26
moritz dwts: it still does the merge, writes it to the index, but doesn't commit09:26
and then you can git merge --abort to go back09:26
dwts moritz: hm, thanks will check the manual to see if I can use it09:26
moritz: ah, nice!09:26
and --abort will bring local back to the initial state?09:27
IniGit left09:27
cschneid joined09:28
Trendrrr left09:30
peterbec` joined09:30
Trendrrr joined09:31
tunekey joined09:33
Andrew_K joined09:34
navidr joined09:34
peterbec` left09:35
eizua left09:40
Trendrrr left09:40
TheFuzzball joined09:41
rafalcpp left09:42
pbandark left09:43
pbandark1 joined09:43
Trendrrr joined09:44
pbandark1pbandark09:45
leeN joined09:47
dsdeiz left09:48
navidr git bisect is plugin ?09:48
Trendrrr left09:48
L00thar left09:49
sbasso joined09:49
dsdeiz joined09:50
dsdeiz left09:50
dsdeiz joined09:50
grawity no09:50
navidr grawity: thank u09:51
Trendrrr joined09:52
chachasmooth left09:53
chachasmooth joined09:55
xyphoid joined09:56
Trendrrr left09:57
a_thakur left10:00
a_thakur joined10:00
chachasmooth left10:00
Trendrrr joined10:00
xyphoid left10:00
JeroenT_ left10:01
sbasso left10:02
Panacea joined10:02
chachasmooth joined10:03
zerow_ left10:04
livingst_ left10:07
Fleche joined10:07
Trendrrr left10:11
Trendrrr joined10:12
Sharker joined10:13
Uneedwat joined10:13
Vaelatern joined10:14
safe left10:15
davimore left10:16
cqi left10:17
davimore joined10:17
a_thakur left10:18
a_thakur joined10:18
tarkus joined10:20
cschneid left10:23
fbwnd left10:24
BadCodSmell joined10:25
theoceaniscool joined10:25
oxymoron93 left10:25
BadCodSmell Extremely newbie question, but if in my local repo I want to pull and update everything from remote (all fast forwards), is there an easy way to do it? Currently I have to run git branch, then checkout each and git pull on each.10:26
deepy joined10:26
cschneid joined10:26
Trendrrr left10:26
grawity git push . refs/remotes/origin/*:refs/heads/*10:27
Vampire0 BadCodSmell, pulls involve either merges or rebases and those are prone to result in conflicts very likele10:28
Trendrrr joined10:28
Vampire0 BadCodSmell, because of that (I think) there is no standard way by default10:28
BadCodSmell I am pretty sure that will break my remote and everyone wil scream at me :D10:28
grawity which remote? you're pushing to .10:28
Vampire0 BadCodSmell, you need to make a shell script of alias that loops over your local branches yourslef10:28
BadCodSmell Vampire0, I mean more for the scenario where for example lots of branches were checked out locally, from remote, but not changes, then remote changed...10:28
What I see on the internet though people are just scripting it.10:29
Vampire0 grawity, that will not really work, will it?10:29
grawity sure it will10:29
BadCodSmell Which I guess is not really that hard.10:29
grawity since it was explicitly mentioned that they're all fast-forwards, therefore no merges10:29
Panacea left10:29
BadCodSmell yeh but I want t oupdate local not remote :D10:29
grawity . *is* the local repo10:29
Vampire0 grawity, I didn't mean because of merges, I meant the syntax10:29
BadCodSmell ah yes, if it's a pull instead of push or fetch, it might work10:30
Vampire0 grawity, hm, nice, thx for that new info :-)10:30
grawity it's specifically a push to itself10:30
xyphoid joined10:30
grawity I suppose `git fetch origin refs/heads/*:refs/heads/*` would also work but IIRC that had some downside10:31
and push-to-. ended up being invented10:31
mentazoom joined10:33
xyphoid left10:35
BadCodSmell Or just a safe way to wipe out my local copes of the branches10:35
I am pretty sure if I do -d then push to remote poof10:35
safe way without recloning10:35
I guess convert existing repo to bare repo10:35
Vampire0 BadCodSmell, deleting local branches will not delete remote branches10:37
IniGit joined10:37
wouter0100 left10:37
BadCodSmell I have a feeling it will if I push that deleted branch, but if I check it out first then push it it wont, but I'll have to test it to be sure.10:38
Nope you are right according to the docs at least10:38
I would have to push with a --delete as well. :)10:38
JeroenT joined10:38
BadCodSmell Ah wait no I'm wrong. that's just a way to do it with only one command in git 1.7 +10:39
Trendrrr left10:39
Vampire0 BadCodSmell, if you dont push the refspec ":remote-branch" (read "nothing to remote-branch") or use "--delete", deleting a local branch will not delete a remote branch10:40
Trendrrr joined10:41
basiclaser joined10:41
manuelschneid3r left10:42
Lunatrius left10:44
Cabanossi left10:45
Cabanossi joined10:45
ZyX-I joined10:45
glad joined10:47
Hink_ joined10:48
fakenerd left10:50
fakenerd joined10:51
dpl left10:51
fakenerd left10:51
dpl joined10:51
fakenerd joined10:52
notebox left10:52
cdown_ joined10:53
ToBeCloud left10:54
Trendrrr left10:55
cdown_cdown10:56
fakenerd left10:56
fcanela oprypin _ikke_, i'm the guy who was struggling yesterday with reverting some ugly commits from his boss. Your indications solved the problem. Thanks.10:56
Trendrrr joined10:56
j08nY joined10:57
xyphoid joined10:58
Ryanar joined11:00
amrits left11:01
xall left11:02
se1_ left11:02
_ikke_ fcanela: yw'11:02
whoismrmichael joined11:02
michael_ joined11:02
xyphoid left11:03
joes joined11:04
michael_ left11:05
whoismrmichael left11:05
afuentes joined11:06
Trendrrr left11:07
Trendrrr joined11:09
zerow joined11:12
quackgyver joined11:20
fakenerd joined11:21
CheckDavid joined11:21
Cavallari joined11:22
notebox joined11:22
Chuguniy joined11:23
inovas left11:24
Lunatrius joined11:25
kke_ joined11:26
kke_ left11:26
kke_ joined11:26
Trendrrr left11:27
kke_ i made some `git mv`'s, then unstaged them because i needed to commit something else real quick. now i have some unstaged deletes and untracked files. is there some trick to restore them to be proper moves again?11:27
Trendrrr joined11:28
_ikke_ kke_: it doesn't matter11:29
git infers moved files, it does not store them11:29
grawity kke_: just stage an addition of the new file, and a removal of the old one11:29
kke_ so move doesn't keep history either?11:30
inovas joined11:30
_ikke_ nope, it does not record a move11:30
(tree objects do not have any way to record that a file has moved)11:30
kke_ okie dokie. thanks!11:31
peterbec` joined11:31
xall joined11:31
grawity the history is kept, but under the old name11:31
tools like `git log` try to detect and follow renames11:31
manuelschneid3r joined11:33
xall left11:34
kurkale61 joined11:35
JeroenT left11:35
peterbec` left11:36
jimi_ joined11:37
kurkale6ka left11:37
andai left11:37
andai joined11:37
Trendrrr left11:38
jimi_sanchez joined11:38
xyphoid joined11:39
Trendrrr joined11:39
jimi_ left11:41
mischat_ left11:43
Phylock joined11:44
nauar joined11:44
jaziz left11:45
thinkpad joined11:45
JeroenT joined11:48
h12o joined11:49
Baxter001 joined11:51
robattila256 left11:51
h12o left11:51
gitinfo set mode: +v11:53
nauar ello! I'm having some trouble setting a pre_receive hook. As it is in the server, the repo in the server is a bare git repo and then I cannot launch some git commands (like git diff or git log) to enforce policies. Does anyone know how solve this?11:53
Trendrrr left11:53
nast joined11:53
nauar I get error messages like: remote: fatal: This operation must be run in a work tree11:54
dave0x6d joined11:54
h12o joined11:54
BadCodSmell left11:54
Trendrrr joined11:54
mattcen left11:56
raynold left11:57
indistylo joined11:57
sz0 joined11:58
Baxter001 Is there a good way to manage it when you're dealing with committing code from third parties that only give you the final changed files, as in I'm only being sent the subset of the codebase that has been updated or created?11:58
indistylo left11:58
Maskettaman left11:59
indistylo joined11:59
Maskettaman joined11:59
_ikke_ Baxter001: What part is the challenge?11:59
ThiefMaster Baxter001: tell them to send you patches or GTFO :p12:00
or just create a branch, then copy the files, and look at the git-diff12:00
DaveTabo_ joined12:00
Vampire0 nauar, you should be able to use most commands in a bare repository, if you use them the right way. Maybe you should ask about specific things you want to do. Actually you should probably use some plumbing command instead of percellain in a script. That's what those are for12:00
DaveTabo_ left12:01
Andrew_K left12:01
ma5ter left12:01
DaveTabo_ joined12:02
DaveTaboola left12:02
manuelschneid3r left12:02
_ikke_ right, but both git log and git diff should work12:03
digitalway left12:03
_ikke_ As long as you are refering to commits, not files in the work tree12:03
xyphoid left12:04
Brski_ joined12:04
marcogmonteiro left12:04
nauar Vampire0, _ikke_: my intention is reject pushes with files with some extensions (binary files) and with file size greater than 20MB. I thought a pre-receive hook was a good option and use git diff --stat --name-only --diff-filter=ACMRT ${oldref}..${newref} for getting the filenames and git cat-file -s ${newref}:${file} for getting the size.12:05
Maskettaman left12:05
fbwnd joined12:05
_ikke_ that looks about right12:06
note that 2 dots in diff are optional12:06
JeroenT_ joined12:07
nauar _ikke_: then I get this error: remote: fatal: Invalid revision range 0000000000000000000000000000000000000000..06fb108a5f9e7a06795b9221be9eb8fbd62bac72. And surfing I found that maybe I should replace the 0's SHA by HEAD and doing that I get this other error: remote: fatal: ambiguous argument 'HEAD..06fb108a5f9e7a06795b9221be9eb8fbd62bac72': unknown revision or path not in the working tree.12:08
peacememories joined12:08
Brski left12:08
_ikke_ nauar: Use the empty tree hash in that case12:08
Vampire0 nauar, this is because it is the initial commit12:09
Trendrrr left12:09
daynaskully left12:09
Vampire0 nauar, from the second commit on it will probably work fine, as long as no new branch is created12:09
_ikke_ nauar: The pre-commit.example shows how to use it12:09
Vampire0 nauar, so you should check for initial commit of a ref and handle it specially12:09
_ikke_ https://github.com/git/git/blob/master/templates/hooks--pre-commit.sample#L1512:10
Trendrrr joined12:10
JeroenT left12:10
mattcen joined12:12
daynaskully joined12:14
str joined12:15
mischat joined12:16
nauar _ikke_, Vampire0: Thanks, I'm going to review these both solutions and analyze how to apply them in my hook.12:16
ertes left12:16
kurkale6ka joined12:16
manuelschneid3r joined12:17
mischat left12:18
zulutango left12:18
kurkale61 left12:18
theoceaniscool left12:21
dorian_ joined12:24
gitinfo set mode: +v12:25
MySecondNick joined12:28
dorian_ Hey there! I would like to set up a bare repository which is updated from the master repository every hour. I'm using cron with this line: "@hourly git -C /home/git/Certif/aom.git fetch". But in the repository directory, all I get is a FETCH_HEAD file with the hash of the last commit of the master.12:28
jimi_sanchez left12:28
dorian_ And when I ask for the current HEAD, it's still the same HEAD as when I first cloned the repository12:28
MySecondNick Hello guys! I have a quick question - I have a directory filled with files I want to push to GitHub. I am new to Git and while I do have a GitHub account, I've never made reprositories/pushed them etc. So I already have all the files and folders that I want to be in my reprository. I just have to push all of that to my GitHub account. Can anyone here help me around with this?12:29
Cabanossi left12:29
dorian_ Any idea on how I could fix this ? The point is when another user do "git clone /path/to/bare/repository" he would be in sync with the master repository (give or take one hour)12:29
Cabanossi joined12:30
dorian_ MySecondNick, https://guides.github.com/activities/hello-world/#repository12:31
peterbec` joined12:32
Maskettaman joined12:32
valhala_22 left12:33
valhala_22 joined12:34
rda-mac joined12:34
JeroenT_ left12:35
Maskettaman left12:37
peterbec` left12:37
Maskettaman joined12:38
MySecondNick dorian_ that's a good guide12:39
I created a reprository12:39
however, how do I now put my local files12:39
and my whole folder structure12:39
inside that resporsitory12:39
jameser left12:39
MySecondNick that is, how do I push all of my local file/folder structure to that reporistory I just created12:40
JeroenT joined12:40
dorian_ git add, git commit, git push12:40
tobiasvl MySecondNick: you created a repository on your computer? or only on github.com?12:40
MySecondNick tobiasvl I createad a reprostitory only on github.com12:41
kurkale61 joined12:41
MySecondNick I have local folder structure which I want to push to that repo I just created12:41
manuelschneid3r left12:42
marcogmonteiro joined12:42
manuelschneid3r joined12:42
dorian_ git add will add your files to the mysterious "staging area", git commit will commit the add locally, git push will push the changes to your github repository12:42
tobiasvl well12:43
MySecondNick needs to init/clone the repo first12:43
Trendrrr left12:43
MySecondNick Can I use the git GUI and create a new reporistory whose directory will be my local folder?12:43
is that my first step?12:43
tobiasvl MySecondNick: yes, you can do that. and then you add the repo you created at github as a git "remote", add the files, commit and push12:44
kurkale6ka left12:44
MySecondNick tobiasvl ok wait a bit12:44
dorian_ left12:44
MySecondNick so I've got a repo on github.com12:44
I just created12:45
it's empty (just a README file)12:45
Trendrrr joined12:45
tobiasvl MySecondNick: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/12:45
that's what you need12:45
you'll need to force push in the last step though, since you created a README file when creating the github project (ie. it's not completely empty, it has a commit)12:45
JeroenT left12:45
MySecondNick thanks tobiasvl12:45
tobiasvl you can just pull the github repo instead of init if you want to keep the README12:46
MySecondNick btw. do I need to init it again?12:46
if I inited it12:46
with my github GUI?12:46
tobiasvl you didn't say you had inited it12:46
no12:46
Darren_ joined12:46
MySecondNick ok12:46
thanks tobiasvl12:46
theoceaniscool joined12:46
YuGiOhJCJ left12:46
tobiasvl just remember that if you follow that guide, when you push, you will not be able to do so since you did changes on github (added the README)12:47
JeroenT joined12:47
tobiasvl so then you can either do "git push --force" to drop the README, or "git pull" to merge the README creation into your local repo, and THEN you can "git push"12:47
MySecondNick: by "github GUI" I assume you mean Github for Desktop or whatever it's called? not github.com?12:48
JeroenT left12:48
livingstn joined12:48
tobiasvl because if you only created the repo on github.com then you DO need to "git init" it locally12:48
mischat joined12:48
MySecondNick tobiasvl I deleted a repo on github.com12:49
and created a new one, without readme12:49
JeroenT joined12:49
MySecondNick but locally, I used github GUI12:49
mischat left12:49
kurkale6ka joined12:49
MySecondNick and I created a new repo in my local folder structure12:49
tobiasvl MySecondNick: this thing? https://desktop.github.com/12:49
DaveTabo_ left12:49
tobiasvl yeah OK12:49
MySecondNick I can, just in case, try to init it again12:49
if it's already inited, it'll probably give an error12:50
right?12:50
mischat joined12:50
belmoussaoui_ joined12:50
Trendrrr left12:50
MySecondNick tobiasvl If I try to "git init" an already inited reprostiry, do I get an error?12:51
kurkale61 left12:51
Anja left12:52
noidea joined12:52
jozwior left12:52
Tobbi joined12:52
Trendrrr joined12:52
ertes-w joined12:52
tobiasvl yes12:53
nast left12:53
tobiasvl as long as you're in the same directory12:53
Chuguniy left12:54
mischat left12:54
Chuguniy joined12:55
MySecondNick tobiasvl OK so in my github.com repo12:56
I have a LICENCE file12:56
I'd like to keep it12:56
as you said, "git push origin master" gives an error12:56
tobiasvl then git pull12:56
dsdeiz left12:56
MySecondNick "git pull <link to my repo> master" gives me this:12:57
qt-x left12:57
MySecondNick "fatal: refusing to merge unrelated histories"12:57
h12o left12:57
tobiasvl oh right12:57
git pull --allow-unrelated-histories12:57
I forgot about that change12:58
Cavallari1 joined12:58
Cavallari left12:58
Cavallari1Cavallari12:58
xyphoid joined12:58
h12o joined12:58
Trendrrr left12:59
DaveTaboola joined12:59
MySecondNick tobiasvl now I got a message to explain why I had to commit12:59
why I had to merge, sorry12:59
JeroenT left12:59
MySecondNick how do I get out of it and how do I write a message here?12:59
Darcidride joined12:59
tobiasvl does it already have a standard merge message on the top?13:00
amcsi_ joined13:00
MySecondNick tobiasvl no13:00
it says "Please enter a merge message..."13:00
rscata left13:00
MySecondNick something along those lines13:00
Cabanossi left13:00
MySecondNick it has # before it13:00
Trendrrr joined13:00
tobiasvl have you ever used vim before? you're probably in vim13:00
press i13:00
Cabanossi joined13:00
tobiasvl then write something at the top, with no # before it13:01
then press ESC and then write :wq and press ENTER13:01
mischat joined13:01
MySecondNick jesus13:01
tahnks tobiasvl but damn, this is not user-friendly13:02
tobiasvl you can change to another editor than vim if you want13:02
vi(m) is pretty common on unix though13:02
MySecondNick yaaaay13:02
I pushed it13:02
thanks tobiasvl13:02
martybr left13:02
MySecondNick gonna go grab a bit13:02
bite*13:02
then push another repo13:02
xyphoid left13:03
MySecondNick thanks again tobiasvl13:03
jozwior joined13:03
tobiasvl MySecondNick: good luck, read a git !book if you want13:03
gitinfo MySecondNick: There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable13:03
amcsi left13:03
MySecondNick will I need it?13:03
I was thinking about contributing to Mozilla Firefox13:04
when my C++ skills reach a certain level13:04
and also tobiasvl, how would I add new files to my repo?13:05
or modify the existing ones?13:05
if you could just give me some commands for this13:05
tobiasvl MySecondNick: create or modify a file, then "git add" followed by "git commit" at some point13:06
you probably should read up on git a bit yes13:06
mischat left13:06
martybr joined13:06
martybr left13:07
valhala_22 left13:07
martybr joined13:07
martybr left13:10
martybr joined13:11
elsevero joined13:12
Trendrrr left13:12
theoceaniscool left13:13
imrg joined13:13
Trendrrr joined13:14
Cavallari left13:14
Cavallari joined13:14
i3o0ih1noai joined13:15
JeroenT joined13:16
kurkale61 joined13:17
mischat joined13:17
mischat left13:17
mischat joined13:17
kurkale6ka left13:17
Maskettaman left13:18
jedarc joined13:18
Brski__ joined13:18
Maskettaman joined13:18
kurkale6ka joined13:18
narendraj9 joined13:19
kurkale61 left13:20
jascot[m] left13:20
KevinMGranger left13:20
reactormonk[m] left13:20
am2on left13:20
Remramm left13:20
spinningarrow[m] left13:20
dyce[m] left13:20
patrickr[m] left13:20
flo[m] left13:20
UncleCJ left13:20
musicmatze[m] left13:20
aidalgol left13:20
aviraldg left13:20
waltervargas[m] left13:20
dbn[m] left13:20
mischat_ joined13:20
hiq[m] left13:20
dikiaap left13:20
JeroenT left13:21
nod left13:21
unclechu left13:21
SpEcHiDe left13:21
dijit[m] left13:21
M-meznak left13:21
deepakbn[m] left13:21
Satchmo1[m] left13:21
heftig left13:21
JeroenT joined13:21
logos[m] left13:21
monomon[m] left13:21
swalladge[m] left13:21
kurkale61 joined13:21
MrMojit0 joined13:22
mischat left13:22
Brski_ left13:22
kurkale6ka left13:24
Trendrrr left13:25
mischat_ left13:25
Trendrrr joined13:26
Panacea joined13:27
mischat joined13:29
askb left13:29
kurkale6ka joined13:30
MySecondNick left13:30
theoceaniscool joined13:31
kurkale61 left13:31
nod joined13:32
peterbec` joined13:33
i3o0ih1noai left13:33
shodan` left13:35
MySecondNick joined13:35
Hink_ left13:36
darkJedi joined13:36
Hink joined13:36
Hink left13:38
peterbec` left13:38
kurkale61 joined13:39
Hink joined13:39
JyZyXEL left13:39
kurkale6ka left13:40
Jackneill left13:41
MySecondNick left13:41
kurkale6ka joined13:41
nauar left13:41
cebula joined13:43
kurkale61 left13:44
Hink left13:44
Hink joined13:45
claudio1 joined13:45
claudio1 left13:45
tmhind2 joined13:46
Hink left13:46
zerow left13:47
xyphoid joined13:48
jameser joined13:50
jknetl left13:50
ewitz left13:52
ewitz joined13:53
xyphoid left13:53
ethali joined13:53
monomon[m] joined13:53
lmatteis joined13:53
OtakuSenpai left13:53
Panacea left13:55
Tobbi left13:57
wouter0100 joined13:57
ethali left13:57
jameser left13:58
a_thakur left13:59
floppydh joined13:59
a_thakur joined14:00
tcorneli joined14:00
monomon[m] left14:00
malmalmal joined14:01
jameser joined14:01
mikiones_ joined14:02
Trendrrr left14:02
ujjain left14:02
donmichelangelo left14:03
Ryanar left14:03
a_thakur left14:04
mikiones left14:04
Trendrrr joined14:06
ujjain joined14:06
ujjain left14:06
ujjain joined14:06
IniGit left14:06
h12o left14:07
shodan` joined14:07
freimatz joined14:08
monomon[m] joined14:08
tmhind2 left14:09
dec0n left14:10
Trendrrr left14:11
ethali joined14:11
h12o joined14:12
kurkale61 joined14:13
star_prone left14:13
star_prone joined14:13
user_corrupt joined14:13
Trendrrr joined14:14
kurkale6ka left14:16
ethali left14:16
cam27 joined14:16
peacememories left14:17
star_prone left14:18
ethali joined14:18
jameser left14:19
EvilDMP joined14:20
davimore left14:20
diogenese left14:21
EvilDMP my git log contains two commits. But when I run git rebase -i HEAD~2, to squash them, it complains: "fatal: Needed a single revision - invalid upstream HEAD~2"14:21
what is the complaint? why does it think I am mentioning an upstream?14:22
kurkale6ka joined14:22
ethali left14:22
Kulrak joined14:22
Kulrak left14:22
Kulrak joined14:22
grawity because that's what the rebase parameter is really called14:22
it even defaults to the configured upstream branch14:23
dreiss joined14:23
grawity and as for the complaint, HEAD~2 would be the *3rd* commit in your history14:23
which does not exist14:23
to do what you're probably trying to do, you need `git rebase -i --root`14:23
Dreadnaught left14:24
fatihgenc left14:24
h12o left14:24
kurkale61 left14:24
jameser joined14:24
EvilDMP grawity: that does it thanks14:25
SpEcHiDe joined14:25
davimore joined14:25
lordjancso left14:26
xyphoid joined14:27
Trendrrr left14:27
nopf left14:28
a_thakur joined14:29
sunri5e left14:29
bgamari joined14:29
Trendrrr joined14:29
jameser left14:29
h12o joined14:30
sunri5e joined14:30
steeze joined14:30
Tobbi joined14:31
indistylo left14:32
mikecmpbll left14:32
jedarc left14:32
jedarc joined14:32
Jackneill joined14:33
jameser joined14:33
mikecmpbll joined14:33
peterbec` joined14:34
Ben_1 joined14:34
Ben_1 hi14:34
I'm using git pull --rebase14:34
is there a way git shows the <<<<<<< and ======= markers with this command?14:35
so far for me it only creates a file in .git that contains the conflict parts14:35
Trendrrr left14:36
xyphoid left14:36
ethali joined14:37
sunri5e left14:37
Trendrrr joined14:37
Devastator joined14:38
ToBeCloud joined14:38
gitinfo set mode: +v14:38
jameser left14:38
nast joined14:38
peterbec` left14:38
Devastator I would like to build a local git server for my company, where should I start in terms of security? what are the risks really?14:38
sunri5e joined14:39
IniGit joined14:39
ethali left14:41
Trendrrr left14:41
grawity start with an existing product (gitolite, gogs, gitlab)14:41
Noldorin joined14:42
h12o left14:42
Spydar007 joined14:42
grawity the risks I suppose are just a) someone could clone repos they have no read access to, b) someone could push to repos/branches they have no write access to, c) someone could run arbitrary commands and corrupt the repos on the server14:42
EvilPenguin joined14:43
Devastator grawity it is rather sensible data, so I'm not sure I would trust on cloud solutions for now14:43
JeroenT left14:44
patrickr[m] joined14:44
M-meznak joined14:44
aidalgol joined14:44
dikiaap joined14:44
dbn[m] joined14:44
deepakbn[m] joined14:44
spinningarrow[m] joined14:44
reactormonk[m] joined14:44
logos[m] joined14:44
unclechu joined14:44
flo[m] joined14:44
UncleCJ joined14:44
Remramm joined14:44
dyce[m] joined14:44
KevinMGranger joined14:44
waltervargas[m] joined14:44
heftig joined14:44
aviraldg joined14:44
swalladge[m] joined14:44
jascot[m] joined14:44
hiq[m] joined14:44
am2on joined14:44
musicmatze[m] joined14:44
dijit[m] joined14:44
Satchmo1[m] joined14:44
grawity none of the above are cloud solutions, if you mean hosted/SaaS14:44
Devastator grawity and the risks you mentioned is related to configuration, right?14:44
Ben_1 Devastator: if you set up a git server it is no cloud solution but a local network solution14:44
grawity in fact if it's for a company you could even buy Github's or BitBucket's enterprise version14:44
which are also entirely local14:44
Trendrrr joined14:45
aaa| left14:45
grawity Devastator: if you build from scratch, then also related to writing code which would enforce such configuration14:45
Devastator grawity ah, I see, when you said gitlab and others I thought you were talking about their cloud14:45
Trendrrr left14:45
mischat_ joined14:45
tvw left14:45
grawity as plain Git doesn't really care (if you have filesystem write permissions, you can push)14:45
Fleche left14:45
Devastator I didn't know it would be possible to run a standalone gitlab for example14:46
grawity so go for something pre-written, at minimum gitolite but you'll probably want fancy gitlab/github stuff14:46
Trendrrr joined14:47
Fleche joined14:47
grawity (...phabricator?)14:47
shodan` left14:47
Devastator I guess it is time to setup a VM and test14:49
shanuman joined14:49
mischat left14:49
bgamari left14:49
Devastator how do you guys backup repos etc? rsync?14:49
ShekharReddy joined14:50
grawity if I was running a shared Git server ... either whole-partition snapshots, or something involving `git fetch`14:50
bgamari joined14:51
h12o joined14:51
db8093246 joined14:52
finalbeta left14:53
Devastator grawity thank you14:53
finalbeta joined14:53
AlanQ joined14:53
aaa| joined14:53
Trendrrr left14:54
Devastator grawity by shared you mean..? with other users?14:54
elsevero left14:55
xyphoid joined14:56
Trendrrr joined14:56
h12o left14:57
chele left14:58
justan0theruser joined14:58
notebox left14:58
Silmarilion left15:00
ferr left15:00
amrits joined15:00
Cavallari left15:01
xyphoid left15:01
narendraj9 left15:01
jungsubk joined15:01
justanotheruser left15:02
Ben_1 left15:02
a_thakur left15:03
SkyPatrol joined15:03
roelmonn_ joined15:04
Quetzal2 joined15:05
Ben_1 joined15:06
SkyPatrol_ left15:06
Ben_1 nobody an idea why git does not show the conflicts in the source file?15:06
circ-user-7Xqrs joined15:06
circ-user-7Xqrs left15:07
circ-user-Z6rNi joined15:07
roelmonnens left15:07
selckin any context15:08
valhala_22 joined15:08
sunri5e left15:08
roelmonn_ left15:09
ThomasLocke left15:09
circ-user-Z6rNi left15:09
Ben_1 selckin: I used pull --rebase and got merge conflicts. Everytime I get an merge conflict I have conflict markers in my source file. This time there are no conflict markers. Do you have an idea why?15:10
h12o joined15:10
floppydh left15:10
sunri5e joined15:10
tigerdragong joined15:11
mischat_ left15:11
Seveas might be an edit/remove conflict. Try git diff --base, --ours and --theirs for details.15:11
mikecmpbll left15:11
mischat joined15:12
Hello71 left15:12
dsdeiz joined15:13
dsdeiz left15:13
dsdeiz joined15:13
Trendrrr left15:13
notebox joined15:13
Ben_1 you mean a previous merge conflict that was resolved but probably not all markers were removed or something like that?15:13
justanotheruser joined15:14
Trendrrr joined15:14
Seveas no, an edit/remove conflict is where one side edits the file, but the other removes the file completely15:15
doev left15:16
Ben_1 ah ok thanks for that info!15:16
justan0theruser left15:17
mikecmpbll joined15:18
dsdeiz left15:18
jungsubk left15:19
bgamari left15:20
bgamari joined15:21
user_corrupt left15:21
PaulCapestany left15:22
mikiones_ left15:23
lukasdboer left15:23
snowkidind joined15:24
lukasdboer joined15:24
menip joined15:24
ogny left15:24
lukasdboer left15:24
Fleche_ joined15:24
Hello71 joined15:25
overlord_tm left15:25
PaulCapestany joined15:25
valhala_22 left15:26
valhala_22 joined15:26
p4trick left15:27
wandering_vagran left15:27
skroon joined15:27
h12o left15:27
Fleche left15:27
skroon I have a #develop branch, that I want to use a master... so I would like to overwrite my master branch. I'm too scared so I wanted to double check if this is the way todo it :-) git checkout -B master develop15:29
Trendrrr left15:29
roelmonnens joined15:29
Chuguniy left15:29
peacememories joined15:30
rapha Hi all!15:30
davimore left15:30
rapha I'm trying to squash 2 commits (it's 4 now :( ) but this keeps happening: https://github.com/thoughtbot/neat/pull/620#pullrequestreview-47862857 ... what am I doing wrong?15:30
Trendrrr joined15:30
grawity squashing means a history rewrite15:32
a history rewrite means that you must use `git push --force` to actually push it15:32
Ben_1 left15:32
grawity instead of doing `git pull` and actually merging back the pre-rewrite history15:32
novae left15:33
h12o joined15:33
Maskettaman left15:33
rapha oh15:33
roelmonnens left15:33
rapha and i just didn't dare to argue with git15:34
peterbec` joined15:34
skroon I have overwritten my develop branch with master by doing: git checkout -B master develop however how can I now push to remote? because it will still complain about: unrelated histories15:35
grawity (well, if it were a shared branch, --force-with-lease would be safer)15:36
skroon: also --force, since you're also rewinding history15:36
Kaisyu left15:36
skroon grawity: ah thanks :-)15:36
chase1 joined15:37
Trendrrr left15:38
davimore joined15:38
valhala_22 left15:38
Trendrrr joined15:39
peterbec` left15:40
grawity in both cases, the stuff you're trying to push is not a fast-forward, and Git doesn't (can't) really distinguish it from the more usual situation where another dev commits/pushes to the same branch15:40
Gustavo6046 joined15:40
grawity so if you know you want to throw away what's on the server, you use --force(-with-lease)15:41
CBF16888 left15:41
h12o left15:43
skroon thanks all15:43
skroon left15:43
rasto left15:44
asd5a joined15:45
AlanQ left15:46
elsevero joined15:46
reynierpm left15:48
NeXTSUN left15:49
ethali joined15:49
nast left15:50
NeXTSUN joined15:50
tcorneli left15:50
h12o joined15:50
rapha grawity: I'm starting to cry. Now I messed up in another way and have attributed my commits to the author of the commit directly before my first one :(15:51
sweatsuit left15:51
orbyt_ joined15:51
rapha grawity: Is it possible to undo the rebase or should I just start over with a new clone?15:51
grawity `git reset --hard` to the last good commit ID15:51
rapha grawity: but that one is gone now...15:52
grawity it's not15:52
sweatsuit joined15:52
grawity not on your local repo, that is15:52
kurkale61 joined15:52
rapha mm15:52
how do i find out what the ids were that got squashed away?15:52
kurkale6ka left15:53
_ikke_ man git reflog15:53
gitinfo the git-reflog manpage is available at https://gitirc.eu/git-reflog.html15:53
justanotheruser left15:54
justanotheruser joined15:54
ethali left15:54
wouter0100 left15:54
InfoTest joined15:55
nast joined15:56
Hink joined15:56
kurkale61 left15:57
BSaboia joined15:57
kurkale61 joined15:57
xyphoid joined15:58
h12o left15:58
seschwar left15:59
Trendrrr left15:59
oskarkv joined15:59
bgamari left16:00
ahr3n left16:00
Trendrrr joined16:00
tigerdragong left16:00
donmichelangelo joined16:00
rapha Oh boy.16:01
bgamari joined16:01
rapha I think I'll leave it at that and wait for the original author to tell me whether he'll accept this state or wants me to start fresh.16:01
overlord_tm joined16:02
rapha Thanks grawity!16:02
King_Hual joined16:02
zxd is there a way to print all types of tags (annotated or not) from most recent backwards16:04
bgamari left16:05
grawity possibly, but non-annotated tags don't have a timestamp (other than the tagged commit's timestamp – if they even tag a commit)16:05
xyphoid left16:05
Trendrrr left16:06
bgamari joined16:06
zxd ok how to do it with annotated?16:06
fakenerd left16:07
wouter0100 joined16:07
thiago joined16:08
Trendrrr joined16:08
phinxy joined16:08
mischat_ joined16:08
h12o joined16:10
bgamari left16:11
mischat left16:12
fakenerd joined16:14
al-damiri joined16:14
valhala_22 joined16:15
valhala_22 left16:15
kurkale62 joined16:17
kurkale61 left16:17
peacememories left16:17
bgamari joined16:17
theoceaniscool left16:17
Sein joined16:18
Brski__ left16:18
valhala_22 joined16:21
star_prone joined16:24
Trendrrr left16:24
Trendrrr joined16:26
jimi_ joined16:27
jimi_ left16:27
jimi_ joined16:27
cstratak left16:28
h12o left16:28
cam27 left16:28
star_prone left16:28
malmalmal left16:29
grawity git tag --sort=creatordate16:29
Rodya_ joined16:29
mischat_ left16:29
svm_invictvs left16:30
jimi_ left16:30
L00thar joined16:30
xyphoid joined16:32
dsdeiz joined16:32
h12o joined16:32
Trendrrr left16:33
mischat joined16:33
df0 joined16:33
kurkale62 left16:34
Jellyg00se joined16:34
Trendrrr joined16:34
mikecmpbll left16:35
peterbec` joined16:35
Baxter001 left16:36
dsdeiz left16:37
xyphoid left16:37
mischat left16:37
jimi_ joined16:38
eshlox left16:39
peterbec` left16:40
marcogmonteiro left16:40
malmalmal joined16:41
h12o left16:42
marcogmonteiro joined16:42
darkJedi left16:43
nast left16:45
narendraj9 joined16:45
jimmyrcom joined16:46
ToBeCloud left16:47
Tobbi left16:48
flaviodesousa left16:49
vuoto joined16:49
h12o joined16:51
theoceaniscool joined16:52
khatri1 left16:52
Trendrrr left16:53
foul_owl left16:53
valhala_22 left16:54
Trendrrr joined16:54
prg318 joined16:55
freimatz left16:55
malmalmal left16:57
foul_owl joined16:57
friendlyspider joined16:58
Gustavo6046_ joined16:58
h12o left16:58
Trendrrr left16:59
friendlyspider left17:00
Gustavo6046 left17:01
a3Dman left17:02
TheFuzzball left17:02
Trendrrr joined17:03
Jitta joined17:03
elsevero left17:03
jimi_ left17:04
finalbeta left17:05
finalbeta joined17:05
xyphoid joined17:06
czart__ left17:06
a3Dman joined17:07
mischat joined17:09
endiruna joined17:10
h12o joined17:10
Rodya_ left17:11
Trendrrr left17:11
SteffanW joined17:12
__g_k__1_w_m__s_ joined17:12
xyphoid left17:13
Trendrrr joined17:13
mischat left17:13
Guest83884murph17:15
__g_k__1_w_m__s_ left17:15
dsantiago left17:16
shanuman left17:17
Rodya_ joined17:19
dreiss left17:20
chase1 left17:20
ethali joined17:20
NeXTSUN left17:21
NeXTSUN joined17:22
Trendrrr left17:22
Harzilein joined17:23
Harzilein hi17:23
is there something similar to git subtree split that will not move stuff from the prefix up into the root?17:24
Trendrrr joined17:24
ethali left17:25
Harzilein i.e. i want to extract a perl module from girocco, it's in the Girocco prefix of the regular project, but could/should be a directory in the perl distribution as well17:25
s/ a / the /17:25
__g_k__1_w_m__s_ joined17:26
__g_k__1_w_m__s_ left17:26
indistylo joined17:26
indistylo left17:26
endiruna left17:27
h12o left17:27
diogenese joined17:30
czart joined17:30
tomasm- joined17:30
jimklo joined17:31
tomasm- ok is it possible to create a develop branch on a new repo without having a master branch? I have some files but not sure how to commit to develop branch or how to create it17:31
grawity a) commit as always, then rename master to develop17:31
h12o joined17:31
tomasm- ok thanks! was confused for a second there17:32
jceb joined17:32
belmoussaoui_ left17:32
dsantiago joined17:33
YuGiOhJCJ joined17:33
jimklo left17:34
Gustavo6046_ left17:34
sammyo left17:34
Vampire0 Harzilein, shouldn't a subtree merge then move it back down into the wanted prefix?17:34
Gustavo6046 joined17:34
Vampire0 grawity, tomasm- if you didn't make any commit yet, there is no branch at all yet, not even "master".17:35
peterbecich joined17:35
Vampire0 grawity, tomasm- git status will tell so, but it is a lie17:35
grawity, tomasm- as long as you don't make a commit, no branch is present17:35
_ikke_ tomasm-: git symbolic-ref HEAD refs/heads/develop17:36
Vampire0 grawity, tomasm- so if you do `git checkout develop` before the first commit and then create the commit, there will only be a develop branch, no master branch17:36
_ikke_ That will cause the new branch to be called develop instead of master17:36
Vampire0 _ikke_, why not simply `git checkout develop`?17:36
grawity because there's no branch by that name17:37
_ikke_ git checkout -b develop works too17:37
Vampire0 `git checkout -b develop` I meant of course17:37
grawity, sorry, forgot the -b17:37
Trendrrr left17:37
Rodya_ left17:37
Vampire0 grawity, the -b will create the branch, even without something to "branch off"17:37
_ikke_ Was not sure if that would work, but it does17:38
nowhere_man left17:38
Ardethian joined17:38
mikiones joined17:38
nowhere_man joined17:38
Trendrrr joined17:38
duderonomy joined17:38
df00z joined17:39
invisbl left17:39
df00z Hey git add -a . should add everything in all subdirectories right?17:40
Ardethian\ left17:40
_ikke_ df00z: git add -A17:40
df00z hm maybe i see what is going on17:41
I have a subfolder that is another git repository17:41
it's not adding that17:41
grawity and it's not going to17:41
df00z I guess I don't need it to either.17:41
Just didnt know it was doing that17:41
svm_invictvs joined17:41
grawity you can add it two ways: a) add it as a submodule, or b) add its contents (the working tree) but not the .git repo itself17:41
jnavila joined17:42
notebox left17:42
chll_ left17:43
h12o left17:44
Maskettaman joined17:44
Trendrrr left17:45
Trendrrr joined17:46
multi_io left17:48
duderonomy left17:48
marcogmonteiro left17:48
ShekharReddy left17:49
vuoto left17:49
tomasm- left17:49
sammyo joined17:50
mikiones left17:51
svm_invictvs left17:52
Trendrrr left17:52
robattila256 joined17:52
bongjovi left17:53
multi_io joined17:53
duderonomy joined17:53
narendraj9 left17:53
CheckDavid left17:53
Trendrrr joined17:54
fbwnd left17:54
nopf joined17:55
xyphoid joined17:55
gxt left17:57
noidea left17:58
amrits left17:59
Lyqyd joined17:59
jnavila left18:00
xyphoid left18:01
Trendrrr left18:06
iliakan joined18:07
gitinfo set mode: +v18:07
iliakan hello18:07
Trendrrr joined18:08
iliakan "git checkout another-branch" allows changes to be "carried over" to a new branch only if they are in new, just indexed (or untracked) files?18:08
osse iliakan: No, also if the changes are in files that are equal in the two branches18:10
iliakan umm what you mean?18:10
_ADN_ left18:10
iliakan I felt like there's something else here, but don't remember what :(18:11
osse iliakan: The you i18:11
If you're in branch foo and want to check .18:11
Shit18:11
SteffanW left18:11
osse You're in branch foo and what to checkout bar. Between them fileA and fileB are different. Then you can make changes to fileC and carry them over18:12
peterbec` joined18:12
energizer left18:13
iliakan fileC is in both foo and bar?18:14
ethali joined18:14
osse Yes18:14
Trendrrr left18:14
cam27 joined18:15
osse !float18:15
gitinfo If you have made a change in your working directory and have NOT YET COMMITTED, you may "float" that change over to another (`git checkout oldbranch`) or new (`git checkout -b newbranch`) branch and commit it there. If the files you changed differ between branches, the checkout will fail. In that case, `git stash` then checkout, and `git stash apply` and go through normal conflict resolution.18:15
theoceaniscool left18:15
iliakan yep right18:15
xyphoid joined18:15
iliakan ah there's a tip for that!18:15
cool!18:15
thank ya18:16
Trendrrr joined18:16
star_prone joined18:17
peterbec` left18:18
peterbec` joined18:20
star_prone left18:21
Trendrrr left18:22
xyphoid left18:23
Arcaelyx joined18:23
Trendrrr joined18:24
shinnya left18:26
schleppel left18:26
peterbecich left18:27
peterbec` left18:28
m0viefreak joined18:28
mar77i_ joined18:29
fatihgenc joined18:29
mar77i left18:31
xyphoid joined18:32
blackwind_123 left18:32
Lyqyd left18:33
Trendrrr left18:34
blackwind_123 joined18:34
jimmyrcom left18:35
jimmyrcom joined18:35
Trendrrr joined18:35
YuGiOhJCJ left18:37
EvilPeng1 joined18:38
EvilPenguin left18:38
lmatteis left18:43
Trendrrr left18:45
narendraj9 joined18:45
ethali_ joined18:45
Trendrrr joined18:46
iliakan checkout "floats" uncommitted changes only if fileC is same in both branches, right?18:47
ethali left18:47
iliakan exactly same file, not changed in any commits18:47
osse iliakan: Well if it's changed but changed vack that's no problem18:48
oskarkv left18:48
osse It must be equal in the branchest. That's it18:48
Matsv joined18:48
oskarkv joined18:49
iliakan OR it also floats new files18:49
only these two cases?18:49
osse New fie18:50
News files aren't just news files. Git doesn't know about them so they just remain18:50
h12o joined18:50
iliakan cat >new.html18:50
git add new.html18:50
git checkout foo18:50
belmoussaoui joined18:50
iliakan floats new.html both in WD and in index18:50
schleppel joined18:51
whitby joined18:51
osse In both thosr caded, at least. Try it out. If it doesn't work then nothing bad will happen18:52
EvilPeng1 left18:52
Trendrrr left18:52
iliakan yep, I tried the second case18:53
it does float18:53
these two are the only cases?18:54
Trendrrr joined18:54
osse I don't know.18:55
What other cases could there be18:55
dreiss joined18:55
npgm joined18:57
dpl left18:58
Trendrrr left18:59
h12o left19:00
jnavila joined19:00
robotroll joined19:01
mischat joined19:02
Trendrrr joined19:03
jceb left19:08
minn joined19:09
elsevero joined19:09
Trendrrr left19:10
h12o joined19:10
Trendrrr joined19:11
mischat left19:14
eahmedshendy joined19:15
dreiss left19:16
xyphoid left19:16
eahmedshendy Hi, I have a master and dev branches. I have a full commits on dev, I pushed them on GitHub, then I merge it with master, then before pushing my master to the origin, I did "git gc", then I tried to push my master to origin I am getting "Everything up-to-date"19:17
Am I lost something on the master?19:17
iliakan git gc has nothing to do with it in any case19:17
_ikke_ No, git gc does not remove anything that is being referenced19:17
eahmedshendy So, what happened?19:18
I almost have 9 commits that needed to be pushed19:18
iliakan are you sure you're on master now?19:18
eahmedshendy Yes19:18
_ikke_ Seveas: git log --oneline @{u}..19:19
iliakan fetch the remote master?19:19
Uneedwat left19:19
_ikke_ eahmedshendy: ^19:19
Seveas: sorry, wrong highlight19:19
chase1 joined19:20
eahmedshendy What is @{u}?19:20
_ikke_ shortcut for the upstream branch19:20
upstream tracking branch19:20
eahmedshendy fatal: ambiguous argument '@u': unknown revision or path not in the working tree.19:21
iliakan git --version ?19:21
eahmedshendy I put " around it19:21
_ikke_ eahmedshendy: your shell eats the {}19:21
eahmedshendy Sorry I am using "fish" shell19:21
DelTree " is not enough... ' should work...19:21
eahmedshendy The HEAD is pointing to 859c151 on master, and also on dev19:22
That is locally19:22
_ikke_19:22
Trendrrr left19:23
githubmgw joined19:23
_ikke_ !situation19:24
gitinfo Please pastebin the relevant output of `git log -n 20 --all --graph --format="%h %p %d"` to give us an idea about what your situation is (increase the -n argument if your problem is more complex than 20 commits can explain)19:24
Trendrrr joined19:24
iliakan did log --oneline @{u}.. show anything?19:25
jedarc left19:25
eahmedshendy iliakan, yes19:25
iliakan there should be a list of commits19:25
eahmedshendy _ikke_, should I do this on master or dev?19:25
iliakan 9 commits?19:25
_ikke_ eahmedshendy: it should not matter19:25
githubmgw1 joined19:25
eahmedshendy Ok19:25
iliakan, more19:26
_ikke_, http://paste.ubuntu.com/25020305/19:26
githubmgw2 joined19:26
dreiss joined19:27
_ikke_ eahmedshendy: and what are you trying to push?19:27
phy1729 joined19:27
eahmedshendy I need to push master to origin19:27
_ikke_ according to this, origin already has everything19:27
iliakan it says master and origin/master are same19:27
githubmgw left19:27
eahmedshendy The last commit is: 859c15119:27
iliakan but why log --oneline @{u}.. shows anything?19:27
how can it be?19:27
githubmgw joined19:28
eahmedshendy iliakan, what should it display?19:28
iliakan if I get things right, nothing...19:28
_ikke_ eahmedshendy: well, I expect it to show nothing, right19:28
Seveas slaps _ikke_19:28
_ikke_ auch19:28
eahmedshendy Oh, guys now the origin is the same as master19:28
_ikke_ yes, that's what we say :P19:28
iliakan was the push successful meanwhile?19:29
Seveas be careful who you highlight. I have a large garden and enough fertilizer to make you disappear :P19:29
h12o left19:29
_ikke_ auch19:29
hehe19:29
podlech joined19:29
eahmedshendy iliakan, which one?19:29
iliakan dunno :) but right now you've pushed it.19:29
eahmedshendy Would the push take a minutes to take affect19:29
_ikke_ eahmedshendy: for git not19:30
iliakan if you have a slow network19:30
_ikke_ but web services might19:30
githubmgw1 left19:30
malmalmal joined19:30
iliakan are you over GPRS19:30
githubmgw2 left19:31
Trendrrr left19:31
robotroll left19:31
guardian joined19:31
eahmedshendy I remember something, I didn't push before "git gc", but after I do "git gc" then I did push again and I got this output "796ffa7..859c151 master -> master"19:31
Sorry I did push before "git gc" bad typing19:31
I remember something, I did push before "git gc", then after I do "git gc" then I did push again and I got this output "796ffa7..859c151 master -> master"19:32
d0liver left19:32
eahmedshendy edited19:32
h12o joined19:32
Trendrrr joined19:32
IntrinsicCause joined19:32
phy1729 left19:33
_ikke_ eahmedshendy: note that you rarely have to run git gc yourself19:33
gargola joined19:33
dsdeiz joined19:34
dsdeiz left19:34
dsdeiz joined19:34
eahmedshendy _ikke_, I choose a wrong command, I just deleted a folder for dependencies packages that is used to be pushed on the repo, and I still get more than 2000 thousands for file when trying to clone the project from scratch19:34
_ikke_ just running git gc is not getting rid of them19:34
eahmedshendy yeah, I see it now, I understand it wrong19:35
I definitely sure that there was a delay, because I cloned the repo to test some from scratch and I got an old commit19:35
roelmonnens joined19:35
star_prone joined19:35
eahmedshendy _ikke_, do you know how to git rid of that folder even If removed it from git?19:35
star_prone left19:35
_ikke_ if clone is getting you that folder, it means it's still part of your history19:36
so you need to make sure it's removed from all commits19:36
basiclaser left19:37
podlech left19:37
podlech joined19:38
star_prone joined19:38
eahmedshendy I don't get them while cloning, but I only have less than 50 active files and I see while cloning that: 2667 object is being received19:39
Does that number mean something?19:39
dsdeiz left19:39
db8093246 left19:39
roelmonnens left19:39
eahmedshendy Am the received files size is 7m19:39
Seveas yes, every version of every file and directory is in the repo19:39
and commits themselves are also objects19:39
eahmedshendy I guess that number doesn't related to how many files, but may be related to how many blobs and tree and commits stored int git, right?19:40
Seveas correct19:40
eahmedshendy Seveas, aha19:40
Trendrrr left19:40
eahmedshendy Seveas, we can't get rid of unused object right, or we should care about this at all?19:40
Trendrrr joined19:42
_ikke_ they will be removed eventually19:42
eahmedshendy Aha, good19:43
manuelschneid3r left19:43
DelTree but what are unused objects ?19:43
_ikke_ DelTree: objects created but due to history rewriting no longer referenced19:44
eahmedshendy I don't know, I am just pretending there is an unused objects, may be there is19:44
osse DelTree: if you 'git add file' twice then the object created the first time is unused19:44
for example19:44
peterbecich joined19:44
Cabanossi left19:44
_ikke_ (git add. edit file, git add)19:44
DelTree git add twice like in not commit between...19:45
h12o left19:45
nauar joined19:45
rominron_ joined19:45
DelTree does that ever amount to many objects ?19:45
Cabanossi joined19:45
osse when stuff like filter-branch or rebase is involved, yes.19:46
_ikke_ or when you git add a dir with lots of files and reset19:46
DelTree the rebased part is considered unused ?19:47
osse no the old part19:47
malmalmal left19:48
DelTree yes... that's what I meant... well, I think...19:48
I think I fail to get the rule...19:48
_ikke_ what rule?19:48
DelTree for an object to be "unused"...19:49
osse when git doesn't use it anymore19:49
_ikke_ an object in git only exists if it's reachable from one of the roots (refs, reflog)19:49
jeffreylevesque_ joined19:49
DelTree I pretty much don't see how commits can be unused...19:49
_ikke_ If an object is not reachable anymore, it's eligible for GC19:49
osse DelTree: git commit --amend => produces a new SHA1. The old one is unused19:50
DelTree: basically, git doesn't clean up after itself19:50
that's what happens19:50
_ikke_ DelTree: Are you familiar with the git object model?19:50
jeffreylevesque left19:50
h12o joined19:51
DelTree but if I git tag the old sha1 before gc comes over there, then it's no longer unused ?19:51
osse DelTree: correct19:51
because git needs it19:51
DelTree _ikke_: I guess you can imagine I'm still having trouble to catch upon things...19:51
_ikke_ np19:51
nauar _ikke_, Vampire0: With your guidelines, I got to finish my filesize/extensions policies in my pre-receive hook! I published it in a gist: https://gist.github.com/nauar/826f85d25d692d9bc009312cb71577dd . Thanks a lot to you!19:52
DelTree osse: sounds quite odd to me......19:52
_ikke_ DelTree: what sounds odd?19:52
Trendrrr left19:52
osse DelTree: imagine if your text editor saved the file you're working on under a new name every time you save. That's what git does.19:52
DelTree that the commit can get unused and the used again...19:52
then*19:52
jnavila left19:53
osse DelTree: it can be used again if you tag it, yes, but in practice that never happens19:53
valhala_22 joined19:53
Trendrrr joined19:54
DelTree well... almost never... strange people like me can do weird things...19:54
opalepatrick left19:54
_ikke_ DelTree: as long as an object exists in the repository, you can still reference it19:54
DelTree: When git runs gc, it basically starts at all the refs and reflog, and traverses all objects19:54
xyphoid joined19:54
DelTree strange race between me and gc... ^_^19:54
_ikke_ refs point to commits, commits point to trees, trees point to blobs and other trees19:54
tag refs point to commits and tag objects19:55
the reflog points to commits19:55
any object that is not reached by this project, is deemed unused19:55
a commit points to it's parent commit(s) too19:56
s/it's/its/19:56
DelTree it's starting to make sense to me... but I still have to get used to it...19:57
L00thar left19:57
L00thar_ joined19:57
UrsoBranco joined19:58
DelTree (and not start tagging everything before gc gets a chance to get rid of it)... ^_^19:58
VaultTec joined19:58
h12o left19:58
valhala_22 left19:58
VaultTec left19:58
nauar left19:59
osse it really does not make sense to tag something that would be gc'ed in the first place19:59
_ikke_ right19:59
podlech left19:59
osse DelTree: if you ever do for a valid reason I'll buy you a beer19:59
_ikke_ and there is always the reflog, which keeps commits referenced for 90 days19:59
VaultTec joined19:59
xyphoid left20:00
nisseni left20:00
rominron_ left20:00
malmalmal joined20:01
DelTree well I do have that one repo where I pretty much succeeded in making a mess of everything...20:02
Trendrrr left20:02
Trendrrr joined20:03
rahtgaz joined20:04
dodobrain umm, how do i cherry-pick a commit but have it appear as a completely new commit in the branch i am picking to?20:06
osse dodobrain: Isn't that what already happens?20:07
tang^ use --no-commit and custom commit20:07
osse You can change author/message if you want20:07
dodobrain osse, it preserves the original commit date i think20:08
Tobbi joined20:08
narendraj9 left20:09
tang^ which also makes it easier to tell that it was a cherry-pick... code reuse ftw20:09
dotin joined20:09
iliakan left20:10
iliakan joined20:10
h12o joined20:10
dotin left20:11
L00thar__ joined20:11
Trendrrr left20:11
mischat joined20:11
SCHAPiE joined20:12
dreiss left20:13
jnavila joined20:13
L00thar_ left20:14
Trendrrr joined20:14
dreiss joined20:15
h12o left20:15
mischat left20:16
osse dodobrain: use --reset-author20:17
Bur why?20:17
Maskettaman_yo joined20:17
Maskettaman left20:19
mar77i_mar77i20:20
peterbec` joined20:20
df0 left20:20
Trendrrr left20:21
cagedwisdom joined20:21
Trendrrr joined20:22
peterbec` left20:26
robotroll joined20:27
eahmedshendy left20:27
malmalmal left20:27
schleppel left20:28
peterbecich left20:29
robotroll left20:29
Trendrrr left20:29
askb joined20:29
h12o joined20:30
shinnya joined20:31
_ADN_ joined20:31
spm_draget left20:31
Trendrrr joined20:31
bitmod left20:32
bitmod joined20:32
xyphoid joined20:32
konsolebox left20:33
Quetzal2 left20:35
roelmonnens joined20:35
abstr0n joined20:35
mischat joined20:36
konsolebox joined20:38
Trendrrr left20:38
xyphoid left20:38
roelmonnens left20:39
Trendrrr joined20:42
misosoup joined20:42
h12o left20:44
abstr0n left20:48
Trendrrr left20:49
HoierM_ joined20:50
podlech joined20:50
podlech left20:50
Trendrrr joined20:50
h12o joined20:51
blackwind_123 left20:55
Trendrrr left20:55
King_Hual left20:56
blackwind_123 joined20:57
UrsoBranco left20:57
oleksiyp joined20:58
h12o left20:59
Trendrrr joined20:59
abstr0n joined20:59
ethali_ left21:00
oleksiyp left21:01
Maskettaman joined21:02
Maskettaman_yo left21:04
hs12 joined21:04
Fleche_ left21:05
ncthom91 joined21:05
jaziz joined21:07
macrover joined21:07
abstr0n left21:08
Trendrrr left21:08
brent__ joined21:09
Trendrrr joined21:10
h12o joined21:10
trac3r_ joined21:11
Sharker left21:14
opalepatrick joined21:14
Sharker joined21:14
h12o left21:16
xyphoid joined21:16
Serus hi21:16
how is git lfs support on windows?21:17
I assume it to be working well on *nix systems, but last time I checked it seemed to be lacking with windows support21:18
Anybody using it on a project?21:18
opalepatrick left21:18
opalepatrick joined21:19
fatihgenc left21:21
Trendrrr left21:23
VaultTec left21:23
xyphoid left21:25
Jitta left21:25
Trendrrr joined21:25
VaultTec joined21:26
wilbert joined21:26
hanna left21:26
mozzarella joined21:27
Cabanossi left21:28
hanna joined21:28
valhala_22 joined21:29
Fleche_ joined21:29
h12o joined21:30
Cabanossi joined21:31
jstein left21:32
Darren_ left21:33
Trendrrr left21:34
tyoc213 joined21:34
Trendrrr joined21:36
xyphoid joined21:36
evifn joined21:37
roelmonnens joined21:38
jceb joined21:38
andy joined21:38
andy left21:39
tyoc213 if I only have 3 commits and for git rebase -i -p I need to put the commit of the latest commit (which there isnt) how I can do that?21:40
I mean, I want to rebase and ammend the user for each one of this 3 commits21:40
xyphoid left21:40
jnavila left21:41
roelmonnens left21:42
b0nn git rebase -i HEAD~n (where n is the number of commits back to cover the 3)21:42
Trendrrr left21:42
b0nn then mark each of the 3 for edit/r/whatever you deem appropriate21:43
Trendrrr joined21:44
h12o left21:45
Eryn_1983_FL left21:49
ahrs left21:50
str left21:50
duderonomy left21:50
Eryn_1983_FL joined21:50
tymczenko joined21:50
h12o joined21:50
Anja joined21:51
ahrs joined21:51
cdown left21:51
peterbec` joined21:52
nullcone_ joined21:53
kculpic joined21:57
tyoc213 thx b0nn21:57
scarcry left21:57
Phylock left21:58
scarcry joined21:58
Cabanossi left21:58
raulp left21:59
raulp joined21:59
Trendrrr left22:00
h12o left22:00
Cabanossi joined22:01
Trendrrr joined22:01
xyphoid joined22:03
VaultTec left22:04
IntrinsicCause left22:04
tyoc213 b0nn I get fatal: Needed a single revision22:05
huqinlou left22:07
xyphoid left22:08
pbandark left22:10
singer22 left22:12
invisbl joined22:12
ncthom91 left22:12
Domhack left22:14
Domhack joined22:15
snowkidind left22:17
brent__ left22:17
Gustavo6046 left22:17
nast joined22:17
brent__ joined22:18
Trendrrr left22:18
al-damiri left22:20
Trendrrr joined22:20
theoceaniscool joined22:20
Gustavo6046 joined22:20
cdown joined22:21
brent__ left22:22
xyphoid joined22:22
singer22 joined22:23
Lunatrius` joined22:24
nast left22:25
peterbec` left22:26
Vampire0 tyoc213, did I get you right that you want to rebase each and every commit?22:27
nisseni joined22:27
Vampire0 tyoc213, then use --root22:27
Lunatrius left22:27
Lunatrius`Lunatrius22:27
tyoc213 yeah, is because I started a project with git and commit 3 but I didnt see that I was using the credentials of my work instead of my personal ones... and this project is from me to myself22:28
xD22:28
so I want to rewrite the commiter22:28
fission6 joined22:28
xyphoid left22:28
livingstn left22:30
nast joined22:30
Trendrrr left22:32
itseris joined22:34
mns joined22:34
msonntag left22:34
InfoTest left22:34
Trendrrr joined22:35
Husky_Apocalypse joined22:35
steeze left22:37
msonntag joined22:38
nast left22:38
Trendrrr left22:42
Darcidride left22:42
hs12 left22:43
Trendrrr joined22:43
Bennux joined22:44
rahtgaz left22:44
tarkus left22:44
valhala_22 left22:44
belmoussaoui left22:45
minn How do you compare one file against every file in a tree and obtain similarity scores? I can do this for file/file (or tree/tree, etc) pairs, but not file/tree pairs (without manually diffing against all relevant files).22:45
valhala_22 joined22:45
Noldorin left22:46
Vampire0 tyoc213, instead of rebase you could also use man git filter-branch22:46
gitinfo tyoc213: the git-filter-branch manpage is available at https://gitirc.eu/git-filter-branch.html22:46
Vampire0 tyoc213, with an environment filter22:46
Bennux left22:48
jceb left22:53
fishcooker joined22:54
nisseni left22:54
jungsubk joined22:55
mel00010 left22:55
msonntag left22:56
TomyLobo left22:57
Cabanossi left22:59
NeXTSUN left22:59
overlord_tm left23:00
Cabanossi joined23:01
svm_invictvs joined23:02
ertes-w left23:02
chase1 left23:04
Tobbi left23:04
finalbeta left23:04
jungsubk left23:04
donmichelangelo left23:05
msonntag joined23:07
NeXTSUN joined23:07
fishcooker left23:09
phinxy left23:10
mel00010 joined23:11
Achylles_ joined23:15
optimus joined23:15
Gurkenglas left23:16
Achylles_ left23:16
PtxDK joined23:18
Jellyg00se left23:18
leeN left23:18
xcm left23:19
xcm joined23:20
itseris left23:20
Trendrrr left23:21
afuentes left23:21
fission6 left23:22
peterbec` joined23:22
Trendrrr joined23:23
bgrrtt joined23:23
nisseni joined23:23
bgrrtt left23:24
valhala_22 left23:24
PaulCapestany left23:24
msonntag left23:25
rostero left23:25
Kaisyu joined23:25
theoceaniscool left23:26
menip left23:26
L00thar__ left23:27
peterbec` left23:27
invisbl left23:27
Lunatrius left23:27
valhala_22 joined23:28
svm_invictvs left23:28
mel00010 left23:31
msonntag joined23:31
svm_invictvs joined23:31
dsantiago left23:32
Vgr joined23:32
Lunatrius joined23:32
nisseni left23:32
NeXTSUN left23:33
misosoup left23:33
Trendrrr left23:34
xyphoid joined23:34
PaulCapestany joined23:35
dsdeiz joined23:35
dsdeiz left23:35
dsdeiz joined23:35
Trendrrr joined23:35
msonntag left23:35
f3r70rr35f joined23:36
opalepatrick left23:36
NeXTSUN joined23:37
JackFruh joined23:38
ohHenry joined23:39
mentazoom left23:40
dsdeiz left23:40
msonntag joined23:41
Maskettaman left23:41
IntrinsicCause joined23:41
ertes joined23:43
mostlybadfly joined23:46
kadoban joined23:46
NeXTSUN left23:47
lagothri1 left23:47
xyphoid left23:48
glad left23:49
lagothrix joined23:51
mar77i_ joined23:55
mar77i left23:57
Trendrrr left23:58
Cabanossi left23:58
mischat left23:59
chase1 joined23:59

Logs Search ←Prev date Next date→ Channels Documentation