IRCloggy #git 2014-09-14

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.

2014-09-14

fstd left00:00
geri and cant resolve it now00:00
lasers left00:00
fling joined00:00
diegoviola joined00:00
fstd joined00:00
jftf left00:01
gfixler geri: git log -- filename00:02
i.e. see if that file exists in any commit00:02
if it's in a folder, do git log -- foo/bar/filename00:02
geri fatal: ambiguous argument 'training.txt': unknown revision or path not in the working tree.00:03
Kamilion joined00:03
gfixler was it in the folder you're in right now?00:03
geri ok00:03
seems the file got added to the repo00:03
git log training.txt commit 111870788112d53668ec229cc3a556be41c8c44800:04
gfixler ok00:04
geri which is really bad00:04
gfixler how long ago was 11187?00:04
geri i added it two times:00:04
commit 4e1b6bb0182c589c38a7f4dce384cc5d8c75715d00:04
damm everything is broken nice!00:05
gfixler added twice, or added, then modified or moved?00:05
geri i didnt modifiy it00:05
i just tried to delete it00:05
but that didnt work for some reason00:05
gfixler is this far back in history, or only a few commits?00:05
LLaurent left00:05
gfixler you can `git log`, then `/111870` to find it00:05
geri a few commits00:05
gfixler that's not too bad then00:06
davispuhh left00:06
gfixler was it the only thing added in that commit?00:06
geri no00:06
i added 2 more files00:06
which where too big00:06
git log svm_model commit e96d72945f929e450a39f6da404bca6a2f6d20af00:06
commit 4e1b6bb0182c589c38a7f4dce384cc5d8c75715d00:06
habanany left00:06
gfixler I meant was training.txt the only thing added in 1118700:07
geri git log test.txt commit 111870788112d53668ec229cc3a556be41c8c44800:07
commit 4e1b6bb0182c589c38a7f4dce384cc5d8c75715d00:07
i dont understand why the file got added even if its tooooo big!???00:07
that doesnt make sense at all00:07
gfixler it's not too big for your own local repo00:08
it was too big for github, according to their rules00:08
geri i pushed it to github00:08
_lexjm joined00:08
punchagan left00:09
gfixler I think I'm not sure why/when it was too big then00:09
geri so how can i fix that now?00:09
punchagan joined00:09
gfixler did you not want those files in the repo?00:09
daivyk left00:09
geri no if they cant be pushed to github00:09
gfixler if not, you could remove them from the repo, then force push to github00:10
habanany joined00:10
geri gfixler: thats what i did00:10
with git rm training.txt --cached00:10
but it failed00:10
daivyk joined00:10
geri it still wants to upload the bigfile to github00:10
atrigent geri: it is still in your history00:11
Tashi_ joined00:11
gfixler geri, I'm trying to walk you to a new state of the repo, where those files won't be in there00:11
blakbunnie27 left00:11
geri gfixler: ok00:11
gfixler right now, even if they're not in your current working tree, they still exist in the repo00:11
that's the entire point of versioning - keeping old versions around00:12
geri git rm training.txt fatal: pathspec 'training.txt' did not match any files00:12
so they dont currently exist?00:12
gfixler so even if you delete them now, the old versions are still there, safe00:12
blakbunnie27 joined00:12
gfixler doesn't seem so00:12
but only now - they still exist in the past00:12
does that make sense?00:12
geri ok00:12
FL1SK left00:13
FL1SK joined00:13
NBhosting left00:13
gfixler something we can look at is commit 111870, which had at least one big file in it00:13
you can do a `git show 111870` or `git ls-tree 111870` to see what's in that commit00:14
Tashi__ left00:14
jontmorehouse joined00:14
gfixler I'd actually prefer to remove from the most recent one back, to avoid conflicts00:14
geri how do u know its 111870?00:14
gfixler 17:07 < geri> git log test.txt commit 111870788112d53668ec229cc3a556be41c8c44800:14
jonmorehouse left00:15
gfixler 17:04 < geri> git log training.txt commit 111870788112d53668ec229cc3a556be41c8c44800:15
you told me00:15
geri can u get all commits?00:15
to be sure00:15
gfixler I need to know a couple of things00:15
first, how many files are we trying to get rid of here?00:15
2? 3?00:15
geri 300:16
training.txt00:16
test.txt00:16
svm_model00:16
gfixler git log training.txt test.txt svm_model00:16
jftf joined00:16
gfixler that will show you all the commits those are part of, newest first00:16
kushal3 joined00:17
TheSojournermjulian00:17
gfixler git log --oneline training.txt test.txt svm_model00:17
that will keep it to 1 line per commit00:17
so it's easy to count00:17
how many are there?00:17
geri gfixler: http://ideone.com/0FxqjR00:18
ehre the log00:18
mom00:18
http://ideone.com/03GItR00:18
gfixler git show --name-status 11187000:18
Eins_ joined00:19
gfixler should see names of added/deleted/modified files at the bottom00:19
punchagan left00:19
geri gfixler: http://ideone.com/s1WgZW00:19
here the folder i checked in00:19
gfixler what do you get for that show --name-status line?00:20
geri gfixler: http://ideone.com/Dz7uX100:21
show --name-status line ?00:21
gfixler okay, can you just delete all 4 of those files?00:21
geri ?00:21
sure00:21
gfixler that's easy to do00:21
this is the master branch?00:21
kcj joined00:22
gfixler and you're currently on the master branch?00:22
geri yes00:22
gfixler great00:22
Just in case things go sideways, I'd do:00:22
git branch oldmaster00:22
geri hu?00:22
gfixler that will just put a second name where you are right now to pin it down00:22
because master is about to move00:22
geri wait i dont like this command00:23
ezio joined00:23
gfixler right now there's a text file called master with the contents 111870...00:23
we're just making a second text file called oldmaster with the same contents00:23
if you get lost, you'll always be able (while on master) to do `git reset --hard oldmaster`00:23
and everything will be like it was00:23
it's impossible to change things in git, but you can move pointers around00:23
alxgnon1 left00:23
alxgnon1 joined00:23
gfixler master is just a pointer to a commit00:24
alxgnon1alxgnon00:24
tmcmahon joined00:24
gfixler we're just adding a second one so we can move master without forgetting where master was00:24
geri can i just delete the folder00:24
gfixler no00:24
geri and do git pull?00:24
gfixler no00:24
you can't just do anything in your working tree to fix this issue00:24
the problem is in the DAG of commits00:25
we're about to surgically remove things from that DAG00:25
you can't access that from your local project directory00:25
geri ok i mad a backup00:25
gfixler that's fine00:25
geri so what to do now?00:25
gfixler but this is really non-dangerous00:25
dreiss left00:25
gfixler we don't even need the oldmaster branch, because I remember 11187 now :)00:25
mkaesz joined00:25
gfixler anyway, do this:00:25
Noldorin left00:25
gfixler git rebase --onto 11187^ 1118700:26
geri what does it do?00:26
gfixler it works on the current branch00:26
geri Cannot rebase: You have unstaged changes. Please commit or stash them.00:26
gfixler and it says "This line of commits is currently based on 11187, but now base them onto the parent of that commit instead"00:26
git stash00:26
that will create a temp commit to store your local changes00:26
geri Saved working directory and index state WIP on master: 6e4a6dd removed file HEAD is now at 6e4a6dd removed file00:27
gfixler (which will act like that oldmaster I wanted you to create, holding this position)00:27
now do:00:27
git rebase --onto 11187^ 1118700:27
geri First, rewinding head to replay your work on top of it... error: The following untracked working tree files would be overwritten by checkout: classifier/experiment/svm_model classifier/experiment/test.txt classifier/experiment/training.txt Please move or remove them before you can switch branches. Aborting could not detach HEAD00:27
gfixler git status00:28
see if you have deleted files00:28
or files that aren't tracked00:28
if you have untracked files, and you don't care about them, delete them00:28
geri On branch master Your branch is ahead of 'origin/master' by 8 commits. (use "git push" to publish your local commits)00:28
and some untracked files00:28
gfixler do you care about the untracked files? (be sure)00:28
geri no but i dont want to delete them00:28
Roots47 left00:29
gfixler can you move them out of the repository for now?00:29
Hello71 joined00:29
geri that get ugly now00:29
gfixler howso?00:29
they're not tracked00:29
your git project doesn't even know what they are00:29
mkaesz left00:30
dccc_ left00:30
geri there are many files00:31
gfixler how did you make that backup?00:31
P4_Denis joined00:31
geri cp -r00:31
gfixler throw it out00:31
let's make it again with git clone00:31
from the directory that contains your repo, let's do `git clone yourrepo newname`00:32
that will make a copy without any of the junk in it00:32
evildmp left00:32
geri ok cloned00:32
gfixler ok, now we can do whatever we want in the clone, hooray00:32
git rebase --onto 11187^ 1118700:33
Consuela joined00:33
geri On branch master Your branch is up-to-date with 'origin/master'.00:33
ok moment00:33
fatal: Needed a single revision invalid upstream 1118700:33
gfixler git rebase --onto 111870^ 11187000:34
geri git rebase --onto 111870^ 111870 fatal: Needed a single revision invalid upstream 11187000:34
gfixler say what00:34
are you on master?00:34
yeah, you are00:35
git log --oneline | grep 1118700:35
fooforge left00:35
geri git log --oneline | grep 11187 returns nothing!!!00:35
gfixler what the what00:35
this repo is a house of lies00:36
P4_Denis left00:36
edwardly joined00:36
gfixler git log --oneline training.txt test.txt svm_model00:36
geri fatal: ambiguous argument 'training.txt': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]'00:37
bdavenport joined00:37
gfixler are you in the clone repo?00:37
toothrot left00:37
geri i have to say that the file did not get commited to github!00:37
gfixler and in the same folder in there where you were before?00:37
geri i have to say that the file did not get commited to github!00:38
gfixler wait, did you clone from github, or from your local repo?00:38
geri bc it was too big00:38
github00:38
gfixler that's not what I said to do00:38
no wonder this is so confusing00:38
thumpba left00:38
geri i only have my github repo00:38
gfixler git log --oneline test.txt svm_model00:38
geri fatal: ambiguous argument 'test.txt': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]'00:38
they are not commited00:39
gfixler git log --oneline svm_model00:39
geri git log --oneline svm_model fatal: ambiguous argument 'svm_model': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]'00:39
gfixler so you're fine00:39
the clone you made from github is a clean copy00:39
geri ok lol00:39
git is just confusing!00:39
gfixler were there new commits in the other local copy that you wanted?00:39
geri: it's super confusing until you learn the data model, then it's all really obvious00:40
geri i can copy the manually the the new clone00:40
gfixler thankfully, the data model is not difficult - it's one of the simplest things I've seen00:40
geri gfixler: cant u make a easier version?00:40
gfixler geri: probably not, DAGs take some getting used to, but they're exactly right for versioning time and space in alternate dimensions, which is what everyone wants to do00:40
well, maybe not everyone00:41
Eugene Unfortunately the doctor has managed to loop his DAG00:41
gfixler but eventually everyone, when they want to undo a commit from a week ago, which *is* altering time, and creating a new timeline00:41
so probably everyone00:41
Eugene I reckon he's managed to collide SHA1 though00:41
gfixler what? impossible00:41
synfinatic joined00:41
gfixler in 18 years we've never seen it00:42
okay, infinitely possible, but so unlikely00:42
Eugene The TARDIS has quite a bit of CPU to throw at the problem00:42
gfixler Eugene: I wonder if it's big enough on the inside to contain all SHA-1 hashes00:42
Eugene Printed or on flash?00:43
sebbu joined00:43
_lexjm left00:43
gfixler each printed on a proper TPS report00:43
let's be official about this00:43
Eugene Unlikely00:43
sebbu left00:43
sebbu joined00:43
gfixler okay, TPS flash drives00:44
geri: how are you 'copying' over the new commits?00:44
_lexjm joined00:44
geri cp :)00:45
gfixler geri: but...00:45
geri git add git commit git push origin master00:45
gfixler probably good enough00:45
but, just for the fun of it, if you had a few commits in another repo (like now) and wanted to copy them over with their original info00:46
dccc_ joined00:46
gfixler you could `git remote add temp ../otherrepo`00:46
`git fetch temp`00:46
then `git cherry-pick <commit>` for each commit00:46
then `git remote remove temp`00:46
basically bring another repo in for a moment as a remote, with all its objects, then cherry-pick what you want from those objects, then throw out the remote00:47
I aliased cherry-pick to cp, so I kinda do use cp :) - `git cp commit`00:47
cherry-pick is basically copying a commit00:48
cespare joined00:48
jontmorehouse left00:49
geri gfixler: whats the advantage of that?00:49
gfixler keeps the original commit times, author, and message00:50
if you just did a cp and commit, you're only getting the current version00:50
you could cp 5 commits, though, and bring all that state-over-time into your repo if you wanted00:50
dccc_ left00:50
gfixler you could also use rebase if you had a bunch to cherry-pick00:50
jon-mac joined00:50
gfixler rebasing is basically doing a bunch of cherry-picks in a row00:51
blackmesa joined00:51
liamkeily left00:52
toothrot joined00:52
trewe joined00:53
geri gfixler: i already fixed it00:54
i only have a few files00:54
jftf_ joined00:54
geri nothing cricital00:55
curiousmansi_ joined00:55
geri thanks anyway gfixler00:56
gfixler np00:56
dccc_ joined00:57
keithy joined00:57
kaendfinger left00:57
zumba_addict left00:58
EminenceHC joined00:58
keithy left00:58
zumba_addict joined00:59
keithy joined00:59
kaendfinger joined00:59
shinnya left01:00
zumba_addict left01:00
punchagan joined01:00
jftf_ left01:01
mizu_no_oto joined01:01
zumba_addict joined01:01
eto left01:01
kushal3 left01:01
eto joined01:02
geri left01:02
EminenceHC left01:03
eletuchy_ left01:03
eletuchy joined01:03
watabou joined01:04
SjB left01:04
shinnya joined01:05
looper_ left01:05
jottr_ left01:06
nerder joined01:07
nerder hello01:07
gitinfo nerder: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.01:07
looper joined01:07
nerder how can i see the old version of a file on my git repo?01:07
i mean, the file before the last commit.01:07
eletuchy left01:08
dccc_ left01:08
rdbell joined01:08
jftf left01:10
eletuchy joined01:11
rdbell left01:11
Noldorin joined01:12
maqr joined01:13
Bruce1 joined01:14
devoldmx joined01:21
JDHawke left01:21
TheEskil left01:21
Steve_Jobs left01:22
blackmesa left01:22
ajustrun joined01:22
TheEskil joined01:23
dccc_ joined01:23
devoldmx3 left01:23
trewe left01:23
keithy left01:24
mizu_no_oto left01:25
mkaesz joined01:25
sinkensabe joined01:26
Floatingman joined01:26
m0ltar left01:28
nath_schwarz left01:29
LucasTT_ joined01:30
mkaesz left01:30
sinkensabe left01:30
nath_schwarz joined01:31
oojacoboo left01:31
regreg left01:32
mnavratil left01:32
jottr_ joined01:33
LucasTT left01:33
maqr left01:33
kaezarrex joined01:35
SegFaultAX left01:35
nerder anybody here? or just zombie?01:37
SegFaultAX joined01:37
EminenceHC joined01:38
dagnachew left01:38
jottr_ left01:38
jftf joined01:38
kaezarrex hey01:41
gitinfo kaezarrex: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.01:41
nerder hey kaezarrex01:41
kpreid left01:43
Vampire0_ joined01:43
watabou left01:44
jontmorehouse joined01:45
Vampire0 left01:47
ChinnoDog joined01:47
EminenceHC left01:49
regreg joined01:49
v1nt joined01:49
darkbasic left01:50
hahuang65 joined01:50
_lexjm left01:50
darkbasic joined01:51
jontmorehouse left01:51
devoldmx left01:51
regreg left01:53
zumba_addict left01:53
v1nt left01:54
v1nt joined01:54
zumba_addict joined01:54
hahuang65 left01:55
Eins_ left01:55
jftf_ joined01:55
maqr joined01:56
regreg joined01:57
Bruce1 left01:58
mizu_no_oto joined01:58
ojacobson joined02:00
CareBear\ nerder : hey02:00
jontmorehouse joined02:01
jftf_ left02:01
CareBear\ nerder : git show $(git ls-tree $(git log --pretty=format:%H -2 "$filename" | tail -n 1) "$filename" | awk '{print $3}')02:03
looper left02:03
CareBear\ nerder : that shows you the file as it was before the last commit which changed it, regardless how many commits back that is.02:03
looper joined02:04
revyd joined02:04
Guest71701 left02:04
lachesis joined02:05
jftf left02:05
bezet joined02:07
tmcmahon left02:08
diegoviola left02:09
nerder CareBear\: thx, but i dnt get what means: http://pastebin.com/RCzZdwSr02:10
Noldorin left02:11
bezet left02:12
FrozenFire[alt]FrozenFIre02:14
FrozenFIreFrozenFire02:14
m0viefreak left02:15
Consuela left02:17
josef_ joined02:19
ojacobson I "love" the feature that git repos begin with parentless commits, rather than with a null-tree commit.02:19
Mercurial does it the other way, and it makes reasoning about the "first" commit much easier02:19
(all such commits, for repos with multiple roots)02:19
msonntag left02:20
kcj left02:20
redrocket joined02:21
ropav joined02:21
TheEskil left02:21
fesoj left02:22
msonntag joined02:22
josef_ left02:23
d2dchat joined02:23
TheEskil joined02:23
kpreid joined02:23
looper left02:25
mkaesz joined02:25
variable left02:25
fesoj joined02:25
Noldorin joined02:26
mizu_no_oto left02:27
Lyqyd left02:28
timwis joined02:30
timwis Hey guys, looking for advice - I'm trying to run a PHP forum on my web server but in a best-practice-driven way... The forum is on github, but when you modify parts of the forum in the settings of the app, it modifies the config file on the server. What's the best way to do version control with that, and have a local replica?02:31
P4_Denis joined02:31
mkaesz left02:32
alexwhitman left02:32
ojacobson timwis: same as any other language, really: version the software separately from the configuration.02:33
jftf joined02:33
ojacobson Ideally, use a config management tool such as ansible or puppet to automate applying configuration to the deployment02:33
fesoj left02:35
toothrot left02:35
raven-au left02:35
ojacobson Since it's somewhat self-configuring, you can cook up an example config locally and pick it apart. I assume it spits out either a dumb data file (ideal) or a short program fragment (not ideal), either of which are fairly easy to analyze and track.02:35
P4_Denis left02:35
raven-au joined02:36
danemacmillan joined02:36
flowerhack joined02:36
mutley89 left02:36
alexwhitman joined02:37
amikiri left02:37
kcj joined02:37
livingstn joined02:38
ropav left02:39
kpreid_ joined02:39
kpreid left02:40
kpreid_kpreid02:40
robbyoconnor joined02:41
regreg left02:41
gambler left02:45
JDHawke joined02:45
toothrot joined02:46
sgen left02:46
_lexjm joined02:46
jenni_naiaretti left02:48
mozzarella guys help02:50
Pyrogerg joined02:51
atatat joined02:53
Moult_Moult02:53
Moult left02:53
Moult joined02:53
Moult mozzarella: with? :)02:53
fatalhalt joined02:53
mozzarella Moult: seems like the git config command is using tabs now… it used to use two spaces to indent stuff02:54
WaReZ left02:54
mozzarella so now I have a mix of tabs and spaces inside my .gitconfig02:54
jftf_ joined02:56
kaendfinger left02:57
Moult mozzarella: isn't that an editor configuration?02:57
mozzarella never touched it with an editor02:58
also, how do I undo a commit?02:58
LucasTT_ left02:58
daivyk left02:59
anomalyst left03:00
ojacobson !revert03:00
gitinfo That's a rather ambiguous question... options: a) make a commit that "undoes" the effects of an earlier commit [man git-revert]; b) discard uncommitted changes in the working tree [git reset --hard]; c) undo committing [git reset --soft HEAD^]; d) restore staged versions of files [git checkout -p]; e) move the current branch to a different point(possibly losing commits)[git reset --hard $COMMIT]?03:00
mikecmpbll left03:01
dccc_ left03:01
St_Marx joined03:01
mozzarella ojacobson: I accidentally staged some file in my last commit03:01
jftf_ left03:02
lazers joined03:02
stack joined03:03
ntio joined03:03
DavidRockin joined03:04
MattMaker joined03:05
_5kg left03:05
inchut left03:05
TheEskil left03:09
xSmurf joined03:09
morenoh152 left03:09
Noldorin left03:10
Malsasa joined03:14
asakura joined03:14
TheEskil joined03:14
Azoloth left03:14
DavidRockin left03:15
flowerhack left03:15
v1nt left03:16
v1nt joined03:16
v1nt left03:16
nerder left03:17
_5kg joined03:18
variable joined03:18
variable left03:18
variable joined03:18
dccc joined03:20
ormaaj joined03:22
rchavik joined03:22
binaryhat left03:24
binaryhat joined03:25
Px12 joined03:26
sinkensabe joined03:27
kerrick left03:28
LLaurent joined03:29
redrocket left03:30
sinkensabe left03:31
rypeck joined03:32
regreg joined03:32
MorpheusBeing left03:32
Bruce1 joined03:37
MorpheusBeing joined03:40
TheEskil left03:42
TheEskil joined03:43
punchagan left03:43
SjB joined03:43
ClarusCogitatio left03:44
punchagan joined03:45
ClarusCogitatio joined03:45
jonyfive left03:46
Bruce1 left03:47
EminenceHC joined03:49
_tac joined03:49
_tac Is there a way I can perform an "ls" on a particular revision?03:50
I can't tell if I have accidentally committed this file or not03:50
rchavik left03:50
_tac and I want to check to see if it really is inside git03:50
ojacobson left03:52
dsdeiz joined03:52
rudi_s _tac: git checkout is the simplest way, not sure if git ls-files can do it.03:53
git show also works, but you need the exact file namne.03:53
_tac hmm. I'll check it out03:53
tanath joined03:53
hamster_ left03:53
_tac ls-files looks like what I want03:53
thanks03:54
NightMonkey left03:54
EminenceHC left03:54
rudi_s np03:55
_tac: But I think git ls-files only works with the current reversion.03:55
*revison03:55
NightMonkey joined03:55
livingstn left03:56
_tac for what I need at the moment, that works03:56
and I can always checkout and ls-files if I get stuck03:56
jftf_ joined03:57
rudi_s Yeah.03:57
ClarusCogitatio left03:57
jonyfive joined03:58
AnujSharma joined03:59
ClarusCogitatio joined04:00
jftf_ left04:03
jonyfive left04:03
dsdeiz left04:03
jonyfive joined04:03
jonyfive left04:04
Steve_Jobs joined04:04
jonyfive joined04:05
jonmorehouse joined04:05
AnujSharma left04:06
nfk left04:07
jontmorehouse left04:07
rchavik joined04:08
supernaut joined04:09
supernaut left04:10
supernaut joined04:10
armyriad joined04:10
zumba_ad_ joined04:11
muhaha03__ left04:11
ClarusCogitatio left04:13
zumba_addict left04:14
ClarusCogitatio joined04:16
lyang0 left04:17
lyang0 joined04:18
uwjesq joined04:19
OrpheusP joined04:19
fatalhalt left04:21
das_beard joined04:22
Lyqyd joined04:25
mkaesz joined04:25
Eins_ joined04:25
eletuchy left04:26
Tommy[D]_ joined04:27
mennea joined04:27
skorgon joined04:27
mkaesz left04:29
RiVale left04:30
dsdeiz joined04:30
_lexjm left04:31
_lexjm joined04:31
Tommy[D] left04:31
eliasr left04:32
P4_Denis joined04:32
P4_Denis left04:36
fatalhalt joined04:38
toothrot left04:38
ClarusCogitatio left04:39
igor____ left04:41
ClarusCogitatio joined04:42
kaezarrex left04:44
MAKEDWOK left04:47
asakura left04:47
sgen_ joined04:48
jonmorehouse left04:48
asakura joined04:49
Kicer86 joined04:52
ehmatthes joined04:53
Lyqyd left04:55
Mitchbones left04:56
oojacoboo joined04:56
cyphase left04:56
rdbell joined04:57
jftf_ joined04:58
stack left04:58
Px12 left05:01
rdbell left05:01
zumba_addict joined05:01
UmbraMalison left05:02
UmbraMalison joined05:02
jftf_ left05:02
fatalhalt left05:03
unglid- left05:04
zumba_ad_ left05:04
reim joined05:07
morenoh152 joined05:08
mozzarella guys help05:08
unglid joined05:09
nkouevda joined05:09
d2dchat left05:11
Px12 joined05:12
__main__ left05:14
kadoban mozzarella: Hard without knowing what your problem is05:15
__main__ joined05:15
phy1729 it was answered with gitinfo05:15
sohail left05:17
Px12 left05:17
mozzarella I accidentally staged some file in my last commit, how can I undo that05:20
phy1729 you were answered over 2 hours ago !revert05:20
gitinfo That's a rather ambiguous question... options: a) make a commit that "undoes" the effects of an earlier commit [man git-revert]; b) discard uncommitted changes in the working tree [git reset --hard]; c) undo committing [git reset --soft HEAD^]; d) restore staged versions of files [git checkout -p]; e) move the current branch to a different point(possibly losing commits)[git reset --hard $COMMIT]?05:20
mdel_ left05:22
mozzarella thank you05:22
Tashi__ joined05:24
cagedwisdom joined05:24
mkaesz joined05:25
maestrojed joined05:25
Tashi_ left05:27
mkaesz left05:30
JeanCarloMachado left05:31
dsdeiz left05:33
lindenle joined05:37
Eins_ left05:38
Eins_ joined05:39
uwjesq left05:39
Rmar|AwayRmarmorstein05:40
lindenle left05:41
wrouesnel joined05:41
knownasilya left05:43
Eins_ left05:44
yacks left05:44
eletuchy joined05:45
dreiss joined05:45
aidalgol left05:48
zumba_addict left05:49
eletuchy left05:50
zumba_addict joined05:50
EminenceHC joined05:50
yacks joined05:50
Malsasa left05:54
EminenceHC left05:56
dsdeiz joined05:57
scarabx left05:57
jftf_ joined05:58
Goplat left05:58
Malsasa joined06:01
timwis left06:03
jftf_ left06:03
c74d left06:04
ClarusCogitatio left06:04
TheEskil left06:05
TheEskil joined06:06
c74d joined06:06
ClarusCogitatio joined06:07
bezet joined06:08
starkhallo left06:09
otter768 left06:11
bezet left06:13
das_beard left06:13
das_beard joined06:14
jagob joined06:15
TheEskil left06:15
bjeanes__ left06:16
Eins_ joined06:16
maestrojed left06:16
TheEskil joined06:18
das_beard left06:18
jftf left06:20
danemacmillan left06:20
myndzi joined06:21
helgikrs3 left06:22
robbyoconnor left06:22
helgikrs3 joined06:23
FreezingCold left06:24
ajustrun left06:25
MorkBork joined06:25
mkaesz joined06:25
nekyian_ joined06:25
MorkBork left06:26
oem left06:27
c0ded left06:27
c0ded joined06:27
tapout joined06:27
MorkBork joined06:27
robbyoconnor joined06:28
mkaesz left06:30
jftf joined06:31
thumpba joined06:31
P4_Denis joined06:32
dsdeiz left06:34
jftf left06:35
ClarusCogitatio left06:36
P4_Denis left06:37
robbyoconnor left06:38
ClarusCogitatio joined06:39
phanimahesh joined06:40
kaictl joined06:41
Gamecubic left06:42
das_beard joined06:43
ehmatthes left06:45
hoschi joined06:45
r0bby_ joined06:45
r0bby_robbyoconnor06:46
_lexjm left06:47
arthurvr joined06:49
atatat left06:49
TheEskil left06:50
govg left06:50
TheEskil joined06:50
Xethron joined06:52
irqq joined06:52
d2dchat joined06:53
OrpheusP left06:56
aidalgol joined06:58
d2dchat left06:58
jftf_ joined06:59
Sijdesign joined07:00
Xethron left07:01
mugenzebra left07:02
robbyoconnor left07:02
Px12 joined07:02
dreiss left07:02
Xethron joined07:03
Xethron left07:03
Xethron joined07:03
jftf_ left07:04
mennea left07:07
sinkensabe joined07:08
Px12 left07:08
Eins_ left07:09
nekyian_ left07:12
thiago left07:12
robbyoconnor joined07:15
King_Hual joined07:19
TheEskil left07:21
Px12 joined07:21
curiousmansi__ joined07:21
TheEskil joined07:21
curiousmansi_ left07:22
eburcat joined07:23
petersr joined07:23
jonmorehouse joined07:25
ezio left07:25
mkaesz joined07:25
longbeach joined07:25
skoop left07:26
skoop joined07:26
dsdeiz joined07:28
eletuchy joined07:29
das_beard left07:29
das_beard joined07:29
mkaesz left07:29
jonmorehouse left07:31
Xethron left07:33
TheEskil left07:34
aidalgol left07:34
das_beard left07:34
Xethron joined07:35
TheEskil joined07:35
robbyoconnor left07:35
robbyoconnor joined07:36
vals_ left07:37
V1s1ble left07:37
jonmorehouse joined07:38
V1s1ble joined07:38
cyphase joined07:38
lindenle joined07:38
tango_ joined07:38
drbean joined07:39
adac joined07:40
kriks joined07:41
b0x joined07:42
thumpba left07:43
lindenle left07:43
ClarusCogitatio left07:44
GODDOG joined07:45
ClarusCogitatio joined07:48
irqq left07:49
EminenceHC joined07:51
Xethron left07:53
bezet joined07:53
EminenceHC left07:55
Xethron joined07:55
Xethron left07:55
Xethron joined07:55
arthurvr left07:56
arthurvr joined07:56
GODDOG left07:57
sinkensabe left07:58
uber left07:59
GODDOG joined07:59
sinkensabe joined07:59
sinkensabe left07:59
jftf_ joined08:00
bezet left08:00
sinkensabe joined08:01
arthurvr left08:01
Px12 left08:03
jacobt joined08:04
arthurvr joined08:04
oojacoboo left08:04
jftf_ left08:04
GODDOG left08:05
GODDOG_ joined08:05
uber joined08:06
arthurvr left08:06
arthurvr joined08:06
hxm- left08:07
hxm- joined08:07
hxm-hxm08:07
mkaesz joined08:09
sarkis left08:09
mskaesz joined08:10
mkaesz left08:10
mennea joined08:11
arthurvr left08:11
jftf joined08:12
arthurvr joined08:13
sinkensabe left08:14
hexagoxel joined08:14
sinkensabe joined08:15
jughead left08:16
Gizburdt joined08:16
hahuang65 joined08:17
jftf left08:19
Px12 joined08:20
sinkensabe left08:20
Kwpolska joined08:20
arthurvr left08:20
arthurvr joined08:21
Eins_ joined08:21
GODDOG_ left08:21
hahuang65 left08:22
robbyoconnor left08:22
Gizburdt left08:23
Gizburdt joined08:24
bvi joined08:25
mskaesz left08:28
bvi left08:29
HelperW joined08:29
dsdeiz left08:30
dsdeiz joined08:30
Malsasa_ joined08:31
RmarmorsteinRmar|Away08:31
Malsasa left08:32
aidalgol joined08:33
P4_Denis joined08:33
booboy joined08:33
xobb left08:33
arthurvr left08:34
ClarusCogitatio left08:34
sarkis joined08:36
jacobt left08:36
Malsasa_ left08:37
P4_Denis left08:37
ClarusCogitatio joined08:37
Malsasa joined08:38
danicampa901 joined08:39
AnujSharma joined08:39
SimonNa joined08:40
sarkis left08:41
geomyidae_ left08:41
xobb joined08:43
SimonNa left08:46
joki left08:47
TheEskil left08:47
HelperW left08:48
TheEskil joined08:49
Malsasa_ joined08:50
Malsasa left08:50
joki joined08:51
adac left08:51
pantsman- joined08:54
jonmorehouse left08:54
stamina joined08:54
FunkyAss joined08:54
curiousmansi__ left08:55
Malsasa_ left08:56
Malsasa joined08:56
jenni_naiaretti joined08:57
soren_ left08:57
soren_ joined08:57
soren_soren08:57
sarkis joined08:57
mkaesz joined08:58
Polymorphism joined08:59
jftf_ joined09:01
Polymorphism left09:02
sarkis left09:02
mkaesz left09:02
SittingShiva joined09:02
jenni_naiaretti left09:04
ValicekB left09:05
jenni_naiaretti joined09:05
nnyk_ joined09:05
jftf_ left09:05
roflik left09:05
jenni_naiaretti left09:08
jenni_naiaretti joined09:09
Gizburdt left09:09
habanany left09:09
Xethron left09:09
Kulrak joined09:09
slmult0 joined09:09
jenni_naiaretti left09:10
Xethron joined09:12
lymmz_ left09:13
Px12 left09:14
phanimahesh left09:14
ClarusCogitatio left09:16
babilen_babilen09:16
jenni_naiaretti joined09:17
ClarusCogitatio joined09:17
Baluse joined09:19
catsup left09:20
catsup joined09:20
tvw joined09:22
roflik joined09:22
ClarusCogitatio left09:22
ClarusCogitatio joined09:24
raven-au left09:24
AnujSharma left09:24
Error404NotFound joined09:26
AnujSharma joined09:29
dsdeiz left09:30
WaReZ joined09:32
raven-au joined09:32
aspiers joined09:34
nnyk_ left09:36
zapb_ joined09:36
eletuchy left09:37
eletuchy_ joined09:38
tvw left09:38
SittingShiva left09:39
lindenle joined09:40
drbean left09:41
flipp joined09:42
eletuchy_ left09:43
eletuchy joined09:43
bzzrb joined09:43
ande joined09:44
lindenle left09:45
teran left09:46
bddy joined09:48
IlNominePatre joined09:48
bddy Hello, I want to discard changes from work tree. I do "git checkout -p HEAD file.c". And it tires to discard changes from index and working tree. But I want to discard changes only from working tree.09:49
Fomina joined09:50
TheEskil left09:50
bddy ah! Replaced HEAD with -- and it worked09:51
TheEskil joined09:51
b0x im new to git.. still getting my head around things.. ive cloned a repo from github, it has master & develop branches (and some other ones)09:52
EminenceHC joined09:52
b0x ive created a new branch FROM the develop branch09:52
and started making my changes09:52
adding files etc09:52
is this the correct flow?09:52
also, ive needed to change certain files (including .gitignore) within the repo for local dev .. and then commited the changes normally to this branch09:53
LeMike joined09:56
EminenceHC left09:56
rchavik left09:58
dsdeiz joined09:58
sarkis joined09:58
AnujSharma left09:59
ELFrederich_ left10:00
ELFrederich_ joined10:00
KevinMGranger left10:01
jftf_ joined10:01
danicampa901 left10:02
xSmurf left10:02
sarkis left10:02
teran joined10:02
HelperW joined10:04
TheToubs joined10:06
jftf_ left10:06
KevinMGranger joined10:08
LLaurent b0x, I am in the process of learning how to use git too, and I have found that your way of doing it is good if you have several developers working on various features. Once you have finished working on your changes, you can just do a "pull" of your branch into the develop branch10:09
eliasr joined10:09
LLaurent If there is a limited amount of people (2-3), it might be worth just checking out the develop branch and committing/pushing into that10:09
Silex b0x: http://nvie.com/posts/a-successful-git-branching-model/10:09
b0x yeah there are a few people working on different things10:10
thats what ive worked off Silex :)10:10
LLaurent Thanks Silex, good link10:11
AnujSharma joined10:11
[diablo] joined10:12
Jackneill joined10:13
Silex yw10:13
I'd say that beginners should first learn how to use "git reflog" so they know how to recover when they fuckup10:14
with this safety net knowledge in place, they can then explore all sorts of dangerous things10:15
Tuna-Fish left10:17
deathshadow joined10:17
Sceorem joined10:20
vital joined10:23
slmult0 left10:23
txdv left10:26
txdv joined10:26
Gizburdt joined10:26
Tuna-Fish joined10:27
Sceorem left10:28
Advocation joined10:28
osse that's why i have reflog aliased to social-democracy10:29
cbreak git add && git commit10:29
ELFrederich_ left10:30
cbreak the basis of building history.10:30
nfk joined10:30
Advocation left10:32
asdpew joined10:33
P4_Denis joined10:33
osse those how cannot learn from git log are doomed to revert it10:34
wrouesnel left10:35
sarkis joined10:37
P4_Denis left10:38
osse hmm. since the original quote is "... doomed to repeat it" I suppose cherry-pick would be better than revert. But you more or less need to see the log in order to use those... :/10:39
Kiff, we have a conundrum!10:39
evildmp joined10:39
aidalgol left10:39
hoschi left10:40
FilipNortic joined10:40
mikecmpbll joined10:41
_tac left10:41
rixx osse: :)10:41
sarkis left10:41
brovador joined10:45
kzar joined10:45
brovador left10:45
brovador joined10:45
brovador left10:45
brovador joined10:46
kzar I have two branches, both with a bunch of changes automated changes and one with some manual ones. Is there a way to do a merge or similar whereby every change that's the same in both branches is removed? (I'm trying to figure out a way to make a clean branch that only has the manual changes committed)10:47
MorpheusBeing left10:48
Xethron left10:48
osse if you rebase one branch onto the other then commits that git can detect as duplicates will be dropped10:48
sunfun` left10:49
dsdeiz_ joined10:50
kzar osse: All the changes are in one commit though unfortunately (long story)10:50
sunfun joined10:50
kzar well two commits, one in each branch10:50
LeVoDECoM joined10:50
dsdeiz left10:51
kukks joined10:51
kukks left10:51
kukks joined10:51
vire joined10:51
LeVoDECoM left10:54
Segfault_ joined10:55
cbreak kzar: sounds like a total mess10:57
kzar Yes it does10:57
cbreak can't you identify automated commits?10:58
they probably have shitty commit messages10:58
kzar As I say it's a long story10:58
teran left10:58
kzar cbreak: so I can diff the two branches to get the difference OK, now I want to create a patch or something from that so I can apply it to master10:58
Sijdesign left10:58
thumpba_ left10:59
cbreak kzar: you can try that. But don't rely on the output of diff to be an appliable patch in general.10:59
teran joined11:01
Gavrisimo joined11:01
jftf_ joined11:02
kzar cbreak: Is there something similar that I can do that will work better?11:03
osse kzar: how do you have one long list if there are two branches that have duplicates? o_O11:03
cbreak as I said:11:03
find the commits that you don't want11:03
and cherry-pick the others11:03
kzar: you could try git cherry11:03
kzar: see man git-cherry11:04
gitinfo kzar: the git-cherry manpage is available at http://jk.gs/git-cherry.html11:04
King_Hual left11:05
deathshadow left11:05
King_Hual joined11:05
teran left11:05
kcj left11:05
vire left11:07
jftf_ left11:07
ncd|leeN joined11:08
kzar OK I figured it out, diff the two branches and then on parent checkout each file from the newer branch. Then you just have the manual changes in the parent branch but not the automated ones11:08
ZarthussZarthus11:10
bzzrb left11:11
bddy left11:11
kzar Something like this: `git diff temp temp2 --name-only --diff-filter=ACMRTUXB | xargs git checkout temp2 --` to checkout the new files and11:13
`git diff temp temp2 --name-only --diff-filter=D | xargs git rm` to delete the deleted ones11:13
sunfun left11:17
sunfun joined11:18
descala left11:21
freeman42 joined11:21
W0rmDr1nk left11:22
gvdm joined11:26
BSaboia joined11:26
Tommy[D]_ left11:26
hoschi joined11:26
wrouesnel joined11:28
kristofferR joined11:28
TheToubs left11:29
dangerousdave joined11:32
NBhosting joined11:32
kristofferR left11:32
Silex ~11:33
oops sorry11:33
dangerousdave left11:33
blackmesa joined11:34
hoschi left11:34
spareproject joined11:35
osse kzar: won't that make them equal?11:36
TheFuzzball joined11:37
m0viefreak joined11:38
kzar osse: So I had a bunch of automated changes mixed with a bunch of manual changes, I needed to grab only the manual changes. So I created two branches, one with all the changes, one with only the automated changes (I re-ran the script that generated them on the previous version). The commands above helped me apply only the changes not in both branches - the manual ones - to my current branch11:38
sarkis joined11:38
kzar exactly why this was required... don't ask but there you go it's all solved now at least11:38
osse ok, if you say so. Iwas just thinking that 'git checkout temp2 -- .' would the same thing easier :)11:39
lhvwb joined11:39
lhvwb left11:39
kzar osse: well that would bring in the manual changes + a crap load of automatically generated ones11:39
osse then I don't see how your git diff thing manages to exclude those. seems to me you diff everything11:40
kzar temp branch has the manual changes but autmatic ones mixed in11:40
temp2 has only automatic changes11:41
oh sorry that's backwards11:41
either way I wouldn't worry about it, it was a big mess and you will hopefully never be in such a mess11:42
godgodgodgo joined11:42
lindenle joined11:42
osse i'm saying that I don't see the difference between `git diff temp temp2 --name-only --diff-filter=ACMRTUXB | xargs git checkout temp2 --` and `git checkout temp2 -- .`11:42
Polymorphism joined11:42
sarkis left11:42
osse i'm curious how the former solved the problem11:42
kzar OK so a script made changes to crap loads of files automatically, but also there were a few files changed manually at the same time11:43
so I obtained the version previous to all the changes, ran the automated script again and created a git branch called temp11:43
so that only had the automated changes inside11:43
and then I created another git branch called temp2 which was taken from the current state, automated + manual changes all together11:43
LLaurent left11:46
lindenle left11:46
irqq joined11:46
LLaurent joined11:47
IlNominePatre left11:48
Fomina left11:48
sgen_ left11:48
jottr_ joined11:51
k4r1m left11:51
ferreum left11:52
EminenceHC joined11:53
jenni_naiaretti left11:53
King_Hual left11:53
nkouevda left11:54
LLaurent left11:54
hichamat joined11:55
King_Hual joined11:55
LLaurent joined11:56
argoneus joined11:56
argoneus left11:56
Error404NotFound left11:56
Xethron joined11:56
gauke joined11:57
ValicekB joined11:57
EminenceHC left11:57
bezet joined11:57
Zarthus left11:58
gauke left11:58
Px12 joined11:58
Zarthuss joined11:58
spareproject left11:59
fstd left12:00
fstd joined12:00
LLaurent left12:00
amikiri joined12:00
blackmesa left12:00
Akagi201 left12:00
hichamat left12:00
LLaurent joined12:01
Akagi201 joined12:02
bezet left12:02
spikedbanana joined12:03
jftf_ joined12:03
Polymorphism left12:03
bezet joined12:05
bezet left12:05
bezet joined12:06
mkaesz joined12:07
vire joined12:07
Px12 left12:07
jftf_ left12:08
Gizburdt left12:08
Gizburdt joined12:09
i_ron left12:09
mikedep333 left12:10
i_ron joined12:10
davispuh joined12:12
Gizburdt left12:13
mikedep333 joined12:13
Gizburdt joined12:13
gluten_hell joined12:14
teran joined12:15
jenni_naiaretti joined12:15
sinkensabe joined12:16
HelperW left12:17
jenni_naiaretti left12:18
jottr_ left12:18
Gizburdt left12:18
[diablo] left12:20
sinkensabe left12:21
Blaguvest left12:21
brovador left12:23
looper joined12:26
hoschi joined12:26
diegoviola joined12:26
Xethron left12:26
Px12 joined12:26
Gizburdt joined12:27
nerder joined12:28
nerder hello12:28
looper left12:29
daivyk joined12:30
Xethron joined12:31
hoschi left12:32
Gizburdt left12:32
kadoban left12:33
P4_Denis joined12:34
netcarver joined12:36
netcarver left12:37
P4_Denis left12:38
sarkis joined12:39
dsdeiz_ left12:40
jottr_ joined12:41
AnujSharma left12:42
spikedbanana left12:43
sarkis left12:43
Xethron left12:44
Gavrisimooo joined12:45
Xethron joined12:47
Xethron left12:47
Xethron joined12:47
Gavrisimo left12:47
kzar left12:47
bezet left12:47
vire left12:50
teran left12:52
TheEskil left12:52
eburcat left12:53
teran joined12:53
TheEskil joined12:53
toothrot joined12:54
mkaesz left12:58
JeanCarloMachado joined12:58
Skapadapaduu joined12:59
Mapleyqksjfmcopozcuvxj12:59
Xethron left12:59
tvw joined13:00
chimay joined13:00
Mitchbones joined13:02
ZarthussZarthus13:03
jnewt left13:03
hoschi joined13:03
daivyk left13:04
stamina left13:04
jftf_ joined13:04
Xethron joined13:04
JeanCarloMachado left13:05
JanC left13:07
Guest49931 joined13:07
Zifre joined13:07
mizu_no_oto joined13:08
teran left13:08
jftf_ left13:09
babilen left13:09
sinkensabe joined13:09
babilen joined13:09
teran joined13:10
danicampa901 joined13:10
Zifre_ left13:11
Polymorphism joined13:14
mkoskar left13:15
pantsman- left13:17
Gavrisimooo left13:19
JanC joined13:21
petersr left13:21
Roots47 joined13:21
seanmerron joined13:25
Gizburdt joined13:27
AnujSharma joined13:29
osse left13:31
hoschi left13:31
hoschi joined13:33
osse joined13:33
HelperW joined13:34
nerder hey13:34
if i do git fsck i have to dangling commit, but if i merge one of them first and the other one later, i get a merge conflict, what is that means?13:35
qsuscs !dangling13:35
gitinfo Dangling objects represent things added to git which are no longer needed based on the git commands you typed in. This can be normal workflow (rebase, reset, add, etc) or errors you made. Typing "!dangling_commit" "!dangling_blob" and "!dangling_tree" into a query to me will get you more information about each type.13:35
nour joined13:36
LLaurent left13:36
teran left13:36
Advocation joined13:37
studmuf joined13:37
seanmerron left13:38
Gizburdt left13:38
Sijdesign joined13:38
sarkis joined13:39
teran joined13:40
punchagan left13:40
liamkeily joined13:40
lindenle joined13:43
sarkis left13:45
cbreak nerder: you get a conflict because both histories try to change the same areas in code13:45
nerder: !eek13:45
gitinfo nerder: [!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=zz7NuSCH6II13:45
punchagan joined13:45
Px12 left13:46
amikiri left13:46
sinkensabe left13:47
teran left13:47
mtk left13:48
lindenle left13:48
teleporting_cat joined13:49
teran_ joined13:49
Px12 joined13:49
Gavrisimo joined13:50
mizu_no_oto left13:52
polyzen left13:52
nerder what are the unreachable commit/tree/blob?13:53
EminenceHC joined13:53
teran_ left13:54
Advocation left13:54
bezet joined13:54
nicoo left13:54
Gavrisimo left13:54
AnujSharma left13:55
punchagan left13:57
EminenceHC left13:58
bezet left13:58
Segfault_ left13:59
Silex nerder: when you amend a commit (or any history rewriting operation), the commits rewritten get "lost"14:00
Segfault_ joined14:00
Silex they are call unreachable, because no branch/tag point to them anymore14:00
called*14:00
nerder if i do git fsck --unreachable i got 2 unreachable commit 2 unrachable tree and 2 uncreachable blog14:00
how can i see that?14:01
Silex how can you see what?14:01
and why do you want to?14:01
I only bother about git fsck when I lost something I didn't mean to and I want to recover it14:02
bakabakabaka left14:02
nerder cause i want to see what there was in the commit14:02
Silex git show SHA1 will show you14:02
nerder yep, that what i want to do14:02
Silex altnernatively gitk can too14:02
more oftne than not "git reflog" is a better mean to recover lost commits14:03
you just go back to where you were before and start over14:03
(in association with git reset --hard)14:03
jftf_ joined14:05
hoschi left14:05
nerder ok and if i do git merge SHA1 (of the unreach commit)14:07
i got my commit back?14:08
ezio joined14:08
jftf_ left14:10
FreezingCold joined14:11
amikiri joined14:12
Segfault_ left14:12
Segfault_ joined14:13
hebz0rl joined14:14
Xethron left14:16
LLaurent joined14:16
Xethron joined14:17
Xethron left14:17
Xethron joined14:17
cbreak nerder: then you have both, obviously14:18
nerder: !lol14:19
gitinfo nerder: A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all14:19
punchagan joined14:19
cannonball joined14:22
fold joined14:23
lsiv568 joined14:23
kushal3 joined14:24
Oejet joined14:25
pantsman- joined14:25
Gamecubic joined14:25
kpreid left14:29
kpreid joined14:30
nbl joined14:31
txdv left14:31
dagnachew joined14:32
nbl left14:32
cagedwisdom left14:32
txdv joined14:33
chimay left14:34
P4_Denis joined14:34
Gizburdt joined14:35
mechanicalduck left14:35
Gizburdt left14:35
Gizburdt joined14:35
jstemmer left14:39
jstemmer joined14:39
P4_Denis left14:39
sarkis joined14:40
jftf_ joined14:41
eburcat joined14:41
sarkis left14:44
irqq left14:45
irqq joined14:46
B1x1t0 joined14:47
kburdett joined14:47
terribleplan joined14:48
teran joined14:48
jftf_ left14:49
dreiss joined14:50
Lunatrius left14:50
lskr left14:51
lsiv568 left14:51
lskr joined14:52
Lunatrius joined14:52
DaisyTheCow joined14:53
CraigyDavi` left14:53
Gavrisimo joined14:54
Roots47 left14:54
regreg left14:54
CraigyDavi joined14:55
atomx__ joined14:57
Gavrisimo left14:58
atomx_ left14:58
mechanicalduck joined15:00
ehmatthes joined15:00
bsm117532 left15:02
jottr_jottr15:02
jftf joined15:04
mennea left15:04
blackmesa joined15:04
Sijdesign left15:04
TheEskil left15:06
TheEskil joined15:07
hoschi joined15:08
dsdeiz joined15:08
MattMaker left15:08
DaisyTheCow left15:09
Trudko joined15:09
danemacmillan joined15:09
regreg joined15:10
jftf left15:10
sarkis joined15:10
teran left15:11
flowerhack joined15:13
TheEskil left15:16
MattMaker joined15:16
maqr_ joined15:17
fr33domlover joined15:17
Tashi_ joined15:17
TheEskil joined15:17
kushal2 joined15:17
fstd_ joined15:17
mueslo joined15:18
zumba_ad_ joined15:19
leen^| joined15:20
Cathy joined15:20
lachesis_ joined15:20
CathyGuest7012915:20
CraigyDavi` joined15:20
pantsman_ joined15:20
babilen_ joined15:20
ezioa joined15:20
shinnya_ joined15:21
dreiss left15:22
diegoviola left15:22
drathir87drathir15:22
a_le_ joined15:22
supernaut_ joined15:22
Sajbar_ joined15:22
flowerha_ joined15:22
spareproject joined15:22
punchagan1 joined15:22
netameta_ joined15:22
bsm117532 joined15:23
hagabaka left15:23
liamkeily1 joined15:23
asdpew_ joined15:23
binaryhat_ joined15:24
GodEater` joined15:24
GodEater` left15:24
GodEater` joined15:24
wrouesnel2 joined15:24
Silverwaves_ joined15:24
Novacha joined15:24
Novacha left15:24
Novacha joined15:24
Xethron_ joined15:24
Xethron left15:24
zumba_addict left15:24
lachesis left15:24
shinnya left15:24
Novacha_ left15:24
ncd|leeN left15:24
supernaut left15:24
frobware left15:24
jab416171 left15:24
netameta left15:24
Guest33000 left15:24
pantsman- left15:24
kushal3 left15:24
punchagan left15:24
LLaurent left15:24
ezio left15:24
babilen left15:24
Guest49931 left15:24
Tashi__ left15:24
dccc left15:24
maqr left15:24
asdpew left15:24
msonntag left15:24
st5ve left15:24
fstd left15:24
King_Hual left15:24
freeman42 left15:24
binaryhat left15:24
a_le left15:24
CraigyDavi left15:24
longbeach left15:24
flowerhack left15:24
Sajbar left15:24
godgodgodgo left15:24
wrouesnel left15:24
kaictl left15:24
King_Hual joined15:24
GodEater left15:24
jab416171 joined15:24
hays joined15:24
liamkeily left15:24
morenoh152 left15:24
LLaurent joined15:24
lachesis_lachesis15:24
regreg left15:24
fstd_fstd15:24
King_Hual left15:25
King_Hual joined15:25
hays left15:25
hays joined15:25
darkbasic left15:25
amikiri left15:25
darkbasic joined15:25
msonntag joined15:25
dccc joined15:25
hagabaka joined15:26
mmitchel_ joined15:26
xSmurf joined15:27
kaictl joined15:27
punchagan1 left15:27
punchagan joined15:27
regreg joined15:28
m0viefreak left15:29
m0viefreak joined15:29
frobware joined15:29
ciampix joined15:30
gtmanfre- joined15:30
lsiv568 joined15:30
kennon_ joined15:30
sohail joined15:30
sebbu2 joined15:30
rvsjoen joined15:30
Mitchbon_ joined15:31
FilipNor1ic joined15:31
sebbu2 left15:31
sebbu2 joined15:31
gluten_hell_ joined15:31
brett_ joined15:31
dreiss joined15:32
ncd|leeN joined15:33
MattMaker left15:33
hagebake joined15:33
kriskropd joined15:33
Baluze joined15:33
revyd left15:34
dsdeiz_ joined15:34
davispuhh joined15:35
Zarthuss joined15:37
cathyjf joined15:37
cathyjfGuest6866115:37
eletuchy_ joined15:37
hagabaka left15:38
GodEater` left15:38
leen^| left15:38
Guest70129 left15:38
dsdeiz left15:38
dagnachew left15:38
fold left15:38
osse left15:38
Mitchbones left15:38
gluten_hell left15:38
davispuh left15:38
Zarthus left15:38
FilipNortic left15:38
Tuna-Fish left15:38
eletuchy left15:38
Baluse left15:38
xobb left15:38
Oejet left15:38
reim left15:38
sebbu left15:38
FL1SK left15:38
_W_ left15:38
kennon left15:38
monokrome left15:38
gtmanfred left15:38
green_man left15:38
lokus left15:38
kriskrop1 left15:38
Chinorro_ left15:38
harish__ left15:38
rvsjoen_ left15:38
xSmurf left15:38
Segfault_ left15:38
asakura left15:38
skorgon left15:38
tanath left15:38
ntio left15:38
St_Marx left15:38
Chinorro joined15:39
Px12 left15:39
_W_ joined15:39
GodEater joined15:39
GodEater left15:39
GodEater joined15:39
harish__ joined15:39
xobb joined15:39
uwjesq joined15:39
Tuna-Fish joined15:40
fold joined15:40
green_man joined15:40
osse joined15:40
dagnachew joined15:41
Oejet joined15:41
Px12 joined15:42
Mitchbon_ left15:42
davispuhhdavispuh15:43
lindenle joined15:45
NBhosting left15:45
kukks left15:46
lsiv568 left15:46
belak left15:46
ezioa left15:47
mtk joined15:47
mnavratil joined15:47
mnavratil left15:47
mnavratil joined15:47
stealthii joined15:47
punchagan left15:49
gauke joined15:49
belak joined15:49
lindenle left15:49
reim joined15:49
regreg left15:50
kukks joined15:51
Gizburdt left15:51
morenoh152 joined15:51
joelm left15:52
madewokherd joined15:53
Xethron_ left15:53
redrocket joined15:53
ehmatthes left15:53
EminenceHC joined15:54
Gavrisimo joined15:54
nkouevda joined15:55
jagob left15:56
Xethron joined15:56
amikiri joined15:56
ajustrun joined15:57
Gavrisimo left15:58
EminenceHC left15:59
ojacobson joined16:00
nkouevda left16:00
monokrome joined16:01
liamkeily1 left16:01
HelperW_ joined16:02
ZarthussZarthus16:02
SonikBoom joined16:03
cannonball left16:03
eburcat left16:03
curiousmansi_ joined16:03
adac joined16:04
HelperW left16:05
OrpheusP joined16:06
mennea joined16:06
shinnya_ left16:06
Blaguvest joined16:07
hoschi left16:07
atomx__ left16:07
ERROH left16:08
polyzen joined16:08
ERROH joined16:08
Trudko left16:09
revyd joined16:09
redrocketredr0ket[DEN]16:09
spareproject left16:10
Tashi_Tashi16:10
thiago joined16:11
jottr left16:11
pandeiro joined16:11
Baluze left16:11
descala joined16:12
gevatter_ left16:12
tgunr left16:13
HelperW_ left16:14
HelperW_ joined16:14
maestrojed joined16:16
jottr joined16:18
scarabx joined16:18
spareproject joined16:19
jnewt joined16:19
Manny joined16:20
jnewt i've a file, that git diff shows the whole file being changed (every line removed, all new ones added), whereas difftool shows only a couple of lines removed / changed. out of curiosity, what would cause the difference?16:20
Eugene !eol16:21
gitinfo The option/attribute to use when you need to care about different line-endings in your file: http://timclem.wordpress.com/2012/03/01/mind-the-end-of-your-line/16:21
Eugene CRLF vomit16:21
Goplat joined16:21
himikof left16:22
pandeiro left16:23
himikof joined16:23
jnewt Eugene, I think that's the reason. i tried setting core.eol to the three different options (native, crlf, lf), and then running diff after each change, no difference.16:24
eburcat joined16:24
Eugene Figure out which way the file is, and then make it be the other way16:25
LF is the "correct" way for almost all projects, fwiw16:25
dreiss left16:25
otter768 joined16:26
cbreak it doesn't depend on the project, it mostly depends on the file16:26
kushal2 left16:26
cbreak text files should be LF. .bat files or visual studio projects should be CRLF16:26
nfk left16:27
jnewt well, all my files are test, .c, .s, .h, etc, software for embedded microcontrollers16:27
Eugene s/CRLF/mercilessly deleted/16:27
mikejw left16:27
Eugene Unless there's a Damned Good Reason (tm) for something to be Windows-specific, make it LF.16:27
LLaurent left16:28
jnewt looks like the file is all LF, no CRLF16:28
nfk joined16:28
Eugene So what did it used to be? ;-)16:28
Muinasjutuvestja joined16:29
flowerha_ left16:30
jnewt yup. used to all be CRLF. not sure how i want to deal with that. not really a code change / worthy of a commit16:30
liamkeily joined16:30
dreiss joined16:30
osse jnewt: then you need to stop using the software that changed the file behind your back16:31
jnewt: for now, unix2dos {file}16:32
babilen_babilen16:32
revyd left16:34
P4_Denis joined16:35
amikiri left16:36
CheckDavid joined16:36
eburcat_ joined16:37
Advocation joined16:38
P4_Denis left16:39
BSaboia left16:39
ClarusCogitatio left16:40
eburcat left16:40
m8 joined16:40
D-Boy left16:41
Xethron left16:41
maestrojed left16:42
ClarusCogitatio joined16:43
Xethron joined16:44
maestrojed joined16:45
jottr left16:45
jftf_ joined16:46
maestrojed left16:48
D-Boy joined16:49
Dougie187 joined16:50
Gavrisimo joined16:50
jftf_ left16:51
jottr joined16:52
Malsasa left16:52
gvdm left16:53
joo-_ joined16:53
gluten_hell__ joined16:54
petersr joined16:55
Gavrisimo left16:55
gluten_hell_ left16:55
sinkensabe joined16:56
dc5ala joined16:57
sin3t_ left16:58
das_beard joined17:03
sq-one joined17:03
Xethron left17:03
Polymorphism left17:03
jftf joined17:04
tac_ joined17:04
blackmesa left17:05
Polymorphism joined17:05
kadoban joined17:07
livingstn joined17:07
kukks left17:08
Xethron joined17:08
jftf left17:10
joo-_ left17:10
BSaboia joined17:11
adac left17:11
adac joined17:12
vurma joined17:12
BSaboia left17:13
BSaboia joined17:13
BSaboia left17:14
Sijdesign joined17:15
freeman42 joined17:17
ferreum joined17:19
jftf joined17:19
B1x1t0 left17:19
B1x1t0 joined17:19
noxd joined17:20
Megaf_Megaf17:20
paolooo joined17:20
sinkensabe left17:21
sinkensabe joined17:21
eburcat_ left17:23
LeVoDECoM joined17:23
curiousmansi_ left17:23
doener_ left17:24
gitinfo set mode: +v17:26
tvltobiasvl17:26
St_Marx joined17:28
cannonball joined17:29
WormDrink joined17:29
WormDrink left17:30
WormDrink joined17:30
mmitchel_ left17:31
JDHawke left17:31
JDHawke joined17:32
Lyqyd joined17:33
xSmurf joined17:34
ehmatthes joined17:36
yacks left17:36
OrpheusP left17:37
OrpheusP joined17:37
ferreum left17:38
skorgon joined17:38
toothrot left17:39
hoschi joined17:39
nabblet joined17:39
noxd left17:39
nabblet hi, i worked on master and commited something that was stupid, so i did git revert <short commit-id> ... here is the result:17:40
* 8c9ec9e (HEAD, master) Revert "decreased ABLmap resolution"17:40
* 24482ad (origin/master) logging value of stronges hebbian link for colormap aligning in MATLAB (just ntoice that's bull****! I already have that data in my hebbian link vector!!!)17:40
* 6cc4fc6 decreased ABLmap resolution17:40
kaendfinger joined17:41
nabblet what i want is to return to commit 6cc4fc6 and act as if nothing happened. how do i do that?17:41
ferreum joined17:41
Oejet See 'git reset'.17:42
tobiasvl nabblet: !revert17:42
gitinfo nabblet: That's a rather ambiguous question... options: a) make a commit that "undoes" the effects of an earlier commit [man git-revert]; b) discard uncommitted changes in the working tree [git reset --hard]; c) undo committing [git reset --soft HEAD^]; d) restore staged versions of files [git checkout -p]; e) move the current branch to a different point(possibly losing commits)[git reset --hard $COMMIT]?17:42
Gizburdt joined17:43
tanath joined17:43
roelmonnens joined17:43
nabblet Oejet: tobiasvl thank you. if i reset (option e) origin will also take over that reset I presume. Correct?17:44
Tuna-Fish left17:44
OrpheusP left17:44
Walex2 left17:45
Tuna-Fish joined17:45
bollullera joined17:45
jonmorehouse joined17:46
teleporting_cat left17:46
scarabx left17:46
livingstn left17:47
lindenle joined17:47
nabblet i just tried. nope it does not. now, origin is ahead of local copy by 1 commit (which is the commit i want to get rid of)17:47
ajustrun left17:47
jftf_ joined17:47
nabblet so i think git revert is the only feasible option.17:48
slmult0 joined17:48
uwjesq left17:48
nabblet Oejet: tobiasvl thank you both for your input and sorry for my monologoue ;)17:50
hoschi left17:50
Oejet nabblet: You would have to force push your branch to origin, I think.17:50
blackmesa joined17:50
shafox left17:50
cworth`cworth17:51
Gavrisimo joined17:51
lindenle left17:51
redr0ket[DEN] left17:52
jftf_ left17:52
nabblet Oejet: hm, good point! didn't think of that option. Anyway, seeing some sausage-making in my repo doesn't hurt anyone ('cept my pride maybe :P)17:52
Oejet If others might have pulled from origin, then a revert is the correct solution. Otherwise you can mutate the history of origin, perhaps forcefully. This is just what my memory says.17:54
osse !sausage17:54
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 !perfect17:54
qohelet_ joined17:54
LeVoDECoM left17:55
EminenceHC joined17:55
bezet joined17:55
Gavrisimo left17:55
MeltedLux joined17:56
qt-x joined17:57
nabblet Oejet: force-pushing the reset does as you said. See the result:17:57
* 6cc4fc6 (HEAD, origin/master, master) decreased ABLmap resolution17:58
Noldorin joined17:58
ntio joined17:58
sq-one left17:58
bezet left17:59
Advocation left18:00
nabblet Oejet: I'm the only one pulling and pushing to origin (from different computers though) so i think it's ok. revert surely is the cleaner/more transparent solution though. Thank you. osse thanks18:00
Oejet nabblet: Great!18:00
EminenceHC left18:00
cannonball left18:00
LeMike left18:01
Sijdesign left18:01
dreiss left18:01
trewe joined18:01
Segfault_ joined18:01
vire joined18:03
godgodgodgo joined18:03
paolooo left18:04
kukks joined18:04
danicampa901 left18:05
jftf left18:07
Muinasjutuvestja left18:09
St_Marx left18:10
St_Marx joined18:10
asdpew_ left18:11
asdpew joined18:12
asdpew left18:12
OrpheusP joined18:12
jonmorehouse left18:12
asdpew joined18:12
ajustrun joined18:15
skynxnex left18:15
jonmorehouse joined18:16
[twisti] joined18:19
[twisti] left18:19
Manny left18:20
Manny joined18:20
irqq left18:20
asakura joined18:21
jheg joined18:22
uwjesq joined18:24
ockham joined18:26
mattcen left18:27
Marcus___ joined18:27
irqq joined18:27
starkhallo joined18:27
jenni_naiaretti joined18:27
liamkeily left18:28
mattcen joined18:28
Marcus left18:30
SimonNa joined18:30
upene joined18:30
dc5ala left18:31
shinnya joined18:33
qohelet_ left18:33
jenni_naiaretti left18:34
teran joined18:34
ajustrun left18:34
amikiri joined18:34
myndzi left18:35
jenni_naiaretti joined18:35
P4_Denis joined18:35
spareproject left18:36
LucasTT joined18:36
LucasTT_ joined18:36
LucasTT_ left18:37
LucasTT_ joined18:37
LucasTT_ left18:38
LucasTT_ joined18:38
kukks left18:39
Domhack joined18:39
P4_Denis left18:40
dsdeiz_ left18:40
upene left18:41
Roots47 joined18:42
ClarusCogitatio left18:43
sq-one joined18:43
Marcus___ left18:45
Marcus joined18:45
Padawan joined18:45
studmuf left18:45
ClarusCogitatio joined18:45
studmuf joined18:46
LucasTT_ left18:46
uwjesq left18:46
nabblet left18:47
SjB left18:47
lindenle joined18:47
toothrot joined18:48
jftf_ joined18:48
freeman42 left18:48
studmuf left18:49
studmuf joined18:50
gitinfo set mode: +v18:51
Padawan whenever i modify a file i have to [git add it] again to the stage area and then commit?18:51
dadamssg_ joined18:51
upene joined18:51
SjB joined18:51
lindenle left18:52
cyphase left18:52
Gavrisimo joined18:52
qsuscs you can also discard your modifications18:52
oojacoboo joined18:52
kadoban Padawan: Yes. You can do it in one go with git commit -a, but it's a good habit to get used to git add first, it's much more flexible18:53
jftf_ left18:53
nkouevda joined18:53
Padawan oh, commit -a includes the git add in it?18:54
cyphase joined18:54
robustus left18:54
uwjesq joined18:54
kadoban Padawan: Basically, yeah. It commits all modifications/deletions18:55
mechanicalduck_ joined18:55
uwjesq left18:56
Gavrisimo left18:56
mechanicalduck left18:56
pandeiro joined18:57
studmuf left18:57
mechanicalduck_mechanicalduck18:57
studmuf joined18:58
Gizburdt left18:59
Padawan My head is kind of hurting since i want to get this repo i just created and i want to put it on github. So, as i see now, i do things and add things, i commit things I'm sure its right and those things is in my local repo. So far ok.18:59
robustus joined18:59
thiago yes18:59
Padawan Now, if i want to put them into another repo... i have to push them is that right?19:00
OneEyedWill joined19:00
_ikke_ correct19:00
kadoban Basically, yes19:00
studmuf left19:00
Padawan and if i am pushing it, it means the things it is commited is going to be pushed?19:00
thiago yes19:00
[diablo] joined19:01
Padawan ok, thanks19:01
hoschi joined19:02
OrpheusP left19:03
Padawan Ok, i think this git thing is gonna be magical once i start to understand more.19:03
qsuscs !book19:04
gitinfo There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable19:04
kadoban Ya, git is great stuff once you get used to it19:04
qsuscs easy to learn it is, as long as svn you forget, young padawan.19:04
qt-x left19:05
ajustrun joined19:05
kpreid left19:06
hoschi left19:07
OneEyedWill left19:07
LLaurent joined19:08
studmuf joined19:08
Gizburdt joined19:08
Padawan svn i already do not know, so need to forget i do not need master!19:09
shafox joined19:10
jonmorehouse left19:12
studmuf left19:13
aspiers left19:13
Ratler left19:15
Ratler joined19:15
mugenzebra joined19:15
Marcus___ joined19:16
jnewt left19:16
jnewt joined19:17
[diablo] left19:18
Marcus left19:18
JanC left19:19
Marcus joined19:22
studmuf joined19:22
liamkeily joined19:23
anomalyst joined19:23
roelmonnens left19:23
Marcus left19:24
liamkeily left19:24
Marcus___ left19:24
Marcus joined19:24
Vampire0_Vampire019:24
sin3t joined19:24
nsfw left19:25
eburcat joined19:26
xnrand joined19:26
ojacobson left19:26
dccc left19:27
jjasinski left19:27
aswen joined19:27
liamkeily joined19:28
ajustrun left19:28
Shadeness joined19:30
gccostabr left19:30
Gizburdt left19:31
jheg left19:31
Shadeness left19:31
V1s1ble left19:31
kadoban left19:32
dccc joined19:33
JanC joined19:33
[diablo] joined19:35
kaendfinger_ joined19:36
danemacmillan left19:37
govg joined19:37
iauns joined19:37
kaendfinger_ left19:37
Padawan why after i created a folder, moved files to it, did [git init], git add *, and when i do a git status i got a untracked content? As i understand it would only show that if i never got added it right?19:39
_lexjm joined19:39
ehmatthes left19:39
Jackneill left19:39
das_beard left19:39
styx_ Padawan: is your untracked content beginning with a .?19:40
Padawan so, if did not add something it is untracked, but isn't [git add *] supposed to add everything recursively inside the repo?19:40
JayLeon joined19:40
Padawan styx_: no19:40
JayLeon left19:40
Tuna-Fish left19:40
Vampire0 Padawan, what is the untracked content?19:40
bddy joined19:40
anomalyst left19:41
Padawan Vampire0: vim/bundle/tComment (untracked content)19:41
it is a vim plugin19:41
irqq left19:41
Padawan should i just try to re-git-add it?19:41
Vampire0 Padawan, usually you use "git add ." to add all, which tells git to add the current dir and all beneath. "git add *" is expanded by the shell and there e. g. things starting with "." are missing then19:41
Why that subfolder was not added I don't know though19:42
eliasr left19:42
Vampire0 It should have worked19:42
Padawan i see19:42
how do i delete git insite a folder to restart over?19:42
Vampire0 But yes, you can try to re-add and if it worked properly to a commit with --amend, or create a new commit, whatever suits you better19:42
bddy Hello. If I did push to origin and saw message that push was successful. And then I told my buddy to do pull. Is it possible that he didn't pull my commits because they were still arriving?19:42
styx_ Padawan: rm -rf .git19:42
bddy Or it depends?19:42
Vampire0 bddy, I don't think so. When you see that the push was successful, the push should be finished19:43
bddy, maybe you didn't push what you think you pushed?19:43
bddy, are there more than one branch and you pushed only one while your buddy is looking for another branch?19:44
bddy Vampire0: No, that was an abstract question. Probably there is a bug in our build bot. (I called build bot a buddy for simplicity)19:45
ClarusCogitatio left19:45
ajustrun joined19:45
bddy Thanks for clarificatin19:45
txdv left19:46
Padawan Even when i do a [git add .] that folder contec get the status of untracked19:46
gonna google a bit19:46
txdv joined19:46
styx_ can't you paste us your folder?19:46
dwmw2_go`dwmw2_gone19:46
Padawan i did: vim/bundle/tComment (untracked content)19:47
kerrick joined19:47
_ikke_ That's a submodule19:47
Padawan you mean the entire path?19:47
Roots47 left19:47
ClarusCogitatio joined19:47
Padawan but there's more submodules and only this one got this state of untracked19:48
_ikke_ Padawan: Go to the submodule and do git status19:48
jftf_ joined19:49
ChanServ set mode: +o19:50
dccc left19:50
Silverwaves_ left19:50
ValicekB left19:50
dccc joined19:51
jftf joined19:51
gitinfo bddy: This channel tracks karma based on who has gotten lots of thanks for being helpful. If you want to help someone reach karmic nirvana, please mention their name when thanking them with "thank you", "thankyou", "thanks", "thx" or "cheers". Try ".karma <nick>" or ".topkarma" to show karma status of a person, but please do it via private message to avoid mass highlighting people.19:51
cbreak set mode: -o19:51
Tuna-Fish joined19:51
pioneeraxon joined19:52
Gavrisimo joined19:52
pioneeraxon Hi all, I'm trying to apply a diff that is generated by "git diff" using "git apply". But it ignores all the files that have been added to the repository.19:53
Is there a way to include all the new files?19:53
_ikke_ git apply ignores it?19:53
Padawan holy fuck i see it now, it had some unfrocked files/folders, thanks _i19:53
jonmorehouse joined19:53
jftf_ left19:54
pioneeraxon Also, I'm using filters like "--include" and "--exclude", but the new files do pass the conditions..19:55
bezet joined19:55
EminenceHC joined19:56
pioneeraxon Oops! I'm too dumb!! I was using git diff instead of simple "diff" after using "git apply"..19:56
Sorry..19:56
Padawan Thanks _ikke_, qs19:56
jftf left19:57
petersr left19:57
Gavrisimo left19:57
pioneeraxon Thank you _ikke_ :)19:57
Rmar|AwayRmarmorstein19:57
ajustrun left19:57
thibaultcha joined19:58
aswen left19:58
_ikke_ yw19:59
diegoviola joined20:00
bezet left20:00
EminenceHC left20:01
Marcus left20:01
atatat joined20:02
Marcus joined20:02
Marcus left20:02
Marcus joined20:02
plilq joined20:02
Marcus left20:02
danemacmillan joined20:03
Marcus joined20:03
cannonball joined20:03
Xethron left20:03
toothrot left20:06
Xethron joined20:06
Xethron left20:06
Xethron joined20:06
mechanicalduck left20:07
plilq I'm doing some code formatting and whitespace cleanup and I'd like to make sure nothing "real" changes. Diffing with --ignore-all-space takes care of most of my needs, but I haven't been able to find a setting to ignore line breaks. By this I mean stuff like moving a function opening bracket that has been on the same line to the next one. Is there a setting that would ignore this?20:07
Marcus left20:08
upene left20:08
ajustrun joined20:08
Seveas plilq: not really. diffs are very much line-oriented.20:09
danemacmillan left20:09
anomalyst joined20:09
anomalyst left20:09
anomalyst joined20:10
plilq Alright, thanks. Would have been nice to see an empty diff to know only whitespaces changed, even if it was accross rows.20:10
grawity well, I think one could configure `indent` as a diff filter20:10
Seveas grawity: oh ew... but yes, that may work20:10
grawity but that'd also affect checkouts and checkins (commits)20:10
ValicekB joined20:11
Xethron left20:12
dreiss joined20:13
jonmorehouse left20:13
felixjet_ joined20:14
aswen joined20:14
hoschi joined20:14
studmuf left20:15
netcarver joined20:15
atatat left20:16
gccostabr joined20:16
spareproject joined20:17
Xethron joined20:17
Xethron left20:17
Xethron joined20:17
felixjet left20:17
danicampa901 joined20:17
jonmorehouse joined20:18
atatat joined20:18
felixjet joined20:18
Blaster left20:19
Manny left20:20
Manny__ joined20:20
ajustrun left20:20
[diablo] left20:21
aswen left20:21
felixjet_ left20:21
slmult0 left20:22
dreiss left20:22
hoschi left20:24
studmuf joined20:24
oojacoboo left20:24
ultrapro joined20:24
pingo joined20:24
Guest18001 left20:25
maestrojed joined20:25
forgot joined20:25
ajustrun joined20:26
maestrojed left20:26
Px12 left20:27
cagedwisdom joined20:27
das_beard joined20:28
pioneeraxon left20:29
bit_twit joined20:29
kaendfinger left20:30
sebbu2sebbu20:31
sq-one left20:31
ianbrandt left20:32
das_beard left20:32
ajustrun left20:32
danemacmillan joined20:33
pingo left20:34
dreiss joined20:35
P4_Denis joined20:36
tyreld left20:37
das_beard joined20:37
Padawan left20:38
ultrapro left20:39
ianbrandt joined20:39
das_bear_ joined20:39
das_beard left20:39
aidalgol joined20:40
danicampa901 left20:40
P4_Denis left20:40
das_bear_ left20:41
das_beard joined20:41
b240 joined20:44
das_beard left20:46
zumba_ad_ hi _ikke_ I have another question about the topic we were discussing yesterday. Am I right that if let's say I have 3 features to finish, I'll complete those 3 features first before I make a release branch? I was thinking it would be so much work if I make a release for every feature20:47
canton7 depends whether you want 3 separate releases, or 1 single release :P20:49
lindenle joined20:49
wwalker left20:49
rainabba_ left20:49
anomalyst granularity is a good thing20:49
jftf_ joined20:50
anomalyst push updates frequently20:50
wwalker joined20:50
tyreld joined20:50
anomalyst even in mid feature20:51
you can always squash the posts later if you dont want to save the intermediates20:51
lindenle left20:53
bddy left20:53
jftf_ left20:54
B1x1t0_ joined20:55
V1s1ble joined20:56
B1x1t0 left20:56
jottr_ joined20:56
Padawan joined20:58
mechanicalduck joined20:58
gitinfo set mode: +v20:59
jottr left20:59
aidalgol left21:00
atatat left21:00
zumba_ad_ ok21:00
SjB left21:01
EminenceHC joined21:01
zumba_ad_ canton7: correct me if I am wrong that release is the one that's going to be tested by our QA testers21:01
devoldmx joined21:02
b240 left21:02
j416 zumba_ad_: when you make a release branch, at least according to the suggestion on nvie's blog, it would mean that it is frozen for new development and that only bug fixes may be merged to it21:02
https://github.com/jsageryd/gaku21:02
bah wrong link, apologies21:02
zumba_ad_ k21:02
j416 http://nvie.com/posts/a-successful-git-branching-model/21:02
^21:02
zumba_ad_ yup, i was reading that yesterday21:02
cannonball left21:03
zumba_ad_ i was told too that if qa tester found a bug in release, I will directly make changes to the release branch and not create another branch21:03
AaronMT joined21:03
asdpew left21:03
j416 not necessarily21:03
depends on your workflow21:03
kalypso joined21:03
slash77 joined21:03
zumba_ad_ using that workflow you sent21:03
slash77 left21:03
j416 for example, in our team each dev would always work in his own branch, and we'd merge that to master when it's ready21:04
b240 joined21:04
zumba_ad_ k21:05
b240 left21:05
j416 we do rolling releases so we don't have the concept of versions but if we would do that, we would merge developer branches into release branches if they're bug fixes21:05
zumba_ad_ i'm actually going to follow the one from nvie. I already created a develop branch21:05
got it21:05
j416 I've found it useful to pick parts of nvie, using all of it is sometimes overkill and creates more overhead than necessary21:06
zumba_ad_ k21:06
canton7 yeah, gitflow is a collection of techniques to solve lots of different problems in elegant ways21:06
netameta_ left21:06
tpollard joined21:06
zumba_ad_ i'm actually a bit confuse on my code and git. it's because my code needs to be compiled to make it work in Apache. However, I don't git the compiled code21:07
j416 sane.21:07
zumba_ad_ It's an AngularJS application21:07
Actually, it will run but when I said compiling, I meant minification and uglification21:07
netameta joined21:07
canton7 yup?21:08
Oejet left21:08
fr33domlover left21:09
zumba_ad_ so the minified code is the one that gets uploaded to Apache21:09
EminenceHC left21:09
veebers joined21:09
j416 zumba_ad_: is there a question, too?21:10
zumba_ad_ no, I was just mentioning it21:10
I just realized that I was just minifying it :)21:10
Skapadapaduu left21:10
j416 and the confusion?21:10
zumba_ad_ the confusion is the raw code and minified code, I was thinking if I should also push minified code to bitbucket21:11
there is no reason to git push it21:11
i answered myself21:11
j416 generated things, be it minified code, compiled binaries, don't need to be tracked usually21:11
indeed not21:11
zumba_ad_ yup21:11
am I right that when I need to make a new server, I clone from tag?21:12
assuming the one I tag is the most recent stable21:12
j416 not sure what you mean by that21:12
you clone a repo, not a tag21:12
zumba_ad_ ok21:12
i thought tag can also be clone21:13
j416 but sure, you can checkout a tag21:13
zumba_ad_ oh21:13
j416 a tag is like a branch except it won't change21:13
zumba_ad_ yes21:13
especially, I was planning of just putting it on a new web server21:13
so either tag or the repo that has the same version will be fine21:13
blackmesa left21:13
zumba_ad_ ah, although my repo or tag isn't minified21:14
would that mean that once I clone it, I'll have to run my minification script on the server?21:14
j416 yes.21:14
zumba_ad_ oh, gotcha21:14
canton7 you're trying to use git for !deployment21:14
gitinfo [!deploy] 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.html21:14
j416 ^21:14
zumba_ad_ canton7: no21:14
MorpheusBeing joined21:14
canton7 git is not a deployment tool :P21:14
zumba_ad_ canton7: but using git clone to copy21:15
we have Opworks21:15
they decommissioned Jenkins21:15
eburcat left21:15
FunkyAss left21:15
zumba_ad_ though I haven't seen an Opworks script yet21:15
aidalgol joined21:15
eburcat joined21:16
zumba_ad_ quick question about tag and features21:16
let's say I was asked to work on 3 features that will be on the October release21:16
They want the version to be released as 1.221:17
each 3 features are big. So I start working on first feature. I pushed it and make a release 1.2.1 and hand it over to QA. I tell QA start testing it, I'll start working on the next feature21:17
j416 zumba_ad_: you should read http://semver.org21:18
zumba_ad_ yeah, that was given to me yesterday, I should read it again :)21:18
j416 if QA needs to test each feature directly after it's ready, before public release, I would create some kind of internal release and name it something like 1.2-<sha of commit>21:19
without tagging it21:19
sorry 1.1-<sha of commit>21:20
(because it's before 1.2)21:20
-or- I would have a system where there are pre-release versions, with some predetermined suffix system21:20
ehmatthes joined21:20
zumba_ad_ ok21:21
dougsland joined21:22
zumba_ad_ i like that, sha of commit21:22
jon-mac left21:22
zumba_ad_ we actually have a release this coming 19th21:22
I've finished most of the features and are currently being tested21:22
though I completed it last week and it was only today that I created a develop branch21:23
mattcen left21:23
zumba_ad_ also, I upload minified code manually using scp21:23
I haven't employed release nor tagging21:23
but would really love to21:23
Xethron left21:23
andschwa joined21:24
zumba_ad_ maybe, I can now make a release version since I don't have any changes nor new code. What do you think folks?21:24
git checkout -b release/v1.0.0 develop21:25
bit_twit left21:25
studmuf left21:25
thibaultcha left21:25
acharlieh joined21:26
Polymorphism left21:28
mennea left21:28
j416 zumba_ad_: http://semver.org21:29
j416 off to bed o/21:29
zumba_ad_ thanks21:29
godgodgodgo left21:29
j416 zumba_ad_: "How do I know when to release 1.0.0?" in the FAQ21:29
j416 off to bed fr o/21:29
zumba_ad_ k21:29
Noldorin left21:29
amikiri left21:30
zumba_ad_ that question is perfect for me since my code is also in production though with no version right now21:30
that means, my code version will stay for a long time at 1.x.x since I don't know if it will ever become incompatible21:31
rdbell joined21:32
jon-mac joined21:32
Noldorin joined21:33
jon-mac left21:34
das_beard joined21:35
mattcen joined21:35
zumba_ad_ hey folks, I'm going to create a release branch now. I would like to make it meaningful rather than my current command git checkout -b release/v1.0.0 any suggestions?21:37
zling______ left21:37
MorpheusBeing left21:37
eliasr joined21:38
n-st joined21:38
anaran joined21:39
sinkensabe left21:39
das_beard left21:40
MorpheusBeing joined21:40
zlinn joined21:40
gauke left21:40
osse how about tagging stuff as RC21:40
das_beard joined21:40
zumba_ad_ RC is release candidate right?21:40
but right now, I'm only at the release branch creation and not at the tagging yet21:41
King_Hual left21:41
zumba_ad_ if I remember correctly, I should tag only when code has been tested thoroughly and no bugs found21:41
anaran I would like to add commit comments per git hunk as I go through git commit -p; possible?21:42
das_bear_ joined21:42
zumba_ad_ maybe, I should git checkout -b release/ourappname-v1.0.0 Is this yucky?21:43
vurma left21:43
zumba_ad_ or maybe like what j416 told me earlier - git checkout -b release/v1.0-17ea5b904f0cc479060a1599d8fea726f76f571e21:44
das_beard left21:44
zumba_ad_ but how will I know the sha if I'm just about to create the branch21:45
tac_ left21:45
zumba_ad_ maybe he meant the last commit21:45
preyalone joined21:45
blackmesa joined21:46
das_bear_ left21:46
jftf_ joined21:50
pantsman_ left21:53
jftf_ left21:55
bezet joined21:56
devoldmx3 joined21:56
devoldmx left21:56
kadoban joined21:56
Turicas joined21:57
kaendfinger joined21:57
kalypso left21:58
LLaurent left21:58
osse anaran: no, but you can write notes into any file and when it's time to commit you can do git commit -eF notes.txt21:59
anaran: or git commit -F notes.txt if there is no need to edit it before committing21:59
devoldmx joined21:59
nour left22:00
bezet left22:00
devoldmx3 left22:01
osse zumba_ad_: is there parallel development ongoing on the next version?22:01
rdbell left22:02
[diablo] joined22:02
rdbell joined22:02
diegoviola left22:03
devoldmx3 joined22:03
dreiss left22:03
mizu_no_oto joined22:04
autochthon joined22:04
midnightmagic left22:05
midnightmagic joined22:05
[diablo] left22:05
rdbell_ joined22:06
rdbell_ left22:06
toothrot joined22:06
rdbell left22:06
devoldmx left22:06
rdbell_ joined22:06
noxd joined22:07
allouis________ left22:08
osse gotta go. my point was merely that if there isn't then there's no need to create a branch at all. actual released (or to be) deserves a tag. branch names aren't as important. do what makes sense.22:08
eburcat left22:09
ncd|leeNleeN22:10
eburcat joined22:11
rdbell_ left22:11
ehmatthes left22:11
adac left22:11
SimonNa left22:11
allouis________ joined22:11
eburcat left22:12
scarabx joined22:13
anaran osse: thanks!22:13
jottr_ left22:15
mizu_no_oto left22:16
rdbell_ joined22:18
morphix0 joined22:18
mizu_no_oto joined22:19
Manny__ left22:20
Manny joined22:20
gasull joined22:21
jottr_ joined22:23
rdbell_ left22:23
rdbell_ joined22:24
rdbell_ left22:24
gasull left22:24
rdbell_ joined22:25
morphix0 left22:28
m8 left22:28
midnightmagic left22:29
rdbell_ left22:29
rdbell_ joined22:30
blackmesa left22:31
israelpattison left22:31
midnightmagic joined22:31
israelpattison joined22:32
DanMAbraham joined22:34
rdbell_ left22:35
cannonball joined22:36
das_beard joined22:36
P4_Denis joined22:36
nkouevda left22:37
robbyoconnor joined22:37
B1x1t0_ left22:37
wabash joined22:38
spareproject left22:38
wabash Howdy. I want to rebase branch B on branch A. Is it as simple as rebase -i A-HEAD?22:38
veebers left22:39
evildmp left22:39
osse wabash: git checkout B; git rebase A22:39
veebers joined22:39
wabash excellent, thank you.22:39
That just keeps the commit messages of B, but makes new hashes of course, since the ancestry changes?22:40
osse yes22:40
HelperW__ joined22:40
wabash thank you.22:40
osse add -i if you want22:40
das_bear_ joined22:40
wabash What will that get me, the chance to change messages and squash the commits in B, correct?22:40
osse stuff like that22:41
wabash thank you so much.22:41
P4_Denis left22:41
osse reorder them too22:41
Kicer86 left22:41
wabash When I reorder, the ancestry changes. Will the dates on all of them be "NOW" though?22:41
osse no22:41
wabash And, what happens to the dates on the rebase?22:41
all changed to "now"?22:41
oh.22:41
das_beard left22:41
wabash So when I rebase B on A, what happens to the dates of B?22:42
osse author date is untouched. commit date is now22:42
zapb_ left22:42
wabash will some children have author dates before their parents?22:42
osse perhaps22:42
wabash freaky!!!!22:42
:)22:42
kriks left22:42
osse i sleeep ar night22:43
WaReZ left22:43
mellernoia joined22:43
HelperW_ left22:43
anaran left22:43
das_bear_ left22:45
HelperW__ left22:45
madewokherd left22:45
mizu_no_oto left22:50
lindenle joined22:50
Vinnie_win left22:51
jftf_ joined22:51
TheEskil left22:54
lindenle left22:55
TheEskil joined22:55
jftf_ left22:56
SjB joined22:56
saurik left22:57
wrouesnel2 left22:57
vire left22:57
jenni_naiaretti left23:00
jenni_naiaretti joined23:01
mozzarella left23:01
WakiMiko left23:02
WakiMiko joined23:02
mozzarella joined23:02
aidalgol left23:02
teran left23:04
EminenceHC joined23:05
lachesis left23:05
aidalgol joined23:05
amikiri joined23:06
_lexjm left23:07
Padawan hey guys, do i need to create a repo on github website in order to place my local one??23:07
diegoviola joined23:09
wrouesnel joined23:09
lachesis joined23:09
fold left23:09
EminenceHC left23:09
HelperW__ joined23:10
toothrot left23:12
HelperW__ left23:13
Vinnie_win joined23:13
HelperW__ joined23:13
n-st left23:13
saurik joined23:13
ockham left23:14
jenni_naiaretti left23:14
Guest92862 left23:16
HelperW__ left23:18
pandeiro left23:20
jenni_naiaretti joined23:20
TheEskil left23:20
akiva joined23:23
gluten_hell__ left23:23
TheEskil joined23:23
netcarver left23:24
starkhallo left23:27
starkhalo joined23:27
mikecmpbll left23:28
Zarthus left23:28
darkbasic left23:28
ncd|leeN joined23:28
darkbasic joined23:28
Zarthuss joined23:28
GodEater left23:29
Ornacia left23:29
pandeiro joined23:29
MorpheusBeing left23:29
noxd left23:29
leeN left23:29
frobware left23:29
liamkeily left23:30
madewokherd joined23:30
cagedwisdom left23:30
_W_ left23:30
GodEater joined23:31
GodEater left23:31
GodEater joined23:31
roflin left23:31
sjmikem joined23:31
_W_ joined23:32
cagedwisdom joined23:32
MorpheusBeing joined23:33
Padawan left23:33
Padawan joined23:33
das_beard joined23:34
teran joined23:35
lu_zero left23:36
toothrot joined23:36
someplace left23:36
frobware joined23:36
Padawan left23:37
trewe left23:38
shinnya left23:38
hypera1r left23:39
das_beard left23:39
HelperW__ joined23:39
trewe joined23:40
bug_sniper_ joined23:40
noxd joined23:40
gitinfo set mode: +v23:40
das_beard joined23:40
sinkensabe joined23:40
Ornacia joined23:40
teran left23:40
bug_sniper_ I think I need some help with something23:40
shinnya joined23:41
habanany joined23:41
bug_sniper_ https://github.com/CleverRaven/Cataclysm-DDA/pull/9003 is there a way to remove the extra commits from a push request after I accidentally used the command "git push origin master"?23:41
Consuela joined23:41
HelperW___ joined23:41
HelperW__ left23:42
kadoban bug_sniper_: I'm not really sure. Maybe just cancel the pull request and do it again with what you want, unless there's some way in the interface?23:42
_lexjm joined23:43
jftf joined23:43
kadoban bug_sniper_: I don't really use that github feature, sorry that's a bit vague...23:43
jenni_naiaretti Padawan yes. You can do that on the website or using curl on your terminal.23:43
bug_sniper_ thanks, I'll wait and see if someone else can anser23:44
*answer23:44
jenni_naiaretti https://gist.github.com/pongstr/e0edcf98896b791f2cd423:44
sinkensabe left23:45
ValF left23:45
das_beard left23:45
jorj joined23:45
someplace joined23:45
HelperW___ left23:46
nkouevda joined23:48
kadoban You could try just the branch back to what you want it to be (make a backup first), then force push. I have no idea if that works though.23:48
Virox joined23:49
hexagoxel left23:50
autochthon left23:51
preyalone left23:51
jftf_ joined23:52
nanashiRei joined23:52
lsiv568 joined23:53
lu_zero joined23:54
lu_zero left23:55
lu_zero joined23:55
OrpheusP joined23:55
bezet joined23:56
jftf_ left23:56
sgen joined23:56
JDHawke2 joined23:58
roflin joined23:58
ThiefMasterrr_a joined23:58
ThiefMasterrr left23:58
ThiefMasterrr_aThiefMasterrr23:58
Vinnie_win_l joined23:59
leen^| joined23:59
offbyone_ joined23:59
DSH105- joined23:59

Logs Search ←Prev date Next date→ Channels Documentation