IRCloggy #git 2016-01-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.

2016-01-04

sctskw left00:00
schism__ left00:02
solvaring left00:03
PiBa-NL hi got a question about git on Windows it looks like my files spontaniously change their status in git..00:03
i checkout a repository into a new directory.00:03
change some of those files.00:03
then run 'git status' and it shows me that the files i edited have been 'deleted'00:04
i still see them though.. and didnt tell git to remove anything..00:04
qsx is the repo in question publicly available?00:04
PiBa-NL yes00:04
qsx URL please00:04
PiBa-NL https://github.com/pfsense/FreeBSD-ports.git00:05
Daredel03 joined00:05
qsx umpf00:06
ncthom91 joined00:06
qsx it couldn't just be a small repo, eh00:06
otter768 left00:06
PiBa-NL nope :)00:06
looper joined00:06
GaboFDC joined00:07
PiBa-NL there are several files with a colon : in there, that windows doesnt allow..00:07
italoacasas left00:07
qsx indeed00:07
ozcanesen left00:07
qsx as these files couldn't be created, they are not there00:07
PiBa-NL but i thought to work around that with a sparse checkout00:07
qsx thus git thinks them missing00:07
PiBa-NL for example : deleted: net/pfSense-pkg-haproxy-devel/files/usr/local/www/haproxy_stats.php00:07
qsx welp, if you can, ignore it00:07
if you need those files ... use something else than windows.00:08
PiBa-NL that file does exist. but if i edit it then the git status changes to 'deleted'00:08
s8321414 left00:08
qsx doubt a bug report makes sense, those are freebsd ports, they'll likely say "windows? why should we care"00:08
PiBa-NL another one does work though..00:08
Gitzilla_ joined00:08
PiBa-NL modified: net/pfSense-pkg-haproxy-devel/files/usr/local/www/haproxy_listeners_edit.php00:08
Daredel left00:09
polyzen left00:10
PiBa-NL yea i get what your saying.. still i find it wierd..00:10
Daredel03 left00:10
polyzen joined00:11
GaboFDC left00:11
PiBa-NL and Windows is my main workstation from where i have been using git for several years to maintain the same pfsense-haproxy 'package'.. it was then not part of a freebsd ports tree..00:12
was wondering if anyone had seen it before, or possibly knew a workaround.. (other than not using windows.. ;) )00:13
jonno11 left00:13
samw joined00:13
filisko left00:14
ncthom91 left00:16
fscala left00:17
samw left00:18
fscala joined00:19
mellernoia left00:20
kadoban left00:20
jonno11 joined00:22
empedokles78 In git add --interactive what does the first number and the negative number mean? 39: unchanged +0/-31 j/templates/footer.html00:22
rewt lines added/removed00:23
kadoban joined00:23
smw_ left00:25
empedokles78 that's rather strange because it shows me numbers that can't be now: 7: unchanged +0/-428 j/models.py00:25
Also from files I haven't touched at all: 31: unchanged +0/-6478 j/static/js/materialize.js00:26
Ah wait, I've renamed j to app. That's probably why I got all these listed..00:28
italoacasas joined00:32
pigeon joined00:34
Peng left00:35
mattfoo left00:35
jonno11 left00:35
StuartMI joined00:35
Peng joined00:35
cagedwisdom left00:35
joufflu joined00:36
joufflu left00:36
Ahmed90 left00:37
joufflu joined00:37
Rodya_ joined00:38
skirk left00:38
Jackneill left00:40
demirgokhan left00:40
mattfoo joined00:41
harish left00:41
guampa joined00:41
dsdeiz joined00:41
avgn5 left00:44
MattMaker left00:45
heroux left00:46
AriesClan joined00:48
AriesClan left00:48
cagedwisdom joined00:49
StuartMI left00:49
ciampix left00:50
thiago left00:53
ajf- left00:54
daito joined00:55
otter768 joined00:55
StuartMI joined00:56
StuartMI left00:57
hexagoxel left00:58
fstd left00:59
sburg_ joined00:59
fstd joined00:59
hexagoxel joined00:59
daito left00:59
StuartMI joined01:00
skirk joined01:03
sburg left01:03
phildemier joined01:03
paul424 left01:03
CEnnis91 joined01:03
jeffreylevesque joined01:03
heroux joined01:04
thiago joined01:04
lindenle joined01:04
StuartMI left01:04
Goplat joined01:05
joufflu left01:05
Gamecubic left01:07
qpdbGuest7730601:07
qpdb joined01:07
Gamecubic joined01:07
skirk left01:08
StuartMI joined01:10
pozitrono joined01:10
sssilver left01:10
Guest77306 left01:10
BeatrixKiddo left01:10
mizu_no_oto left01:11
lindenle left01:11
lindenle joined01:12
jeffreylevesque left01:12
dsdeiz left01:13
tomog999 joined01:13
StuartMI left01:14
kasper93 left01:16
seapatrol left01:16
tomog999_ left01:16
pneuma left01:17
Dev0nDev0n_01:19
lindenle left01:19
Dev0n_Dev0n01:20
codedmart left01:20
phrozensilver left01:21
yrs joined01:22
lindenle joined01:22
Noldorin left01:27
PortaLuLucretia01:28
variable joined01:29
PiBa-NL left01:31
fahadash joined01:34
lindenle left01:36
jimi_ joined01:37
sburg_ left01:38
acetakwas joined01:38
jimi_ left01:39
lindenle joined01:39
cdown left01:39
yrs left01:39
m0viefreak left01:42
AtnevRed joined01:43
lindenle left01:45
queglay_ joined01:46
queglay left01:47
lindenle joined01:47
mezcan joined01:47
AtnevRed left01:48
alanwill left01:49
alanwill joined01:50
wxg joined01:51
harish joined01:52
rkazak_ left01:52
rkazak joined01:52
yrs joined01:54
ixjlyons joined01:55
skcin7 joined01:56
lindenle left01:57
yrs left01:58
yrs joined01:58
choki left01:59
alanwill left01:59
DolpheenDream joined02:00
yrs left02:01
yrs joined02:01
yrs left02:02
icedwater joined02:03
years joined02:03
icedwater Hi folks, can I get some help with http://stackoverflow.com/questions/34583770/? Messed up my git history a little bit.02:03
Vampire0 joined02:04
alanwill joined02:06
nevyn icedwater: cherry-pick?02:06
lindenle joined02:06
maestrojed left02:06
Vampire0_ left02:07
thiago left02:07
mingwandroid left02:08
icedwater nevyn: cherry-pick the c commits over?02:08
nevyn you can use a commit range02:09
but yes02:09
jimi_ joined02:09
kermit joined02:09
nadim left02:12
nevyn icedwater: I alos posed that on stacktrace02:15
nadim joined02:15
Calrik joined02:16
gaen left02:17
Shentino left02:18
lindenle left02:20
jimi_ left02:23
EvilPenguin left02:23
acetakwas left02:23
nutron joined02:24
tyll joined02:24
Salgat_ joined02:25
choki joined02:25
Salgat left02:26
Salgat_ left02:26
tyll_ left02:26
Salgat_ joined02:27
rchavik joined02:27
yqt left02:29
defcon6 left02:29
msonntag left02:31
nevyn icedwater: working?02:31
Not_Whatever left02:32
DolpheenDream left02:32
netj left02:32
MattMaker joined02:32
netj joined02:33
msonntag joined02:33
icedwater I'm not crying yet, so yeah :)02:36
I deleted the branch and it seems OK02:36
Thanks nevyn. Do you have a stackoverflow account?02:37
raijin left02:38
nevyn yep just answered it before your answer went in02:38
nadim left02:39
nadim joined02:40
icedwater Oh, that's you? I'll credit you properly then :P02:40
gdollaz left02:43
DolphinDream left02:43
phildemier left02:43
looper left02:47
pks left02:47
pks joined02:49
looper joined02:49
Zamerick left02:49
Shentino joined02:51
years left02:51
kukks joined02:51
kukks left02:51
kukks joined02:51
leeN left02:53
arescorpio joined02:54
justanotheruser joined02:54
daito joined02:55
phildemier joined02:57
italoacasas left02:58
daito left03:00
years joined03:02
juvenal_ left03:03
phrozensilver joined03:03
juvenal joined03:03
kfpratt left03:06
kfpratt joined03:07
years left03:08
toogley left03:14
devoldmx joined03:18
Rodya__ joined03:19
mezcan left03:19
Rodya_ left03:20
rkazak left03:20
phildemier left03:26
Rodya__ left03:26
mezod left03:29
phildemier1 joined03:29
nfk left03:34
rkazak joined03:34
LiENUS joined03:36
Yaazkal joined03:38
kukks left03:41
Yaazkal hello, is there a command or a tool that generates a "changelog" or a report about how many files (not lines) where added, edited, deleted between two tags?03:42
phrozensilver left03:42
bb010g joined03:47
gitinfo set mode: +v03:47
LeBlaaanc joined03:47
pamplemousse joined03:49
qsx some mode of man git diff i suppose03:53
gitinfo the git-diff manpage is available at http://jk.gs/git-diff.html03:53
icedwater left03:53
kfpratt left03:54
LeBlaaanc left03:54
ojacobson diff -u <(git ls-tree -r --name-only --full-name COMMIT-A) <(git ls-tree -r --name-only --full-name COMMIT-B)03:55
would be my starting point, at least03:55
cmosguy left03:56
kfpratt joined03:59
kolobyte is it possible to control upload rate?04:00
lindenle joined04:00
peoliye joined04:00
LeBlaaanc joined04:02
lindenle left04:03
nbdy joined04:05
phrozensilver joined04:05
khmarbaise joined04:07
phrozensilver_ joined04:10
phrozensilver left04:11
Tobarja left04:11
sebbel joined04:11
LeBlaaanc left04:11
LeBlaaanc joined04:12
Keridos left04:13
kfpratt left04:13
peoliye left04:13
Keridos joined04:13
choki left04:13
khmarbaise left04:13
rkazak left04:13
Keridos left04:14
s8321414 joined04:15
lindenle joined04:16
LeBlaaanc left04:17
italoacasas joined04:17
kfpratt joined04:19
Keridos joined04:19
FireArrow133 left04:19
seapatrol joined04:19
Keridos left04:20
PaulCapestany left04:22
kfpratt left04:22
joufflu joined04:22
Keridos joined04:23
kam270 joined04:23
kfpratt joined04:23
PaulCapestany joined04:23
psk17_ joined04:23
Keridos left04:24
rxo left04:24
HNY joined04:24
Keridos joined04:24
kam270 left04:25
kam270 joined04:26
ra0 left04:26
sebbel left04:26
kam270 left04:27
rxo joined04:27
dermoth left04:27
kam270 joined04:27
joufflu left04:27
dermoth joined04:28
wxg left04:28
VladGh left04:28
fscala left04:28
strayPuppy left04:29
Eugene sitaram - I hope everything is alright this morning!04:31
fscala joined04:31
Keridos left04:31
Eugene kolobyte - not in `git`; and if that's a problem then you're doing something.... questionable.04:32
(or need a 56K modem)04:32
kolobyte Eugene: i'm trying tos ee why my upload is so slow04:32
devoldmx left04:32
Eugene Is this just a git problem, or your whole system?04:32
phroa kolobyte: you can do nefarious things to your interface with https://github.com/tylertreat/comcast but that's out of scope for git, methinks04:32
devoldmx joined04:33
kolobyte Eugene: i don't have the fastest upload in general, but it's not 200kb/s slow04:33
Eugene So... is only git being this slow? What are you uplaoding to? You're missing a lot of context.04:33
kolobyte Eugene: yes it's only git. i'm trying to upload a pretty heft batch of files04:34
Eugene To where?04:34
kolobyte 8gb, 28k files04:34
Eugene And, if 200KB/s upload is.... ah04:34
kolobyte to my VPS04:34
Eugene This is inside a git repo?04:34
kolobyte yes04:34
Eugene !binary !annex04:34
gitinfo Storing binary files in git causes repo balloon, because they do not compress/diff well. In other words, each time you change a file the repo will grow by the size of the file. See !annex for some solutions04:34
git-annex, git-media, and Git LFS are some solutions to the !binary problem. They work by keeping the blobs outside of the repo, storing a reference to the blob in the repo instead. http://git-annex.branchable.com https://github.com/alebedev/git-media http://git.io/git-lfs04:34
otter768 left04:34
kolobyte it's not very smart, but just backing up files essentialyl04:35
Eugene It's not recommended to have a git repo anywhere near that big04:35
!backup04:35
gitinfo Worried about your data while trying stuff out in your repo? The repository in its entirety lives inside the .git directory in the root of your work tree so to backup everything `cp -a path/to/workdir path/to/backup` or equivalent will suffice as long as the repo is not modified during backup. See also http://sethrobertson.github.com/GitBestPractices/#backups04:35
Eugene Not that one, bot.04:35
joki left04:35
CEnnis91 left04:35
kolobyte nonetheless, doesn't 200KB/s seem slow?04:36
Eugene !bup04:36
gitinfo "Highly efficient file backup system based on the git packfile format. Capable of doing *fast* incremental backups of virtual machine images." https://github.com/bup/bup04:36
arup_r joined04:36
yes`r joined04:36
kolobyte while it's not the best use of git, i'm not sure why it'd be going at 200KB/s. i do only plan to puill this repo very rarely04:36
Eugene That or some other actual backup tool should be used for anything "large"(which can mean a wide range).04:36
In any case.... 200KB/s is a bit slow, yes04:36
Is this over SSH://?04:36
kolobyte Yes it's SSH04:37
phroa kolobyte: you could zip up the repo and extract it on the server, if sending one file would be faster than sending them all over the git protocol, though I can't imagine why04:37
Eugene SSH can be very slow(CPU overhead). You can set an alternate(faster) cipher in your ssh_config04:37
kolobyte Eugene: i'll look into that04:37
phroa: perhaps. i'll give it a try04:38
SimonNa joined04:38
kolobyte is there a way to add to a git repo locally? perhaps it'd be faster if i just rsync, and then add the files when they're on the server already?04:40
locally defined as on the git server04:41
Eugene Sure. Rsync the .git/ to somewhere on the server, then set core.bare to true on that dir.04:41
daito joined04:41
joki joined04:41
italoacasas left04:44
daito left04:46
yes`r left04:47
harish left04:48
barik left04:48
JanC left04:49
peoliye joined04:49
variable left04:49
lindenle_ joined04:50
lindenle left04:50
rkazak_ joined04:58
lindenle_ left04:58
Ekho left04:59
lindenle joined04:59
dermoth left05:00
phrozensilver_ left05:00
dermoth joined05:00
Keridos joined05:02
Manikandan joined05:03
JanC joined05:03
lindenle left05:05
shinnya joined05:05
Keridos left05:06
Keridos joined05:06
lindenle joined05:07
akushner joined05:07
Gitzilla_ left05:08
BeatrixKiddo joined05:09
BeatrixKiddo left05:09
BeatrixKiddo joined05:09
Gitzilla_ joined05:10
akushner left05:10
akushner joined05:11
lindenle left05:13
DolphinDream joined05:14
lindenle joined05:14
ayaz joined05:15
arescorpio left05:17
boombatower joined05:18
lindenle left05:19
yes`r joined05:19
GT joined05:20
VladGh joined05:21
dansan I have a strange question I think. I have a local bare repo on my home machine that I've cloned localy and from my laptop, so that I can easily switch back and forth. However, this repo was cloned from upstream. What is the right way to update my bare repo with the upstream?05:24
From where I have it checked out, should I git pull my_upstream/master and then merge that back to my bare repo?05:24
tristanp left05:28
MattMaker left05:32
the_cybersphinx left05:32
Gitzilla_ left05:32
Gitzilla_ joined05:32
akushner left05:33
Lyqyd left05:37
nevyn dansan: you can do that. (push not merge)05:40
merge means something else.05:40
rnat joined05:40
Cabanossi left05:41
Cabanossi joined05:42
arup_r left05:42
AtnevRed joined05:44
sssilver joined05:45
AtnevRed left05:49
BeatrixKiddo left05:50
MattMaker joined05:55
Arsonide left05:55
MattMaker left06:00
tristanp joined06:01
arup_r joined06:05
tpollard left06:10
LeBlaaanc joined06:11
m1dnight1 joined06:15
rscata joined06:16
gopar left06:16
m1dnight_ left06:17
m1dnight1m1dnight_06:17
zivester left06:17
kfpratt left06:18
DolphinDream left06:21
amdi_ left06:28
s8321414 left06:32
otter768 joined06:35
sparetire_ left06:36
nadim left06:36
_nadim joined06:36
zeroed joined06:39
ThomasLocke joined06:39
otter768 left06:41
DWestCoast joined06:41
Snuppe joined06:41
daito joined06:42
_nadim left06:42
_nadim joined06:42
eka_ joined06:43
AtnevRed joined06:43
nbdy left06:43
eka left06:43
rkazak_ left06:45
daito left06:46
nanga left06:47
skcin7 left06:47
lamppid joined06:47
AtnevRed left06:48
nanga joined06:48
nanga left06:48
nanga joined06:48
phildemier1 left06:49
wethu left06:52
LeBlaaanc left06:52
sbasso joined06:54
Junior joined06:56
howdoi joined06:58
Tronsha[UPA]Stefan07:00
TomyLobo joined07:01
cdown joined07:02
diegoviola left07:02
Snuppe left07:02
jnavila joined07:02
psk17_ left07:04
jay-m joined07:08
SOLDIERz joined07:12
PCatinean joined07:15
roelmonnens joined07:18
arup_r left07:20
arup_r joined07:20
geomyidae left07:22
acolson joined07:22
Aboba left07:22
roelmonnens left07:23
dsdeiz_ joined07:23
roelmonnens joined07:23
roelmonnens left07:23
dsdeiz_ left07:24
dsdeiz joined07:24
geomyidae joined07:25
peedu_ left07:26
Pie_Napple left07:27
Pie_Napple joined07:28
TomyLobo left07:30
sssilver left07:31
sssilver joined07:32
fees joined07:32
acolson left07:32
sssilver left07:33
InfoTest joined07:34
geomyidae left07:35
eka_ left07:35
geomyidae joined07:35
Goplat left07:35
rominronin joined07:35
eka joined07:35
eka left07:36
eka joined07:37
sbasso left07:38
star_prone joined07:38
Aboba joined07:38
sbasso joined07:40
Sceorem joined07:40
spriz left07:40
spriz joined07:41
dextorion joined07:43
star_prone left07:43
spriz left07:44
spriz joined07:45
JeroenT joined07:45
gitinfo set mode: +v07:45
dextorion Hello. I have a cloned repository. I am editing java file, and saving. I do "git status", and get Nothing to commit, working dir clean. I cant figure out why... Any tips?07:45
I have checked local .gitignore, global .gitignore, and exclude07:46
jonno11 joined07:46
Imek joined07:47
Imek left07:47
Stummi dextorion, what does "git status JavaFile.java" say?07:47
grawity dextorion: does `git log <file>` show anything?07:47
dextorion I can create new files, they get tracked. But when im editing existing files gives me nothing.07:48
spriz left07:48
mahendra_ joined07:48
dextorion Stummi: The same, nothing to commit...07:49
spriz joined07:49
pantsman- joined07:49
Junior yello ! :)07:49
dextorion grawity: date 22 dec, "last pushed commit message"07:50
star_prone joined07:50
vitquay1996 joined07:51
dextorion Its the same with every existing file.07:51
Stummi dextorion, can you double check if you are editing the correct file and it really has the changes you made? (just by cat <file>, and does ls -l <file> show a current timestamp?)07:51
mariuscc joined07:52
dextorion Stummi, yep. Cat shows my edit.07:52
Also, if i do "touch newFile.java". It pickes up a new untracked file.07:52
ojacobson What about `git status --ignored`? If the file doesn't appear there, then it's either not in the work tree at all, identical to both HEAD and the staged version, or on a filesystem that Git copes spectacularly badly with.07:52
Have you run any `git update-index` commands -at all-?07:53
dextorion Then, i do "git add newFile.java", files turns green. Then i do "vim newFile.java" and edit the file. Save...07:53
Gamecubic left07:53
dextorion git status, only show the file ass Added(green), nothing more. Show i not get a red there as well, as in untracked edit?07:54
Stummi dextorion, whats the underlying filesystem?07:54
JeroenT left07:54
vitquay1996 left07:55
Coop joined07:55
ilmgb joined07:55
Coop left07:55
dextorion Stummi, its Ntfs on windows 707:55
kadoban left07:56
rnat left07:56
ayaz left07:56
dextorion ojacobson: 'git status --ignored' does not show the file. no in changes or in ignore list07:57
ojacobson: yes, i have done git update-index07:57
ojacobson What, specifically, did you do?07:58
Transcript, ideally.07:58
arex\\work left07:58
acolson joined07:58
dextorion it looks like it only is picking up new files. after adding the file, i can edit the file, but it doest track the change07:59
pamplemousse left07:59
harish joined08:01
jonno11 left08:01
JeroenT joined08:02
dextorion ojacobson: http://snag.gy/xwnXJ.jpg08:05
ojacobson: did that work?08:05
ojacobson: just an example..08:05
ojacobson I asked if you had ever run `git update-index`. I did not mean to ask you to run it now; I'm sorry I wasn't clear.08:05
Had you run that command, with any options, in the past?08:05
pantsman- left08:05
dextorion ojacobson: ah sorry. nope.08:05
devoldmx left08:05
ojacobson Ah, ok.08:06
Fortunately, no harm done here. :)08:06
dextorion ojacobson: It has been working fine though, up until now. So, from 1 december untill now, all good.08:06
ojacobson: good good! :)08:07
jaguarmagenta joined08:07
watabou left08:08
Alienpruts joined08:09
jaguarmagenta left08:09
jaguarmagenta joined08:10
saidelike left08:10
dextorion ojacobson: I will try to clone the repo again in a different folder and try to edit. (You should have seen me just now... trying to type in gitbash... in my screenshot. wondering why thats not working. i need coffee! hehe)08:10
arup_r left08:10
star_prone left08:10
freimatz_ joined08:10
NeverDie left08:10
Stummi you totally should add your target direcotry and the IDE metafiles to your .gitignore, just as side note :)08:11
*directories08:11
NeverDie joined08:11
KettleCookedDude left08:12
jaguarmagenta left08:13
jam_ joined08:13
cmosguy joined08:14
jaguarmagenta joined08:15
NeverDie left08:15
saidelike joined08:15
dextorion I have done Stummi, those are the files displayed in "Ignored files" list.08:15
Stummi: the "git status --ignored" is displaying untracked changes and Ignored files, right?08:16
Stummi oh, yes, right. Sorry08:16
dextorion Stummi: No worries :)08:16
NeverDie joined08:17
dextorion Now, i've recloned... and it trackes my changes just fine...08:17
What is it with my repo?..08:17
star_prone joined08:18
freimatz joined08:18
gitinfo set mode: +v08:19
freimatz Hi08:19
freimatz_ left08:19
bonswouar joined08:19
jam_ left08:19
PublicSubnet left08:22
Pie_Napple left08:22
Nevik dextorion, possibly something you did, but no way to know for sure without seeing your entire command history since originally cloning ;)08:22
dextorion Nevik: i've must done something weird.. just want to know what.08:23
wxg joined08:23
dextorion Nevik: yeah.. i guess so.08:23
Nevik well, there's also always the possibility you were working in a different directory than you thought you were08:23
made a backup copy one time and then continued working in that08:23
(dont laugh, this is surprisingly often the problem for people whocome here)08:23
dextorion Nevik: Oh i know! :) i've done it a couple of times, im sure. shouldn't be this time though.. hehe08:24
God knows what i Haven't manage to do yet..08:25
Nevik well, it works now, so all's good for the moment :D08:25
dextorion Nevik: yees yes, its a reather new project so no problem recloning. Im just confused to what happened to the old one.08:26
Nevik i bet08:26
dextorion, time to start keeping a command log for the future!08:26
Balliad joined08:27
dextorion Nevik: gosh, that'll be a pretty big list in a some time.. but yeah, maybe I should do that.08:27
gusnan left08:28
Nevik it's just text, it's not like it'll fill up your disk soon :P08:28
dextorion Nevik: true true08:28
niko left08:29
gusnan joined08:29
nik0 joined08:30
shibly joined08:31
David1977 joined08:31
nik0niko08:31
shibly http://imgur.com/ZRMFiS3 , what does it mean by c0,c1,c2 ?08:31
https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging08:31
dextorion Anyway guys, thanks for your help!08:31
grawity nothing more than "commit #0", "commit #1", and so on08:31
dextorion Great to have some people to talk think through with :)08:32
peoliye left08:33
WAALC65 joined08:34
jagob left08:34
bernardio joined08:35
shibly If someone commits a file then what changes happen inside git?08:35
What is checksum?08:35
or hash?08:35
otter768 joined08:36
dextorion left08:37
roxlu joined08:38
luxPerpetua joined08:38
Stummi just out of curiousity: can you consider a git commit hash as cryptographically secure? (As in, it is hard to nearly impossible to purposely create a specific commit hash valuee?)08:38
*value08:38
Seveas Stummi: until sha1 is broken, yes.08:39
fscala left08:41
otter768 left08:41
weox joined08:41
yes`r left08:42
shibly left08:42
daito joined08:43
PublicSubnet joined08:43
grawity in the preimage sense of broken, which might take a bit longer than collisions08:44
AtnevRed joined08:44
fscala joined08:44
Hounddog joined08:45
luxPerpetua left08:45
aspiers joined08:46
sagittarian joined08:46
barduck joined08:47
daito left08:47
reim joined08:48
josuebrunel joined08:48
rasto left08:48
AtnevRed left08:49
yes`r joined08:50
powered joined08:51
peoliye joined08:52
bernardio left08:52
anchorite joined08:53
doener joined08:53
bernardio joined08:55
bernardio left08:56
wrilain joined08:58
andyr joined08:59
rasto joined09:01
bernardio joined09:01
d0nn1e left09:02
bernardio left09:02
JeroenT left09:03
d0nn1e joined09:03
DevAntoine hi09:04
I'm on an orphan branch. When checkouting another branch, git lists a bunch of files telling me they're going to be overriden. The thing is: those files are our source files not being tracked on the orphan branch09:05
what I'm supposed to do?09:06
DWestCoast left09:06
jam_ joined09:07
marcogmonteiro joined09:08
jay-m left09:09
encod3 joined09:11
wrilain left09:12
rajrajraj joined09:12
netcarver joined09:12
br0kenman joined09:13
sitaram Eugene: ??09:13
10:01:22 < Eugene> sitaram - I hope everything is alright this morning! <====09:14
clmsy joined09:14
rominronin left09:14
bernardio joined09:14
reim left09:14
roxlu left09:15
jay-m joined09:16
skylite joined09:16
satifant joined09:17
rominronin joined09:19
star_prone left09:20
rominronin left09:20
circ-user-xSi9o joined09:21
JeroenT joined09:21
eijk joined09:22
Seveas DevAntoine: rm those files. When creating the orphan branch, git doesn't do so, but they do become untracked in that branch. The checkout of the other branch will bring them back.09:22
courrier joined09:23
rominronin joined09:23
roxlu joined09:24
DevAntoine oh yes Seveas. Thanks!09:25
joel_falcou joined09:25
star_prone joined09:25
rominronin left09:25
rominronin joined09:25
petersr joined09:27
dimi1947 joined09:28
roxlu left09:28
petersr left09:29
toogley joined09:30
Error404NotFound joined09:31
Error404NotFound left09:31
jokoon joined09:32
elementalest left09:39
rominronin left09:39
elementalest joined09:40
elementalest left09:40
elementalest joined09:40
diogenese left09:42
ilmgb left09:43
johnflux joined09:43
johnflux How can I tell if a file has changed?09:43
daito joined09:43
wiky joined09:43
ilmgb joined09:44
johnflux I have a shell file, and I'd like to know if the currently checked out file is different to the last time it was source'd09:44
Bombe johnflux, git-status shows modified files.09:44
star_prone left09:44
johnflux so I'm thinking of getting the git sha of the last commit that changed the file09:44
rominronin joined09:44
bonswouar left09:45
johnflux storing that in an environment variable. then I can check to see if that sha has changed09:45
bonswouar joined09:45
star_prone joined09:45
johnflux Can I get the sha of the last commit that was made to a file?09:46
osse johnflux: git log -1 -- file09:46
--format=%H09:46
pozitrono left09:46
johnflux works thanks :)09:47
sybariten joined09:47
osse can't you use the hash of the file itself?09:47
i guess it doesn't really make a difference09:48
daito left09:48
diogenese joined09:48
johnflux osse: that would be fine too - how do I do that?09:48
grawity I'd say it's faster to just compare the modification time...09:49
sha1sum, openssl sha1, stat -c %y/%Y09:49
happy-dude left09:49
skcin7 joined09:50
wiky left09:50
rajrajraj left09:51
johnflux osse: ah git log is failing because I'm not in the right directory09:51
osse: can I get git to be smarter about using the git repo that the file is in09:52
osse hmm, now you have a reason to not rely on git for this09:52
git -C path/to/dir log09:52
JeroenT left09:52
Balliad left09:52
netcarver left09:53
samw joined09:53
roxlu joined09:54
jam_ left09:54
jam_ joined09:55
diogenese left09:57
Sasazuka joined09:57
peoliye left09:57
wxg left09:57
diogenese joined09:57
samw left09:58
Error404NotFound joined09:59
scarcry joined10:00
jam_ left10:00
chll joined10:00
jnavila left10:01
star_prone left10:01
dimi1979 joined10:02
diogenese left10:02
star_prone joined10:03
filisko joined10:03
barduck left10:04
dimi1947 left10:04
Balliad joined10:04
star_prone left10:06
rominronin left10:06
JeroenT joined10:06
star_prone joined10:07
diogenese joined10:07
rodrigo joined10:07
barduck joined10:07
rodrigoGuest3045910:08
star_prone left10:09
rominronin joined10:10
star_prone joined10:11
star_prone left10:12
dimi1979 left10:12
Guest30459 left10:12
tvw joined10:16
WebsiteDeveloper joined10:16
memoryleak joined10:18
kurkale6ka joined10:18
rominronin left10:20
robbyoconnor left10:20
wrilain joined10:21
arup_r joined10:23
robbyoconnor joined10:26
wrilain left10:26
Nikhil_D left10:28
diogenese left10:28
Nikhil_D joined10:28
Sasazuka left10:33
reveredge joined10:35
leeN joined10:36
otter768 joined10:37
rominronin joined10:38
wrilain joined10:38
wxg joined10:40
otter768 left10:42
mischat joined10:43
MattMaker joined10:44
lindenle joined10:45
Zamerick joined10:48
lindenle left10:49
MattMaker left10:50
filisko left10:51
rominronin left10:51
pozitron joined10:51
King_Hual joined10:52
King_Hual left10:52
King_Hual joined10:52
diogenese joined10:53
mohammed64 joined10:57
rominronin joined10:58
phrozensilver joined11:01
codeman joined11:01
weox left11:02
freimatz3 joined11:02
Error404NotFound left11:03
aidalgol left11:04
peff joined11:04
freimatz left11:04
paulweb515 left11:04
phrozensilver left11:07
rominronin left11:08
bollullera joined11:10
JeroenT left11:11
barduck left11:11
BeerBuddy joined11:12
quenode left11:14
BeerBuddy left11:14
joel_falcou left11:14
Sasazuka joined11:14
leeN left11:17
BeerBuddy joined11:17
King_Hual left11:19
peff left11:19
jojovem joined11:19
mohammed64 left11:20
peff joined11:20
jnavila joined11:23
quenode joined11:23
seapatrol left11:23
dsdeiz left11:24
rominronin joined11:25
Sasazuka left11:26
rominronin left11:27
aranea joined11:27
stamina joined11:28
msankhala joined11:29
LeMike joined11:29
dimi1947 joined11:30
rominronin joined11:31
rominronin left11:31
rominronin joined11:34
peff left11:34
bernardio left11:34
InfoTest left11:34
a3Dman left11:35
jokoon left11:35
a3Dman joined11:36
thiago joined11:39
bernardio joined11:39
Noldorin joined11:41
mellernoia joined11:43
daito joined11:44
italoacasas joined11:44
Error404NotFound joined11:46
italoacasas left11:46
Error404NotFound left11:47
italoacasas joined11:47
JeroenT joined11:47
daito left11:49
italoacasas left11:49
s8321414 joined11:49
italoacasas joined11:50
wxg left11:50
venmx joined11:51
JeroenT left11:51
JeroenT joined11:52
Fijit joined11:54
mahendra_ left11:55
jam_ joined11:56
MattMaker joined11:56
Sasazuka joined11:59
Internet13 left12:00
shiriru joined12:00
jam_ left12:00
italoacasas left12:01
MattMaker left12:02
netcarver joined12:05
rominronin left12:06
italoacasas joined12:07
italoacasas left12:08
gaen joined12:09
rominronin joined12:09
cagedwisdom left12:11
mohammed64 joined12:11
freimatz3 left12:12
gusnan left12:12
freimatz joined12:12
David1977 left12:13
gusnan joined12:14
sleezd left12:14
David1977 joined12:14
sleezd joined12:15
sleezd left12:15
netcarver left12:15
dsdeiz joined12:15
italoacasas joined12:16
sleezd joined12:17
italoacasas left12:18
italoacasas joined12:18
boombatower left12:20
aranea left12:23
sleezd left12:23
mrkat left12:25
Internet13 joined12:25
sleezd joined12:26
skcin7 left12:26
mrkat joined12:27
mahendra_ joined12:30
italoacasas left12:32
Sceorem left12:33
joel_falcou joined12:33
otter768 joined12:38
italoacasas joined12:39
CheckDavid joined12:40
t0by joined12:40
italoacasas left12:41
dopesong joined12:41
NeverDie left12:42
achadwick joined12:42
mizu_no_oto joined12:43
otter768 left12:43
sleezd left12:43
leeN joined12:43
clmsy left12:44
lindenle joined12:45
sleezd joined12:45
AtnevRed joined12:46
NeverDie joined12:47
blueyed joined12:47
mizu_no_oto left12:48
mclement joined12:49
sleezd left12:50
lindenle left12:50
tristanp left12:50
JeroenT left12:50
AtnevRed left12:50
tristanp joined12:51
phildemier joined12:51
sleezd joined12:52
Sceorem joined12:54
NeverDie left12:54
mohammed64 left12:54
mizu_no_oto joined12:55
phildemier left12:55
fscala left12:56
sleezd left12:56
fscala joined12:57
freimatz3 joined12:57
ahille_ joined12:58
fstd left12:59
sleezd joined12:59
fstd joined12:59
Karkus joined13:00
JeroenT joined13:00
freimatz left13:00
SHLV left13:00
ahille joined13:00
gitinfo set mode: +v13:02
ahille hey, can someone help me? i have a problem: some hours ago, i accidently commited something in a headless state, and lost it then when i went back to master, as i hadnt commited them anywhere else theese files are gone now. Is it possible to recover theese files?13:02
grawity the commits still exist, try finding them in `git reflog` (or `git log -g`)13:03
once you find the commit ID, you can checkout/merge/branch/cherrypick from headless commits like regular branches13:04
if the files are important I suggest creating a branch from the commit, to make it permanent13:05
freimatz3 left13:06
freimatz joined13:06
mohammed64 joined13:08
rchavik left13:09
JeroenT left13:09
ahille thanks grawity, that helped13:11
rwb joined13:12
rominronin left13:13
mahendra_ left13:13
arup_r left13:14
BeerBuddy left13:14
InfoTest joined13:15
ahille_ left13:16
krawchyk joined13:17
pantsman- joined13:19
InfoTest left13:19
otter768 joined13:20
dimi1947 left13:20
rominronin joined13:20
nnyk_ joined13:21
sgambino joined13:22
jokoon joined13:23
DWestCoast joined13:23
Aboba_ joined13:27
Sasazuka left13:27
krawchyk left13:27
ffledgli1gffledgling13:28
Aboba left13:29
rominronin left13:30
mizu_no_oto left13:31
anchorite left13:31
algae joined13:32
arup_r joined13:32
atmosx joined13:32
atmosx hello13:32
goTAN joined13:35
garga joined13:35
otter768 left13:35
johan_sun joined13:36
garga I need some help :) I did a merge with *a lot* of conflicts, I resolved all of them and then ran 'git commit'. After that I noted one conflict was wrong resolved. Is there a way to reset my repo to the state it was just before git commit? with all conflicts resolved13:36
arup_r left13:36
serapath_ joined13:37
atmosx Doing an interactive 'rebase'. There are some commits that are mine and I wanna squash them - then there are a few commits that belong to others, I don't wanna touch those. Is there any way I can tell git which 'pick' I wanna squash my commits too?13:38
grawity 'squash' always uses the commit immediately below13:39
so just reorder the lines13:39
sleezd left13:39
grawity (might want to do it in two steps – first rebase to reorder, then rebase to squash)13:39
atmosx grawity: I see, so I rebase just change the lines in vim, in the order the suits me, then rebase again to squash13:40
thanks grawity !13:40
thiago garga: no13:40
grawity it's possible to do it in one step, but my previous rebases have been conflict-y13:41
thiago atmosx: you should never rebase commits from other people13:41
grawity oh wait, that13:41
yeah, didn't notice that part.13:41
atmosx so I'm kinda toasted13:41
sleezd joined13:41
thiago atmosx: you can only rebase the topmost commits of yours that other people don't yet have13:42
_ikke_ garga: git reset HEAD^13:42
arup_r joined13:42
_ikke_ this will undo the commit, but keep the changes13:42
garga _ikke_: but this won't understand the merge13:43
serapath_ left13:43
garga this was my first attempt13:43
satifant garga, can't you use git commit --ammend, to correct the mistake?13:44
_ikke_ You can manually create MERGE_HEAD13:44
satifant: true13:44
atmosx thiago: So from the 7 commits I can rebase only the 2 last (which are mine)... what's the point of rebasing then heh13:44
okay13:44
garga satifant: can I do it if the change is on merge commit?13:44
goTAN left13:44
garga git blame points the bad line to merge commit itself13:44
thiago atmosx: changing the base of *your* commits13:45
daito joined13:45
MattMaker joined13:45
garga _ikke_: hmmm, I don't know how to do it, is there any doc I should read to understand better MERGE_HEAD?13:45
atmosx thiago: so if there are commits by a third party in my history, (e.g. I choose to go 12 commits back, 5 commits in between are not mine) it's safer not do any rebase right?13:46
satifant garga, not sure, that's why I used "?" ;)13:46
thiago atmosx: !rewrite13:46
gitinfo atmosx: Rewriting public history is not recommended. Everyone who has pulled the old history will have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push --force-with-lease <remote> <branch>` to force (and the remote may reject that, anyway). See http://goo.gl/waqum13:46
garga satifant: I was just trying to keep sanity, probably it will be easy to do 2 commits after merge to fix bad things13:46
atmosx thiago: thanks for the heads up13:46
garga I'll try to understand the manual MERGE_HEAD idea and see if it helps13:47
Macaveli joined13:47
irc-5225225 left13:48
_ikke_ garga: if you fix your index, git commit --amend will update the commit accordingly13:48
that's the easiest way13:48
garga _ikke_: what do you mean by 'fix your index' ?13:49
_ikke_ garga: Make sure the files are the way you want in the index / staging area13:49
daito left13:49
goTAN joined13:49
CausaMortis joined13:50
MattMaker left13:50
krawchyk joined13:52
Gitzilla_ left13:53
strozyka joined13:53
irc-5225225 joined13:54
ribasushi left13:54
anchorite joined13:54
irc-5225225Guest4925913:54
rominronin joined13:54
barduck joined13:55
rwb1 joined13:55
dserodio joined13:55
nnyk_ left13:56
Guest49259 left13:57
jam_ joined13:57
defcon6 joined13:57
defcon6 left13:57
rwb left13:57
gou joined13:58
gou left13:59
garga _ikke_: sorry but I didn't get the workflow here. Last commit is the merge, what should I do? change necessary files first and then run --amend?13:59
rwb joined13:59
_ikke_ yes, change the files, git add them, and then commit --amend13:59
rwb1 left14:00
atmosx left14:00
ribasushi joined14:00
krawchyk left14:01
jam_ left14:01
DWestCoast left14:02
Zamerick left14:03
mariuscc left14:03
strozyka left14:03
dsdeiz left14:03
dstarh joined14:03
Jackneill joined14:04
rominronin left14:05
garga _ikke_: \o/ THANK YOU!14:05
rominronin joined14:05
nickthetait joined14:05
goTAN left14:06
djh_djh14:06
s8321414 left14:06
goTAN joined14:06
sleezd left14:06
_ikke_ also thank satifant14:06
aranea joined14:07
grawity left14:08
blueyed left14:08
otter768 joined14:08
otter768 left14:08
grawity joined14:09
jam_ joined14:12
buffal0 joined14:12
joel_falcou left14:13
fracting joined14:13
mariuscc joined14:13
pozitron left14:13
gaen_ joined14:14
sleezd joined14:14
atomicb0mb joined14:15
jam_ left14:15
happy-dude joined14:15
ciampix joined14:15
garga satifant: thank you too :)14:16
it worked like a charm14:16
and I learnt something new14:16
skorgon joined14:16
gaen left14:16
skorgon left14:16
skorgon joined14:16
fracting left14:17
mbrzuzy joined14:17
jam_ joined14:17
jam_ left14:17
jimi_ joined14:17
fracting joined14:20
a3Dman left14:20
rwb1 joined14:20
zivester joined14:21
stamina left14:21
strozyka joined14:21
satifant garga: :)14:23
jam_ joined14:23
rominronin left14:23
mbrzuzy left14:24
rwb left14:24
rwb1rwb14:24
nfk|laptop joined14:25
a3Dman joined14:26
bernardio left14:26
Salgat joined14:27
gaen_gaen14:27
jam_ left14:27
Macaveli left14:27
jaguarmagenta2 joined14:29
sagittarian where does git store the commit ID for a submodule?14:29
_ikke_ in the tree14:29
canton7 sagittarian, in the same place that it stores which file to checkout at a given path14:29
Salgat_ left14:29
blueyed joined14:30
sagittarian which is where?14:30
nfk|laptop left14:30
makinen joined14:30
buffal0 left14:30
Macaveli joined14:30
makinen How can I revert the changes I made on a file?14:31
CEnnis91 joined14:31
jaguarmagenta left14:31
AaronMT joined14:32
makinen I didn't commit and I want to revert back to HEAD14:32
_rgn git checkout -- path/to/file14:32
subhojit777 joined14:32
queglay_ left14:33
makinen thx14:33
queglay joined14:33
benjwadams joined14:35
sagittarian git keeps the submodule commit info in the tree object of the currently checked out commit?14:35
ash_workz joined14:35
_ikke_ git ls-tree HEAD path/to/submodule14:35
paulweb515 joined14:36
rominronin joined14:36
ciampix left14:36
benjwadams What's the most succinct way to both unstage a single file and discard working directory changes for it? `git reset --hard` doesn't work for paths. Is there anything shorter than `git reset HEAD file && git checkout -- file`?14:37
BigWillie joined14:37
rominronin left14:37
demirgokhan joined14:39
devster31 does anyone have a cheatsheet for revisions and revision ranges? like what's the difference between 2 and 3 dots or between HEAD~ and HEAD^14:40
Peuc left14:40
yes`r left14:41
killa_kyle joined14:42
skorgon !dots14:42
gitinfo A..B = stuff that happened between A and B (if A and B are related; otherwise refer to "man gitrevisions"), A...B = (a) in history viewers: stuff that isn't in both A and B yet; (b) in "git diff": stuff that happened in B since the two diverged; (c) in "git checkout": the merge base of A and B. "master.." is the same as "master..HEAD" and "..master" is the same as "HEAD..master", and so forth.14:42
aboccia left14:43
the_cybersphinx joined14:43
kpease joined14:44
AugustoCesar joined14:45
krawchyk joined14:45
aboccia joined14:45
mezod joined14:45
Karkus left14:45
krawchyk left14:46
jaguarmagenta2 left14:46
AtnevRed joined14:46
krawchyk joined14:46
DolphinDream joined14:47
ash_workz left14:47
buffal0 joined14:47
LBV_User joined14:48
goTAN left14:49
Calrik left14:49
mbrzuzy joined14:49
goTAN joined14:50
AugustoCesar left14:50
cbonobo joined14:50
DolphinDream git scritpting Q : how do you find out if a repo has something to fetch without actually fetching ?14:51
AtnevRed left14:51
Macaveli left14:52
mellernoia left14:52
settermjd joined14:53
ash_workz joined14:53
devster31 weird error, zsh: parse error near `}' when I try git reflog HEAD@{2 weeks ago}14:54
Es0teric joined14:54
ilmari DolphinDream: git fetch --dry-run14:55
DolphinDream ilmari, i'm assuming this will be faster than the actual fetch, right ? if it's equally fast to fetch instead of testing.. i'd rather just fetch14:55
dopesong left14:56
jokoon left14:56
BillCriswell joined14:56
goTAN left14:57
MattMaker joined14:57
mellernoia joined14:58
ShapeShifter499 joined14:58
lindenle joined14:58
ilmari DolphinDream: from the output here it looked like it did all the work, just didn't update the refs14:59
DolphinDream does git fetch command fetch all branches from origin ? (not jus the currently checked out branch)14:59
_ikke_ yes14:59
ilmari because it has to download and unpack the objects from the master to know what it contained14:59
s/master/remote/14:59
chitopunk joined15:00
kfpratt joined15:00
DolphinDream ilmari, so there is no difference in speed i guess. besides, if ther eis nothing to fetch i assume that git fetch is equally fast as git fetch --dry-run15:00
rscata left15:00
King_Hual joined15:01
King_Hual left15:01
King_Hual joined15:01
lindenle left15:01
DolphinDream ilmari, so you say the git fetch --dry-run downloads the objects (if any) but it just does not update the local refs to point to the new objects dowloaded ?15:01
ilmari DolphinDream: looks like it from the output15:02
DolphinDream: http://paste.scsys.co.uk/50385415:02
MattMaker left15:02
DolphinDream yeah.. you're right. just did a test15:03
msankhala left15:03
zivester left15:03
DolphinDream second run of the same command does not show the object download output15:03
JeroenT joined15:04
DolphinDream i wonder if there is a way thought to find out if there is something to fetch before you actually fetch it15:04
Manikandan left15:05
sleezd left15:06
ilmari that'd require special support in the protocol15:08
lindenle joined15:08
qsx you can check different refs with man git ls-remote15:09
gitinfo the git-ls-remote manpage is available at http://jk.gs/git-ls-remote.html15:09
JeroenT left15:09
kadoban joined15:09
t4nk885 joined15:10
crose joined15:10
barduck left15:12
MarkyC joined15:13
ShapeShifter499 left15:13
Spacew00t joined15:14
David1977 left15:14
barduck joined15:15
HNY left15:15
mithenks joined15:17
leeN left15:18
weox joined15:18
lindenle left15:19
IrishPrime joined15:20
t4nk885 left15:20
TomyWork joined15:22
t0by left15:24
jaguarmagenta joined15:25
sleezd joined15:25
Spacew00t left15:25
Spacew00_ joined15:25
sleezd left15:26
kdehl left15:26
Aboba_ left15:27
sleezd joined15:28
sleezd_ joined15:29
cbonobo left15:30
kdehl joined15:30
cbonobo joined15:30
axl_ joined15:31
Bpit joined15:31
sleezd left15:32
sleezd_sleezd15:32
sleezd_ joined15:33
Dougie187 joined15:33
mohammed64 left15:33
crose left15:34
cbonobo left15:35
irc-5225225 joined15:35
sleezd_ left15:36
sssilver joined15:36
luksaur joined15:37
cbonobo joined15:37
govg joined15:37
rominronin joined15:38
Gitzilla_ joined15:38
mizu_no_oto joined15:38
aapaaal joined15:39
ellipsis753_ joined15:39
bjoernh joined15:40
jnavila left15:41
sleezd_ joined15:41
ShapeShifter499 joined15:42
aapaaal left15:42
arup_r left15:43
phrozensilver joined15:43
rominronin left15:43
ellipsis753_ Hello. I'm afraid I've got a question less directly about git and more about the git workflow. Our team at work uses Mac and so can only run their code on a remote Linux server. They each have their own folder with their git clone on the server and mount that folder via sftp to their local machine. Therefore running git on the mounted copy is very slow. They seem to use GUIs so can't just ssh over and develop on the linux server. Has anyone else had a sim15:43
ilar issue and did you find a solution? Is it somehow possible to have git appear local but actually proxy the command across to run remotely etc? It seems like a really bad setup but I can't think of a solution.15:43
JeroenT joined15:43
Guest55 joined15:44
rom1504 ellipsis753_: why can't it actually be local ?15:45
aspiers left15:45
daito joined15:46
skylite left15:46
ellipsis753_ rom1504, Because code can only be run/tested on the linux server as the company only uses Macs.15:46
nfk|laptop joined15:46
rom1504 ah "so can only run their code on a remote Linux server."15:46
well that's ridiculous15:46
either work fully on the server or fully on the desktop15:46
or get optic fiber so you can ssh -YC but that's a bit silly too ;)15:47
lances101 joined15:47
mahendra_ joined15:47
rom1504 (fully on the server would be using vim)15:47
jor ellipsis753_: let them push to the server15:47
qsx rom1504: or emacs.15:47
ellipsis753_ rom1504, I think their codebase only runs on linux. But the higher-ups only want to use Mac. It does feel a bit silly.15:47
qsx or any other thing.15:47
rom1504 yeah that would work but if you have to push every time you want to test it would be annoying15:48
kadoban ellipsis753_: If the only problem is that git is slow over the sshfs, just ssh in and do git that way, in addition to the sshfs directory you use for editing.15:48
mbrzuzy left15:48
rom1504 qsx: well I meant a console editor15:48
jor OK, then make them use docker/campagne on their macs15:49
rom1504 (since their connection appear to be too slow for ssh -YC)15:49
Pookz left15:49
jor docker/Kitematic i mean15:49
ellipsis753_ kadoban, I think most of the developers can't/won't use the console and so have IDE interfaces to git, which don't support working on a remote git.15:49
daito left15:50
devster31 what's a good easy monitoring system for a couple aws machines and a few private ones? I'm mostly interested in checking basic metrics and a few services, it's nothign fancy or complicated, but it'd be nice to keep them all monitored in the same place15:51
ellipsis753_ Would the reverse work any better? Having client rsync to the server or something? Sorry, I think this might be kind of an impossible task.15:51
ajeden joined15:52
sbasso left15:52
demirgokhan left15:54
sssilver left15:55
sleezd_ left15:55
aone joined15:55
ShapeShifter499 left15:55
axl_ left15:56
kadoban ellipsis753_: ick. IDE interfaces are really limited.15:57
powered left15:57
sleezd_ joined15:57
jojovem left15:58
ajeden left15:59
mbrzuzy joined15:59
astrofog joined15:59
devster31 in the case of git it's also very difficult to sausagemake with cli15:59
[UPA]StefanTronsha16:00
buffffal00 joined16:00
bjoernh left16:00
King_Hual left16:00
bremner no it isn't.16:01
CorySimmons joined16:01
bremner git rebase -i is there for you.16:01
sleezd_ left16:01
jojovem joined16:01
AtnevRed joined16:02
roxlu left16:02
jason237 joined16:03
buffal0 left16:03
AtnevRed left16:03
sleezd_ joined16:03
acolson left16:04
lamppid left16:04
netj left16:04
AtnevRed joined16:04
netj joined16:05
thiago left16:05
madewokherd left16:05
thiago joined16:05
AtnevRed left16:05
arup_r joined16:06
petersr joined16:06
heath joined16:07
sparetire_ joined16:07
heath i'm pretty sure i've seen a method in the past where the team would reference issue numbers in the branch name, but it was a little more descriptive than "iss53" as shown at https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging#Basic-Branching16:08
anyone recall such a method?16:08
petersr left16:08
Sceorem left16:09
kappy joined16:09
otter768 joined16:09
bango2 joined16:10
bango2 left16:10
Ice_Strike joined16:11
bango2 joined16:11
canton7 heath, something like 'issue/53'?16:11
ThomasLocke left16:12
ahille left16:13
jay-m left16:13
jay-m joined16:13
otter768 left16:13
LBV_User left16:14
nfk|laptop left16:14
ajf- joined16:14
barduck left16:15
ajf- accidentally tracked a file that I was supposed to ignore16:15
what can I do ?16:15
I already commited16:15
skorgon left16:15
mtt5 joined16:16
kadoban ajf-: Have you already published/shared the incorrect commit(s) somewhere?16:16
ajf- no16:16
D-Boy left16:16
kadoban ajf-: !fixup should help you out then, you can undo the commit or amend it to fix the issue.16:17
gitinfo ajf-: So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history!16:17
kilo_bravo joined16:18
ajf- ok so git reset --hard HEAD^16:18
howdoi left16:18
ajf- but then I will lose the things that were commited or will they stay as modified ?16:18
ShapeShifter499 joined16:18
ajf- ah, to keep them, remove "--hard"16:19
am I right ?16:19
_ikke_ yes16:19
kadoban ajf-: Read the page more carefully and/or choose more carefully.16:19
_ikke_ !reset_dem16:19
gitinfo [!reset] reset does two things! (1) without file/path argument: 'git reset [flags] [<commit>]' = make the current branch point to <commit> (default: HEAD). --soft = don't do anything else. --mixed (default) = overwrite the index to match. --hard = overwrite the working files to match. (2) 'git reset [<commit>] -- <path>' = overwrite the index entries for <path> with the content from <commit> (default: HEAD)16:19
_ikke_ meh :-(16:19
ajf-: https://git-scm.com/blog/2011/07/11/reset.html16:19
JeroenT left16:20
sleezd_ left16:21
LeMike left16:22
jam_ joined16:24
raijin joined16:24
dstarh left16:25
sleezd_ joined16:25
rishi left16:26
rishi joined16:26
tang^ joined16:27
CorySimmons left16:27
Darcidride joined16:28
rzeka joined16:28
rzeka left16:28
rzeka joined16:28
VampiricPadraig joined16:28
VampiricPadraig left16:28
VampiricPadraig joined16:28
jam_ left16:28
VampiricPada joined16:28
CheckDavid left16:29
Stravy joined16:29
luksaur left16:29
reveredge left16:32
br0kenman left16:32
settermjd left16:33
DanZ3 joined16:34
cdown left16:34
lances101_ joined16:35
lances101_ left16:35
barduck joined16:36
Gamecubic joined16:36
leeN joined16:36
gargola joined16:37
madewokherd joined16:37
gitinfo set mode: +v16:37
lances101 A git repo of an organization I'm working with has some files with CRLF line endings, after cloning, the files are in a modified state, because git forces the change from CRLF to LF. What's the way to go with this?16:37
canton7 lances101, tell git not to force that change16:38
lances101, set core.autocrlf to 'false' for that repo16:38
S_J joined16:38
S_J how do I clone a specific part of a repo?16:38
https://github.com/libgdx/libgdx/blob/master/tests/gdx-tests-android/assets/data/uiskin.json16:39
like that one16:39
canton7 S_J, you can't, git with alone16:39
thiago S_J: you clone the entire thing16:39
canton7 if you want to download one file, use curl/wget16:39
sleezd_ left16:39
konr joined16:40
Cata|Work joined16:40
kumasura joined16:40
S_J ok ty that worked16:40
CausaMortis left16:40
sleezd_ joined16:41
Burgerz left16:42
ilmgb left16:42
lances101 canton7, `git settings core.autocrlf` returns false already, but it still tries to change the line endings16:43
Ahmed90 joined16:43
canton7 lances101, what's in .gitattributes?16:43
lances101 * i meant config16:43
sec16:43
mithenks left16:43
zivester joined16:43
lances101 canton7, * text=auto16:44
_ikke_ That causes it16:44
'"When text is set to "auto", the path is marked for automatic end-of-line normalization. If Git decides that the content is text, its line endings are normalized to LF on checkin.'16:45
axl_ joined16:45
thiago remove that or correct the line-endings in the files16:45
Balliad left16:46
MattMaker joined16:46
luksaur joined16:46
Alienpruts left16:46
editshare-ericf joined16:47
bonswouar left16:48
lances101 _ikke_, thanks. But then I have a different question. Since I'm working with a remote repo and I PR into it from a fork that i've made, I would not like the .gitattributes file to be pushed with it, is there a way to ignore the changes in it so that overtime I call `git add .` it does not get staged?16:48
D-Boy joined16:48
sleezd_ left16:48
noteness left16:49
freimatz3 joined16:49
LeBlaaanc joined16:49
InfoTest joined16:50
mclement left16:50
wrilain left16:51
sleezd_ joined16:51
MattMaker left16:51
Guest55 left16:51
Juzzika left16:51
canton7 lances101, the project's got a borked .gitattributes :P16:51
yqt joined16:51
canton7 lances101, you can modify .git/info/attributes (your local, untracked gitattributes file) and add exceptions for the problematic files16:51
freimatz left16:51
dopesong joined16:52
canton7 badfile eol=crlf16:52
TomyWork left16:52
dopesong left16:53
ilmgb joined16:53
dopesong joined16:53
lances101 canton7, I will definitely try making local changes to .gitattributes, thanks! But the RIGHT way go with this would be to actually change .gitattributes on the remote repo side, right?16:55
canton7 lances101, I *suspect* they added a .gitattributes file, but didn't bother to normalize everything when they did that16:55
in that case, the correct thing to do is to normalize all files, at once16:55
hobodave joined16:56
canton7 search for "When text=auto normalization is enabled in an existing repository, any text files containing CRLFs should be normalized" in man gitattributes16:56
gitinfo the gitattributes manpage is available at http://jk.gs/gitattributes.html16:56
_ikke_ A pull-request that does just that (and only that) might be acceptable16:56
kaictl_work joined16:56
duderonomy left16:56
_ikke_ (sometimes it isn't because of the noise it can add)16:56
lances101 thanks a bunch! :)16:56
canton7 (but if that file does need crlf for some reason, then the .gitattributes file needs updating, yes)16:57
hobodave left16:57
dopesong left16:58
jay-m left16:58
hobodave joined17:00
leeN left17:01
fahadash left17:01
codedmart joined17:02
Peuc joined17:02
zivester left17:02
exousia joined17:02
EvilPenguin joined17:02
todd_dsm_ joined17:02
jay-m joined17:03
bollullera left17:03
dreiss joined17:03
raijin left17:04
leeN joined17:04
lindenle joined17:07
lindenle left17:07
lindenle_ joined17:07
exousia left17:07
zeroed left17:07
ilmgb left17:08
subhojit777 left17:08
kaictl_work If I run `git filter-branch --subdirectory-filter` on a repository, can I guarantee that, with no other history rewrites, the resulting repository from point A and point B will share the same commit hashes and data for all older commits? I did some small tests and that seems to be the case, just wanted to see if there was anything I was missing.17:08
fscala left17:09
rubyonrailed joined17:09
canton7 kaictl_work, what are A and B? What is an "older commit"?17:09
kaictl_work canton7: point A has 400 commits, point B has 200 more commits (600 total), touching possibly stuff in that directory.17:10
fscala joined17:10
lindenle joined17:10
canton7 so you've only run --subdirectory-filter between commits A and B?17:11
what are "older commits"?17:11
mahendra_ left17:11
lindenle_ left17:11
Hounddog left17:11
jceb joined17:12
DevAntoine left17:13
kaictl_work no, i'm running the subdirectory-filter on the whole tree. "older commits," I guess I should have said "parent commits."17:13
incredible joined17:13
kaictl_work It's a weird, messed up workflow, we're pulling down a repository multiple times and splitting out the subdirectory each time something changes in the original repository. Basically want to know if I can keep doing that, then pushing to a repository without using --force.17:14
canton7 parent commits of *what*?17:14
kaictl_work (yes, I would love to make it a submodule, but that's just not something upstream wants to do)17:14
canton7: any commits in the tree at all.17:14
canton7 so the parent of B will be rewritten, because the parent of B is one of the commits between A and B17:15
so no, some "older commits" will be rewritten17:15
sdh joined17:15
sdhsteve17:15
canton7 " any commits in the tree at all" <-- commits don't exist in the tree, so that doesn't make sense17:15
SOLDIERz left17:15
zivester joined17:15
maletor joined17:16
StuartMI joined17:16
subhojit777 joined17:18
maletor left17:18
bb010g left17:18
aone left17:21
TomyLobo joined17:21
InfoTest left17:22
{AS} joined17:23
kurkale6ka left17:26
akiva joined17:26
apprentice joined17:26
mahendra_ joined17:27
zivester left17:27
johnflux left17:29
luxPerpetua joined17:29
NeverDie joined17:30
Manikandan joined17:31
apprentice left17:31
Manikandan left17:33
Manikandan joined17:33
vdv joined17:33
killa_kyle left17:33
Xe- joined17:33
mclement joined17:33
akushner joined17:34
luksaur left17:34
King_Hual joined17:36
King_Hual left17:36
King_Hual joined17:36
keldwud joined17:37
keldwud left17:37
keldwud joined17:37
ShapeShifter499 left17:37
Xe- left17:38
rominronin joined17:38
sssilver joined17:38
Karkus joined17:40
zivester joined17:41
achadwick left17:41
choki joined17:41
jrnieder left17:41
duderonomy joined17:42
lindenle left17:42
n00bdev joined17:43
rominronin left17:43
rpd joined17:43
jrnieder joined17:44
astrofog left17:44
victorgama joined17:45
victorgama left17:45
victorgama joined17:45
hobodave left17:45
aranea left17:46
victorgama left17:46
victorgama joined17:46
luksaur joined17:46
daito joined17:46
lindenle joined17:47
a3Dman left17:49
samw joined17:49
xelxebar left17:49
Karkus left17:49
a3Dman joined17:49
a3Dman left17:49
a3Dman joined17:49
ShapeShifter499 joined17:50
Manikandan left17:50
killa_kyle joined17:51
daito left17:51
sagittarian left17:52
encod3 left17:52
Lucretia left17:53
mbrzuzy left17:54
Lucretia joined17:55
buffffal00 left17:56
roxlu joined17:58
krawchyk left17:59
kiloreux joined18:00
choki damn those non-fast-forward push/pulls :/18:01
krawchyk joined18:01
choki i've them every time i try to push to my dotfiles18:01
lances101 left18:02
gaen left18:02
phaleth joined18:02
hobodave joined18:02
Limes_ joined18:02
luxPerpetua left18:02
gaen joined18:02
j416 choki: git pull --rebase18:03
sarri left18:03
sarri joined18:03
choki why wouldnt git even push me, I mean the first thing I do always is to pull the latest dotfiles before I start working on them, then I do some changes and I always get this non-fast-forward thingy :"(18:04
Zamerick joined18:04
luxPerpetua joined18:05
Sonicbit left18:06
mbrzuzy joined18:06
AtnevRed joined18:06
gopar joined18:06
zivester left18:07
durham joined18:08
netj left18:09
netj joined18:09
otter768 joined18:10
NeverDie left18:10
uri_ joined18:10
AtnevRed left18:11
gaen left18:13
gaen_ joined18:13
shiriru left18:14
otter768 left18:15
peoliye joined18:16
lindenle left18:16
Pookz joined18:16
subhojit777 left18:16
NeverDie joined18:18
sweatsuit left18:18
mischat left18:18
sweatsuit joined18:21
Gfurst joined18:21
zivester joined18:21
mohammed64 joined18:22
Suos joined18:24
Suos left18:24
DolpheenDream joined18:24
Burgerz joined18:24
jam_ joined18:24
aapaaal joined18:25
Udoa joined18:25
Imek joined18:25
Imek left18:25
Udoa left18:25
nemix_ left18:26
chitopunk left18:26
buffal0 joined18:26
tgunr joined18:27
chitopunk joined18:28
jam_ left18:29
lindenle joined18:30
gaen_ left18:30
mahendra_ left18:31
dreiss left18:31
gaen joined18:31
jay-m left18:33
jay-m joined18:33
tgunr left18:33
chll left18:34
arup_r left18:34
kiloreux left18:34
tgunr joined18:34
NeverDie left18:35
paddyez joined18:36
paddyez left18:36
paddyez joined18:36
josuebrunel left18:37
nour joined18:37
tgunr left18:39
rominronin joined18:39
stamina joined18:39
jimi_ left18:39
jimi_ joined18:40
geomyidae left18:42
gaen left18:42
tgunr joined18:42
gaen joined18:43
mniip left18:43
mniip joined18:43
Bennux joined18:43
rominronin left18:44
zivester left18:45
marcogmonteiro left18:46
jceb left18:47
mbrzuzy left18:48
kiloreux joined18:48
bjoernh joined18:49
mahendra_ joined18:49
ilmgb joined18:53
CausaMortis joined18:54
gaen left18:54
gaen joined18:54
n00bdev left18:55
n00bdev joined18:57
yqt left18:58
mbrzuzy joined18:58
zivester joined18:59
Yaazkal +qsx @gitinfo ojacobson: thanks for lastnight answer. I'll check19:00
gitinfo Yaazkal: you're welcome, but please note that I'm a bot. I'm not programmed to care.19:00
ojacobson huh what19:00
holodoc left19:01
barduck left19:01
qsx i don’t remember but whatever19:02
!next19:02
gitinfo Another satisfied customer. NEXT!19:02
thiago Yaazkal: the bot is programmed to say that when it detects its name and "thank" in the same line19:02
Balliad joined19:05
holodoc joined19:06
zwa joined19:07
kaictl_work left19:07
ilmgb left19:07
encod3 joined19:07
ilmgb joined19:08
Yaazkal +qsx heheh19:09
thiago: it's ok, thanks19:09
cagedwisdom joined19:10
a3Dman left19:10
Macaveli joined19:10
Motoservo joined19:10
mariuscc left19:10
Balliad left19:10
namikr joined19:11
hahuang61 joined19:11
LeBlaaanc left19:11
asnoehu joined19:12
reim joined19:12
dreiss joined19:12
ilmgb left19:12
dopesong joined19:13
a3Dman joined19:13
PCatinean left19:14
Bennux left19:15
n00bdev left19:16
krawchyk left19:16
ShapeShifter499 left19:17
dopesong left19:17
CausaMortis left19:18
_ikke_ ojacobson: You've never seen that before?19:19
ojacobson I was "huh what"ing at Yaazkal, 'cos I don't remember talking to them last night :)19:20
chitopunk left19:20
bjoernh left19:20
_ikke_ ah ok19:20
krawchyk joined19:21
krawchyk left19:21
krawchyk joined19:22
arup_r joined19:23
zivester left19:24
pamplemousse joined19:24
jay-m left19:24
ktosiek left19:26
namikr left19:28
Salgat_ joined19:28
ahr3n joined19:28
CausaMortis joined19:29
stamina left19:31
Salgat left19:31
ktosiek joined19:32
tonyj joined19:32
namikr joined19:33
Sadeukko joined19:34
radsy joined19:38
zivester joined19:38
Kad-- left19:39
Kad-- joined19:40
rominronin joined19:40
barduck joined19:40
elastix joined19:41
dopesong joined19:41
buffffal00 joined19:41
fees left19:42
namikr left19:42
josuebrunel joined19:42
namikr joined19:43
S_J left19:43
fees joined19:43
CausaMortis left19:43
buffal0 left19:43
peoliye left19:44
vdv left19:45
rominronin left19:46
victorgama left19:47
namikr left19:47
daito joined19:47
Domhack joined19:48
lindenle left19:48
buffal0 joined19:50
chitopunk joined19:50
raijin joined19:52
encod3 left19:52
zwa left19:52
mclement left19:52
daito left19:52
konr left19:52
zwa joined19:52
CorySimmons joined19:53
buffffal00 left19:54
peoliye joined19:54
CausaMortis joined19:54
mclement joined19:56
lindenle joined19:56
raijin left19:56
encod3 joined19:58
holodoc left19:59
ash_workz anyone know a good channel for graphviz discussion?20:00
MarkyC left20:00
_nadim left20:00
_nadim joined20:01
_ikke_ Nope, not specifically20:02
arup_r left20:02
LeBlaaanc joined20:02
ash_workz dang20:02
sgambino left20:03
EvilPenguin left20:04
johnw ash_workz: what did you need? I'll discuss it with you in #gitlib :)20:04
MarkyC joined20:04
EvilPenguin joined20:05
sssilver left20:05
cleme1mp joined20:06
discipline left20:06
sssilver joined20:07
AtnevRed joined20:07
encod3 left20:08
mclement left20:08
CausaMortis left20:08
discipline joined20:08
otter768 joined20:11
tyreld left20:11
bb010g joined20:11
gitinfo set mode: +v20:11
AtnevRed left20:12
CorySimmons left20:12
luxPerpetua left20:13
mohammed64 left20:14
holodoc joined20:14
sgambino joined20:14
ComputingLand joined20:14
Fijit left20:14
namikr joined20:14
zivester left20:15
otter768 left20:16
namikr left20:16
tyreld joined20:17
durham_ joined20:17
atomicb0mb left20:17
SimonNa left20:17
FireArrow133 joined20:18
gaen left20:18
namikr joined20:19
Aboba joined20:19
durham left20:19
victorgama joined20:20
CausaMortis joined20:20
jhassjazz20:20
luxPerpetua joined20:20
jazzGuest9264020:21
Guest92640jhass20:21
victorgama left20:21
encod3 joined20:22
bollullera joined20:22
namikr left20:24
skarm joined20:25
jam_ joined20:25
skarm left20:26
Guest94421 left20:27
m0viefreak joined20:28
jojovem left20:28
zivester joined20:28
EvilPenguin left20:29
jam_ left20:30
Darcidride left20:31
NeverDie joined20:33
dstarh joined20:33
CausaMortis left20:34
holodoc left20:35
choki left20:36
EvilPenguin joined20:37
Zamerick left20:37
pozitrono joined20:41
lindenle left20:41
PublicSubnet left20:41
rominronin joined20:42
Guest94421 joined20:42
PublicSubnet joined20:43
akiva left20:43
PublicSubnet left20:44
PublicSubnet joined20:44
CausaMortis joined20:45
IrishPrime left20:46
dpomerantz joined20:46
t0by joined20:46
astrofog joined20:47
barduck left20:47
rominronin left20:47
gitinfo set mode: +v20:47
dpomerantz Does any one have a nifty script that would allow me to "combine" multiple directories (like SVN tags or branches) into a single directory, keeping track of all changes, insertions, and deletions?20:48
I've been working with a third party who has no idea how git works and every time they committed files for delivery, they did it in v1, v2, v3, etc directories. I eventually started to change one, and they kept going. Need it as a single directory.20:48
n_blownapart joined20:48
phaleth left20:49
barduck joined20:49
jagob joined20:50
n_blownapart hello I cannot pull from my own repo...I've done it many times. this is the error : " ssh: Could not resolve hostname https: nodename nor servname provided, or not known "20:50
lindenle joined20:50
paul424 joined20:50
n_blownapart don't know git very well ^^20:51
dpomerantz blownapart: Is this a local repo or are you trying to pull from a remote?20:51
madewokherd dpomerantz: I've never used it myself and don't know the details, but that sounds like a job for git filter-branch ?20:51
Macaveli left20:52
n_blownapart remote, it's my own account. dpomerantz20:52
nedbat dpomerantz: how many directories?20:52
phrozensilver left20:52
dpomerantz made: Thanks. I'll look into it. I've not used it either:(20:52
bazz joined20:53
_ikke_ n_blownapart: what does git remote -v show return?20:53
a3Dman left20:53
dpomerantz nedbat: Five directories at this point. There may be more than one commit (like 2-3) in each.20:53
rpdprd left20:53
n_blownapart _ikke_: checking thanks20:53
frem joined20:53
rpdprd joined20:53
nedbat dpomerantz: i would do it manually in that case: copy v1 into the master place, commit it. copy v2, commit it, etc.20:53
dpomerantz nedbat: I thought about that. Definitely possible, but I wanted to at least see if there was a quick script for it.20:54
a3Dman joined20:54
n_blownapart _ikke_: four lines of output http://pastie.org/1067000620:55
dpomerantz Basically, I want to cycle through a specific directory tree for a series of refs and merge the trees into one unique tree. Maybe I could do it with code.20:55
zl joined20:55
incredible left20:55
bazz left20:55
n_blownapart not certain what fetch means ^^20:56
akiva joined20:56
PsionTheory joined20:56
polto joined20:56
tvw left20:57
bazz_ joined20:57
EvilPenguin left20:57
bazz_ Need advice: I have 6 commits, the 2nd commit broke a functionality that the 6 fixes.. I need to somehow integrate the 6th commit into the 2nd one, keeping the others as they are (they change different files). Anyone??20:57
madewokherd what was the command for info on rebase -i? !sausage ?20:58
gitinfo [!sausage_making] Some developers like to "hide the sausage making", transforming their commits before presenting them to the outside world. See http://sethrobertson.github.com/GitBestPractices/#sausage and !perfect20:58
kadoban bazz_: That's basically what rebase -i is for. Note that it changes history, which is pretty much required by the problem description.20:58
zl left20:59
roxlu left21:00
sepu joined21:00
CausaMortis left21:00
skylite joined21:00
dpomerantz netbat: I'm doing the manual delete/move/commit to combine into a single directory now.21:02
n_blownapart sorry _ikke_: I was missing a forward slash. thanks kindly21:02
gaen joined21:02
n_blownapart left21:03
gaen left21:03
phrozensilver joined21:04
bandroidx_ left21:05
zivester left21:06
ghartz joined21:06
bandroidx joined21:06
dsdeiz joined21:06
kumasura left21:06
aapaaal left21:06
afuentes joined21:07
Merri joined21:07
tpollard joined21:08
wethu joined21:08
GT left21:09
bazz_ kadoban: I'm in the middle of a pull request -- the commits have already been pushed .. do you recommend I still try a rebase?21:09
kadoban bazz_: Depends on the protocol you consider correct for pull requests. But either you do that or what you request is impossible.21:10
bazz_ What is the popular approach to such a circumstance?21:10
_ikke_ usually it's not uncommon to update pull requests21:11
CausaMortis joined21:11
t0by left21:12
kadoban I usually try to avoid rebasing pull requests until the end, if someone else is commenting on them or working on them with me. Otherwise I just rebase the crap out of them whenever I feel like it.21:13
holodoc joined21:13
crayon joined21:14
bollullera left21:15
jokoon joined21:16
mintux joined21:18
zivester joined21:19
jokoon left21:20
Merri left21:20
wethu left21:20
tgunr left21:20
{AS} left21:21
tgunr joined21:21
thiago left21:21
thiago joined21:23
durham_ left21:24
todd_dsm_ left21:24
algae left21:24
lindenle left21:25
todd_dsm_ joined21:25
durham joined21:25
durham left21:25
jimi_ left21:25
zivester left21:25
CausaMortis left21:25
durham joined21:26
Arsonide joined21:27
rwb left21:28
crayon left21:29
crayon joined21:30
freimatz3 left21:30
bazz_ left21:30
lindenle joined21:31
joufflu joined21:31
gmichael left21:32
gmichael joined21:32
EvilPenguin joined21:32
gaen joined21:33
gaen left21:34
devster31 if I edit a commit in a branch that has been merged how can I then rewrite history without making a huge mess? for example here: https://bpaste.net/show/b189be90c71f I'd need to rewrite the message for 3490608 since it doesn't have newlines, is it doable?21:35
garga left21:36
paulweb515 left21:36
CorySimmons joined21:36
Wetmelon joined21:36
devster31 I'm the only one using this so it's not a problem to force push21:36
tgunr left21:37
ItSANgo joined21:37
mbrzuzy left21:37
CausaMortis joined21:37
MattMaker joined21:38
vdv joined21:39
zivester joined21:39
nvahalik joined21:40
tgunr joined21:41
Bennux joined21:41
zwa left21:42
rominronin joined21:43
polto left21:45
dsdeiz left21:45
skcin7 joined21:46
netcarver joined21:46
DolpheenDream left21:47
daito joined21:48
rominronin left21:48
MarkyC left21:50
editshare-ericf left21:51
a3Dman left21:51
nedbat devster31: why do you need to rewrite history? Why not just fix it on the tip?21:52
CausaMortis left21:52
daito left21:52
a3Dman joined21:54
netcarver left21:55
mezod left21:56
thiago left21:56
kfoonamalik joined21:57
Steadfast joined21:58
devster31 because I want to change a commit message and not a file21:59
mingwandroid joined22:00
devster31 nedbat: by mistake it's a neverending line instead of multiple lines22:00
codeman left22:00
Bennux left22:00
nedbat oh, i see.22:00
devster31: sorry, i'm not sure what the best approach is for that. Maybe just linearize the entire thing you showed.22:01
devster31 what does it mean?22:02
mahendra_ left22:02
mezod joined22:02
jokoon joined22:03
CausaMortis joined22:04
devster31 merge into one branch, delete the rest and then edit the message?22:04
akushner left22:04
BigWillie left22:04
gaen joined22:05
kfoonamalik left22:05
abc123 joined22:06
gaen left22:06
nedbat devster31: i think "git rebase -i 0eb32bf" will do it for you, and let you edit the one commit you need to. Not sure though.22:06
dsdeiz joined22:07
uri_ left22:09
felixjet left22:11
otter768 joined22:12
akushner joined22:13
nour left22:15
cleme1mp left22:15
paul424 left22:15
mezod left22:15
otter768 left22:17
CausaMortis left22:18
CorySimmons left22:18
ciampix joined22:18
mizu_no_oto left22:18
barduck left22:18
Zamerick joined22:20
akushner left22:21
woodruffw left22:23
zivester left22:23
tubuliferous_ joined22:24
josuebrunel left22:24
yqt joined22:25
akushner joined22:27
King_Hual left22:28
CausaMortis joined22:29
t0by joined22:30
elastix left22:30
CorySimmons joined22:31
zotherstupidguy left22:31
madewokherd left22:32
Dougie187 left22:32
paul424 joined22:32
dstarh left22:33
Bpit left22:34
wethu joined22:36
zivester joined22:37
s8321414 joined22:37
zotherstupidguy joined22:38
felixjet joined22:38
dopesong left22:39
lindenle left22:41
CausaMortis left22:43
rominronin joined22:44
rubyonrailed left22:45
BillCriswell left22:45
barduck joined22:45
mischat joined22:45
minus4 joined22:47
barduck left22:50
rominronin left22:50
d0nn1e left22:50
dpomerantz Manually folding 4 directories into a fifth (complete with a commit that had to be manually merged) is complete. Took about 2 hours.22:51
Does any one know a way to manually mark a commit as a merge operation?22:51
Es0teric left22:52
d0nn1e joined22:53
lindenle joined22:53
FireArrow133 What do I do again if I want to push the commits to a local repository (as in local disk)? I have "git remote add origin" already done I just need to know what do I do to add a URL for the file?22:53
johnw dpomerantz: all it needs is multiple parents22:53
sgambino left22:53
peoliye left22:53
nvahalik left22:54
ComputingLand left22:54
dpomerantz johnw: Thanks. May be more trouble than it's worth then. One of the parents was deleted. I suppose I COULD have made it happen on another branch, but what's done is done.22:54
CausaMortis joined22:55
uri_ joined22:55
raven-au left22:55
rubyonrailed joined22:56
hahuang61 left22:57
tvw joined22:58
Ice_Strike left22:58
Orbitrix joined22:59
Orbitrix left22:59
encod3 left22:59
Orbitrix joined22:59
CorySimmons left22:59
sepu left23:00
cagedwisdom left23:00
Jackneill left23:01
zeroed joined23:01
hahuang65 joined23:02
zeroed left23:03
zackf joined23:03
data left23:03
fees left23:03
queglay left23:03
dpomerantz left23:04
queglay joined23:04
minus4 left23:04
CheckDavid joined23:04
peoliye joined23:04
zackf left23:05
pozitrono left23:06
zotherstupidguy i need someone to explain to me the bare repo?23:06
bango2 left23:07
johnw a bare repo has no associated working tree23:07
zotherstupidguy from what i read it is centeralized so all developers must push to the bare repo and pull from it? is that correct!??23:07
johnw no, that is not correct23:07
zotherstupidguy yes please23:07
johnw a bare repo is just another repository like any other23:07
it can hold Git objects, have Git objects pushed to or pulled from it, etc.23:07
zotherstupidguy this guy got it wrong http://www.saintsjd.com/2011/01/what-is-a-bare-git-repository/23:07
johnw for servers, it is a considered optimal because there is no need for a working tree there23:08
paul424 left23:08
johnw his initial description is right...23:08
minus4 joined23:08
minus4 left23:08
johnw it's not wrong, you just don't HAVE to use them in any particular way23:08
zotherstupidguy but if you have a normal repo, and i have a normal repo, i can clone from you?23:08
johnw two developers could share changes through a Git repo, or they could push/pull directly to /from each other23:08
or both23:08
just think "bare = no working tree" and you'll be fine23:09
zotherstupidguy i can pull from you, and push to you?23:09
johnw other than that, they are the same as any other repo23:09
zotherstupidguy cool23:09
johnw yes23:09
zotherstupidguy ok, can i have a git server without a bare repo?23:09
johnw you can23:10
that is generally frowned up, though23:10
zivester left23:10
johnw since pushing to a repository that has an associated working tree can lead to confusion and problems23:10
peoliye_ joined23:10
mezod joined23:10
johnw If the branch that's checked out on the server is different from the one you're pushing too then there is no problem, otherwise it would have to update the working tree to match your push23:11
zotherstupidguy i see, so two developers don't push to each other, they only pull from each other and resolve the conflicts23:11
johnw if two developers are directly communicating changes, they usually do it by sending one another patch files generated using git-format-patch23:11
peoliye left23:11
johnw and then using "git am" to incorporate those changes23:12
*pulling* directly from the other developer is fine and safe23:12
pushing directly to him, not so good23:12
cagedwisdom joined23:12
zotherstupidguy very cool. not the usual way most people use git, everyone is just on github!23:12
johnw yeah, or that23:12
which again is using a third repository to mediate between the developers23:12
gopar left23:13
uri_ left23:13
hobodave left23:13
johnw so there is a different bit of a difference here between what is typically done and what is possible23:13
zotherstupidguy yeah, its a solution, but it is centerlized not distrubted anymore23:13
johnw there are many topologies possible among repositories, but it's most typical for changes to be communicated through a common repository23:13
pantsman- left23:13
_joes_ joined23:14
zotherstupidguy one idea that annoys me recently, if each blob got its own SHA, why git not use a bittorrent protocl to share blobs among developers?23:15
pozitron joined23:15
johnw the idea has come up before23:15
zotherstupidguy cool, and?23:15
uri_ joined23:15
zotherstupidguy isnt the purpose is to keep code alive, no matter what nodes die?23:16
johnw I'm not sure there is an implied purpose23:16
eijk left23:17
zotherstupidguy to take it a bit futher, if blobs would be mixed with some RDF or similar, interesting things might be possible later on23:17
t0by left23:17
madewokherd joined23:18
pasky left23:18
zotherstupidguy it would be a live code graph, going from one library code to another, and each piece of code would be annotated for its purpose, if such data is out there, smarter people will figure out how to make use of it, in theory!23:20
pasky joined23:20
krawchyk left23:21
nvahalik joined23:21
scwizard joined23:21
scwizard is there any way to edit the ref a submodule points to23:22
Steadfast left23:22
scwizard the current ref is wrong which prevents me from checking it out which prevents me from changing the ref in a normal fashion23:22
Sonicbit joined23:22
Spacew00_ left23:22
_joes_ left23:23
scwizard oh i just cd into the submodule dir and checkout the correct ref23:23
nvahalik left23:25
jleclanche left23:25
data joined23:25
fragant joined23:25
AaronMT left23:26
gitinfo set mode: +v23:26
scwizard left23:27
kpease left23:28
avgn joined23:28
avgn left23:29
ghartz left23:29
gargola left23:29
kiloreux left23:29
jimi_ joined23:30
fragant Hi! Does anybody know how to remove three Windows explorer context menu entries "Git Init Here", "Git Gui" and "Git Bash"?23:30
johnflux joined23:31
fragant For the client git-gui23:31
tang^ disable integration during git for windows installation23:31
cbonobo left23:31
fragant Is it possible after installing?23:31
alanjf joined23:31
tang^ haven't tried23:32
Seveas probably some register entries somewhere23:32
killa_kyle left23:32
luxPerpetua left23:33
fragant Visual Studio installed it automaticly. Regedit can't find anything, Autoruns also and disable in CCleaner doesn't work :(23:33
jokoon left23:35
m0viefreak HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\git_gui23:35
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\git_shell23:35
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\git_gui23:35
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\git_shell23:35
TomyLobo left23:36
afuentes left23:36
chitopunk left23:36
afuentes joined23:36
fragant Thanks, just in this moment i made a copy of this entrys23:37
It works! Thanks23:37
rubyonrailed left23:38
nfk|laptop joined23:38
uri_ left23:40
lindenle left23:42
editshare-ericf joined23:42
jimi_ left23:43
fragant left23:43
jalnt joined23:44
tyreld left23:44
tzero left23:45
rominronin joined23:45
ciampix left23:47
lindenle joined23:47
satifant left23:47
mintux left23:48
daito joined23:49
jimi_ joined23:50
ash_workz left23:50
CausaMortis left23:50
rominronin left23:51
fahadash joined23:51
daito left23:54
ome joined23:55
queglay left23:56
lindenle left23:57
johan_sun left23:57
gopar joined23:57
lindenle joined23:58

Logs Search ←Prev date Next date→ Channels Documentation