IRCloggy #git 2018-04-09

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.

2018-04-09

weez17 left00:00
leeN left00:00
weez17 joined00:00
jready joined00:00
Karyon_ left00:02
kus joined00:04
jready left00:05
mborgard left00:07
nahtnam joined00:09
ferdna left00:10
mellernoia joined00:10
asphyxia left00:11
xaxxon joined00:11
asphyxia joined00:16
threexc joined00:17
diogenese left00:18
Qudit314159 joined00:19
andyhuzhill joined00:22
modin is there a way to have `text` in `git show :/text` treated case insensitive?00:24
thiago I don't think so00:25
never seen such an option00:25
solaris joined00:25
Eugene modin - does core.ignoreCase do what you want?00:26
git-config option00:26
That's the only thing that would come close. git is case-sensitive(well, any content-change sensitive)00:26
pity joined00:26
Eugene on purpose00:26
modin Eugene: that's for filesystems thou?00:27
Eugene !tryit ;-)00:27
gitinfo [!tias] Try it and see™. You learn much more by experimentation than by asking without having even tried. If in doubt, make backups before you experiment (see !backup). http://gitolite.com/tias.html may help with git-specific TIAS.00:27
Karyon_ joined00:27
modin ;)00:28
sadly it does not00:28
Eugene womp womp00:28
peepsalot left00:28
TomyLobo left00:28
cdown joined00:29
modin `git show :/[Tt][Ee][Xx][Tt]` does work thou :P00:29
Eugene !next00:29
gitinfo Another satisfied customer. NEXT!00:29
modin was hoping to append a flag to that regex somehow00:29
Xiti left00:29
modin k. thanks anyhow.00:29
Eugene You're probably better at regex than I. Sorry, doesn't exist00:30
Patches welcome etc00:30
peepsalot joined00:31
adamantium joined00:32
mansonet left00:33
Xiti joined00:33
lrvick Hey all. I am trying to add m-of-n signing to git. Would love any input in this interface/approach before I implement it: https://github.com/lrvick/git-signatures#implementation00:34
Well, you can just read the whole thing. but yeah00:34
mel00010 left00:34
peepsalot left00:37
TikityTik What's the safest way for me to remove a commit from my remote repo? I'm the only one that needs to worry about rebasing00:40
lupine git rebase ; git push00:41
-f as appropriate00:41
dsantiago joined00:43
TikityTik this commit is like at the beginning of my branch00:44
solaris_ joined00:44
TikityTik i still don't know how I delete it, it won't affect the work after it00:44
solaris left00:45
solaris_solaris00:45
mel00010 joined00:46
Eugene TikityTik - !rewrite00:47
gitinfo TikityTik: 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/waqum00:47
mborgard joined00:48
cfoch joined00:50
bremner I'm in a git-svn repo, and there are some mysterious changes I can't "reset --hard" away: https://paste.debian.net/1019346/00:51
this prevents me from dcommiting00:52
ugh. looks like something windows related00:52
compiler/bin/stage3 -> '!<symlink>'$'\377\376''m'00:52
Singmyr left00:57
safe joined00:59
mel00010 left01:00
diogenese joined01:04
nephyrin left01:05
finalbeta joined01:07
sentriz left01:08
mborgard left01:08
lucasem joined01:08
sentriz joined01:08
lucasem left01:09
mel00010 joined01:15
nephyrin joined01:16
HuskyApo_ joined01:18
jesst left01:20
mellernoia left01:25
Codaraxis_ joined01:28
Codaraxis left01:29
Qudit314159 left01:33
fuzzface left01:34
nephyrin left01:34
asphyxia left01:34
LiftLeft2LiftLeft01:41
phinxy left01:42
nephyrin joined01:44
solaris left01:45
PioneerAxon joined01:45
solaris joined01:46
asphyxia joined01:47
ilbot3 left01:48
solaris left01:48
Guest18 left01:50
mooasaurus left01:50
mooasaurus joined01:50
aax left01:51
suzie joined01:51
suzie left01:53
LoremIpsum joined01:53
freetlas joined01:54
LoremIpsum left01:55
Suzie joined01:55
ilbot3 joined01:58
freetlas Hey guys. i'm currently using git with git Bitbucket. Now I just created a new account on Github and I added the same ssh key I have on Bitbucket. How do I know when I'm using which one? Thanks!01:59
Is there a way to set up this better?01:59
jmerizia joined01:59
nephyrin left02:01
testnick123 joined02:04
Suzie left02:06
fantasia joined02:06
fantasia left02:07
PinkBash joined02:08
nephyrin joined02:08
andyhuzhill left02:09
LiftLeft left02:09
xaxxon left02:09
andyhuzhill joined02:09
asphyxia left02:09
PinkBash left02:10
PinkBash joined02:10
asphyxia joined02:14
HuskyApo_ left02:15
freetlas left02:17
PinkBash left02:18
PinkBash joined02:18
dirtyroshi joined02:18
dsantiago left02:18
PinkBash left02:19
PinkBash joined02:19
dsantiago joined02:19
steeze joined02:20
a3Dman left02:21
monokrome left02:22
PinkBash left02:24
a3Dman joined02:25
testnick123_ joined02:26
monokrome joined02:27
testnick123 left02:27
dsantiago left02:29
dsantiago joined02:30
palmtree freetlas why using both? use just git02:31
LiftLeft joined02:31
xaxxon joined02:32
Lipoly left02:38
ferdna joined02:38
Lipoly joined02:38
dsantiago left02:39
mel00010 left02:39
dsantiago joined02:40
noobineer left02:40
ooxvoox joined02:40
dsantiago left02:43
testnick123 joined02:44
dsantiago joined02:44
netj left02:44
kus left02:44
testnick123_ left02:45
jmerizia left02:47
asphyxia left02:47
dsantiago left02:48
netj joined02:48
lagothrix joined02:49
dsantiago joined02:49
lagothri1 left02:52
dsantiago left02:52
mel00010 joined02:52
ooxvoox left02:52
dsantiago joined02:53
ghal left02:57
piggah left02:57
solaris joined02:59
vdamewood joined03:02
a3Dman left03:02
palmtree left03:03
fr33domlover left03:04
solaris left03:08
a3Dman joined03:09
mel00010 left03:13
solaris joined03:13
andyhuzhill left03:21
piggah joined03:23
\void left03:24
andyhuzhill joined03:24
solaris left03:25
andyhuzhill left03:26
mel00010 joined03:28
canvon joined03:30
canvon_ left03:31
oskarkv left03:33
palmtree joined03:35
g00s joined03:38
ghal joined03:40
NERD-k joined03:41
Copenhagen_Bram left03:41
Copenhagen_Bram joined03:42
pity left03:43
pity joined03:44
Puffball joined03:44
palmtree left03:49
pp5mgt left03:54
pp5mgt joined03:55
Noldorin left03:59
Copenhagen_Bram left03:59
Copenhagen_Bram joined04:00
schleppel joined04:02
palmtree joined04:03
dviola left04:06
govg joined04:08
xaxxon left04:11
piggah left04:14
HuskyApo_ joined04:15
HuskyApo_ left04:15
HuskyApo_ joined04:16
HuskyApo_ left04:18
boombatower left04:21
NERD-k left04:22
robotroll joined04:25
finalbeta left04:25
finalbeta joined04:25
weijin left04:26
robotroll left04:30
Orbitrix joined04:32
vdamewood left04:32
NERD-k joined04:32
orbyt_ left04:35
piggah joined04:36
weijin joined04:36
veegee left04:38
Raging_Hog joined04:39
weijin left04:41
HuskyApo_ joined04:42
a3Dman left04:44
pp5mgt left04:45
weijin joined04:46
Lyqyd left04:46
pp5mgt joined04:46
dga joined04:46
freimatz joined04:47
a3Dman joined04:49
weijin left04:50
dga left04:54
testnick123_ joined04:54
testnick123 left04:56
weijin joined04:59
HuskyApo_ left04:59
NERD-k left05:00
asphyxia joined05:00
NERD-k joined05:00
NERD-k left05:00
NERD-k joined05:01
NERD-k left05:01
NERD-k joined05:01
NERD-k left05:02
smallNERD joined05:02
pks left05:03
HuskyApo_ joined05:04
pks joined05:05
jready joined05:05
B4S1L3 joined05:07
jay-m joined05:08
B4S1L3 Aie, I cant get colors in Konsole anymore, in interactive mode.... any idea ? (FC27, latest stable git, tried everything with the settings,...)05:09
jready left05:09
B4S1L3 i never worked actually on FC27 but was okay on Leap 42.305:10
thiago what did you do to get colours?05:12
and what interactive mode? git add -i ?05:12
steeze left05:13
a3Dman left05:13
jay-m left05:13
B4S1L3 in the past on Leap 42.3 it worked since setup. "git rebase -i master" for example and the verb [pick|fixup|squesh| etc] was colorized05:13
(i'm asking on fedora-kde too since it could be a problem with their package or whatever)05:15
akushner joined05:15
thiago colourised in your editor?05:15
so not a Git problem05:15
B4S1L3 colorised in Konsole (default terminal for KDE DE)05:15
a3Dman joined05:15
thiago after what command?05:16
B4S1L3 "git rebase -i origin/master" for example05:16
which displays a table of commits under certain circumstances, but you should know that05:17
thiago that's your editor05:17
plase configure it properly05:17
weijin left05:18
B4S1L3 ah you speak about vim loaded in Konsole....05:18
i didn't thought to that. Was focused on the terminal05:18
testnick123_ left05:19
githubmgw left05:21
HuskyApo_ left05:24
fguillot joined05:29
smallNERD left05:30
freimatz left05:31
ferdna left05:32
githubmgw joined05:32
ferdna joined05:32
githubmgw left05:33
HuskyApo_ joined05:34
ferdna left05:34
fguillot left05:36
ferr1 joined05:39
James0r2 joined05:40
Zedka29 joined05:40
James0r2_ joined05:41
diogenese left05:42
rivalomega joined05:42
HuskyApo_ left05:43
smallNERD joined05:43
James0r left05:44
B4S1L3 left05:45
James0r2 left05:45
weijin joined05:46
a3Dman left05:46
subhojit777 joined05:47
borkr joined05:47
borkr left05:47
a3Dman joined05:49
fr33domlover joined05:50
diogenese joined05:50
KeyJoo joined05:50
kent\n joined05:56
widp joined05:57
a3Dman left05:57
palmtree left05:57
tt_ joined05:58
cssko left05:59
cssko joined05:59
a3Dman joined06:00
cssko left06:01
cam27 joined06:02
asphyxia_ joined06:02
cssko joined06:03
drodger left06:03
asphyxia left06:03
cssko left06:04
cssko joined06:05
cssko left06:06
cam27 left06:07
cssko joined06:08
drodger joined06:09
cssko left06:10
cssko joined06:10
piggah left06:12
a3Dman left06:13
Raging_Hog left06:13
solarjoe4 left06:13
a3Dman joined06:14
devbaka joined06:16
wandering_vagran joined06:16
tt_ left06:21
tt_ joined06:23
NERD-k joined06:25
jfr joined06:26
abba joined06:27
rh10 joined06:28
cfoch left06:29
escproxy joined06:30
drodger left06:30
drodger joined06:31
tkore joined06:32
tkore left06:32
tkore joined06:32
g00s left06:34
safe left06:35
JeroenT joined06:35
happy-dude joined06:36
NERD-k hello, I had set `git config --global proxy.https socks5://127.0.0.1:1080`, but it failed when I use git clone https://***, but it can work if I use git clone git@github***, what's going wrong???06:36
Tobbi joined06:37
a3Dman left06:39
multi_io joined06:40
_ikke_ git@github uses ssh, not http06:40
NERD-k Failed to receive SOCKS4 connect request ack.06:41
a3Dman joined06:41
diogenese left06:41
NERD-k I am using PROXY(socks5) to through GFW(CHINA),06:42
diogenese joined06:42
ferr1 left06:42
andyhuzhill joined06:42
asphyxia_ left06:42
tunekey left06:43
Gurkenglas left06:43
NERD-k I don't why it give me that message. I am use socks5! And curl is got that message and failed too.06:43
asphyxia joined06:44
dreiss joined06:44
lalitmee joined06:44
CheckDavid joined06:44
NERD-k My web Broser can surf on the internet. I don't know what make it PROXY(socks5).06:45
zeroed joined06:46
tunekey joined06:46
NERD-k I don't know what PROXY it(socks4).06:46
andyhuzhill left06:46
howlymowly joined06:47
andyhuzhill joined06:47
rokups joined06:47
__rob left06:47
a3Dman left06:48
jimmyrcom_ left06:49
PioneerAxon left06:49
abba left06:50
pp5mgt left06:51
__rob joined06:51
pp5mgt joined06:51
NERD-k left06:52
smallNERD left06:52
subhojit777 left06:53
a3Dman joined06:56
abba joined06:58
jay-m joined06:59
seschwar joined07:01
BH23 joined07:03
rivalomega left07:04
BH23 left07:04
TomyWork joined07:05
escproxy left07:06
BH23 joined07:10
fstd_ joined07:10
a3Dman left07:11
xaxxon joined07:11
fstd_ left07:11
fstd_ joined07:11
fstd left07:13
fstd_fstd07:13
BH23 left07:13
rfuentess joined07:13
blackmesa joined07:15
duderonomy left07:16
a3Dman joined07:17
Goplat left07:18
Phylock joined07:19
dzn joined07:23
a3Dman left07:25
fuchstronaut joined07:28
cssko left07:31
palmtree joined07:31
a3Dman joined07:31
cssko joined07:33
cssko left07:35
cssko joined07:36
cYmen_ Do you guys use any tools with git? Like gitk or gitkraken or whatever your IDE has...?07:37
cssko left07:38
thiago left07:38
escproxy joined07:39
Stummi cYmen_, smartgit here07:39
cssko joined07:40
Stummi I do most stuff on command line, but sometimes having an actual visualization beside it helps07:40
dreiss left07:41
cssko left07:41
pp5mgt left07:42
Impaloo left07:43
dzn i mostly use cli, git log is great07:43
pp5mgt joined07:43
cssko joined07:43
Impaloo joined07:43
Impaloo left07:43
ArcaTech left07:43
Impaloo joined07:44
cssko left07:45
cam27 joined07:45
cssko joined07:46
rudi_s tig07:46
MrMojit0 joined07:47
MrMojit0 left07:47
_Mental joined07:48
cssko left07:48
Impaloo left07:49
manuelschneid3r joined07:49
cssko joined07:50
naqued joined07:50
smallNERD joined07:50
NERD-k joined07:51
cssko left07:51
floppydh joined07:51
smallNERD left07:51
NERD-k left07:51
jready joined07:52
Impaloo joined07:53
cssko joined07:53
tvw joined07:55
cssko left07:55
bolovanos joined07:56
jready left07:57
cssko joined07:57
Impaloo left07:58
Impaloo joined07:58
cssko left07:59
cssko joined08:01
_ADN_ left08:01
MurkyLizard joined08:02
cssko left08:03
tunekey left08:04
cssko joined08:05
tunekey joined08:05
mikecmpbll joined08:07
cYmen_ dzn: really? I can't seem to find anything with tha.08:08
cssko left08:08
cYmen_ Mind grepping your bash history for some examples? :)08:08
Stummi, rudi_s: Thanks! Will try those.08:08
dre_ joined08:08
zeroed left08:09
cssko joined08:09
tunekey left08:09
acidjnk joined08:11
tunekey joined08:11
Martin__ joined08:13
Martin__ left08:13
cssko left08:13
venmx joined08:13
axc joined08:14
cssko joined08:14
AmR|EiSa joined08:15
cYmen_ Is it possible to set user/mail per server instead of globally?08:15
I keep committing things under the wrong name. :/08:15
AmR|EiSa I'm trying to get 5.11 from git and I got this errors Submodule path 'src/3rdparty/mapbox-gl-native': checked out '8c1be4ec01ef46bf453856531ebf53b48ce3dbe7' + git submodule init src/3rdparty src/3rdparty is dirty. Dirty submodule(s) present; cannot proceed.08:15
Any one know How I can fix this ?08:16
cssko left08:17
fatalhalt joined08:18
cssko joined08:19
birk0ff left08:21
birkh0ff joined08:22
sonOfRa cYmen_: for visualization I use tig. But actual operations I do on the command line. tig is nice because it's ncurses so I can even use it on headless machines08:22
sim590 left08:23
zeroed joined08:23
AmR|EiSa Any help please ?08:23
cssko left08:24
Bobdude left08:24
cssko joined08:25
blackmesa left08:26
sim590 joined08:27
cssko left08:28
mosab joined08:28
zeroed left08:28
tvale joined08:30
tvale left08:30
tvale joined08:30
cssko joined08:30
aax joined08:32
cssko left08:33
JeroenT left08:33
JeroenT joined08:34
Darcidride joined08:34
netj left08:34
netj joined08:35
cssko joined08:35
cssko left08:38
zeroed joined08:38
cssko joined08:41
cstratak joined08:42
Nirgal joined08:42
zeroed left08:43
cssko left08:44
palmtree left08:44
brontosaurusrex joined08:45
cssko joined08:46
lalitmee left08:47
cssko left08:49
Nirgal left08:50
venmx left08:50
Guest879 left08:51
cssko joined08:51
bubo joined08:51
ToBeCloud joined08:52
gitinfo set mode: +v08:52
cssko left08:54
AmR|EiSa Any help plz I got same error at windows and linux.08:54
tobiasvl AmR|EiSa: what are you doing exactly? you're trying to get 5.11 of what from git? how? !repro08:55
gitinfo AmR|EiSa: [!transcript] Please paste (using https://gist.github.com/ or similar) a transcript ( https://git.io/viMGr ) of your terminal session so we can see exactly what you see08:55
happy-dude left08:55
cssko joined08:56
tobiasvl AmR|EiSa: what version of git are you on? maybe this will help https://stackoverflow.com/questions/4873980/git-diff-says-subproject-is-dirty?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa08:56
cssko left08:58
AmR|EiSa git version 2.16.208:58
andyhuzhill left08:58
AmR|EiSa I got 5.10.0 and then try checkout to 5.1108:59
tobiasvl sorry for the google attributes on the url there...08:59
AmR|EiSa: 5.10.0 of what??09:00
but yeah, that stackoverflow answer might help09:00
_ADN_ joined09:00
AmR|EiSa tobiasvl: https://code.qt.io/qt/qt5.git09:00
cssko joined09:01
tobiasvl aha09:01
bubo left09:01
mikecmpb_ joined09:03
cssko left09:03
bubo joined09:05
mikecmpbll left09:05
Kulrak left09:06
cssko joined09:06
riemann joined09:07
AmR|EiSa By git submodule foreach --recursive git checkout not fixing that error09:09
rvgate joined09:12
goweol1 joined09:13
goweol left09:14
wombawomba joined09:15
goweol joined09:16
wombawomba I want to get a local checkout of an arbitrary ref (commit, branch, tag), up to date with a remote repo, via a script. What's the easiest way to accomplish this?09:16
If there are local changes, I want them to be overwritten, but I don't want to have to re-clone the repo every time.09:17
doev joined09:18
goweol1 left09:18
catsup left09:18
wombawomba AFAICT, if the ref is a commit id, I can just do `git reset --hard $ref`, but if the ref is a branch, I have to do `git reset --hard origin/$ref`. Not sure how to unify these two cases09:18
catsup joined09:19
venmx joined09:19
zeroed joined09:19
catsup left09:19
chris_wo_ joined09:19
catsup joined09:19
chris_wot left09:21
jim left09:21
tobiasvl wombawomba: well, that depends what you mean by "a local checkout". you don't want a detached HEAD, it looks like? so you want one specific local branch to point to an arbitrary remote ref?09:21
pfleck joined09:21
mlopezviedma_ joined09:22
wombawomba tobiasvl: I'm totally cool with a detached head09:22
osse are you nearly headless nick ?09:23
mlopezviedma left09:23
wombawomba :P09:23
Kulrak joined09:23
Kulrak left09:23
Kulrak joined09:23
lalitmee joined09:24
Orbitrix left09:24
Orbitrix joined09:24
wombawomba all I want is for my script to take a ref on the form `d942cb9` or `master` or `some-tag`, and a path to my local repo, and then make sure that the local repo points to the latest commit corresponding to the given ref on the remote09:25
zeroed left09:27
wombawomba oh and by 'points to', I want to make sure that that ref is checked out09:28
zeroed joined09:28
dre_ left09:28
pd2000 joined09:30
beerdrop left09:31
dzn left09:31
King_Hual joined09:32
King_Hual left09:32
King_Hual joined09:32
hunterlabs joined09:33
AmR|EiSa left09:34
xaxxon left09:35
afuentes joined09:40
KeyJoo left09:40
jast wombawomba: git fetch; git checkout -f <thing> (e.g. 'origin/master' if you want origin's master)09:43
nai what's wrong with "git checkout -f $ref" ?09:43
^09:43
cam27 left09:44
jast also, if this is for a deployment scenario, here's a comparison of approaches: !deploy09:44
gitinfo Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html09:44
beerdrop joined09:45
wombawomba jast: right, but how do I do that without knowing to insert 'origin/' if ref is a branch?09:46
the ref is provided by the user — I don't know if it's a branch or a commit09:46
jast are you actually using the local branches in that repository?09:47
wombawomba no09:47
jast if not, you can reconfigure fetch to directly fetch into your local branches09:47
wombawomba how?09:47
re1 joined09:47
jast remote.origin.fetch = '+refs/heads/*:refs/heads/*'09:47
dragoonis joined09:47
dragoonis left09:48
dragoonis joined09:48
wombawomba sorry for being slow.. where do I put that? :)09:48
jast either by running this inside the repo: git config remote.origin.fetch '+refs........'09:48
or by editing the repo's .git/config and replacing the corresponding line09:48
the syntax is a bit different there but you should figure it out easily :)09:48
wombawomba okay09:48
cool09:48
dragoonis Hey! I have a pull request on Repo 1 and I have a new repo named Repo 2 .. I wish to take the code (and history of 5 commits) over. The gotcha is on Repo 1 the files are in the root of the repo. Repo 2 they're in a sub-dir named /back-end ... Can someone help me please?09:49
wombawomba and fetch will overwrite any local changes if I use that?09:49
jast yes, but not check them out. you'll still need the 'git checkout -f'.09:49
wombawomba awesome, I'll try that09:49
thanks!09:49
jast dragoonis: that's not perfectly straightforward, but try this when merging (can't promise it will work, but worth a try): 'git merge -Xsubtree=back-end'09:50
it will probably *not* work if the two repos don't have common history, though09:50
dragoonis They won't.09:50
jast then this will be quite a bit more work09:51
dragoonis What if I don't care about history, and just want to squash all 5 commits into 1 commit.09:51
jast does repo 2 have any changes in back-end that you need to keep?09:51
dragoonis Once I have the branch over on the new repo, even with merge conflicts, I can resolve them. As long it's merging to the correct path09:51
jast - yes09:51
tkore1 joined09:52
dragoonis I'd like the branch + commit onto Repo 2, then I could rebase on master and work on stuff.09:52
It's just the paths are different at the moment.09:52
tkore left09:52
tkore1tkore09:52
jast okay... due to the branches not having common history, you'll have the entire file(s) marked as conflicted09:52
so that's going to suck :)09:52
but basically here's what you do:09:52
dragoonis ... /file to /back-end/file09:52
jast 1) in repo 2, add repo 1 as a remote.09:53
2) do a normal merge, probably use --no-commit to ensure it will let you fix things up09:53
Chaser joined09:53
flaviodesousa joined09:53
_Mental left09:54
jast 3) restore the state from repo 2 for now: git read-tree --reset -u HEAD09:54
wombawomba jast: I'm getting "fatal: Refusing to fetch into current branch refs/heads/master of non-bare repository" when doing `git fetch` after setting that setting09:54
jast now by far the easier way to do it is to discard your commit history from repo 1, here's how you'd do it that way:09:54
4) git read-tree -m -u --prefix=back-end/ <topmost commit ID from repo 1>09:55
5) fix conflicts, 'git add' and 'git commit' to finalize09:55
john-34 left09:56
jast wombawomba: okay, yeah. just looked into this and there's no config option to bypass that check, but if you detach HEAD and also do that on each subsequent 'git checkout -f' you'll be fine09:56
Karyon_ left09:56
jast to detach now: git checkout HEAD^009:57
to detach your things later: git checkout -f <thing>^009:57
wombawomba jast: actually it seems you can pass --update-head-ok to git fetch and it works09:57
jast oh, fun09:57
I looked at the code instead of at the docs, and didn't see it use any flag like that :)09:58
wombawomba hah09:58
netj left09:59
netj joined09:59
Xiti` joined09:59
blackchalk joined10:01
xaxxon joined10:02
MarioBranco joined10:02
Xiti left10:03
Raging_Hog joined10:04
john-34 joined10:09
Fernando-Basso joined10:10
rudi_s joined10:14
zefferno joined10:15
Kaisyu left10:16
blackchalk left10:16
kurkale6ka joined10:16
dsantiago left10:17
xaxxon left10:17
jimm joined10:18
blackchalk joined10:19
blackchalk left10:19
pity left10:20
blackchalk joined10:21
blackchalk left10:22
blackchalk joined10:22
wombawomba left10:23
CheckDavid left10:23
leeN joined10:27
dsantiago joined10:30
rvgate left10:31
dsantiago left10:32
blackmesa joined10:33
dsantiago joined10:34
tkore left10:36
tkore joined10:36
blackmesa left10:37
rajpratik71 joined10:39
cdown_ joined10:39
Rr4sT joined10:40
cdown left10:41
cdown_cdown10:41
blackchalk left10:44
blackchalk joined10:45
weijin left10:46
tvale left10:46
blackmesa joined10:46
blackchalk_ joined10:48
blackchalk_ left10:50
Gurkenglas joined10:50
blackmesa left10:51
gareppa joined10:52
blackchalk left10:52
dreiss joined10:52
jimmjim10:53
jready joined10:55
pp5mgt left10:57
tvale joined10:58
pp5mgt joined10:58
jready left10:59
rajpratik71 left11:01
ToBeCloud left11:02
\void joined11:03
Orbitrix left11:05
Orbitrix joined11:07
chris_wo_chris_wo11:09
chris_wochris_wo_11:09
chris_wo_chris_wot11:10
tester how can i ammend/fixup to the very first commit in the repository?11:10
trying to rebase -i very-first-commit^ errors with fatal: need a single revision11:11
wombawomba joined11:11
tobiasvl tester: --root11:11
osse tester: rebase -i --root11:11
pd2000 left11:12
pd2000 joined11:12
m1dnight_ left11:14
tester thanks11:14
pp5mgt left11:14
Cavallari joined11:16
weijin joined11:16
howlymowly left11:17
pp5mgt joined11:18
dpyro left11:18
cdown left11:20
drodger left11:21
rasputozen joined11:23
rasputozen im reading the rebase manpage and im confused why one of the parameters is referred to as '<upstream>' when it can refer to any branch or commit. Excerpt: https://ptpb.pw/Ldl311:24
osse because the branch you're rebasing on is usually an upstream branch11:24
tester is there something like .gitignore, but per-line? like git-only comments in a file?11:24
osse tester: no11:25
drodger joined11:26
chris_wot________________11:26
m1dnight_ joined11:26
________________chris_wot11:26
rasputozen i thought 'upstream' referred to a remote repo, what does rebasing have to do with a remote?11:27
i might be totally wrong about that, but thats what i always understood 'upstream' meant11:29
tester can i remove _any_ memory of a certain file throughout history and only keep its current state11:30
i can rebase from root and all, i'm working locally only11:30
tobiasvl rasputozen: well, "upstream" means a place from which code changes flow down to your repo/fork/whatever11:31
but yes, it usually refers to a remote repo if your repo is a fork11:31
beerdrop left11:31
RougeR joined11:31
RougeR left11:31
RougeR joined11:31
tobiasvl tester: yes, sure. you might want to look at !filter_sensitive11:32
gitinfo tester: You can use filter-branch to remove sensitive data from a repository's history. https://help.github.com/articles/remove-sensitive-data/11:32
barq I'm trying to migrate svn to git, but get an error at some point halfway: Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. error: The last gc run reported the following. Please correct the root cause and remove .git/gc.log. Automatic cleanup will not be performed until the file is removed.11:32
warning: There are too many unreachable loose objects; run 'git prune' to remove them.11:32
tobiasvl but rebase might work fine for you too depending on the nature of the changes11:32
barq How can I fix this? It's hard to prune while the import is in progress.11:32
tester tobiasvl remove a file completely11:32
the whole file, from first commit11:33
like it never existed11:33
i'll look into filter-branch11:33
rasputozen tobiasvl: so what would 'upstream' mean in a local context where no fork or clone has taken place?11:33
\void left11:35
tobiasvl rasputozen: for rebase? what you're rebasing on top of11:35
rasputozen tobiasvl: i think i get it, so upstream is referring to the commit/branch on which the rebase is based on and will be 'upstream' after the rebase happens, is that correct?11:36
\void joined11:36
tobiasvl not sure I get that last part. a rebase doesn't change the upstream.11:37
dpyro joined11:37
tobiasvl a rebase changes a local branch, by basing it on upstream11:37
dpyro left11:37
barq What options do I have to complete this migration if it fails with that message?11:38
tester filter-branch doesnt seem to work11:39
bremner barq: what tool are you using to migrate?11:39
rasputozen ok, why is the term 'upstream' used in this context? What about the word 'upstream' describes this type of commit in the context of a rebase?11:39
barq git svn11:39
git svn clone http://my-project.googlecode.com/svn/--authors-file=users.txt --no-metadata --prefix "" -s my_project11:39
bremner you might try https://github.com/svn-all-fast-export/svn2git11:40
it's _much_ faster on large repos11:40
tester i mean it does every everything but it also deleted the damn file11:40
tobiasvl rasputozen: not sure I understand the question. are you just asking why it's called "upstream"?11:40
dreiss left11:40
barq thanks11:40
tobiasvl tester: what didn't seem to work?11:40
rasputozen tobiasvl: yes11:40
tester tobiasvl it changed history but literally removed the file afterwards..11:41
instead of leaving it as unstaged11:41
untracked even11:41
tobiasvl tester: that doesn't sound surprising, but it depends on what command you ran11:41
tester: did you not want to "remove a file completely" "like it never existed"? those were your words11:41
osse rasputozen: didn't i answer that?11:42
rasputozen osse: no, you used the word in the definition11:42
tobiasvl rasputozen: you have a local branch, and you have another set of changes that is authoritative. that kind of situation is usually described as an "upstream" and a "downstream" — changes flow down, like a river.11:42
rasputozen ok i see the analogy now11:43
osse rasputozen: I didn't attempt to define the word "upstream". I tried to explain why it says upstream there11:43
rasputozen was mixed up from the common usage referring to a remote repo11:43
osse: it wasnt clear to me, sorry11:44
tobiasvl rasputozen: https://en.wikipedia.org/wiki/Upstream_(software_development)11:44
rasputozen tobiasvl: ty11:44
escproxy left11:44
tobiasvl upstream, downstream, fork. git history is a river :P11:44
delta, even! hehe. no, jk.11:44
escproxy joined11:44
rasputozen ah i never put together the fork analogy11:45
in relation to a river at least11:46
tobiasvl tester: if you didn't want to delete the file, don't panic. you can probably still find the commits where the file existed in the reflog.11:46
beerdrop joined11:46
phinxy joined11:47
jready joined11:50
Dreadnaught joined11:52
Dreadnaught left11:52
Dreadnaught joined11:52
lalitmee left11:54
lalitmee joined11:54
barq bremner: I need to compile that myself, right? I have problems finding all of the dependencies for svn2git11:55
jready left11:55
Kulrak left11:55
bremner barq: yes, it's a bit of work to get compiled. But most linux distros include it afaik11:55
you could always spin up a vm for the conversion...11:56
MrMojit0 joined11:56
pity joined11:58
eduardas_m joined12:01
barq I'm running fedora in a vm12:01
czart__ joined12:01
duderonomy joined12:01
piggah joined12:02
cdown joined12:02
pity left12:03
czart_ left12:04
barq It says qmake needs some parameters12:05
I don't see any in the docs though12:05
synthroid joined12:05
rvgate joined12:06
lalit joined12:06
tester last thing for today12:06
adbjesus joined12:07
pfleck1 joined12:07
lalitmee left12:07
tester can i somehow "export" a git repository into some zip or tarball as a backup?12:07
something like pushing, but not to a remote repositoy12:07
wombawomba left12:08
pity joined12:08
bremner barq: in debian it's called svn-all-fast-export. fedora probably has it already compiled as well.12:09
lalit left12:09
osse tester: man git-bundle12:09
gitinfo tester: the git-bundle manpage is available at https://gitirc.eu/git-bundle.html12:09
lalit joined12:10
barq Can't find the package12:10
Not sure if it is still supported12:10
adbjesus left12:10
adbjesus joined12:10
Raging_Hog left12:11
lalit left12:11
adbjesus left12:12
lalit joined12:12
adbjesus joined12:12
zeroed left12:13
pp5mgt left12:14
pp5mgt joined12:15
shinnya joined12:17
nahtnam left12:19
mosab left12:19
lalit left12:19
mosab joined12:20
Singmyr joined12:20
pd2000 left12:21
jomofcw joined12:23
jomofcw Hello !12:23
I've rsync many repository from a previous server to another server. All is OK. But there, i try to "push" and it tells me that the repository isn't linked to a remote one. How can I rebuild the link, please ?12:23
osse jomofcw: git remote add <name> <url>12:24
rasputozen thats weird it wouldnt copy over the remote refs12:25
pity left12:25
jomofcw osse both of the repository is on the same machine so I have no URL... can I just type a path instead of a URL ?12:26
osse jomofcw: on second thought, if you rsynced a whole repo then the config file should follow, so there should already be a remote12:28
jomofcw: what does git remote -v say in both the old and new repo?12:28
zeroed joined12:28
jomofcw osse I didn't rsync the "master" repo... :X my bad, i'm doing it ^^.12:30
re1 left12:31
buggytom joined12:32
skisela joined12:34
adbjesus left12:35
pity joined12:35
adbjesus joined12:35
drodger left12:36
drodger joined12:37
jomofcw it works trully better now :D ! Thanks for your time osse :).12:39
lalit joined12:39
pity left12:40
Raging_Hog joined12:40
githubmgw joined12:40
pp5mgt left12:44
pp5mgt joined12:45
yn left12:45
ProfMac joined12:46
yn joined12:48
lalitlalitmee12:49
ghal_ joined12:50
adbjesus left12:50
fission6 joined12:52
finalbeta left12:53
finalbeta joined12:53
nikivi left12:57
doev2 joined12:57
Rr4sT left12:59
ghal_ left12:59
duderonomy left12:59
drodger left13:00
doev left13:00
mborgard joined13:01
madewokherd left13:02
eduardas_m left13:02
buggytom left13:02
barq I tried migrating with svn2git but it looks for some folder repository/format. Not sure why it is looking for this format but it causes an error. Haven't found a solution. Someone had the same problem here https://stackoverflow.com/questions/37117624/svn2git-migration-rules Any ideas?13:02
jcarpenter2 left13:04
jcarpenter2 joined13:04
pd2000 joined13:04
ghal_ joined13:05
rivalomega joined13:05
jready joined13:05
drodger joined13:05
kiero joined13:06
tjbp joined13:07
Karyon joined13:10
NerdyPepper left13:11
themill barq: a real rules file and the real output would be helpful. (There are several iterations of problem on that page and there's insufficient information to know what they are doing)13:11
bolovanos_ joined13:11
NerdyPepper joined13:12
barq I'm using the standard-rules13:12
paxri01 joined13:13
barq This is the output: https://ghostbin.com/paste/bfxh213:13
themill and the command?13:14
barq ./svn-all-fast-export ~/repository/ --rules samples/standardlayout.rules13:14
NerdyPepper left13:14
themill you need to give it a repo to act on13:14
jimmyrcom_ joined13:15
NerdyPepper joined13:15
barq I tried using a remote repo but got the same error13:15
pd2000 left13:15
themill it needs to be a local repo (and a repo, not a checkout)13:15
barq Including all branches and tags?13:16
mborgard left13:16
barq Not sure that fits on my drive13:16
themill repo not checkout13:16
barq so rsync it?13:16
cssko_ joined13:16
themill yes. often running it through svndumpfilter to trim it down as a first step, depending on what you've got in there13:17
jcarpenter2 left13:18
jcarpenter2 joined13:18
rf` joined13:18
weijin left13:18
weijin joined13:18
weijin left13:18
devbaka left13:19
cssko left13:20
rf left13:20
barq hmm, rsync doesn't work, since it's a remote repo13:21
duderonomy joined13:22
ewitz joined13:23
ghal left13:24
ghal_ghal13:24
jomofcw As said previously I've moved my repositories from a server to another. All seems to work well, but when I try to push my master branch from a user (not root) it load, load and load... but never succeed. If I abort the operation, my push is not recorded. Any idea why ? Is there any logs I can find about that ?13:25
rivalomega left13:26
mborgard joined13:26
tvale left13:26
jimmyrcom_ left13:26
piggah left13:27
mosab left13:27
shinnya left13:28
CodeSlingerPaul joined13:28
mosab joined13:28
jomofcw Here are the displayed informations : https://gist.github.com/jomofcw/351321e1c0b39e231ff35e0d6c02954d (I have to press CTRL+C to escape it.13:29
tvw left13:29
ewitz left13:29
manuelschneid3r left13:29
TSS_ joined13:30
manuelschneid3r joined13:30
miftestukas1 joined13:31
miftestukas1 left13:32
iliakan joined13:32
gitinfo set mode: +v13:32
iliakan Normally, rebase skips merge commits, right? Does it also ignore changes brought in by these commits?13:33
grawity no; it flattens everything into a linear history13:33
iliakan strange13:34
I have an example where it looses those changes.13:34
I also wonder why13:34
https://gist.github.com/fafc4d0005c9f391b9717c9d8a64831b13:35
it creates a small git structure13:36
then "git rebase master" rebases feature, but looses changes from D13:36
I mean: cat x.txt -> MERGED; git rebase master; cat x.txt -> Y13:36
isn't that strange? how come?13:36
Es0teric joined13:37
grawity oh, you mean an evil merge in which the merge commit *itself* introduces unrelated changes?13:38
rosa joined13:38
grawity that's likely going to happen, yes13:38
miftestukas1 joined13:38
miftestinis joined13:38
miftestinis left13:39
jomofcw Fixed, that was an access problem for user on my git repository13:39
oootteeer joined13:39
miftestukas1 left13:40
netj left13:40
oootteeer left13:40
netj joined13:41
iliakan grawity: evil?13:42
Karyon left13:42
iliakan grawity: it's evil only if introduces *unrelated* changes.13:42
otherwise it's not13:42
tvale joined13:42
iliakan it you add changes to correctly mix in the stuff, that's not evil13:43
anyway, why does it loose the changes?13:43
that's something not to be taken lightly ;)13:43
osse it loses the changes because it skips merges13:44
cdunklau joined13:44
tobiasvl this is intentional. to preserve merges, use --preserve-merges13:44
conflict resolution in a merge on an earlier base doesn't necessarily make sense on a new base13:45
iliakan tobiasvl: oh really?13:46
tobiasvl: and what if I say that --preserve-merges alsoo looses these changes? :)))13:46
osse: I thought it makes diffs of commits and applies them one by one13:46
cdunklau hi folks, is there a way to convice git to not make symlinks? I'd like to deploy static pages for a website using a post-receive hook, but i want to make sure that any symlinks in the repo don't get created in the webroot13:46
tt_ left13:46
jedix joined13:47
osse iliakan: correct, that's what it does13:47
iliakan osse: if I just skip merge commit, then the next commit should have the changess13:47
sorry, my keyboard sometimes doubles the keys13:47
osse iliakan: no because the next commit doesn't have that in its associated diff13:47
iliakan osse: what do you mean "assosiated diff"?13:47
diff commit vs parent?13:47
osse wyes13:47
which I hope is the same you meant13:48
miftestinis joined13:48
miftestinis left13:49
weijin joined13:49
riemann left13:49
blackpajamas joined13:49
martybr left13:50
iliakan here's the picture13:50
http://jmp.sh/x7SvHwN13:50
I thought, the diffs are:13:50
A vs X, X vs Y .. and then?13:50
(rebasing feature over master)13:51
Strepsils joined13:51
osse C vs B, E vs D13:51
martybr joined13:51
Flechette joined13:51
iliakan so, naturally what'ss done in D may be lost?13:52
osse yup13:52
iliakan that'ss only for "unnrelated changes"?13:52
D may have conflict solved13:52
some fixes13:52
miftesrinis joined13:53
miftesrinis left13:53
weijin left13:54
tobiasvl if there's a conflict, you'll have to resolve it. if you use rerere, it will probably remember how you resolved it last time and resolve it the same way13:54
osse what D does is jsut combine A vs X and X vs Y, and A vs B and B vs C. and all of those are already included individually13:54
madewokherd joined13:54
mosab left13:54
Strepsils left13:54
tobiasvl see man git rebase on --preserve-merges: "Recreate merge commits instead of flattening the history by replaying commits a merge commit introduces. Merge conflict resolutions or manual amendments to merge commits are not preserved."13:55
gitinfo the git-rebase manpage is available at https://gitirc.eu/git-rebase.html13:55
RougeR left13:55
mosab joined13:55
AndresInSpace joined13:55
FortunaTP left13:55
osse btw that's a nice picture. how did you make it?13:56
iliakan preserve-merges alsoo looses that code!13:56
osse: manually13:56
I'm writing a big screencast about git13:56
tobiasvl iliakan: yes, "Merge conflict resolutions or manual amendments to merge commits are not preserved." that's from --preserve-merges13:57
iliakan there are some tricky things it myself rarely meet, so I'm trying to figure out those to know for sure13:57
Raging_Hog left13:57
miftestukas joined13:57
iliakan well. So loossing conflict resolutionns and amendmends is normal for rebase13:58
miftestukas left13:58
miftestukas joined13:58
osse yes, but rebasing branches that have merge commits on them is not as normal, I dare say13:58
rosa left13:59
duderonomy left13:59
rosa joined13:59
blackmesa joined13:59
iliakan btw do you know the cookinng --recreate-merges flag?13:59
I wonder if it has the same problem14:00
webstrand joined14:00
miftestukas left14:00
tobiasvl what is cookinng?14:00
what flag is that?14:00
miftesa joined14:01
miftesa left14:01
iliakan not yet in the main git branch14:01
miftesa joined14:01
Raging_Hog joined14:01
miftesa left14:01
weijin joined14:02
permalac left14:02
tobiasvl oh14:02
miftesa joined14:02
iliakan tobiasvl: I've read about it in the mailing list not sure if it ever comes to prod or will be of any importance14:02
tobiasvl hadn't heard of it. I assume it's meant to do what you want then, not sure what else it could do which -p doesn't already do14:02
Strepsils joined14:04
mlopezviedma_mlopezviedma14:05
weijin left14:06
sarri joined14:08
sarri left14:08
sarri joined14:08
miftesa left14:10
PioneerAxon joined14:12
sarri left14:13
Raging_Hog left14:14
sarri joined14:14
sarri left14:14
sarri joined14:14
weijin joined14:14
pfleck1 left14:15
rafasc joined14:17
weijin left14:19
mlopezviedma left14:19
dendazen joined14:19
testnick123 joined14:20
linuxmodder joined14:21
lalitmee left14:21
qu4ku joined14:21
NonParity left14:21
jesst joined14:22
NonParity joined14:22
rosa left14:23
rosa joined14:24
D5N_ch3ck joined14:24
abba left14:25
Strepsil_ joined14:27
seschwar left14:27
rivalomega joined14:28
weijin joined14:28
dzn joined14:28
rypervenche Quick question. I have a coworker who didn't do a pull before working on a branch.14:29
oops, didn't mean to hit enter just yet.14:29
osse I forgive you, my child.14:30
nast joined14:30
Stummi doesn't matter. The answer is rebase ;)14:30
Strepsils left14:30
piggah joined14:31
tkore left14:31
doev2 left14:31
iliakan left14:31
tkore joined14:32
weijin left14:32
rosa left14:33
escproxy left14:35
Flechette left14:36
Flechette joined14:37
Zedka29 left14:37
mavrikant joined14:37
testnick123 left14:38
igemnace joined14:40
jesst left14:40
[Brain] joined14:40
JeroenT left14:41
lalitmee joined14:41
nast left14:42
AaronMT joined14:43
pp5mgt left14:45
pp5mgt joined14:46
_Mental joined14:47
sarri left14:49
Noldorin joined14:49
sarri joined14:51
sarri left14:51
sarri joined14:51
zefferno left14:51
contemno joined14:52
theoceaniscool joined14:52
amatas joined14:52
JJBby joined14:52
amatas left14:52
amatas joined14:53
JJBby I am learning git/hub and have updated my .gitignore file, I would like to remove the files/folders that have been saved, do i just do that manually or is there a way to use the ignore file to retroactively change the files that want to be ignored?14:54
contemno left14:54
JJBby also, where do i get parachute pants?14:54
contemno joined14:54
weijin joined14:54
Nizumzen left14:54
mattcen left14:55
dzho wat14:55
blackmesa left14:55
rvgate JJBby, so... you checked in files/dirs that you later added to your .gitignore, and now you want to remove them from version control ?14:56
dzho JJBby: 'git rm --cached filename'14:56
rvgate JJBby, for the parachute pants: https://parachute-pants.com/14:57
BhaveshSGupta[m] joined14:57
JJBby rvgate, yes that is exactly what I did. I started coding, learned version control, added a repo, then learned virtual enviroments which also got saved to the repo. I would now like remove those files as they have been added to the ignore list.14:58
mattcen joined14:58
Wetmelon joined14:58
JJBby dzho, so a simple rm --chached...then I need to push that?14:58
git/hub is still a bit confusing14:59
pd2000 joined14:59
rvgate JJBby, git is not the same as github... git is the version control tool, github is service providing repository storage14:59
surfist left15:00
JJBby rvgate, i do understand that. I know the local control is git. I am just synching with github.15:00
rafasc !remove_tracked15:00
hph^ left15:00
jready left15:00
dzho ...15:00
surfist joined15:01
osse !ignore_tr15:01
gitinfo [!ignore_tracked] Git only applies ignore patterns to untracked files. You can't use ignore patterns to ignore changes to files that are already tracked by git. To remove files only from git, but keeping them on disk, use git rm --cached <file>. Still, see https://gist.github.com/1423106 for ways people have worked around the problem.15:01
osse and you need to commit after15:01
dzho ah, there we go15:01
jready joined15:01
boombatower joined15:01
al-damiri joined15:02
weijin left15:02
texinwien joined15:02
Cavallari left15:02
akushner left15:04
Cavallari joined15:05
lalitmee left15:07
JJBby OK, since I am prone to messing things up and would also like to learn this, should i make a fork or branch and save that repo before rm-ing files?15:07
and once everything looks good and works can delete that fork/branch?15:08
jay-m left15:08
sanscoeur left15:08
synthroid left15:10
asgavar joined15:13
skisela left15:14
nhh^ joined15:14
tkore left15:14
_Mental left15:15
IanLiu joined15:15
Nokurn joined15:15
rfuentess left15:16
Strepsil_ left15:18
asgavar left15:18
mlopezviedma joined15:22
James0r2_ left15:22
rafasc JJBby: if that gives you peace of mind, sure. !backup15:23
gitinfo JJBby: 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/#backups15:23
thiago joined15:23
dzho JJBby: you may wish to make practice repos and work with them.15:23
loginoob joined15:23
rafasc you don't need to fork/clone again. you can just copy it locally.15:24
escproxy joined15:24
JJBby dzho, rafasc, Thanks! I was just looking through things like that!15:24
dzho to some extent you can treat github as just another git remote. To learn the differences between a git remote and Github specific things you may wish to clone from one directory to another, using the parent directory as the remote for the second, or even to set them up as remotes for each other bidirectionally.15:25
loginoob There is a development branch and one branch from development on which I'm working. Now development branch has changed from the time i made my working branch from development. Now I want to commit the working bnrach and merge it on development15:25
dzho you can then fetch, push, pull, merge, rebase, etc etc between them15:25
loginoob Is there a way to do that without coflicts15:25
justinmrkva_ joined15:26
loginoob I'm new to git so pardon my newbie question15:26
jstimm joined15:26
ams__ joined15:26
justinmrkva_justinmrkva15:26
dzho loginoob: you may wish to rebase your changes onto the other branch.15:26
dzho isn't great at getting rebasing right so that might be where I should let someone else chime in15:26
loginoob dzho: by doing rebase will there be no conflicts15:27
synthroid joined15:27
SpeakerToMeat left15:27
RougeR joined15:27
RougeR left15:28
RougeR joined15:28
rafasc loginoob: you'll have to solve them in the rebase process.15:28
dzho whether or not there may be conflicts really depends on the changes in question15:28
iliakan joined15:28
loginoob I don't know how to solve conflicts and there has been a substantial amout of changes in development branch, like more than 7-8 files have changed and more than 1000 line of code15:28
JJBby why does that feel so good to tidy up the repo?!?!15:28
dzho loginoob: then my recommendation to JJBby applies to you, too: you may wish to set up a practice set of repos so you can create and then learn to resolve conflicts.15:28
jready left15:29
dzho conflicts inhere from the files and changes in question, revision control can help you manage them, but it can't solve all of them for you.15:29
rafasc loginoob: !eek15:29
gitinfo loginoob: [!eekaconflict] Merge conflicts are a natural part of collaboration. When facing one, *don't panic*. Read "How to resolve conflicts" in man git-merge and http://git-scm.com/book/ch3-2.html#Basic-Merge-Conflicts then carefully go through the conflicts. Picking one side verbatim is not always the right choice! A nice video explaining merge conflicts: https://www.youtube.com/watch?v=zz7NuSCH6II15:29
loginoob ok, will practice15:30
jready joined15:30
dsantiago left15:30
mizu_no__ joined15:30
jready left15:30
jready joined15:30
dzho rafasc++15:31
rafasc loginoob: are you using a mergetool?15:31
dzho that's at least what? 2 for 3 on the gitinfo factoids? eek, backup vs ignore_tracked.15:31
dzho watches and learns :-)15:32
loginoob rafasc: no, i don't know what that is15:32
rafasc loginoob: have you ever resolved a conflict?15:32
loginoob once i tried and my senior has to pull his hair15:32
since then I'm scared15:33
mizu_no__ left15:33
rafasc dzho: make a backup of your repo and try to resolve.15:34
oops, wrong person.15:34
dzho :-)15:34
loginoob for me?15:34
dzho yes15:34
loginoob ok15:34
dsantiago joined15:35
dzho loginoob: make backups, but also keep in mind that you can do all sorts of things on local branches and if it doesn't work out you can delete them and no one will be the wiser15:35
piggah left15:35
dzho no one has to know :-)15:35
loginoob ok :)15:35
rafasc when you're in the coflict state, you can call $git mergetool; which will open a tool to make resolution easier.15:35
you may want to configure which tool git will use first.15:36
loginoob vscode has something like HEAD>>>>>> incoming change<<<<< something like that. Is that the same as mergtool?15:36
akushner joined15:37
dzho those are markers made in the files themselves to show where the conflicts are and where they are coming from15:37
rafasc $git mergetool --tool-help;15:37
floppydh left15:37
dzho (in the working copies of the files, that is)15:37
loginoob ok will look more into mergetool15:37
linuxmodder left15:38
rafasc loginoob: you resolve them manually my editing the file into the appropriate state (by removing the <<< >>> lines and fixing the code involved in it)15:39
and mark the conflict as resolved by running git add <file>15:39
be sure to resolve all conflicts in the file before marking the file as resolved.15:40
neunon left15:40
KeyJoo joined15:40
dzho but beware, you can add and commit a file that still has conflicts in it. This just asserts to git that you've done the right thing. Git can't actually read your code and tell whether you've done the right thing.15:40
yeah.15:40
zeroed left15:40
dzho it will be happy to take your word for it. your senior probably won't :\15:41
phluks joined15:42
pp5mgt left15:43
Myk267 joined15:43
amatas left15:43
pp5mgt joined15:43
loginoob Will try after taking backup :)15:45
loginoob left15:45
oojacoboo joined15:45
amatas joined15:46
SpeakerToMeat joined15:47
yaymukund joined15:47
yaymukund is there a nice way to sort the output of `git grep` by filesize?15:48
_ikke_ not that I'm aware of15:49
hbautista joined15:49
Moistmelon joined15:49
yaymukund wish i had more cli fu ._.15:49
_ikke_ git pays very little attention to file sizes15:49
rafasc yaymukund: tell us what are you trying to do, rather than how.15:50
dreiss joined15:50
yaymukund i'm trying to look at the smallest files in my repo containing a string?15:51
Wetmelon left15:52
yaymukund basically, wanting to work on a giant refactor of some function and start with small examples and work my way up to bigger ones. ive had to do the opposite as well to find especially egregious uses of a function, because sometimes it makes more sense to start with the worst code15:52
MrBiogene joined15:53
yaymukund not very complicated. ive had this itch many times, which is why I thought to ask. I'll probably write a script at some point15:54
cagomez joined15:55
FortunaTP joined15:55
rafasc probably use blame to navigate back until you find a suitable place to branch out and refactor.15:55
git log -L is also nice for this kind of stuff.15:56
steeze joined15:56
gareppa left15:57
kes joined15:57
cagomez left15:57
cam27 joined15:58
happy-dude joined15:58
SweatyMalone joined15:58
cagomez joined15:58
ContessaTP joined15:58
cYmen_ So, I accidentally added another repo to my git repo. Git tells me to rm --cached but that gives error: the following file has staged content different from both the15:58
yaymukund lol thanks, i guess i was approaching it all wrong15:58
alcohol joined15:58
cYmen_ er ... file and the HEAD:15:58
neunon joined15:59
Flechette left15:59
rafasc yaymukund: git grep -O'du -sh' 'help'; hacking the pager options for calculating the size. :D16:00
FortunaTP left16:00
steeze left16:01
thiago cYmen_: you need -f16:01
cYmen_ thiago: can you explain what git is trying to tell me?16:01
Moistmelon left16:01
cYmen_ I don't get what seems to be in which state and why...16:01
yaymukund rafasc: ahahaha amazing!!16:01
piggah joined16:05
blackmesa joined16:05
flaviodesousa left16:05
rafasc yaymukund: but keep in mind that git grep doesn't grep the history. Check man git grep; for details what's included.16:05
gitinfo yaymukund: the git-grep manpage is available at https://gitirc.eu/git-grep.html16:05
zeroed joined16:06
ki0 joined16:08
jim left16:10
crtcji joined16:10
crtcji left16:10
crtcji joined16:11
escproxy left16:11
yaymukund rafasc: that makes sense. i'm only interested in the current state of the repo to get a lay of the land. thank you for the help -- that's a neat little trick xD16:11
thiago cYmen_: it means the file in the staging area is different from the one in the worktree16:11
cYmen_: you must have modified the file that you're trying to delete16:11
noobineer joined16:11
noobineer left16:12
TomyWork left16:14
igemnace left16:14
noobineer joined16:15
Es0teric left16:16
piggah left16:17
crtcji left16:18
Es0teric joined16:18
zeroed left16:18
piggah joined16:19
cYmen_ thiago: but the file in questions is the folder of the repo that I accidentally added and I definitely didn't change anything there ever, let alone since adding it :)16:19
kiero left16:19
zeroed joined16:20
a--m joined16:23
drodger left16:24
drodger joined16:26
figurehe4d left16:27
drodger left16:27
ki0_ joined16:27
ki0_ left16:27
weijin joined16:27
ki0_ joined16:27
durham joined16:28
jost joined16:28
Zedka29 joined16:30
awygle so "git show" will show me the diff of a commit object16:30
and "git show <commit>:file" will show me the _contents_ of a file _at_ a commit16:31
ki0 left16:31
awygle but how can i see the diff of a _file_ at a commit? the changes the commit made to the file?16:31
tester git blame i think16:31
it should show you which commit changed which line inside a file16:31
weijin left16:32
piggah left16:32
Moistmelon joined16:32
freimatz joined16:32
rafasc or git diff commit commit^ -- file-in-question16:32
nowhereman_ left16:32
acidjnk left16:32
mosab left16:33
drodger joined16:33
rafasc reversed the order of commits there.16:33
Darcidride_ joined16:33
mikecmpb_ left16:33
MurkyLizard left16:33
zeroed left16:33
awygle counts slowly to ten16:34
awygle rafasc's suggestion works, thank you.16:34
weijin joined16:34
rafasc awygle: you use the same idea with git flow16:34
git show*16:34
git show -- path-in-question16:34
bubo left16:35
SpeakerToMeat left16:35
awygle rafasc: oh that's *much* less infuriating, thanks!16:35
SweatyMalone left16:35
rafasc awygle: how high did you count to?16:35
nahtnam joined16:35
beaky joined16:35
Zedka29 left16:35
SpeakerToMeat joined16:36
piggah joined16:36
thiago left16:37
AlienBlood joined16:37
blackmesa left16:37
zeroed joined16:38
weijin left16:38
Lunatrius left16:39
SwiftMatt joined16:39
jomofcw left16:39
AlienBlood left16:40
Praxi joined16:40
rypervenche So is it my understanding that a git merge keeps all of the commits (I previously thought it did a squash) and then adds a new commit to show which commits belong to that merge? I can see it clearly in my git lg.16:41
igemnace joined16:41
rypervenche I'm asking because I would like to remove the merge, but turn it into a rebase, if that makes sense. Or just keep all of the commits from that merge without the merge commit. Is that possible?16:42
fission6 left16:42
awygle so i have a commit which introduces some correct functionality changes but also a bunch of unnecessary reformatting. i'd like to "rewind" my branch back to that commit, undo all the formatting changes, then "fast foward" back to the "present". how can i do that? i suspect i need some kind of rebase, possibly rebase -i?16:43
SwiftMatt left16:44
Lunatrius joined16:45
marcerisson left16:45
orbyt_ joined16:46
rokups left16:46
rypervenche awygle: git rebase -i <commit-id> should work. Use git log to go to the commit just before you the first commit you need to make changes to.16:47
awygle: You can use "edit" on the commits that you want to actually edit.16:48
awygle rypervenche: cool, thanks16:48
rypervenche Instead of "pick"16:48
rafasc rypervenche: careful about reverting a merge. !revert_merge16:48
gitinfo rypervenche: [!faulty_merge] If you have published a merge commit that turned out to be faulty and you'd like to get rid of it, you're probably not going to have a good time. Here's the full story: https://raw.github.com/git/git/master/Documentation/howto/revert-a-faulty-merge.txt16:48
TomyLobo joined16:48
rafasc if possible, you should be able to just reset the branch to a commit before the merge, then do the rebase as usual.16:49
rypervenche rafasc: I hate the guy who is writing the code in this repo ; ;16:49
He's commited other things after the fact, even though I told him to stop making changes.16:49
zeroed left16:49
tvale left16:50
sanscoeur joined16:50
rafasc well, sometimes it's easier to just live with a ugly merge.16:51
snappy joined16:51
rypervenche Yeah :/ I guess I might have to do that.16:51
snappy left16:51
snappy joined16:51
rypervenche My OCD ... :(16:52
awygle rypervenche: hm i was hoping the changes that constituted the commit would be present, but unstaged, when i did this rebase. is there a way to make that happen?16:52
englishm_work joined16:52
rypervenche I would have been able to do that, had he not made consequent commits. Although I think I can manually recreate those without problem. So I think so, yes.16:53
rafasc awygle: you can copy them into your working directory in the middle of rebase. git checkout orig_commit -- file16:53
no_maam joined16:53
awygle rafasc: oh jeez. yeah okay i guess that works lol. thanks16:53
zeroed joined16:54
palmtree joined16:55
awygle rafasc: actually that doesn't seem to be working... do i need to check them out of the _next_ commit?16:56
SpeakerToMeat left16:56
awygle git checkout <commit i'm currently on in the rebase> -- <file that's definitely changed in the original version of this commit> doesn't seem to do anything16:57
rafasc awygle: you need to checkout from the commit the files existed in the state you want.16:57
awygle ohhh these files _do_ already exist they just don't show up as modified in the index. okay.16:58
escproxy joined16:58
rafasc awygle: checking out from the current commit will just copy the files from the current commit. Discarding any uncommitted changed in your working directory.16:59
afuentes left16:59
awygle yeah i just didn't mentally model the current commit as "existing" i guess17:00
rafasc awygle: I like to use -p. To have more fine control over what's being checked out.17:00
SpeakerToMeat joined17:01
Soni joined17:01
weijin joined17:02
kurkale6ka left17:02
D5N_ch3ck left17:04
btree joined17:09
btree left17:09
Doginal_ joined17:10
fission6 joined17:10
Doginal left17:10
Doginal_Doginal17:10
weijin left17:11
pd2000 left17:11
naqued left17:13
zeroed left17:13
zeroed joined17:14
thiago_ joined17:15
pd2000 joined17:15
theoceaniscool left17:15
piggah left17:16
dviola joined17:18
kgrimes joined17:19
brontosaurusrex left17:20
yaymukund left17:21
zeroed left17:22
texinwien_ joined17:24
ferdna joined17:25
TomyLobo2 joined17:26
linuxmodder joined17:27
texinwien left17:27
_ADN_ left17:27
linuxmodder left17:27
rypervenche Is there any reason to want to keep the same commit ID for a commit that I want to cherry-pick? I reset back to an old commit and fixed my issue, and now want to readd two commits. It works with cherry-pick, but is there a way to do it without rewriting the commit ID or am I just being silly?17:28
linuxmodder joined17:28
ferdna left17:28
zeroed joined17:29
linuxmodder left17:29
grawity it's impossible by definition of a "commit ID"17:29
TomyLobo left17:29
rypervenche I was thinking how rebase does it.17:30
grawity it doesn't17:31
rypervenche Does it not keep the same commit ID?17:31
grawity no17:31
causasui joined17:31
rypervenche Oh. I learned something new then. That would explain a few things. Thanks :)17:31
rafasc rypervenche: cherry-pick -ff17:31
grawity if you change anything -- contents, parents, commit message, timestamp -- the commit ID will also change17:31
causasui left17:31
causasui joined17:31
rafasc but only works on very specific circumstances.17:31
King_Hual left17:31
grawity because the commit ID is a hash of all those contents17:31
ki0_ left17:32
rafasc due the reasons grawity mentioned.17:32
zeroed left17:33
linuxmodder joined17:33
venmx left17:33
freimatz left17:34
jnavila joined17:34
ki0 joined17:35
mikecmpbll joined17:36
pd2000 left17:43
dzn left17:43
duderonomy joined17:44
pd2000 joined17:44
duderonomy left17:44
rivalomega left17:44
rivalomega joined17:45
acidjnk joined17:47
Rodya_ joined17:47
cdown left17:48
Rodya_ left17:48
troulouliou_div2 joined17:50
bubo joined17:50
rivalomega left17:50
g00s joined17:50
rypervenche rafasc: It's all good. I fixed it all. Thanks for everyone's help. :)17:51
freimatz joined17:52
jnavila left17:54
rivalomega joined17:55
cam27 left17:56
dsantiago left17:56
gareppa joined17:57
jungsubk joined17:57
bongozig joined17:57
widp left17:58
linuxmodder left17:59
pd2000 left17:59
pd2000 joined18:00
Sasazuka joined18:02
robotroll joined18:03
linuxmodder joined18:03
qu4ku left18:06
fr33domlover left18:08
kes left18:08
Mike11 joined18:09
MarioBranco left18:10
pd2000 left18:13
pd2000 joined18:13
linuxmodder left18:13
ghoti joined18:14
pd2000 left18:14
palmtree left18:15
pd2000 joined18:15
pd2000 left18:15
applecrumble joined18:19
dragoonis left18:22
sauvin left18:22
robotroll left18:23
rafasc anyone knows where I can find the scripts junio mentions here: git::../blob/master/Documentation/howto/maintain-git.txt#L13818:24
gitinfo Git web link: https://github.com/git/git/commits/../blob/master/Documentation/howto/maintain-git.txt#L13818:24
avar rafasc: in the todo branch18:25
rafasc thanks.18:26
buggytom joined18:26
rafasc i feel stupid. It's right below the line I linked.18:30
jnavila joined18:32
rivalomega left18:34
mikecmpbll left18:36
ferdna joined18:39
dimi1947 joined18:39
dimi1947 left18:39
dimi1947 joined18:40
linuxmodder joined18:40
venmx joined18:41
jready left18:42
CheckDavid joined18:43
abra0 left18:43
ki0_ joined18:43
wootehfoot joined18:43
ki0_ left18:43
abra0 joined18:44
wandering_vagran left18:45
jrm left18:45
jnavila left18:46
ki0 left18:47
dpyro joined18:47
wandering_vagran joined18:49
nielsk joined18:50
duderonomy joined18:50
drodger left18:50
Dougie187 joined18:51
weijin joined18:52
orbyt_ left18:53
hbautista left18:53
linuxmodder left18:53
hbautista joined18:54
ProfMorsa joined18:54
fr33domlover joined18:55
linuxmodder joined18:56
mel00010 left18:56
drodger joined18:56
applecrumble left18:56
TinkerT left18:56
nd_ joined18:57
weijin left18:57
garo I have a repo that until now is only used by me. Now I'm going to let others clone it.18:57
cagomez left18:58
garo But the problem is that my code contained hardcoded passwords for a long time that were only removed a couple of commits ago18:58
Es0teric left18:58
nd left18:58
weijin joined18:58
MissMiew joined18:58
MissMiew left18:58
jrm joined18:58
madewokherd left18:58
cagomez joined18:58
applecrumble joined18:59
TinkerT joined18:59
grawity 1) change those passwords on the service itself so that the old ones become useless18:59
2) !filter_sensitive18:59
gitinfo You can use filter-branch to remove sensitive data from a repository's history. https://help.github.com/articles/remove-sensitive-data/18:59
duderonomy left18:59
badloop joined18:59
garo thanks ! ( is filter_sensitive and filter-branch the same ? )19:00
troyt joined19:00
badloop is there an accepted walkthrough for setting up git to work through an socks proxy? having some trouble getting it set up and there appear to be conflicting methods of making it work (none of which are working for me... lol)19:00
m0viefreak joined19:01
duderonomy joined19:02
amatas left19:02
weijin left19:03
dreiss left19:03
cagomez left19:03
rafasc garo: filter_sensitive is just the trigger for that message.19:04
kgrimes left19:04
grawity badloop: are you proxying SSH, HTTP(S), or git:// connections?19:04
Es0teric joined19:04
rivalomega joined19:04
dimi1947 left19:05
duderonomy left19:05
nanga left19:08
rh10 left19:10
mel00010 joined19:10
retromode joined19:13
mel00010 left19:13
bl0m1 joined19:14
badloop grawity: git://19:17
retromode hello. i have 2 commits i have that id like to create into a patch to email. when i use 'git format-patch -2' patch files are created for commits HEAD-1 and HEAD-2 rather than HEAD and HEAD-1. is there some option i need to specify to create a patch out of the latest commit?19:19
SpeakerToMeat left19:20
mel00010 joined19:21
dege joined19:21
MoistmelonWetmelon19:21
_ikke_ retromode: Are you sure? I would expect it to use HEAD and HEAD~119:21
retromode pretty sure yep, using git log i see HEAD and HEAD~1, but when i try to create the patch files with that command i see the commit messages from HEAD~1 and HEAD~2 instead19:22
cdown joined19:23
venmx left19:25
_ikke_ Just verified it locally, and for me it used HEAD and HEAD~119:25
wandering_vagran left19:25
rafasc verified too. agrees with _ikke_19:26
_ikke_ retromode: it would be very strange for git to skip HEAD in such a way19:26
rafasc $git rev-parse HEAD;19:26
daurnimator left19:26
rafasc maybe HEAD is not where you think it is?19:26
hbautista left19:27
retromode hmm19:27
MacWinner joined19:27
SwiftMatt joined19:27
retromode if i do 'git log', is the first commit HEAD19:27
HEAD?*19:27
_ikke_ The top most19:27
buggytom left19:28
gareppa left19:28
retromode yep top most19:28
ah19:28
if its a merge, will that not create a patch out of that commit?19:29
_ikke_ ah, that might explain it, yes19:29
cYmen_ How do I show the changed files in a commit?19:29
_ikke_ cYmen_: git show --name-only <commit>19:29
retromode _ikke_ whats weird is that HEAD~2 is also a merge19:29
cagomez joined19:29
_ikke_ hmm19:30
cYmen_ _ikke_: thank you19:30
_ikke_ cYmen_: if you want the status as well, you can use --name-status\19:30
(without \)19:30
rafasc maybe it will skip merges that don't conflict.19:31
git log -p19:31
my guess is that the first won't have a diff, the second will.19:31
jnavila joined19:32
jungsubk left19:32
akushner left19:32
weijin joined19:33
nikivi joined19:34
cYmen_ _ikke_: doesn't really make a difference, just wanted to find what people were working on19:34
cagomez left19:35
retromode rafasc: that IS the case...19:35
JJBby any prefered sites in this IRC for screenshots?19:35
Gurkenglas left19:36
nanga joined19:37
nanga left19:37
nanga joined19:37
Doginal left19:37
mckendricks joined19:37
weijin left19:38
LeMike left19:40
mel00010 left19:40
LeMike joined19:40
Gurkenglas joined19:40
bluepixel left19:40
TomyLobo2 left19:41
Murr- joined19:41
metts left19:41
madewokherd joined19:41
ferdna left19:41
TomyLobo2 joined19:42
hbautista joined19:42
metts joined19:42
ghost43 left19:42
JJBby I am struggling to set the Push to the github repository https://snag.gy/2BGi4T.jpg19:42
math-alpha joined19:42
Arcaelyx_ joined19:42
ghost43 joined19:43
TomyLobo3 joined19:43
Bobdude joined19:43
infinisil left19:43
canvon_ joined19:43
canvon left19:44
Murr left19:44
testnick123 joined19:45
dakar joined19:45
Arcaelyx left19:45
SwiftMatt left19:45
infinisil joined19:45
cagomez joined19:45
steven joined19:46
mckendricks left19:46
LeMike_ joined19:46
pks left19:46
Nerdmind joined19:46
TomyLobo2 left19:46
piggah joined19:47
gruetzkopf joined19:47
SpeakerToMeat joined19:47
_ikke_ JJBby: Did you rewrite history (commit --amend, reset, rebase, or something like that)?19:47
Or did someone else push to that repo?19:47
TomyLobo joined19:47
bluepixel joined19:47
fk joined19:47
tang^ joined19:47
devilirium joined19:48
LeMike left19:48
TomyLobo3 left19:49
JJBby No one else has touched it. I have done a lot of dumb stuff to it i would guess trying to find help in forums19:49
quizzi left19:49
JJBby I have rm origin.19:49
Cybergeek joined19:49
MrMojit0 left19:49
Ragnor joined19:50
cagomez left19:50
piggah_ joined19:50
_ikke_ !transaction19:51
nikivi left19:51
_ikke_ !!transcript19:51
!transcript19:51
gitinfo Please paste (using https://gist.github.com/ or similar) a transcript ( https://git.io/viMGr ) of your terminal session so we can see exactly what you see19:51
pks joined19:51
TomyLobo left19:52
piggah left19:52
quizzi joined19:52
netj left19:53
netj joined19:53
mel00010 joined19:53
phluks_ joined19:53
phluks left19:54
vdamewood joined19:54
orbyt_ joined19:54
JJBby https://gist.github.com/JJBby/951424e9842d5fccbc7739fe148b08f319:54
Es0teric left19:54
vdamewood left19:55
skisela joined19:56
minionofgozer left19:56
JJBby I have to run an errand. Be back soon19:56
doubtful joined19:57
Puffball left19:57
Es0teric joined19:57
SpeakerToMeat left20:00
SpeakerToMeat joined20:02
pionen joined20:02
axc left20:02
hbautista left20:02
cagomez joined20:03
max3 joined20:03
kurkale6ka joined20:03
sometwo joined20:03
weijin joined20:03
Darcidride_ left20:04
kgrimes joined20:04
minionofgozer joined20:06
dragoonis joined20:07
retromode left20:07
doubtful left20:08
troulouliou_div2 left20:08
weijin left20:08
theoceaniscool joined20:09
Mike11 left20:09
jfr_ joined20:10
jfr left20:10
dragoonis left20:12
ProfMorsa left20:14
ProfMac left20:15
math-alpha left20:16
doubtful joined20:16
utrack joined20:20
minionofgozer left20:21
kurkale6ka left20:21
pp5mgt left20:22
gitinfo set mode: +v20:22
Lipoly I have a question about rebasing vs. merging. If we rebase, then I've read that we'll get a more linear version history. But, we'll also see every little commit that was made on a branch, correct? This is both good and bad, in my opinion. It is helpful for tools like bisect, but it really clutters the history when a lot of times a nice "squashed" commit message is more informative about the overall task which was completed...20:22
Are there any tools that allow viewing version history and collapsing a group of re-based commits? Or, am I perhaps just incorrect about how this will work?20:22
githubmgw left20:22
pp5mgt joined20:23
qu4ku joined20:23
minionofgozer joined20:23
_ikke_ Depending on how many commits it involves, but a squash commit can also clutter a lof changes togehter20:24
Lipoly: I usually use merge + rebase20:24
They're not mutually exclusive20:24
ams__ left20:25
_aeris_ left20:25
duderonomy joined20:26
duderonomy left20:26
xaxxon joined20:26
_aeris_ joined20:26
theology joined20:27
texinwien_ left20:27
theology if i have a file called password.txt and I put password.txt in my .gitignore, will git ignore my password.txt?20:28
cheater joined20:28
cheater hi20:28
Fernando-Basso left20:28
Brilpikk3wyn joined20:28
cheater what is git -H on this page? https://docs.gitlab.com/ee/raketasks/backup_restore.html it's here: sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production20:28
blackpajamas left20:29
avar theology: yes20:31
theology avar, hurray20:31
avar cheater: it's an option to sudo, "man sudo"20:32
cheater ah duh20:32
avar gitlab runs git stuff as the "git" user, that command isn't running git (except maybe indirectly through rake)20:32
texinwien_ joined20:33
linuxmodder left20:36
doubtful left20:36
skisela left20:37
weijin joined20:39
rafasc left20:39
sat-aton left20:39
qu4ku left20:39
rafasc joined20:40
doubtful joined20:40
linuxmodder joined20:40
linuxmodder left20:41
linuxmodder joined20:41
Phylock left20:42
kurkale6ka joined20:42
fmgt joined20:42
fmgt left20:43
weijin left20:43
troulouliou_div2 joined20:44
troulouliou_div2 left20:45
cstratak left20:46
pp5mgt left20:47
kurkale6ka left20:47
doubtful left20:47
weijin joined20:48
pp5mgt joined20:48
freimatz left20:48
Phylock joined20:49
esc joined20:49
esc left20:49
esc joined20:49
netj left20:50
netj joined20:50
doubtful joined20:50
synthroid left20:51
doubtful left20:51
testnick123 left20:51
doubtful joined20:52
CheckDavid left20:52
weijin left20:52
sat-aton joined20:53
sat-aton left20:53
sat-aton joined20:53
paxri01 left20:55
troulouliou_div2 joined20:56
saml joined20:56
saml A - B - C - D -> A - C - D how do I do it? A - B is a different branch20:57
linuxmodder- joined20:57
saml git rebase --onto A C D didn't do what I wanted20:57
_ikke_ git rebase --onto A B D20:59
wootehfoot left20:59
rafasc or, rebase --onto A C^ D;20:59
linuxmodder left21:00
saml ah i see. i had to go one commit back21:00
thanks21:00
hbautista joined21:01
oprypin gee just write git rebase -i and let it do its thign21:01
nowhereman_ joined21:01
rebrec left21:03
rebrec joined21:03
widp joined21:03
kgrimes left21:04
dpyro left21:05
dpyro joined21:06
jnavila left21:06
pawnshop joined21:08
kgrimes joined21:08
foul_owl_ left21:10
contemno left21:12
kgrimes left21:13
hbautista left21:14
hbautista_ joined21:14
weijin joined21:14
dviola left21:14
texinwien_ left21:15
fission6 left21:15
texinwien_ joined21:16
hbautista_ left21:16
hbautista_ joined21:16
Cavallari left21:18
weijin left21:19
mod joined21:19
englishm_work left21:20
mod I had 3 files as pending renames. When I did a git add ., one of the renames became a delete/add, and the other 2 remained as renames. Any idea why the designation might have changed?21:20
cYmen joined21:21
kgrimes joined21:22
weijin joined21:25
cdown_ joined21:26
phluks_ left21:27
cdown left21:29
cdown_cdown21:29
weijin left21:29
sostenuto joined21:29
fission6 joined21:30
doubtful left21:31
z|bandito joined21:34
rafasc mod: does it also contain changes other than the rename?21:34
git rename heuristic works best when the move is done separately from changes to the file.21:35
iliakan left21:35
doubtful joined21:36
githubmgw joined21:37
Es0teric left21:38
thiago_thiago21:40
ki0 joined21:40
AndresInSpace left21:40
doubtful left21:41
texinwien_ left21:41
doubtful joined21:41
dreiss joined21:41
doubtful left21:42
Singmyr left21:42
linuxmodder joined21:43
Timvde mod: Git doesn't know renames, it compares file content and marks a delete/add as a rename if they are alike21:43
linuxmodder left21:44
tec__ joined21:44
Timvde see git diff -M21:44
linuxmodder joined21:44
linuxmodder- left21:45
asphyxia left21:45
manuelschneid3r left21:45
Fernando-Basso joined21:46
ProfMac joined21:46
escproxy left21:47
doubtful joined21:49
weijin joined21:51
linuxmodder left21:53
weijin left21:56
maryo left21:56
mod Timvde, hmmmm21:57
#renamed: Service/AenGuestMonthlyNotifier.php -> Service/AenGuestRecipientNotifier.php21:57
#renamed: Service/AenMcadDailyNotifier.php -> Service/AenMcadExpirerNotifier.php21:57
#deleted: Service/AenMcadMonthlyNotifier.php21:57
#new file: Service/AenMcadRecipientNotifier.php21:57
That's output from git status ...21:58
Whatever it does on the underside, it seem to understand the concept of renaming21:58
Cork left21:59
rafasc mod: what Timvde said is true. It's just a heuristic. It doesn't actually record what happened was a rename.22:00
kurkale6ka joined22:00
maryo joined22:00
energizer joined22:01
rafasc if the content looks the same (up to some percentage) git says it's a rename.22:01
dege left22:05
Cork joined22:06
Zedka29 joined22:07
mckendricks joined22:08
mod weird though, that 2 are called renames and one is called a delete/new?22:08
rafasc git diff --cached --name-status -M5%22:09
orbyt_ left22:09
rafasc try with different percentage values. You'll see the designation will change.22:09
Guest21 joined22:10
foul_owl joined22:10
rafasc what's probably happening here is that your changes to the new/deleted pair, makes it less than the default 50% similarity index.22:10
axc joined22:11
theoceaniscool left22:11
ki0 left22:12
SpeakerToMeat left22:12
plexigras left22:13
\void left22:14
linuxmodder joined22:14
mborgard left22:15
ocds joined22:16
orbyt_ joined22:16
dragoonis joined22:17
foul_owl left22:17
xaxxon left22:17
dragoonis left22:17
linuxmodder left22:18
pfleck1 joined22:19
mod rafasc, ah intersting22:19
Thanks rafasc, Timvde22:20
Guest21 left22:20
mod I won't sweat it :)22:20
rivalomega left22:20
mod Speaking of complaining about rushing into things22:21
oops sorry ww22:21
mattcen left22:23
mckendricks left22:23
doubtful left22:24
rivalomega joined22:24
widp left22:24
mattcen joined22:25
fission6 left22:25
weijin joined22:26
rivalomega left22:26
rivalomega joined22:26
Tototiti joined22:26
Tototiti left22:27
bolovanos left22:27
bolovanos_ left22:27
weijin left22:30
foul_owl joined22:31
Tobbi left22:31
xaxxon joined22:31
venmx joined22:32
weijin joined22:32
_Mental joined22:33
Dougie187 left22:33
foul_owl left22:37
troulouliou_div2 left22:37
weijin left22:37
de-vri-es joined22:37
dzn joined22:37
Raed|Laptop joined22:37
mborgard joined22:38
mikecmpbll joined22:39
duderonomy joined22:42
kurkale6ka left22:43
keegans joined22:45
keegans how can i download https://git.webkit.org/?p=WebKit.git;a=summary (WebKit) at a certain tag without downloading the entire repo22:45
like a shallow clone at a commit sha22:45
schleppel left22:46
duderonomy left22:47
solaris joined22:49
foul_owl joined22:50
Kaisyu joined22:50
netj left22:50
netj joined22:51
rafasc check clone --shalow-exlcude22:51
keegans: git clone --shallow-exclude=v1.5 https://urls22:52
AaronMT left22:52
rafasc this will clone the history after 1.522:52
sz0 joined22:52
_Mental left22:53
orbyt_ left22:53
keegans rafasc: right-- but there is no branch/release or anything on webkit22:55
so if i'm going to lock it, it has to be at a commit sha22:55
i.e.: there are no branches or tags22:56
rafasc keegans: would shallow --shallow-since=<date> work for you?22:57
keegans well, then in two years the download is going to be 1gb again, right?22:58
Zialus joined22:58
drodger left22:58
keegans can i shallow-since + depth 1 or something? hmm22:58
orbyt_ joined22:58
xaxxon left22:58
kurkale6ka joined22:58
Raed|Laptop left22:59
drodger joined23:00
orbyt_ left23:00
applecrumble left23:01
leeN left23:01
hbautista_ left23:01
nhh^ left23:02
acidjnk left23:02
Vampire0 joined23:03
hph^ joined23:03
Vampire0 left23:03
xcm left23:04
finalbeta left23:04
schleppel joined23:04
xcm joined23:04
weijin joined23:05
_ikke_ left23:08
weijin left23:10
CodeSlingerPaul left23:11
Phylock left23:12
energizer left23:13
_ikke_ joined23:13
shinnya joined23:19
venmx left23:21
rwb joined23:22
axc left23:26
_ikke_ left23:28
rivalomega left23:29
SpeakerToMeat joined23:29
englishm_work joined23:30
weijin joined23:31
rivalomega joined23:32
rafasc left23:32
pp5mgt left23:34
pp5mgt joined23:35
weijin left23:35
phinxy left23:36
mborgard left23:37
_ikke_ joined23:37
pionen left23:37
rivalome_ joined23:38
duderonomy joined23:38
doubtful joined23:40
ocds left23:41
rivalomega left23:42
rivalomega joined23:44
rafasc joined23:46
mborgard joined23:46
rivalome_ left23:47
flippedouttt joined23:48
m0viefreak left23:48
serialoverflow joined23:48
Church-MrBurns23:49
doubtful left23:51
kurkale6ka left23:53
kurkale6ka joined23:53
Fernando-Basso left23:55
Eugene keegans - if you don't actually want history, you can use `git archive --remote=<repo>` to obtain a tarball23:56
Your remote will need to support this; I'm unsure if it works with gitweb / smart HTTP or if you'll need git:// or ssh:// access(ie, git-send-pack)23:57
See also: !deploy23:57
gitinfo Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html23:57
doubtful joined23:59

Logs Search ←Prev date Next date→ Channels Documentation