IRCloggy #git 2014-11-23

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

smccarthy joined00:02
Literphor joined00:04
otter768 joined00:04
LucasKA joined00:06
russt joined00:07
Rastus_Vernon left00:07
karthik_ left00:07
Literphor left00:08
daedeloth left00:08
shawn joined00:09
shawnGuest2664100:09
sajan joined00:09
Guest26641 left00:10
nnyk_ left00:13
RaceCondition_ joined00:13
sq-one left00:15
dorkmafia joined00:17
scottschecter joined00:17
RaceCondition left00:17
RaceCondition_RaceCondition00:17
dorkmafia has anyone used git p4 before?00:17
endiruna left00:17
thiago yes00:18
EminenceHC joined00:19
hexagoxel_ joined00:21
Zupoman left00:21
ruukasu left00:21
aspiers joined00:21
zivester left00:22
JSharpe left00:23
zivester joined00:23
bgerber left00:23
EminenceHC left00:24
Nijikokun joined00:25
hexagoxel left00:25
Nijikokun left00:25
Nijikokun joined00:25
Nijikokun left00:25
dorkmafia is the git p4 clone a git repo i could setup as a git server meaning I could push/pull to it from another cpu?00:26
thiago no00:27
dorkmafia or is there a way from me to create a pending changelist in p4 from the git-p4 repo?00:27
thiago you should never push back into that00:27
dorkmafia i'm trying to figure out how I can keep my laptop and desktop in sync00:27
thiago use git p4 to submit to the p4 server00:27
Nijikokun joined00:27
thiago regular sharing, as if p4 wasn't involved00:28
using git fetch && git reset --hard00:28
m0ltar left00:28
dorkmafia how would I fetch from my tower if the commit isn't submitted to p400:29
i don't want to submit my commits yet but I would like to grab them and work on them on my laptop00:30
thiago on one machine, git fetch from the other machine00:31
then git reset --hard to what you've just fetched. That means both machines will be at the same commit.00:31
be careful, this will throw away any new commits you might have made00:31
dorkmafia oh ok cool00:32
thiago this has nothing to do with p4. This is simply making two repositories be the same.00:32
the p4 part comes into place when in one of those you do a git p4 submit and a git p4 rebase00:32
dorkmafia yah do i have to add the tower as a remote?00:32
thiago the other one will get the updates when it next fetches and resets00:32
acharlieh left00:35
mizu_no_oto left00:36
Velzes left00:36
skorgon joined00:36
skorgon left00:36
skorgon joined00:36
imastupidguest Does anyone here use bitbucket? I'm wondering if there's some way to include a message (or something) when I do a 'git push -u origin master'00:39
?00:39
jb55_ joined00:39
imastupidguest Dunno even what to google for about it00:40
otter768 left00:40
Seveas imastupidguest: there is not00:40
imastupidguest ok. thx00:41
Seveas imastupidguest: for what reason would you want that?00:42
delight left00:42
Pyrogerg left00:42
jb55 left00:42
imastupidguest Seveas: Seems like it would be good to log pushes to that online repo00:42
Prolly it does it for me though (bitbucket does I mean)00:43
Seveas imastupidguest: the reflog does this. gitHub also stores this as 'events', not sure what bitbucket does.00:43
AR45 left00:44
delight joined00:45
imastupidguest Seveas: Ok. I'll have to poke around a bit more to see what's what I guess.00:45
Is 'git push -u origin master' even the right way to do a push to bitbucket when it isn't the first one/time doing it?00:45
Seveas i'd leave off the -u00:46
dorkmafia left00:46
imastupidguest ok00:46
si13b joined00:46
imastupidguest Does using that command clobber the thing on bitbucket?00:46
alanwill left00:48
wayne left00:48
sajan left00:49
LucasKA left00:50
FreezingDroid joined00:50
imastupidguest I see there are a lot of command in the git manual page of the format 'git-SomeCommand' Is that some newer way to issue commands than git SomeCommand ?00:50
FreezingCold left00:50
Seveas no, it's just a way of splitting the documentation in per-command pages00:51
(and a hystorical, no longer recommended and in many case not even possible, way of calling git commands)00:52
benderzoly00:52
imastupidguest I see00:52
right on00:52
raven-au left00:53
kirin` left00:53
ScioMin joined00:54
mdhopkins joined00:55
mellernoia left00:56
zivester left00:58
moritzs joined00:58
zivester joined00:59
moritzs left00:59
moritzs joined01:00
moritzs left01:00
fstd_ joined01:00
moritzs joined01:00
thedodd joined01:01
dtrott left01:01
FreezingDroid left01:02
trewe left01:02
thedodd left01:03
raven-au joined01:04
ruukasu joined01:04
kirin` joined01:04
fstd left01:04
fstd_fstd01:04
gbbr joined01:06
gbbr after squashing together my 2 latest commits using "git rebase -i COMMIT_ID" I get: ((no branch, rebasing 106-redundant-return))01:06
dtrott joined01:07
gbbr how do I "commit" the changes?01:07
better yet, how do I get out of "rebasing" mode01:07
aidalgol joined01:07
ascarter joined01:07
russt left01:08
lidaaa joined01:08
WaReZ left01:08
si13b git rebase --abort01:09
hexagoxel_ left01:09
gbbr yeah I just realized I didn't go far back enough01:09
cagedwisdom left01:09
FreezingCold joined01:10
gbbr so now i've successfully squashed the last 2 commits01:10
but the push to origin is rejected01:10
do i need to -f ?01:10
si13b push will always fail after rebase01:10
the history has changed, so you will need to -f01:11
gbbr nice, thanks si13b01:11
si13b np01:11
gbbr left01:12
Skapadapaduu left01:12
karthik__ joined01:12
thiago si13b: you didn't warn him about the dangers of history-rewriting01:12
brucelee some more senior programmers make it very clear what their commits do01:14
like they would have very specific changes all related to one thing go under 1 commit01:14
but when i use commit, i use it more as a "save" feature01:14
how do i go backwards and organize particular parts of a change to one file under one commit01:14
ruukasu left01:16
GHAAPQ9C joined01:17
Marcus__ joined01:19
thiago brucelee: git rebase -i01:19
Seveas brucelee: you're going to love rebase --interactive and add -p01:20
brucelee :p01:20
githogori joined01:21
brucelee so i pretty much create a new branch of master, and rebase my work over this new branch?01:21
rebase doesnt go by commits does it?01:21
it goes by changes right?01:21
actually nevermind, i think i get it01:22
dorkmafia joined01:22
robustus left01:22
Seveas it goes by commit, but makes it possible to edit, split, combine or drop commits01:23
MLM left01:23
Seveas definitely a case of !backup and !tias :)01:23
gitinfo Worried about your data while trying stuff out in your repo? The repository in its entirety lives inside the .git directory in the root of your work tree so to backup everything `cp -a path/to/workdir path/to/backup` or equivalent will suffice as long as the repo is not modified during backup. See also http://sethrobertson.github.com/GitBestPractices/#backups01:23
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.01:23
karthik__ left01:23
adamben left01:23
brucelee Seveas: nice :p01:23
i think i have na idea of how this will go01:23
cant wait to start being less noob01:23
EminenceHC joined01:23
moritzs left01:24
brucelee hmm im reading the help page about the -p option... preserve merges01:24
still dont really understand what it would do though01:24
robustus joined01:25
brucelee it even says combining with --interactive explicitly is generally not a good idea01:25
unless you know what you are doing :p01:25
bb010g left01:27
nfk left01:27
EminenceHC left01:28
delight left01:30
smccarthy left01:30
danemacmillan joined01:35
skorgon left01:36
HelloShitty left01:39
ruukasu joined01:40
danemacmillan left01:40
fahadash left01:41
palcu joined01:41
brucelee left01:42
kyb3r_ joined01:43
shinnya left01:44
imastupidguest left01:45
palcu left01:46
smccarthy joined01:47
thedodd joined01:47
Nijikokun left01:53
jagob left01:55
chrisshattuck joined01:56
chrisshattuck left01:58
eyeRobut joined01:58
puff good evening.01:58
chrisshattuck joined02:00
stellarhopper left02:00
chrisshattuck left02:01
hcc23 joined02:01
amikiri left02:01
CKyle left02:03
amikiri joined02:05
Nijikokun joined02:05
BiggFREE joined02:06
Literphor joined02:06
ascarter left02:07
RaceCondition left02:08
ruukasu left02:08
thedodd left02:09
AR45 joined02:09
AR45 left02:09
CustosL1men left02:10
AR45 joined02:11
imastupidguest joined02:13
aartist joined02:15
AR45 left02:16
philipandersen joined02:17
Vampire0 joined02:18
BiggFREE left02:19
Vampire0_ left02:20
imastupidguest I had my few little files right in the main dir where my .git repo resides, and I just moved them into a new 'src' dir that I created - now, 'git status' shows a list of the 'deleted' files. Would I use git rm <file> to make those entries disappear from the output of git status? If not, how can I do that?02:22
thiago imastupidguest: yes02:22
imastupidguest thiago: thx02:23
EminenceHC joined02:25
dorkmafia left02:26
bhuvanaurora joined02:26
imastupidguest thiago: Wait a min now. I don't want to do anything to the actual files (least of all delete them, nor remove them from tracking) I just want the stupid 'delete <file name>' stuff to go away from the output of git status. When I ran git rm * (those delete entries are the only thing in my git status output right now) I get : fatal: not removing 'src' recursively without -r <-- why would it mention 'src' (the name of the dir I02:26
into) in that output?02:26
Literphor left02:28
imastupidguest I'm a little confused on how to use git in this particular use case (files moved into a newly created subdir)02:29
punchagan joined02:29
thiago imastupidguest: git rm oldfilename02:30
EminenceHC left02:30
thiago that will stop tracking oldfilename02:30
danemacmillan joined02:31
crystal77 left02:32
raven-au left02:32
smccarthy left02:32
Comentarinformal left02:32
ScioMin left02:32
crystal77 joined02:34
imastupidguest thiago: I need to be crystal clear on this before I do something that is difficult or impossible to undo. The file names did not change, the command was 'mkdir src && mv filename src/filename' I still need them to continue being tracked just don't want to see 'deleted filenam' in the output of git status is all. Now perhaps my definition of filename is off - should it be that you are calling 'src/filename' the "oldfilename" or wou02:34
cause git to stop tracking the file altogether?02:34
thiago imastupidguest: the file names changed02:35
imastupidguest: changed from filename to src/filename02:35
imastupidguest ok02:35
githogori left02:35
imastupidguest thank you so much for clarifying02:35
thiago imastupidguest: if "filename" does not exist anymore, it's been removed02:35
git rm to make it permanent02:35
imastupidguest ahh02:35
thiago src/filename is new. You need to git add it.02:35
thedodd joined02:36
raven-au joined02:36
imastupidguest And now I know why 'src' appeared in the output after running/trying to run git rm * <-- that would have been a horrible command to have execute. Thank God git didn't just do it.02:36
ahhh02:36
thiago it appeared there because * includes src02:37
so you told git to remove it02:37
imastupidguest now I'm really git... ing it (ha ha no pun intended)02:37
hcc23 left02:38
LeMike left02:39
dorkmafia joined02:39
otter768 joined02:41
palcu joined02:42
mdhopkins left02:42
imastupidguest thiago: So, after running that git rm command successfully (with specific file names now) I see them listed as stuff being ready to commit. Does this mean that git will track the actual deletion of the files as it's own event? And, in the bigger picture, what is going on with the way git works? If I rm something physically, I rm it in git? So, in general, git is paralleling what I do physically? (by physically I mean just regular fi02:44
manipulation in the terminal).02:44
thedodd left02:44
thiago imastupidguest: you can use git rm to remove from git and from the filesystem02:45
or you can rm the file and just do a git commit filename to make it permanent02:45
imastupidguest If I add something physically (touch filename or mkdir somedir) I add it in git (looks like a perfect parallel)02:45
thiago you need to do that, yes02:45
mdhopkins joined02:45
otter768 left02:46
Pyrogerg joined02:46
imastupidguest thiago: I see. This is cool. git is cool and you gave me a leap ahead here. thx02:46
palcu left02:47
bgerber joined02:48
githogori_ joined02:48
ErKa left02:48
Technocrat joined02:50
philipandersen left02:51
philipandersen joined02:51
Sleepy63 joined02:52
rchavik joined02:52
Gino_ left02:52
Nijikokun left02:53
m0ltar joined02:53
si13b left02:54
Technocrat left02:54
elepfontius joined02:57
aartist left02:57
Lyqyd For the moving files to another location case, you could also use `git mv oldpath newpath` to move the file and stage the change.02:58
Rastus_Vernon joined02:58
whomp joined03:00
tmcmahon joined03:00
whomp how do i sync my fork up with the repo it was forked from? i looked at https://help.github.com/articles/syncing-a-fork/, but `git fetch upstream` doesn't work03:00
dreiss joined03:01
thiago whomp: fetch from the original and the push to your repo03:01
whomp thiago, how do i do that?03:02
like what commands03:02
thiago whomp: git fetch and git push03:03
I don't know what you named your remotes and what branches you want to update, so I can't help further03:03
learner joined03:04
phy1729 whomp: you need to git remote add upstream URL03:05
imastupidguest I need a gob (is it called a glob?) to make git ignore an entire directory and anything/everything in it. My dir will be named 'bin' <-- would 'bin/*' (without the quotes) be the right thing to add to my .gitignore then?03:06
IIT joined03:06
thiago imastupidguest: "bin" is enough03:06
imastupidguest or *bint/* ??03:06
Is git now tracking dirs too?03:07
thiago no03:07
but if you ignore a dir, it ignores everything in that dir03:07
dtrott left03:07
imastupidguest hmm, ok then03:07
right on03:07
whomp phy1729, something like `git remote add upstream https://github.com/michaeleisel/ExSwift.git`?03:08
imastupidguest thiago: Is this also correct if I do it with global .gitignore then?03:08
thiago imastupidguest: yes03:08
imastupidguest right on03:08
jb55_ left03:09
phy1729 whomp: that looks reasonable03:09
jb55_ joined03:09
whomp phy1729, ok but that's the url of my fork03:10
do i use that or the branch i forked off of?03:10
thiago whomp: let's take a step back03:10
phy1729 use the URL of upstream03:10
thiago whomp: what do you mean by "sync" ?03:10
imastupidguest So the only difference between a global gitignore and a local one is the name of the file (ie: .gitignore_global vs. .gitignore)? And I could place either of the files anywhere git has access perms to read it?03:11
Nijikokun joined03:11
whomp so i'm not allowed to branch off of the actual repo and push changes that i can put in pull reqs03:12
so i fork. but then as that repo changes, i need to keep up on my fork, right?03:12
thiago imastupidguest: there's no .gitignore_global03:12
thedodd joined03:12
thiago whomp: right03:13
whomp so what would be the easiest way to do that?03:13
thiago whomp: your local repository, did you clone yours or the original?03:13
darkbasic left03:13
graphitemaster left03:13
whomp thiago, mine03:13
jb55_ left03:13
thiago whomp: ok, first mistake03:13
whomp: you should have cloned the original03:14
whomp: not a big deal, though03:14
whomp: git remote add upstream <URL-to-the-original>03:14
then git fetch upstream03:14
darkbasic joined03:14
DolpheenDream joined03:14
phy1729 thiago: depends on your convention. Personally I fork on github and clone that so my copy is origin and upstream is upstream03:14
AR45 joined03:14
AR45 left03:14
AR45 joined03:14
whomp thiago, ok03:15
done03:15
thiago phy1729: sounds wrong. You usually want to pull from the original.03:15
whomp: now git rebase upstream/master (or whatever the branch is named in the upstream)03:15
alanwill joined03:15
imastupidguest thiago: So what is this : https://help.github.com/articles/ignoring-files/ <-- talking about then (as it relates to file name vs. file location)? Am I reading the wrong document for my use case, or am I just misunderstanding what's being said in the doc? I'm confused.03:16
thiago imastupidguest: a recommendation I don't follow03:17
imastupidguest: therefore, .gitignore_global does not exist03:17
imastupidguest I see they are referring to a git config command but they don't seem to break it down into detail very well what 'precisely' to do.03:17
thiago imastupidguest: it sets the core.excludesfile globally03:18
au_ joined03:18
au_ left03:19
thiago imastupidguest: man git-config will explain what the setting is03:20
gitinfo imastupidguest: the git-config manpage is available at http://jk.gs/git-config.html03:20
imastupidguest thiago: So once I do that (set the core.excludesfile globally - and I'm assuming 'excludesfile' is an example I can replace with any name I choose) - once I do that, I could, theoretically place the 'excludesfile' anywhere I want?03:20
thiago imastupidguest: the excludesfile is an extra file that contains ignore patterns03:20
imastupidguest ok ok03:20
thiago imastupidguest: yes, you can place it anywhere you want03:20
imastupidguest Now it's clear. thx03:20
notjohn joined03:21
imastupidguest Just out of curiosity, is it required to create the file before running the git config command for it?03:22
LifeBlood joined03:22
imastupidguest I'm (hoping) that the answers to questions like this is teaching me some across the board stuff about git03:22
thiago imastupidguest: I don't know03:23
imastupidguest: !tias03:23
gitinfo imastupidguest: 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.03:23
imastupidguest ok03:23
bhuvanaurora left03:23
graphitemaster joined03:23
imastupidguest yeah, but I think that left something out of the path there. It's usually try it > break it > fix it > eventually learn a bunch of stuff a week later after you figure out how to fix it (not : try it > learn something). Just saying. :)03:24
bhuvanaurora joined03:26
jgardella joined03:26
punchagan left03:27
AR45 left03:27
AR45 joined03:28
amikiri left03:28
shinnya joined03:29
St_Marx left03:30
EminenceHC joined03:30
St_Marx joined03:31
bhuvanaurora left03:33
mizu_no_oto joined03:34
msonntag left03:34
zivester left03:34
Consuela left03:35
NoNMaDDeN joined03:35
EminenceHC left03:35
zivester joined03:35
sinequanon joined03:36
msonntag joined03:36
sinequanon left03:37
Pyrogerg left03:38
gitinfo set mode: +v03:38
thedudez0r is it possible to delete the last two commits even if they've already been pushed to bitbucket?03:38
thiago thedudez0r: yes, but mindful what will happen if other people have already got them03:39
thedudez0r: it's a history !rewrite03:39
gitinfo thedudez0r: Rewriting public history is not recommended. Everyone who has pulled the old history 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 -f <remote> <branch>` to force (and the remote may reject that, anyway). See http://goo.gl/waqum03:39
IIT left03:39
hush joined03:41
CEnnis91 left03:42
palcu joined03:43
Cassiel joined03:45
Zenith77 joined03:47
AR45 left03:47
palcu left03:48
dreiss left03:48
AR45 joined03:48
zivester left03:49
dsdeiz joined03:50
tmcmahon_ joined03:55
coasterz left03:56
AR45 left03:57
AR45 joined03:57
zivester joined03:58
AR45 left04:00
AR45 joined04:00
dreiss joined04:00
ncd|leeN joined04:00
cagedwisdom joined04:01
AR45 left04:01
AR45 joined04:02
AR45 left04:02
tmcmahon left04:02
AR45 joined04:02
tmcmahon_tmcmahon04:02
leeN left04:03
m0ltar left04:04
Technocrat joined04:07
githogori_ left04:07
bb010g joined04:07
AR45 left04:09
AR45 joined04:10
AR45 left04:14
githogori_ joined04:14
AR45 joined04:14
AR45 left04:16
AR45 joined04:16
CEnnis91 joined04:17
Pyrogerg joined04:17
dtrott joined04:17
AR45 left04:18
AR45 joined04:19
unixpro1970 left04:20
fstd left04:20
fstd joined04:21
russt joined04:21
AR45 left04:21
Milkweed joined04:21
jacksparrow007 joined04:22
AR45 joined04:23
Polyatomic left04:23
AR45 left04:24
zivester left04:25
zivester joined04:26
imastupidguest left04:28
learner1 joined04:29
kyb3r_ left04:29
unixpro1970 joined04:30
faylite joined04:30
Noldorin left04:31
learner left04:31
Technocrat left04:32
EminenceHC joined04:35
kadoban joined04:36
mdhopkins left04:38
brucelee joined04:39
dreiss left04:40
dtrott left04:40
chrisshattuck joined04:41
coasterz joined04:41
EminenceHC left04:41
otter768 joined04:42
jgardella left04:42
brucelee left04:44
unixpro1970 left04:44
otter768 left04:46
russt left04:46
kukks left04:46
tmcmahon left04:48
iamjarvo joined04:48
NaStYdoG left04:49
mizu_no_oto left04:49
russt joined04:50
NaStYdoG joined04:50
rchavik left04:50
kyb3r_ joined04:53
shinnya left04:55
JanC left04:57
Peuc2 joined04:59
mizu_no_oto joined04:59
Peuc left05:01
Peuc2Peuc05:01
rchavik joined05:03
angelsl joined05:03
whomp left05:05
CheckDavid left05:07
Arsonide left05:07
ColdKeyboard left05:07
Arsonide joined05:07
Literphor joined05:08
jacksparrow007 left05:09
Milkweed left05:09
lacrymology joined05:10
otter768 joined05:10
jacksparrow007 joined05:10
JanC joined05:11
scottschecter left05:11
qbann0p joined05:15
mennea joined05:16
nkouevda left05:17
mizu_no_oto left05:19
dreiss joined05:25
thumpba joined05:27
bhuvanaurora joined05:27
lasers left05:28
palcu joined05:29
tgunr left05:30
danemacmillan left05:32
bhuvanaurora left05:32
thumpba left05:34
palcu left05:34
bhuvanaurora joined05:35
sinequanon joined05:37
flugo joined05:40
bhuvanaurora left05:41
Literphor left05:42
bhuvanaurora joined05:42
EminenceHC joined05:42
kadoban left05:44
mennea left05:46
bhuvanaurora left05:46
mennea joined05:47
EminenceHC left05:47
DolpheenDream left05:50
shebbi joined05:50
ErKa joined05:51
chrisshattuck left05:51
aspiers left05:51
pikarenpikabot05:52
pikabothelp05:52
helppikabot05:52
pikabotpikaren05:53
Literphor joined05:53
shebbi anyone here can help me with tortoise git?05:54
otter768 left05:58
russt left05:58
Literphor shebbi: You should ask your question and find out05:58
jacksparrow007 left05:59
shebbi I have some files that don't have the green tick icon on it, which I guess are no longer tracked by trotoise git. These files are ones I have added after a created a repos with my project in it.06:00
Marcus__ left06:00
checkItOut joined06:00
shebbi HOw do i make the files be tracked along with the rest of the files?06:00
whomp joined06:01
UmbraMalison left06:01
checkItOut left06:02
checkItOut joined06:02
ehmatthes joined06:03
soreau joined06:03
UmbraMalison joined06:04
soreau How can I setup git server on linux and can be cloned without password06:04
listochkin left06:04
iamjarvo left06:05
whomp left06:06
bhuvanaurora joined06:06
Arsonide left06:07
Arsonide joined06:07
jgardella joined06:07
zivester left06:08
Literphor left06:08
Nijikokun left06:09
milki soreau: man git daemon06:10
gitinfo soreau: the git-daemon manpage is available at http://jk.gs/git-daemon.html06:10
milki soreau: that would serve the trick06:10
shebbi man git add06:10
gitinfo the git-add manpage is available at http://jk.gs/git-add.html06:10
johtso_ left06:11
soreau milki: gitinfo: I don't really know what option to use. I have so far 'git daemon --base-path=/opt/git --detach --syslog --export-all'06:13
MattMaker left06:13
skorgon joined06:14
skorgon left06:14
skorgon joined06:14
arup_r_ joined06:15
elepfontius left06:15
mennea left06:16
shebbi how to add a folder say 'foo' to the index. I have cd to that directory06:16
mennea joined06:17
ojacobson Strictly speaking, you don't -- git doesn't track directories.06:17
faylite git add ./06:17
shebbi i want to add directory foo and it's subfolders06:17
ojacobson However, 'git add foo' will recurse down 'foo' and its subdirectories, adding all files and symlinks found06:17
shebbi git add foo OR git add ./06:17
Im in foo dir now06:18
faylite Then git add ./06:18
"./" or "." is the current directory.06:18
shebbi what does adding the extra / do?06:19
faylite Nothing..... just a habit.06:19
oojacoboo joined06:19
shebbi ok06:19
qbann0p left06:19
oojacoboo hey guys, did something stupid... forgot to change branches before doing some work. What'd be the best way to get the working files moved over to another branch? Should I commit, change branches then try to cherry-pick the commit?06:20
shebbi did it, it did nothing06:20
phy1729 oojacoboo: I usually git stash then git checkout newbranch then git stash pop06:20
oojacoboo phy1729: oh yea... perfect06:21
thanks06:21
ojacobson oojacoboo: it continues :-\06:21
oh, no, that was _Actually_ meant for you - my mistake06:22
faylite shebbi: The folder should be staged now, use "git status" to see what files/folders that are staged. Then commit them when done adding stuff.06:22
oojacoboo ojacobson: you dirty sob :P06:22
phy1729 ojacobson: I kind of figured oojacoboo was just your alt nick06:23
rchavik left06:23
ojacobson nope :D06:24
Nijikokun joined06:24
Nijikokun left06:25
shebbi faylite: it shows the new files06:25
faylite: waiting to be commited06:25
Nijikokun joined06:25
shebbi faylite: or staged..06:26
arup_r_ left06:26
oojacoboo phy1729: na, he's just trying to steal my identity :)06:26
checkItOut left06:26
faylite shebbi: So is there a problem still?06:26
jgardella left06:27
phy1729 oojacoboo: I knew ojacobson first soooo06:27
shebbi faylite: I thought the green tick icon will appear on the files after I had added them, but It hasn't. I assume I have to commit them.06:27
notjohn left06:27
faylite Yeah06:27
oojacoboo phy1729: so the debacle continues...06:28
danemacmillan joined06:28
The_Phoenix joined06:29
pppp2 joined06:29
shebbi it seems git does not track "new files" added into the repos automatically.06:29
bhuvanaurora left06:30
faylite No, intended by design.06:31
pradeepc_ left06:31
shebbi if you commit a parent folder it will not commit the new files06:31
oojacoboo isn't there a recursive flag?06:31
git add --all06:31
whomp joined06:32
faylite Or use git add -A06:32
kriks joined06:32
shebbi let me check if tortoise git has it06:32
The_Phoenix left06:32
danemacmillan left06:33
faylite Just to remember to add project files/bin files to the .gitignore.06:33
winst joined06:33
otter768 joined06:33
MattMaker joined06:35
ojacobson shebbi: git's basic model is that 'git commit' copies the _staging area_ (more or less verbatim) to a new commit, and 'git add' and friends modify the staging area from the work tree06:35
there's no fully automatic step06:35
rchavik joined06:35
phy1729 there's git commit -a but I'd highly discourage that06:35
faylite Why?06:36
phy1729 because it doesn't scale well and gets you into bad habits06:36
whomp left06:37
diegoaguilar left06:37
phy1729 I git add; git rev (my alias for diff --staged) and then commit. I review every commit first to make sure I didn't leave anything out or make other mistakes06:37
dsdeiz left06:38
shebbi i say git commit -a is great.06:39
what shouldn't be there should be in .gitignore06:39
simplifies things06:39
listochkin joined06:39
shebbi except tortoise git UI doesn't have git commit -a06:40
phy1729 except sometimes you really should split things into two or more commits06:40
faylite It's "git commit -A"06:40
shebbi the flags are case sensitive?06:40
thiago yes06:41
everything on Unix is case-sensitve06:41
The_Phoenix joined06:41
shebbi ok im new to UNIX06:41
soreau I can't seem to figure out how to allow cloning without password06:42
faylite soreau: Clone from where?06:42
soreau faylite: from the git server I setup06:42
faylite I haven't used git-daemon, but you could probably just setup a ssh-key and add it to the keychain.06:45
soreau It asks for password when trying ssh:// or git@06:45
faylite: the ssh keys work fine06:45
faylite: I want to make it so anyone can get a read-only clone without password06:46
mennea left06:46
soreau I looked through the docs here http://jk.gs/git-daemon.html but didn't see what needs to be done06:47
mennea joined06:47
diegoviola left06:47
solker joined06:47
EminenceHC joined06:47
winst left06:48
dreiss left06:49
darkbasic left06:50
darkbasic_ joined06:50
faylite soreau: I have a local GitLab server running for my repos, maybe try setting up a server?06:50
Gamecubic left06:50
oojacoboo faylite: ain't nobody got time fo dat06:50
http://rs1img.memecdn.com/ain-amp-039-t-nobody-got-time-for-that_o_1582005.jpg06:51
solker left06:51
faylite It's not that time consuming, just setup a vm with ubuntu-server and install using the omnibus package?06:51
listochkin left06:52
hyperair left06:52
listochk_ joined06:52
hypera1r joined06:52
EminenceHC left06:52
faylite If you're running linux, then you access using the vm hostname, if on windows add the hostname to the hosts file.06:53
oojacoboo or you could use github or bitbucket06:53
bremner soreau: what OS are you running?06:53
on most linux variants it's one command to install git-daemon06:53
faylite Or that :P06:53
He already installed git-daemon.06:54
ErKa left06:54
shebbi left06:54
bremner so point it at your repos?06:54
faylite bremner: He wanted to clone repos without passwords06:55
bremner that is exactly what git-daemon does06:55
zoly left06:55
bremner soreau: you should use a git:// url06:56
soreau bremner: linux06:56
bremner: I am trying git:// but it's giving permission errors and or not a git repo06:56
faylite Idk, I never used the git-daemon.06:56
dsdeiz joined06:56
fahadash joined06:57
bremner soreau: you need to configure git-daemon06:57
soreau bremner: How can I do it permanently? I figured it out now06:58
subhojit777 joined06:58
bremner soreau: there should be a config file in /etc git-daemon.conf or something like that06:58
oh. hmm. I was thinking of gitweb.conf06:59
snuffeluffegus joined07:00
metateck joined07:01
metateck im trying to upgrade from gitlab ce to gitlab ee07:01
i guess i should have cloned all the repos somewhere first07:01
or run that backup command07:01
i did neither07:01
bremner metateck: if gitlab ee is "enterprise", I guess it comes with support?07:02
metateck i still have the .git files but no working directories. is there a way to create a working directory from the .git?07:02
CEnnis91 left07:02
metateck yeah it kind of does but i didnt really pay for it either.07:02
bremner soreau: I guess it's hard coded into the appropriate startup script07:03
soreau: depends on the distro07:03
metateck i tried copying the .git folder to an empty folder and running git checkout development but it didn't work07:03
mennea left07:04
listochk_ left07:04
listochkin joined07:05
metateck does anyone have any ideas?07:05
phy1729 did it error?07:06
ehmatthes left07:06
metateck did what error?07:06
oh yes it said this operation nmust be run from a work tree07:06
phy1729 you could try and git clone <path to .git>07:06
Arsonide left07:07
Arsonide joined07:07
aswen left07:08
bremner metateck: !bare has some hints07:08
gitinfo metateck: an explanation of bare and non-bare repositories (and why pushing to a non-bare one causes problems) can be found here: http://bare-vs-nonbare.gitrecipes.de/07:08
metateck ok thanks i will read that07:08
phy1729's solution worked fine too07:09
bremner hmm. not directly relevant actually, sorry, more background info07:09
ncd|leeN left07:09
metateck im pretty new to git so it was kind of stupid of me to not make sure i had backups before taking down our version control server07:09
but i think ill be able to make it work with that git clone <path> command07:10
bremner metateck: for that matter, reading the link may help you understand why gitlab doesn't need working trees07:10
metateck yeah that surprised me07:10
i saw ~/gitlab/git-data/repositories and assumed i had working trees in there but didnt check07:10
ill read up on it07:10
im just glad i can recreate the projects07:10
dreiss joined07:11
si13b joined07:12
geomyidae_ left07:12
glebihan__ joined07:14
glebihan__ left07:14
thedodd left07:15
palcu joined07:18
ehmatthes joined07:20
metateck well that was kind of terrifying im glad its all back now07:22
thank you so much guys07:22
learner joined07:22
palcu left07:22
dorkmafia left07:22
ojacobson left07:22
learner1 left07:24
Literphor joined07:26
eyeRobut left07:29
aswen joined07:32
flugo left07:32
whomp joined07:32
lasers joined07:33
whomp left07:37
The_Phoenix left07:40
The_Phoenix joined07:41
dreiss left07:41
LifeBlood left07:42
pikaren left07:43
pikaren joined07:43
solker joined07:48
EminenceHC joined07:48
Marcus joined07:49
aswen left07:49
solker left07:52
EminenceHC left07:53
delight joined07:53
skorgon left07:53
aidalgol left07:53
si13b left07:53
Marcus left07:53
ehmatthes left07:54
BenjaminDeuter joined07:55
palcu joined08:00
palcu left08:00
thedudez0r left08:00
bhuvanaurora joined08:01
geomyidae_ joined08:03
kyb3r_ left08:05
fahadash left08:06
Arsonide left08:07
Arsonide joined08:07
mennea joined08:07
sgen joined08:11
Nijikokun left08:12
adamben joined08:13
soreau left08:14
Literphor left08:15
danemacmillan joined08:17
Kicer86 joined08:18
delight left08:20
danemacmillan left08:21
Literphor joined08:22
sinequanon left08:23
petersr joined08:24
b4rbz joined08:25
Jackneill joined08:25
Akagi201 joined08:28
settermjd joined08:28
MattMaker left08:29
otter768 left08:29
whomp joined08:33
Oebele joined08:33
shpoont joined08:34
joki left08:35
tbxyz joined08:35
moritzs joined08:36
Goplat left08:38
dtrott joined08:38
whomp left08:38
joki joined08:39
Lyqyd left08:43
flugo joined08:45
ItSANgo joined08:46
dtrott left08:48
solker joined08:48
nkouevda joined08:49
thiago left08:49
EminenceHC joined08:49
adamben left08:50
pppp2 left08:53
dsdeiz left08:53
solker left08:53
EminenceHC left08:54
zanchoPa1sa joined08:55
AliRezaTaleghani joined08:55
dsdeiz joined08:56
zanchoPansa left08:58
bhuvanaurora left08:58
palcu joined09:00
bhuvanaurora joined09:01
punchagan joined09:02
durre joined09:03
Takle joined09:04
palcu left09:06
shinnya joined09:06
Cassiel left09:07
Arsonide left09:07
Arsonide joined09:07
Literphor left09:08
Nijikokun joined09:09
Takle left09:09
msankhala joined09:12
hahuang65 left09:12
mennea_ joined09:15
hifi left09:16
agro joined09:16
palcu joined09:17
agroGuest3496109:17
mennea left09:17
dorkmafia joined09:18
hahuang61 joined09:18
bhuvanaurora left09:19
durre left09:20
netcarver joined09:20
smw left09:20
dorkmafia left09:23
bhuvanaurora joined09:25
Freemason left09:26
mabil joined09:30
tbxyz left09:30
mabil left09:32
retard_retard09:33
whomp joined09:34
hs366 joined09:35
Marcus joined09:38
moritzs left09:38
alanwill left09:38
whomp left09:39
Marcus left09:42
Solid1_afkSolid109:43
hahuang61 left09:44
maestrojed left09:44
solker joined09:49
maestrojed joined09:53
solker left09:54
EminenceHC joined09:54
Zupoman joined09:54
Marcus joined09:54
Zupoman left09:54
Zupoman joined09:54
HelloShitty joined09:55
netcarver left09:56
kloeri left09:59
kloeri joined09:59
EminenceHC left09:59
sigv left10:01
crystal77 left10:01
giusef joined10:03
skylite joined10:04
AndroUser466 joined10:04
causasui left10:05
AndroUser466 left10:05
danemacmillan joined10:06
Arsonide left10:08
Arsonide joined10:08
lidaaa left10:09
diegoaguilar joined10:10
danemacmillan left10:10
velan joined10:12
velan I deleted branch in github after merging the pull request. How to cleanup local branch which i deleted in remote?10:13
BlaXpirit joined10:13
The_Phoenix left10:14
The_Phoenix joined10:15
pppp2 joined10:16
PCatinean joined10:16
cbreak velan: man git fetch --prune10:17
gitinfo velan: the git-fetch manpage is available at http://jk.gs/git-fetch.html10:17
Seveas velan: git branch -d and git remote prune origin10:17
cbreak velan: that'll clean up remote tracking branches10:17
the real local branches have to be deleted manually10:17
velan Do i need to do it manually like "git branch -d feature-something"10:18
then why do i need run "git remote prune origin"? what is the purpose?10:19
adamben joined10:20
catsup left10:20
cbreak remote tracking branches10:21
velan: git branch -r shows those10:21
catsup joined10:21
giusef left10:21
Seveas velan: git branch -d can be used to kill 'branch', the pruning is to kill 'remotes/origin/branch'10:21
The_Phoenix left10:21
kukks joined10:21
velan Seveas: Thanks. Understood10:22
govg left10:23
causasui joined10:24
darnir joined10:25
bvi joined10:25
The_Phoenix joined10:26
voltagex left10:27
tak30 joined10:29
otter768 joined10:30
flugo left10:32
pppp2 left10:32
flugo joined10:32
kcj left10:32
Solid1Solid1_afk10:34
otter768 left10:35
whomp joined10:35
BSaboia joined10:35
flugo left10:37
BenjaminDeuter left10:38
delight joined10:38
whomp left10:40
rchavik left10:41
barduck joined10:41
rchavik joined10:41
maestrojed left10:46
nrsk joined10:47
berndj joined10:47
BSaboia left10:50
solker joined10:50
The_Phoenix left10:50
D-Boy left10:50
The_Phoenix joined10:52
D-Boy joined10:53
The_Phoenix left10:53
j416 left10:54
solker left10:54
The_Phoenix joined10:55
kukks left10:56
JohnBat26 joined10:56
palcu left10:57
hexagoxel joined10:58
palcu joined10:58
rchavik left10:58
tak30 left10:59
msonntag left10:59
j416 joined10:59
adamben left11:00
Oebele left11:00
EminenceHC joined11:00
_5kg left11:01
m0viefreak joined11:03
brucelee joined11:04
lasers left11:04
EminenceHC left11:05
lasers joined11:06
velan left11:07
listochkin left11:07
Arsonide left11:07
Arsonide joined11:07
listochkin joined11:08
AliRezaTaleghani left11:08
jcalonso joined11:10
barduck left11:11
ecky--ptang-zoob joined11:14
nfk joined11:16
WaReZ joined11:18
learner left11:18
corni joined11:19
palcu left11:20
aswen joined11:23
nkouevda left11:28
joo-_ joined11:28
ecky--ptang-zoob left11:29
ecky--ptang-zoob joined11:29
aswen left11:34
bhuvanaurora left11:35
aswen joined11:35
whomp joined11:36
diegoaguilar left11:38
note joined11:38
mibofra left11:40
whomp left11:41
NanoArro1 left11:41
bhuvanaurora joined11:41
kriks left11:42
bhuvanaurora left11:42
joo-_ left11:43
_5kg joined11:45
joo-_ joined11:45
Skapadapaduu joined11:47
CheckDavid joined11:48
bhuvanaurora joined11:50
paul424 joined11:50
solker joined11:51
jagob joined11:51
danemacmillan joined11:52
bhuvanaurora left11:53
solker left11:55
danemacmillan left11:56
amikiri joined11:56
Marcus left11:57
Marcus joined11:58
mennea_ left11:58
mribeirodantas joined11:59
brucelee left11:59
Marcus__ joined11:59
mennea joined12:00
Marcus left12:02
Marcus__ left12:03
aswen left12:04
s8321414 joined12:04
EminenceHC joined12:05
mennea_ joined12:06
blueyed How can I set the default format for "git reflog"? I have tried reflog.format in the config.12:06
mennea left12:08
EminenceHC left12:10
nnyk_ joined12:11
mdhopkins joined12:11
predmijat joined12:11
HelloShitty left12:12
predmijat hello, i need help :) there is a server, hosting git repo and website (3 branches - dev, staging, production) with hooks set up so that when push is made, the right website is updated. git repo is now moved to bitbucket. what is the course of action now, so that git push (this time to bitbucket), also results in the right website being updated?12:13
mibofra joined12:14
aswen joined12:15
EminenceHC joined12:15
Rastus_Vernon left12:17
Zupoman hello12:18
how can i undo a revert?12:18
note left12:18
Zupoman i kind of messed everything up12:18
darnir left12:18
EminenceHC left12:20
metateck left12:20
t0th_-__ joined12:22
grawity predmijat: BitBucket supports hooks as well – it can notify another server over HTTP about receiving a push12:22
adamben joined12:23
predmijat grawity, ok, but i'm not sure what needs to be done (with at least amount of effort) - just point branches to new url? git branch --set-upstrem-to=url/branch?12:23
grawity you're mixing up branches and remotes, but kinda yeah, just change the URL12:24
`git remote set-url origin ...`12:24
predmijat grawity, ok...thanks12:25
learner joined12:25
Zupoman how can i revert a commit to the remote git repo, then push my own one to replace it?12:26
netcarver joined12:31
otter768 joined12:31
mdhopkins left12:35
aswen left12:36
otter768 left12:36
whomp joined12:37
mihaicris joined12:38
earny joined12:40
NanoArro1 joined12:40
HelloShitty joined12:40
jheg joined12:41
jheg o/12:41
whomp left12:42
St_Marx left12:42
SwedFTP joined12:44
jheg hey all12:44
Last night I created a new branch locally12:45
and then I pushed this brach to my local repo12:45
durre joined12:45
blueyed Zupoman: look into "git reset" (possibly with --hard) and "git push --force" (but better avoid this). There is also "git revert", so you could revert the bad commit and then cherry-pick the good one, for example.12:45
jheg then on git I merged my branch and master and deleted the remote branch12:45
now back in local how do I pull the master branch again so its synced with my remote master?12:45
quetz joined12:47
Zupoman blueyed: but can `git reset` and `git revert` work on remote repository, without pulling it?12:47
blueyed Zupoman: you can undo a revert by reverting the commit that reverted it. It also depends on if the remote repo's history can be changed (using git push -f).12:47
paul424 left12:47
r00tWearsRedHats left12:47
lacrymology left12:47
blueyed Zupoman: you cannot work on a remote directly.12:47
Zupoman: please describe better what you're trying to do and your current state.12:47
r00tWearsRedHats joined12:48
Zupoman i have my local version of the repo, and a remote version of the repo12:48
blueyed jheg: "and then I pushed this brach to my local repo"? do you mean remote?12:48
jheg oh yes sorry pushed to my remote repo12:49
Zupoman the remote version is different than the local one, but i haven't pulled it so far12:49
jheg would help if I got my description correct lol12:49
lacrymology joined12:49
Zupoman i don't know what will happen to my commits if i pull it12:49
jheg I think Ive done it now … I just did12:49
git pull12:49
nrsk left12:49
jheg seems to have synced things up nicely12:49
blueyed jheg: yes. probably.12:50
jheg thanks12:50
blueyed Zupoman: why/how is the remote different? try "git pull --ff-only", then nothing bad should happen.12:51
Zupoman: you can also fetch it only "git fetch --all", and then look at your local branch vs. the remote, e.g. "master" vs "origin/master".12:51
solker joined12:51
Lingo_ joined12:52
Gizburdt joined12:52
Zupoman blueyed: thanks, i think i've solved this12:52
gfixler left12:53
Takle joined12:54
mribeiro1antas joined12:54
mribeiro1antas left12:54
gfixler joined12:55
St_Marx joined12:55
Velzes joined12:55
si13b joined12:56
solker left12:56
mennea joined12:56
Gizburdt left12:57
eletuchy left12:58
eletuchy joined12:58
earny left12:59
Takle left12:59
gfixler left12:59
mennea_ left13:00
Gizburdt joined13:00
thiago joined13:01
fstd_ joined13:01
si13b left13:01
joo-_ left13:03
Malsasa_ joined13:03
eletuchy left13:03
settermjd left13:03
nnyk_ left13:03
fstd left13:04
fstd_fstd13:04
jimmyy left13:04
joo-_ joined13:07
danemacmillan joined13:07
jagob left13:07
EminenceHC joined13:08
phantombeta left13:09
pppp2 joined13:11
danemacmillan left13:12
EminenceHC left13:13
settermjd joined13:17
dregad left13:17
msankhala left13:17
settermjd left13:19
earny joined13:22
russt joined13:25
Gizburdt left13:25
johtso_ joined13:25
predmijat left13:26
nouranology joined13:26
ncd|leeN joined13:26
Gizburdt joined13:26
jacksparrow007 joined13:28
Velzes left13:30
Gizburdt left13:31
joo-_ left13:31
dregad joined13:31
ap0c left13:33
joo-_ joined13:33
Guest29784ariver13:36
amikiri left13:37
kriks joined13:37
whomp joined13:37
whomp left13:43
mennea left13:43
sgen left13:43
m0ltar joined13:45
Gizburdt joined13:45
liamkeily joined13:45
yazdmich left13:46
pppp2 left13:46
dregad left13:46
DanMAbraham joined13:48
Gizburdt_ joined13:48
aswen joined13:49
Gizburdt left13:50
mribeirodantas left13:50
ManikM joined13:51
Gizburdt_ left13:51
Gizburdt joined13:51
ruukasu joined13:51
ManikM left13:52
ManikM joined13:52
ManikM left13:52
ManikM joined13:52
yazdmich joined13:52
solker joined13:53
mennea joined13:53
phantombeta joined13:53
enitiz joined13:54
solker left13:57
phantombeta left13:58
liamkeily left13:58
eletuchy joined13:58
durre left14:00
phantombeta joined14:00
twoface88 joined14:01
eletuchy left14:03
s8321414 left14:04
solker joined14:08
phantombeta left14:08
str joined14:08
jceb joined14:10
phantombeta joined14:10
moritzs joined14:11
EminenceHC joined14:12
sarri left14:13
cagedwisdom left14:13
sarri joined14:14
Gizburdt left14:15
Gizburdt joined14:16
h4ml3t joined14:16
EminenceHC left14:17
herdingcat joined14:17
herdingcat left14:18
h4ml3t left14:18
nnyk_ joined14:18
h4ml3t joined14:19
moritzs left14:19
phantombeta left14:19
herdingcat joined14:19
looper joined14:21
jceb left14:21
Gizburdt left14:21
palcu joined14:21
h4ml3t left14:21
h4ml3t joined14:22
phantombeta joined14:23
russt left14:25
aswen left14:25
palcu left14:26
barduck joined14:29
adamben left14:30
phantombeta left14:30
CEnnis91 joined14:30
endiruna joined14:30
jargon joined14:31
phantombeta joined14:32
otter768 joined14:32
mihaicris left14:35
mihaicris joined14:36
phantombeta left14:36
otter768 left14:37
Orbitrix joined14:37
Orbitrix left14:37
Orbitrix joined14:38
whomp joined14:38
King_Hual joined14:38
whomp left14:43
The_Phoenix left14:43
zumba_addict left14:44
phantombeta joined14:44
zumba_addict joined14:45
Noldorin joined14:45
jargon left14:46
crystal77 joined14:47
jagob joined14:47
Gizburdt joined14:47
jargon joined14:48
virtualsue joined14:49
jargon left14:50
The_Phoenix joined14:50
The_Phoenix left14:51
The_Phoenix joined14:51
phantombeta left14:54
King_Hual` joined14:54
brucelee joined14:55
King_Hual left14:55
danemacmillan joined14:56
johnkevinmbasco joined14:56
johnkevinmbasco left14:56
earny left14:57
phantombeta joined14:58
kukks joined14:58
Lingo_ left14:59
aspiers joined14:59
brucelee left15:00
Lingo_ joined15:00
Lingo_ left15:00
Mitchbones joined15:01
danemacmillan left15:01
phantombeta left15:02
durre joined15:05
_Vi left15:07
Lingo_ joined15:09
phantombeta joined15:10
King_Hual` left15:10
King_Hual joined15:11
hamster joined15:11
mellernoia joined15:13
bhuvanaurora joined15:14
EminenceHC joined15:15
amikiri joined15:15
Dougie187 joined15:16
bhuvanaurora left15:18
dreiss joined15:18
EminenceHC left15:20
Gizburdt left15:20
Gizburdt_ joined15:20
JohnBat26 left15:21
endiruna left15:21
The_Phoenix left15:22
Malsasa_ left15:24
tureba left15:24
The_Phoenix joined15:25
The_Phoenix left15:25
Milkweed joined15:26
The_Phoenix joined15:26
JohnBat26 joined15:26
jagob left15:29
The_Phoenix left15:29
tureba joined15:29
subhojit777 left15:30
durre left15:30
Rob-ThisIsMe joined15:30
solker left15:30
Vile left15:30
jagob joined15:30
The_Phoenix joined15:31
nrsk joined15:32
moritzs joined15:32
DanMAbrahammoarrr15:33
subhojit777 joined15:35
The_Phoenix left15:35
dougsland joined15:35
Ace joined15:35
moarrr left15:36
The_Phoenix joined15:36
Robert-ThisIsMe joined15:37
amikiri left15:37
notjohn joined15:38
eyeRobut joined15:38
layke joined15:38
zivester joined15:38
layke I accidentally deleted a sub-folder. How can I get it back from my latest version?15:39
I don't want to interfer with any of my other changes15:39
whomp joined15:39
layke Just need this one folder I deleted.15:39
hs366 left15:39
layke I think this worked.. I navigated to the directory parent that I deleted..15:41
git checkout -- folder_I_deleted15:41
h4ml3t left15:41
Robert-ThisIsMe left15:41
h4ml3t joined15:42
whomp left15:44
eyeRobut left15:44
dsdeiz left15:45
eyeRobut joined15:46
nasso_ left15:47
nasso joined15:47
eletuchy joined15:47
m0viefreak left15:48
m0viefreak joined15:48
troyt left15:48
notjohn left15:50
looper left15:50
tanath_ left15:52
eletuchy left15:52
ManikM left15:52
ManikM joined15:52
tanath_ joined15:52
The_Phoenix left15:52
corni left15:53
The_Phoenix joined15:53
h4ml3t left15:53
weyer joined15:53
pikarenpikabot15:53
russt joined15:54
pikabotpikaren15:56
mizu_no_oto joined15:57
t0th_-__ left15:57
zumba_addict left15:58
zumba_addict joined15:58
t0th_-__ joined16:01
wrouesnel4 joined16:01
mennea left16:02
a_le joined16:02
ruukasu left16:03
mihaicris left16:03
kukks left16:04
snuffeluffegus left16:05
Gamecubic joined16:06
wrouesnel4 left16:06
tier joined16:06
mizu_no_oto left16:07
Nijikokun left16:07
tbxyz joined16:07
Duikb00t joined16:07
pikaren left16:09
pikaren joined16:09
johnny2600 joined16:10
pikaren left16:10
pikaren joined16:10
gavit joined16:10
gavit anyone know how to push to a master branch? - https://gist.github.com/gavit/97023ae83b4a1ea530b116:10
joo-_ left16:10
pikaren left16:11
githogori_ left16:11
corni joined16:11
polyzen joined16:11
gavit non master branch :S16:11
darkbasic joined16:12
darkbasic_ left16:12
phy1729 git push remote branch16:12
gavit phy1729, error: src refspec branch does not match any. error: failed to push some refs to 'remote'16:13
cbreak gavit: so... obviously you didn't call your branch branch16:15
gavit I dont think I even made a branch16:15
m8 joined16:16
csstylish left16:16
gavit show branch gives "[master] updated ruby"16:17
CheckDavid left16:17
ehmatthes joined16:17
cbreak gavit: then you can't push anything16:17
gavit 'git push remote master'?16:17
EminenceHC joined16:17
cbreak if you want to push the master branch, sure16:17
hamster left16:17
cbreak if you really want you can push a commit directly too16:17
aspiers left16:18
gavit cbreak, I'd like to send *this* code to heroku and don't care about the code already there16:18
cbreak so?16:18
gavit I already rolled back to v1 via the GUI of heroku16:18
cbreak why do you ask in a git channel?16:18
git doesn't care about this heroku thing, what ever it is16:18
gavit cause I can't seem to figure out why my git doesnt want to push code to my 'master'16:18
cbreak pushing transfers history16:18
csstylish joined16:18
cbreak gavit: why do you think git push doesn't work?16:18
hamster joined16:19
csstylish left16:19
msankhala joined16:19
cbreak gavit: does git push give an error?16:22
EminenceHC left16:22
gavit cbreak, as a matter of fact it didn't :(16:22
fstd left16:22
palcu joined16:22
gavit trying to figure out what's wrong here.. sorry16:22
cbreak then it probably worked16:22
crystal77 left16:22
joo-_ joined16:23
msankhala left16:23
csstylish joined16:24
fstd joined16:24
LucasTT joined16:25
palcu left16:25
lindenle joined16:26
pikaren joined16:26
fstd left16:27
pikaren left16:27
pikaren joined16:27
lindenle left16:27
ecky--ptang-zoob left16:27
kukks joined16:28
ecky--ptang-zoob joined16:28
ferri joined16:29
pikaren left16:29
dsdeiz joined16:30
solker joined16:31
pikaren joined16:33
otter768 joined16:33
solker left16:35
csstylish left16:35
nouranology left16:37
otter768 left16:38
nour joined16:38
whomp joined16:40
Gitzilla left16:40
zivester left16:40
madewokherd joined16:42
przemoc left16:42
CEnnis91 left16:42
The_Phoenix left16:42
joo-_ left16:43
lindenle joined16:43
lindenle left16:43
lindenle joined16:44
joo-_ joined16:44
whomp left16:45
dangerousdave joined16:46
hamster left16:49
lindenle left16:49
hamster joined16:50
przemoc joined16:50
Consuela joined16:52
twoface88 left16:53
quitte joined16:54
zivester joined16:56
dangerousdave left16:56
Vadtec left16:57
m0ltar left16:58
endiruna joined16:59
The_Phoenix joined16:59
dangerousdave joined16:59
Literphor joined16:59
Vadtec joined17:00
herdingcat left17:02
alanwill joined17:02
tchan left17:02
CheckDavid joined17:04
tier left17:05
junaidnaseer2 joined17:05
NoNMaDDeN left17:06
mac_nibblet left17:06
skylite left17:06
listochkin left17:07
zivester left17:07
Literphor left17:07
listochkin joined17:07
ajustrun joined17:07
alanwill left17:07
XackCaveJohnson17:07
Takle joined17:08
NoNMaDDeN joined17:09
PerlJam left17:09
joo-_ left17:09
Tuna-Fish left17:09
ascarter joined17:10
csstylish joined17:10
suki__ left17:10
CaveJohnson left17:11
joo-_ joined17:11
Tuna-Fish joined17:11
xcesariox joined17:11
tier joined17:12
dsdeiz left17:12
listochkin left17:12
Matrixiumn joined17:13
pantsman- joined17:13
xcesariox left17:14
grep0r left17:14
csstylish left17:14
Lingo__ joined17:14
ErKa joined17:14
Lingo__ left17:15
eyeRobut left17:15
csstylish joined17:15
Lingo_ left17:15
zanchoPa1sa left17:16
zanchoPansa joined17:17
Xiti left17:18
drswap left17:19
dangerousdave left17:19
tchan joined17:20
InvidFlower joined17:21
Xiti joined17:21
kukks left17:22
dangerousdave joined17:23
t0th_-__ left17:23
EminenceHC joined17:24
Duikb00t left17:24
tgunr joined17:25
msmith joined17:25
smccarthy joined17:26
listochkin joined17:26
ecky--ptang-zoob left17:26
ecky--ptang-zoob joined17:27
EminenceHC left17:29
Rastus_Vernon joined17:29
solker joined17:31
subhojit777 left17:32
Ace left17:34
tier left17:34
lpax joined17:34
lpax left17:34
lpax joined17:34
ruukasu joined17:35
tuocuggino joined17:36
smw joined17:36
skorgon joined17:38
skorgon left17:38
skorgon joined17:38
Kicer86 left17:39
Kicer joined17:39
whomp joined17:40
zumba_addict left17:42
St_Marx left17:42
zumba_addict joined17:42
metateck joined17:43
tbxyz left17:43
MLM joined17:44
listochkin left17:44
msankhala joined17:44
msankhala left17:44
msankhala joined17:44
whomp left17:45
hamster left17:45
jab416171 left17:47
nour left17:47
bdavenport joined17:47
Duikb00t joined17:48
crystal77 joined17:48
hamster joined17:48
przemoc left17:48
dangerousdave left17:48
zumba_addict left17:49
zumba_addict joined17:50
lindenle joined17:50
Tuna-Fish left17:50
przemoc joined17:50
przemoc left17:50
przemoc joined17:50
dangerousdave joined17:52
dangerousdave left17:52
Arsonide left17:52
ManikM left17:52
jab416171 joined17:52
ManikM joined17:52
Arsonide joined17:52
krivenok_dmitry joined17:53
Guest34961 left17:53
Arsonide left17:53
dangerousdave joined17:54
Arsonide joined17:54
SonikBoom joined17:54
lindenle left17:55
St_Marx joined17:56
krivenok_dmitry Hi. I have local branch called "stable" created via "git br stable remotes/origin/linux-3.16.y". There are some minor changes in one file made in that local branch. Now I want to switch to another remote branch "remotes/origin/linux-3.17.y" and get my changes re-applied on top of it or properly merged. What's the right way to do that in Git?17:57
grawity krivenok_dmitry: git rebase17:58
mennea joined17:58
ascarter left17:59
stamina joined17:59
The_Phoenix1 joined17:59
tuocugggino joined18:00
krivenok_dmitry grawity: I tried it first, but got some conflicts in files I never touched. My understanding from the doc is that git rebase should re-apply my changes on top of another base, but perhaps I did that wrong.18:00
The_Phoenix left18:01
The_Phoenix1 left18:01
vrishab joined18:02
vrishab left18:02
tuocuggino left18:03
jheg left18:03
lpax left18:03
dangerousdave left18:04
Gamecubic left18:06
kyb3r_ joined18:06
Gamecubic joined18:06
govg joined18:07
krivenok_dmitry left18:07
diegoviola joined18:07
dreiss left18:08
marchdown left18:10
msmith left18:10
iamjarvo joined18:11
The_Phoenix joined18:11
russt left18:12
dorkmafia joined18:13
fr33domlover left18:14
marchdown joined18:14
gccostabr joined18:15
mvlabat joined18:15
troyt joined18:15
pretzel80 joined18:15
mvlabat Hello, comrades18:16
gitinfo mvlabat: 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.18:16
mvlabat Guys, my git hangs on cloning18:17
I enter "git clone --branch master [email@hidden.address]18:17
quitte left18:17
mvlabat and everything I get is Cloning into 'userpoints_votingapi'...18:18
And nothing else18:18
RTG joined18:18
RTG` left18:18
dorkmafi1 joined18:18
Samual_ joined18:18
fr33domlover joined18:19
RTGGuest7931718:19
Arsonide left18:19
Arsonide joined18:19
Vile joined18:19
corbe joined18:19
hide left18:19
Schrostfutz left18:19
ScioMin joined18:19
hide joined18:20
Schrostfutz joined18:20
Samual left18:20
ManikM left18:20
InvidFlower left18:20
The_Phoenix left18:21
hohum left18:21
corbehohum18:21
soerenb left18:21
dorkmafia left18:21
carlosr left18:21
smccarthy2 joined18:21
ehmatthes left18:22
pheaver joined18:23
aidalgol joined18:23
aidalgol left18:23
smccarthy left18:24
angelsl left18:26
mennea left18:28
aidalgol joined18:28
mennea joined18:28
kukks joined18:29
michelangelo joined18:30
EminenceHC joined18:30
mvlabat left18:31
ojacobson joined18:31
smccarthy joined18:31
faylite left18:31
amikiri joined18:31
faylite joined18:32
dreiss joined18:32
donmichelangelo left18:33
clauswitt joined18:33
smccarthy2 left18:34
otter768 joined18:34
skylite joined18:35
EminenceHC left18:35
mihaicris joined18:36
skylite left18:36
skylite joined18:36
skylite left18:36
Rob-ThisIsMe left18:36
ajustrun left18:38
ecky--ptang-zoob left18:39
otter768 left18:39
clauswitt left18:39
skylite joined18:39
jceb joined18:40
Duikb00t left18:41
whomp joined18:41
txomon|home joined18:41
ManikM joined18:42
kyb3r_ left18:43
jcalonso left18:44
ascarter joined18:44
Tuna-Fish joined18:46
whomp left18:46
stamina left18:47
alanwill joined18:48
jacksparrow007 left18:50
bobdobbs` joined18:50
amikiri left18:51
Prawnzy joined18:52
iamjarvo left18:52
bdavenport left18:52
whomp joined18:52
pheaver left18:52
amikiri joined18:52
alanwill left18:53
mihaicris left18:54
sigv joined18:55
bobdobbs left18:55
maestrojed joined18:55
bdavenport joined18:55
mihaicris joined18:57
jacksparrow007 joined18:58
mennea left18:58
mennea joined18:58
Takle left19:00
maestrojed left19:00
ryah left19:00
dangerousdave joined19:00
skylite left19:01
ascarter left19:03
Gizburdt_ left19:03
nnyk_ left19:04
shpoont left19:04
gavit left19:06
skylite joined19:06
gavit joined19:06
timwis joined19:07
vmiklos left19:08
timwis Hey guys, I'm trying to setup a deployment script for an open source forum (vanilla). It has a folder called /plugins/ with a few sample plugins in there by default. I have about 10 other plugins that I want to include in my deployment. I'm thinking I'll create a "plugins" repo and clone it into the /plugins/ folder, but then I won't be able to update it from within the plugins folder because those other sample plugins are in there. Is ther19:08
symbolic links?19:08
veebers joined19:09
MatrixiumnXack19:09
vmiklos joined19:09
bit_twit joined19:10
pheaver joined19:10
IlNominePatre joined19:11
Cassiopaya joined19:11
kukks left19:11
Takle joined19:11
t0th_-__ joined19:11
hfp_ joined19:13
hfp__work joined19:13
phy1729 submodule probably19:14
hfp left19:14
hfp_hfp19:14
duplex left19:15
zumba_addict left19:15
hfp_work left19:15
hfp__workhfp_work19:15
zumba_addict joined19:16
t0th_-__ left19:16
duplex joined19:16
duplex left19:17
hfp left19:18
hfp_work left19:18
mellernoia left19:19
hfp joined19:20
hfp_work joined19:21
devoldmx joined19:21
Gizburdt joined19:22
israelpattison left19:23
israelpattison joined19:24
ehmatthes joined19:24
DolpheenDream joined19:25
devoldmx left19:25
devoldmx3 joined19:25
palcu joined19:26
Macaveli joined19:27
mennea left19:28
mennea joined19:28
shpoont joined19:29
palcu left19:30
jacksparrow007 left19:30
githogori joined19:31
punchaga` joined19:32
dangerousdave left19:32
punchaga` left19:32
EminenceHC joined19:32
durre joined19:33
ferri left19:35
punchagan left19:35
shpoont left19:37
EminenceHC left19:37
settermjd joined19:38
dreiss left19:38
liamkeily joined19:38
jb55 joined19:39
crystal77 left19:40
otter768 joined19:40
Artpicre left19:40
t0th_-__ joined19:40
punchagan joined19:41
s00pcan left19:42
Artpicre joined19:42
Takle_ joined19:43
t0th_-__ left19:43
timwis left19:43
t0th_-___ joined19:43
t0th_-___ left19:43
aswen joined19:44
Takle left19:44
looper joined19:44
stiffi joined19:45
s00pcan joined19:45
stiffi left19:46
joo-_ left19:47
TomyLobo joined19:47
TomyLobo hi19:48
polyzen hi19:48
TomyLobo how do i make git recognize utf-16 as text and diff/merge/partially add it properly19:48
durre left19:49
tuocugggino left19:50
TomyLobo especially merging and partially adding is a problem19:50
dreiss joined19:52
ManikM left19:52
ManikM joined19:52
MLM left19:53
gavit left19:53
t0th_-___ joined19:55
msankhala left19:56
durre joined19:58
mennea left19:58
mennea joined19:59
alanwill joined19:59
t0th_-___ left20:00
batrick left20:00
pheaver left20:00
devoldmx3 left20:00
Seveas win 3220:01
err, does someone have a spare / for me? :)20:01
sajan joined20:01
Eugene `lvcreate -L 10G Seveas-slash LVM`20:02
moritz Seveas: //////////////// # here's a few spare ones20:02
Seveas ta20:02
Eugene `mkfs.ext4 /dev/LVM/Seveas-slash`20:02
`mkdir /chroot/Seveas; mount /dev/LVM/Seveas-slash /chroot/Seveas`20:03
`debootstrap -I --forgot --the --options /chroot/Seveas`20:04
Seveas mkdir: cannot create directory ‘/chroot/Seveas’: No such file or directory20:04
lindenle joined20:04
a_le left20:04
_ikke_ mkdir -p20:04
a_le joined20:04
a_le left20:04
_ikke_ TomyLobo: Use gitattribute to force the text attribute on the files20:04
PCatinean left20:06
dorkmafi1 left20:06
ChanServ set mode: +o20:06
Eugene changed the topic to: Welcome to #git, the place for git help and ancient Jedi wisdom | Current stable version: 2.1.3 | Start here: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | Be careful when rewriting history. It may push you to use the dark side of the --force20:07
Eugene set mode: +vv20:07
Eugene set mode: -o20:07
ErKa left20:09
_ikke_ Someone did a 'git push -f' the other day with push.default set to matching, causing their master branch to be overwritten, and nobody had an up-to-date version20:09
TomyLobo reflog?20:09
_ikke_ hosted repo20:10
batrick joined20:10
dtrott joined20:10
_ikke_ So maybe, maybe not20:10
TomyLobo github or something?20:10
_ikke_ bitbucket20:10
a_le joined20:10
nrsk left20:13
TomyLobo who is "their"?20:13
their local master branch? in that case i dont understand ^^20:13
but i guess you mean the remote mater branch20:14
but how would no one have a copy of what they pushed at some point?20:14
not even in their reflogs20:14
_ikke_ TomyLobo: pull requests20:14
amikiri left20:14
TomyLobo ah, so all that's lost is a merge commit?20:15
kriks left20:15
_ikke_ Not a single one, at least a few20:15
nnyk_ joined20:15
punchagan left20:15
nrsk joined20:17
gavit joined20:18
nrsk left20:18
Jackneill left20:19
JohnBat26 left20:20
amikiri joined20:21
a_le left20:21
Seveas _ikke_: get commit sha1's from the 'Recent activity' and grab the raw diffs from bitbucket?20:22
mennea left20:24
petersr left20:24
jslirola joined20:25
mennea joined20:25
fr33domlover left20:25
quetz left20:26
amikiri left20:27
withasmile joined20:28
amikiri joined20:29
faylite left20:29
devoldmx joined20:31
fr33domlover joined20:31
settermjd left20:34
CEnnis91 joined20:36
ecky--ptang-zoob joined20:37
EminenceHC joined20:39
shigosei joined20:39
nucatus joined20:40
pikarenpikabot20:40
pikabotpikaren20:42
pikaren left20:42
EminenceHC left20:44
dorkmafi1 joined20:44
psoo joined20:44
CarlFK ok, I am still floundering with "fixup" and trying to tidy up my commits. I try to squash 2 commits, and now I have 3: https://github.com/CarlFK/gst-switch/commits/master20:45
devoldmx left20:45
devoldmx3 joined20:45
t0th_-___ joined20:45
pikaren joined20:46
CarlFK so.. how do I combine the last 3 commits into one?20:46
ecky--ptang-zoob left20:46
Eugene CarlFK - `git rebase -i HEAD^3`, and change p to s20:47
Sorry, HEAD~3, not ^. I need more booze.20:48
NoNMaDDeN left20:48
Gizburdt left20:48
Eugene See also !sausage20:49
gitinfo [!sausage_making] Some developers like to "hide the sausage making", transforming their commits before presenting them to the outside world. See http://sethrobertson.github.com/GitBestPractices/#sausage and !perfect20:49
Literphor joined20:49
blackmesa joined20:49
carlosr joined20:50
zumba_addict left20:51
zumba_addict joined20:52
a_le joined20:52
CarlFK Eugene: git rebase -i HEAD~3 pulled up vim wit the last 25 commits? I was expecting 320:52
Eugene Did you merge recently?20:52
CarlFK maybe. I rm-rf the dir and cloned from github again.20:53
Eugene ....that's a very silly thing to do.20:53
ruukasu left20:54
CarlFK maybe. regardless, I am now looking at 25 commits.20:54
mennea left20:55
NoNMaDDeN joined20:55
mennea joined20:55
jslirola left20:55
Literphor left20:56
mribeirodantas joined20:56
a_le left20:57
astrofog joined20:57
booboy joined20:58
pretzel80 left20:58
aarcane joined20:58
safinaskar joined20:59
Macaveli left21:02
timwis joined21:02
D-Boy left21:02
timwis Hey guys, is there any way to track a file that's in .gitignore?21:02
(I'm forking a repo)21:02
tpollard joined21:02
timwis (and don't want to change .gitignore)21:03
jheg joined21:03
qsuscs timwis: git add -f21:04
hebz0rl joined21:04
qsuscs timwis: but maybe it’s ignored for a reason …21:04
timwis qsuscs, thanks21:04
it's the config file21:04
qsuscs !config21:04
gitinfo [!configfiles] It is recommended to store local configuration data in a file which is not tracked by git, but certain deployment scenarios(such as Heroku) may require otherwise. See https://gist.github.com/1423106 for some ideas21:04
timwis i use env vars21:04
so it's okay to put the config file in21:04
the repo i'm forking doesn't use env vars, which is why they don't include it21:05
D-Boy joined21:05
jheg left21:05
astrofog left21:06
jimmyy joined21:06
LucasKA joined21:06
JDHawke joined21:06
junaidnaseer2 left21:07
liamkeily left21:08
weevieL joined21:11
aswen left21:11
NoNMaDDeN left21:12
durre left21:13
str left21:13
MattMaker joined21:13
yosito joined21:14
nnyk_ left21:14
timwis left21:14
jgardella joined21:15
lidaaa joined21:16
NoNMaDDeN joined21:16
lindenle left21:16
mtscout6 joined21:16
csstylish left21:18
csstylish joined21:21
str joined21:21
str left21:21
nucatus left21:23
noway_ joined21:23
mennea left21:25
mennea joined21:25
hamster left21:26
snuffeluffegus joined21:27
learner left21:28
safinaskar left21:29
m8 left21:29
ap0c joined21:31
starmanta joined21:32
jimmyy left21:33
msmith joined21:33
skorgon left21:33
snuffeluffegus left21:38
HelloShitty left21:39
mellernoia joined21:39
ajustrun joined21:40
diegoviola left21:40
EminenceHC joined21:40
Lyqyd joined21:41
jceb left21:42
mihaicris left21:42
whomp left21:43
Noldorin left21:44
Noldorin joined21:45
EminenceHC left21:45
mtscout6 left21:48
sebhoss joined21:48
sebhoss left21:48
virtualsue left21:49
danemacmillan joined21:50
mtscout6 joined21:51
troyt left21:52
ManikM left21:52
ManikM joined21:52
aard_ joined21:54
mennea left21:55
mennea joined21:55
pheaver joined21:56
virtualsue joined21:57
mennea left21:58
mennea joined21:59
bit_twit left21:59
h4ml3t joined22:02
kukks joined22:02
shigosei left22:03
EminenceHC joined22:04
JSharpe joined22:04
yosito left22:05
yosito joined22:05
mennea left22:05
mtscout6 left22:05
mellernoia left22:06
aard_ left22:06
mribeirodantas left22:06
devoldmx3 left22:07
devoldmx joined22:07
Kicer left22:07
looper left22:07
sajan left22:07
danemacmillan left22:08
EminenceHC left22:08
yosito left22:11
dtrott left22:11
barduck left22:12
joo-_ joined22:13
a_le joined22:14
danemacmillan joined22:14
s8321414 joined22:15
Literphor joined22:15
dorkmafi1 left22:15
King_Hual left22:16
LucasTT left22:17
puff left22:18
joo-_ left22:18
paul424 joined22:18
m0ltar joined22:21
knighthawk joined22:22
solker left22:23
knighthawk left22:23
zumba_addict left22:24
zumba_addict joined22:24
psoo left22:26
eletuchy joined22:27
dorkmafi1 joined22:27
ScioMin left22:28
HelloShitty joined22:28
gavit left22:29
fr33domlover left22:29
fr33domlover joined22:30
Ademan joined22:30
msmith left22:30
jimmyy joined22:31
Ademan I suspect I may be hosed, but I tried to merge some changes into another branch, then fixed some issues with the original merged code. I'd like to clean up the history so that the fixes are in the branch before it is merged...22:32
jimmyy left22:34
booboy left22:35
jimmyy joined22:35
jimmyy left22:35
jimmyy joined22:36
jimmyy left22:37
jimmyy joined22:37
adamben joined22:38
faustvault2196 joined22:38
kpreid joined22:39
CarlFK Ademan: I am completely failing at such things (like the simple squash last 2 commits) but someone pointed me to !sausage22:40
gitinfo Ademan: [!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 !perfect22:40
tier joined22:40
mribeirodantas joined22:40
teran joined22:40
withasmile left22:41
hahuang61 joined22:41
kukks left22:42
dorkmafi1dorkmafia22:43
Literphor left22:43
starmanta left22:43
phantombeta left22:43
faustvault2196 left22:44
diegoviola joined22:44
dtrott joined22:44
LucasKA left22:44
jgardella left22:45
EminenceHC joined22:46
Prawnzy left22:46
Nijikokun joined22:47
Nijikokun left22:47
philipandersen left22:48
Nijikokun joined22:48
Nijikokun left22:48
Nijikokun joined22:49
faustvault2196 joined22:49
starmanta joined22:50
EminenceHC left22:50
philipandersen joined22:51
mribeirodantas left22:52
Arsonide left22:52
Arsonide joined22:53
faustvault2196 left22:53
ScottE left22:53
mtscout6 joined22:53
Gitzilla joined22:55
HelloShitty left22:56
Ademan CarlFK: thanks I'll take a look22:56
!perfect22:56
gitinfo [!postproduction] So, you want to make your commit history look pretty before pushing? http://sethrobertson.github.com/GitPostProduction talks you through how to use 'rebase -i' to do this.22:56
zumba_addict left22:57
zumba_addict joined22:57
eletuchy left22:59
devoldmx3 joined22:59
danemacmillan left22:59
BlaXpirit left22:59
nuck left23:00
ehmatthes left23:00
devoldmx left23:02
danemacmillan joined23:02
h4ml3t left23:02
ScottE joined23:03
crystal77 joined23:04
lindenle joined23:05
TomyLobo left23:06
troyt joined23:07
nucatus joined23:09
lindenle left23:09
mibofra left23:11
mibofra joined23:11
Skapadapaduu left23:12
note joined23:13
nucatus left23:13
dreiss left23:14
dtrott left23:15
starmanta left23:16
himikof left23:17
himikof joined23:18
amikiri left23:19
russt joined23:24
solker joined23:24
iamjarvo joined23:24
dreiss joined23:25
IlNominePatre left23:25
Cassiopaya left23:25
paul424 left23:25
Zupoman left23:25
LucasKA joined23:26
iamjarvo left23:27
solker left23:28
eletuchy joined23:28
hahuang61 left23:29
Sleepy63 left23:30
pantsman- left23:30
jimmyy left23:30
[R] joined23:30
dregad joined23:30
[R] when i cherry-pick, git diff is showing me the diff between where i am, and where the pick was... i need to look at the diff of where i am now, and where i was before the pick... is there a flag for taht?23:31
kpreid if your cherry-pick was successful, you should have just a commit, and therefore no diff. it sounds like you maybe had a conflict in your cherry-pick that you need to resolve.23:32
[R] yes that is what happened, sorry23:32
i just want to make sure the diff looks good before doing the commit23:33
kpreid after you "git add" the conflicted files then "git diff --cached" will show you ordinary diffs (of what you'll commit) instead of the 3-way ones23:33
Arsonide left23:34
thiago [R]: git diff HEAD23:34
Arsonide joined23:34
tier left23:35
[R] excellent... thanks23:35
nocbreak joined23:35
cbreak left23:35
nnyk_ joined23:35
kpreid thiago: ooh, that works? thanks!23:37
weevieL left23:38
zumba_addict left23:38
kpreid makes sense in hindsight -- compare HEAD and tree, and ignore the index where the conflict info is23:38
weevieL joined23:38
zumba_addict joined23:38
thiago git diff = compare tree and index (in the case of a conflicted state, it's a 3-way diff)23:38
git diff --cached = compare index and commit23:39
git diff HEAD = compare tree and commit23:39
git diff --cached HEAD = compare index and commit23:39
zumba_addict left23:40
[R] they think of everything23:40
thiago wait, one of the four is wrong23:41
zumba_addict joined23:41
CarlFK left23:42
skylite left23:44
bdavenport left23:47
EminenceHC joined23:49
msmith joined23:50
msmith left23:50
Consuela left23:50
Consuela_ joined23:50
msmith joined23:50
ManikM left23:52
ManikM joined23:52
ncd|leeN left23:53
EminenceHC left23:54
nocbreakcbreak23:55
r0bby_ joined23:55
DolpheenDream left23:55
LucasTT joined23:55
robbyoconnor left23:56
alp82 joined23:56
kukks joined23:56
kukks left23:56
kukks joined23:56
St_Marx left23:58
St_Marx joined23:58

Logs Search ←Prev date Next date→ Channels Documentation