IRCloggy #git 2017-02-12

Logs Search ←Prev date Next date→ Channels Documentation

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

2017-02-12

chipotle left00:00
askb joined00:00
joshszep joined00:00
tristanp left00:01
tristanp joined00:02
ozmage joined00:02
GodGinrai joined00:04
UserOO7 left00:04
joshszep left00:04
ozmage left00:05
tristanp left00:06
askb left00:06
askb joined00:07
clemf left00:07
matsaman left00:07
m4sk1n left00:07
fstd_ joined00:07
LeBlaaanc left00:08
GodGinrai left00:08
matoro left00:08
fstd left00:08
fstd_fstd00:08
danemacmillan joined00:09
danemacmillan left00:09
e01 left00:10
matsaman joined00:10
finalbeta left00:10
e01 joined00:10
enckse joined00:10
e01 left00:10
e01 joined00:10
storrgie joined00:11
clemf joined00:11
storrgie left00:12
enckse left00:12
enckse joined00:13
Gsham joined00:14
storrgie joined00:14
e01 left00:15
Oatmeal left00:16
dbl4k left00:19
Gsham left00:19
notebox left00:20
notebox joined00:21
meadmoon joined00:21
ljc joined00:22
meadmoon left00:24
matoro joined00:25
govg left00:25
SwiftMatt joined00:27
Naan left00:27
mischat left00:29
dave0x6d joined00:33
pbrewczynski left00:36
tristanp joined00:38
pur3eval joined00:43
kyan joined00:43
bongobrown joined00:43
Vampire0 joined00:44
fstd left00:44
fstd joined00:44
Vampire0_ left00:45
MineCoins left00:45
Richard_Cavell Hi everyone. I have a working directory with a project. Someone online insisted that I post my code to github.com, so I did. He gave me the commands, and there is a .git directory in my working directory. Since then I've been typing $git push when I wanted to commit (because I don't know git), and my wd is out of sync with github and git commit won't fix it. What do I do?00:46
Raed left00:46
memfrob try git pull then git push again00:47
pur3eval left00:47
svm_invictvs left00:48
Richard_Cavell $git pull results in: There is no tracking information for the current branch. Please specify which branch you want to merge with.00:48
King_Hual left00:49
memfrob Ok, where are you starting from?00:49
Does git checkout master work?00:49
If you properly cloned your tree you shouldn't have to do that.00:50
Richard_Cavell If I do that will it wipe my recent changes?00:50
Tobbi left00:51
memfrob ok so you already made changes.00:51
bongobrown left00:51
memfrob what does git branch -a say?00:51
Richard_Cavell * master00:51
remotes/origin/master00:51
memfrob what does git log say?00:51
rogi joined00:51
Gsham joined00:52
mehola joined00:52
memfrob does git log have your recent change? i.e. did you make a commit?00:52
raatiniemi joined00:52
Richard_Cavell git log output: http://ideone.com/IU9vmZ00:53
rogi left00:53
memfrob better yet, does git diff HEAD say anything00:53
Richard_Cavell git diff HEAD produces 4 pages of output00:53
memfrob ok thats probably why00:54
run git add -A00:54
then git commit -as00:54
modin joined00:54
Richard_Cavell Yes, that seems to have worked. git diff HEAD now has no ouptut00:55
memfrob then git push should work, if not, git push origin +master00:55
Taikibansei left00:55
rewt joined00:56
memfrob if the first one doesn't work then something is wrong though00:56
Richard_Cavell git push worked00:56
memfrob nooicee00:56
Richard_Cavell Okay, I'm a bit more relaxed now. Thanks00:56
So if I want to commit from now on, what do I type?00:56
durham left00:57
Richard_Cavell (I'm the only committer, I'm just putting my code up for another guy to look at)00:57
memfrob no problem man, you ever need anything join this channel, we're all git experts with no egos.00:57
durham joined00:57
Raed joined00:57
Nugget joined00:57
memfrob git add -A means to add everything (new files, folders, etc) in the work directory to git, i.e. to track them00:58
if you're only modifying files that already exist in the git tree and are being tracked, I use git commit -as00:58
matsaman left00:58
mnaser left00:58
memfrob -a = "Tell the command to automatically stage files that have been modified and deleted, but new files you have not told Git about are not affected."00:59
-s is just a sign off message, so it says signed off by <your name and email>00:59
it makes it look nicer and not like you're trying to be an anonymous coward.01:00
Richard_Cavell So to remove certain files from the list of files that git versions, should I do git rm --cached filename ?01:00
MattMaker joined01:00
matsaman joined01:00
rwp joined01:00
sharpy joined01:00
memfrob you want to stop tracking a file in git but leave the file in the work tree? that sounds like a bad idea.01:00
flo[m]1 joined01:01
chipotle joined01:01
FiveBroDeepBook joined01:02
memfrob i personally never do that but if you want git to stop tracking a file, you just add the file (and path if necessary) to .gitignore01:02
__main__ joined01:02
notebox left01:02
m0ltar joined01:02
caliculk joined01:02
Richard_Cavell How do I remove them from github?01:03
memfrob as if they never existed and re-write history or the good way?01:03
Richard_Cavell The good way01:03
memfrob ah, just rm -rf file/directory then run git add -A again thats what i do01:04
borkr left01:04
Richard_Cavell No, I want them to exist on my computer but not at github01:04
For example, object files01:04
Electrometro left01:05
memfrob You should add object files and auto-gen'd files to .gitignore but if you already added it by mistake, git rm --cached <file>01:05
then do ensure it's done right, git rm --cached -r . && git add .01:06
s/do/to/01:06
FiveBroDeepBook left01:06
memfrob that will make sure files in .gitignore are not tracked01:06
HEH! I know more about git than I thought I did.01:07
Richard_Cavell memfrob: I have run git rm --cached on the files, and it appears to have removed them from versioning. But they're still on github.01:07
qpdb joined01:07
memfrob you committed it?01:07
jagobdue joined01:07
Richard_Cavell yes01:07
memfrob OH RIGHT! sorry. ok re-add the file to git and track it, then move the file outside of the git directory, then run git add -A again01:08
sharpy left01:08
memfrob and you're going to need to remove the file from .gitignore if you did that already.01:09
sharpy joined01:09
memfrob then in git commit -as it should mention that the file was deleted.01:10
dersand left01:10
memfrob there's probably another way to do that without moving the file outside of the git tree but that's what i do to keep myself sane.01:10
jagob left01:10
Richard_Cavell They're still there on github01:10
memfrob was the file deleted in git commit ?01:11
Richard_Cavell No, doesn't look like it01:11
IntruderSRB joined01:11
memfrob you need to make sure the file is tracked again first01:12
if it doesn't show up in git commit then it won't show up on github01:12
Richard_Cavell Okay, they're versioned and they're in the working directory. What about a git rm filename?01:13
CheckDavid left01:14
memfrob you can use that too, i personally don't.01:14
ljc left01:14
memfrob hence why i didn't think of it earlier :P01:15
Richard_Cavell I ran it but it's still on github01:15
memfrob was it deleted in git commit ?01:15
does git commit --amend show that you deleted the file?01:16
Richard_Cavell http://ideone.com/8n0LCy Here's the output01:16
memfrob git config --global user.name "Richard Cavell"01:16
git config --global user.email [email@hidden.address]01:16
Richard_Cavell ok done01:17
memfrob git commit --amend --reset-author01:17
mnaser joined01:17
memfrob then git push01:17
notebox joined01:18
knigitz joined01:18
memfrob imma pull my hair out if that doesn't work01:18
memfrob gets ready to point a gun at his own head01:19
tristanp left01:19
matsaman =)01:19
Richard_Cavell Don't do that01:19
It worked. Thanks.01:20
Now when I've done some work, I go $git commit -as; git push correct?01:20
tristanp_ joined01:20
memfrob yes, git commit -as makes the commit and has you sign off on it, git push sends it to the server01:22
Richard_Cavell Okay goood. That's all I want to learn about git for now.01:23
memfrob hawsome!01:24
so what VCS do you usually use? SVN? CVS Pharmacy?01:27
carpii joined01:27
memfrob Something tells me you usually don't use hg or bzr.01:27
pandeiro joined01:28
redhedded1 joined01:29
sharpy left01:29
mischat joined01:29
YuGiOhJCJ left01:29
sharpy joined01:29
ToBeCloud left01:31
arescorpio joined01:31
memfrob Too much C programming, I'm gunna go game for awhile. I'll be back another day. Take care everyone!01:31
memfrob left01:31
afuentes joined01:32
tristanp_ left01:32
Vampire0_ joined01:36
mischat left01:36
d1z left01:37
tristanp_ joined01:37
Vampire0 left01:38
rewt left01:42
rewt joined01:43
johnny56 left01:45
aidalgol left01:45
jameser joined01:46
johnny56 joined01:46
astrofog joined01:47
yqt left01:47
cdg joined01:48
tristanp_ left01:50
tristanp joined01:51
johnny56 left01:51
johnny56 joined01:52
Xunie left01:54
tristanp left01:56
d1z joined01:57
tristanp joined01:59
waveclaw left01:59
MattMaker left02:00
MattMaker joined02:00
tristanp left02:01
tristanp joined02:02
dreiss joined02:02
notebox left02:02
jstimm left02:03
Starky left02:04
MattMaker left02:05
tristanp left02:09
clemf left02:10
tristanp joined02:11
rgrinberg joined02:13
finalbeta joined02:15
Vampire0_Vampire002:15
tristanp left02:15
tristanp joined02:16
waveclaw joined02:21
pks left02:21
tristanp left02:21
pks joined02:22
tristanp joined02:22
Vampire0_ joined02:23
IntruderSRB left02:23
Vampire0 left02:24
tristanp left02:24
tristanp joined02:24
tristanp left02:24
Vampire0_Vampire002:24
Xe joined02:25
tristanp joined02:25
justan0theruser joined02:27
justanotheruser left02:28
tristanp left02:29
tristanp joined02:30
tristanp left02:30
tristanp joined02:31
miczac left02:31
jameser left02:31
tristanp left02:31
tristanp joined02:32
pur3eval joined02:32
jimi_ left02:32
Derperperd left02:36
pur3eval left02:36
jimi_ joined02:37
ertes joined02:38
Wulf4 joined02:39
miczac joined02:39
gitinfo set mode: +v02:41
astrofog left02:42
Wulf left02:42
Wulf4Wulf02:42
tvw left02:42
JamEngulfer left02:43
dave0x6d left02:45
tristanp left02:45
tristanp joined02:46
tristanp_ joined02:47
tristanp left02:47
dcy joined02:50
jameser joined02:51
d^sh left02:54
ojdo left02:55
d^sh joined02:56
chipotle left02:57
afuentes left02:58
pandeiro left03:00
ozmage joined03:01
ojdo joined03:02
Vortex34 left03:04
tristanp_ left03:05
tristanp joined03:06
tristanp left03:08
tristanp joined03:09
johnny56 left03:09
ffilozov joined03:11
c0ded joined03:11
CEnnis91 left03:12
johnny56 joined03:15
tristanp left03:15
tristanp joined03:15
tristanp left03:15
tristanp joined03:16
miczac left03:17
Vortex34 joined03:18
tristanp left03:18
ozmage left03:19
Vinnie_win_d joined03:20
Vinnie_win left03:21
cdg_ joined03:21
reconx86_ left03:23
jagobdue left03:23
reconx86 joined03:23
cdg left03:23
rogerraymond joined03:24
roger_raymond left03:24
tristanp joined03:25
hexagoxel left03:25
cceckman joined03:25
Vinnie_win joined03:26
reconx86 left03:26
chachasmooth left03:26
reconx86 joined03:27
fstd left03:28
fstd_ joined03:28
fstd_fstd03:28
unbalancedparen left03:29
Vinnie_win_d left03:29
cceckman Greetings, qq: I have two repositories, X and Y. Y is a submodule of X. User A doesn't have (direct) access to Y, but does have access to X. Do they continue to not have access to Y, i.e. their submodule fetch will fail?03:29
chachasmooth joined03:29
knigitz left03:30
hexagoxel joined03:30
tristanp left03:32
carpii yes, submodules are seperate repo's, so they need permission to those too03:33
and if not, then submodule fetch will fail03:33
reconx86 left03:33
jimi_ left03:33
reconx86 joined03:33
jimi_sanchez joined03:33
Ryanar joined03:34
Ryanar left03:34
cceckman carpii: Great- thanks!03:34
carpii np03:34
cceckman Is this a typical pattern? Google turns up a couple of mentions of it.03:36
kadoban No, it sounds mostly useless. What use is a repo with submodules that other people won't have access to?03:36
cceckman kadoban: publish my configuration for (dotfiles, monitoring stack, etc.) but keep the specific login secrets (nickserv password, API keys, etc) separate03:37
carpii yeah i guess the only use cases are security related03:38
cceckman Since someone cloning it would need to branch anyway03:38
carpii but it renders the parent repo useless anyway so...03:38
jameser left03:38
carpii may aswell deny access to that too03:38
cceckman carpii: Eh, useless for cloning maybe, not for reference altogether, I'd say03:39
AustinMatherne joined03:39
tristanp joined03:40
carpii well yeah true03:40
cceckman left03:42
tristanp left03:43
ismithers joined03:43
ankit01ojha joined03:45
justanotheruser joined03:47
justan0theruser left03:47
pur3eval joined03:47
raijin joined03:48
raijin left03:48
chipotle joined03:49
pur3eval left03:52
dcy left03:55
pumafied joined03:55
pumafied left03:56
Emperor_Earth joined03:56
jameser joined03:58
kruncher left04:01
sunri5e left04:02
ojacobson_ojacobson04:02
sunri5e joined04:03
shgysk8zer0_ left04:05
Groovin joined04:10
GroovinDB joined04:10
JelmerD joined04:14
cdg_ left04:16
slappymcfry joined04:18
mohabaks joined04:19
jeffspeff joined04:21
shinnya joined04:24
jeffspeff left04:27
jeffspeff joined04:28
jeffspeff left04:29
freezer joined04:31
Nilesh_ joined04:32
Noldorin left04:34
Cabanoss- joined04:35
freezer left04:35
jameser left04:35
pks left04:37
pks joined04:37
Cabanossi left04:38
Cabanoss-Cabanossi04:38
UserOO7 joined04:39
shgysk8zer0_ joined04:41
carpii left04:46
endiruna left04:49
endiruna joined04:50
UserOO7 left04:55
Puffball joined04:57
arescorpio left04:59
jameser joined05:01
chipotle left05:01
pur3eval joined05:03
SwiftMatt left05:05
pur3eval left05:08
dsdeiz joined05:08
dsdeiz left05:08
dsdeiz joined05:08
jameser left05:09
mohabaks left05:10
safe joined05:11
l4v2 left05:13
notebox joined05:13
notebox left05:14
durham left05:16
cagmz left05:17
GroovinDB left05:19
MattMaker joined05:20
kisonecat joined05:22
mohabaks joined05:24
hussam joined05:25
MattMaker left05:26
durham joined05:27
MattMaker joined05:31
MattMaker left05:33
MattMaker joined05:33
cbreak joined05:34
nd_ joined05:34
CIAguy- joined05:37
nd left05:37
MattMaker left05:38
DolpheenDream left05:46
eb0t left05:46
FiveBroDeepBook joined05:49
jameser joined05:50
ankit01ojha left05:50
Doginal left05:53
jameser left05:54
FiveBroDeepBook left05:54
datahead8888 joined05:54
datahead8888 left05:56
datahead8888 joined05:56
snapfractalpop joined05:58
MattMaker joined05:59
snapfractalpop Anyone using this: https://github.com/github/gitignore/blob/master/Android.gitignore in Android Studio?05:59
mohabaks left06:00
jimi_sanchez left06:00
matsaman using other people's boilerplate .gitignore files (or indeed anything) seems problematic06:00
jagob joined06:03
jagob left06:03
jeffspeff joined06:05
FiveBroDeepBook joined06:09
Guest9 joined06:11
MattMaker left06:12
nuck joined06:13
FiveBroDeepBook left06:14
menip left06:14
kevr joined06:15
snapfractalpop matsaman: what's your solution? do you learn all the idiosyncracies of the IDE and manually create a gitignore each time?06:16
kevr so i was attempting to rebase -i so i could remove a commit from a merge, and i ended up just letting rebase merge everything over. how can i use git rebase -i to exclude specific commits?06:17
is there an example somewhere of -i's content?06:17
snapfractalpop kevr: any reason not to revert?06:17
matsaman snapfractalpop: yup06:18
kevr i just did a git reset --hard to a good commit before the extras06:18
matsaman also if something requires that many special overrides, I want to know it does06:18
kevr snapfractalpop: but i want to basically merge another branch onto master, but i wanna exclude some commits from the other branch06:19
google said this is possible with git rebase -i06:19
pur3eval joined06:19
snapfractalpop matsaman: hm.. I'm debating this because I still haven't decided whether IDE things belong in the git history for my android projects06:19
kevr: revert is different from reset06:19
it keeps the history, IIRC06:19
matsaman snapfractalpop: I think it'll be unlikely anything to do with your local IDE won't have local user specific paths and strings within them06:20
ideally such things would not even be under your git, IMO06:20
to need to be ignored in the first place06:20
snapfractalpop matsaman: true.. but I can't be totally sure, since I'm not 100% familiar with AS06:21
kevr snapfractalpop: oh, i see, well that's fine, i just removed the history from master, i still have it on the other branch06:21
snapfractalpop matsaman: also, there can be binary assets created in the build process, etc.06:21
matsaman shrugs06:21
matsaman it's not personal, but I trust what I know, not what others tell me06:22
snapfractalpop matsaman: my concern is that I don't know what all should / shouldn't be included as best practice06:22
matsaman well there's no harm looking at what people include06:22
I just wouldn't substitute it wholesale with learning what to include for yourself06:22
snapfractalpop I know that not *everything* should be included.. and some tutorials keep using "git add ." or "git add -a" which in my case is wrong for sure06:23
matsaman a lot of people do that, they substitute other people's choices; I find that problematic =D06:23
pur3eval left06:23
kevr great, i just rebased and completely removed a commit that i wanted to keep06:24
ugh06:24
snapfractalpop matsaman: yeah.. I'm thinking of more as a starting point, using a boilerplate .gitignore to see what particular directories the IDE shouldn't be versioning.. then researching further06:24
kevr: it may still exist somewhere06:24
matsaman well what's nice is git will tell you all the new files06:24
acetakwas joined06:24
matsaman so it should be apparent what you will want to ignore06:24
or not06:24
nuck left06:25
matsaman as long as your first commit isn't after editing 80,000 files =P06:25
snapfractalpop matsaman: haha true06:25
MattMaker joined06:25
snapfractalpop btw, I use tig sometimes..06:25
d4f4s joined06:25
matsaman tig seems pretty cool06:26
snapfractalpop quite handy little git tool06:26
it helped me learn staging chunks and whatnot06:26
kevr it's not about excluding files06:27
basically06:27
say i have a master branch, and i wanna create a branch that has some custom files in it, so i commit a special commit on the new branch that says something like "Development files", and then i make a bunch of other commits on that branch, and i wanna merge everything into master _except_ for the commit for "Development files"06:28
so i was trying to do that06:28
snapfractalpop kevr: the commit that you removed may still be present .. just don't do a clean06:28
kevr indeed06:28
where would i get the commit from?06:28
i dropped it in the rebase06:28
aavrug joined06:29
nuck joined06:29
snapfractalpop kevr: do you have the hash of the commit?06:29
MineCoins joined06:29
kevr no, git log didn't show the commit anymore, luckily the server still had the commit so i just pulled it back06:30
snapfractalpop git reflog?06:30
ah.. nevermind then.06:30
kevr oh shit, what the fuck06:30
it just duplicated a bunch of commits06:30
T_T06:30
snapfractalpop kevr: you rebased.. so the state was different06:31
if your server has the exact state you want, you can force pull06:31
otherwise, the rebase you did locally will prevent a clean pull06:31
kevr well fuck06:31
alright06:31
thanks06:31
snapfractalpop also, if you didn't have the server, you may still have been able to find the "lost" commit with git reflog06:32
Gsham left06:32
acetakwas left06:36
acetakwas joined06:36
snapfractalpop also git fsck --lost-found06:38
d4f4s left06:40
shgysk8zer0_ left06:41
leeN left06:43
Guest28675 joined06:44
Guest28675 left06:46
_ng joined06:47
acetakwas left06:49
ffilozov left06:54
matsaman left06:56
a3Dman joined06:58
vivu joined06:59
dermoth left07:00
dermoth joined07:00
rivarun left07:01
rivarun joined07:02
acetakwas joined07:03
dave0x6d joined07:03
safe left07:04
aavrug left07:05
MACscr joined07:09
durham left07:11
xlegoman left07:11
acetakwas left07:14
acetakwas joined07:17
Electrometro joined07:25
boombatower left07:25
clemf joined07:31
jeffspeff left07:32
ronny joined07:36
snapfractalpop left07:41
acetakwas left07:43
Oatmeal joined07:47
Guest85 joined07:47
xbob joined07:49
justanotheruser left07:50
aavrug joined07:53
Derperperd joined07:54
e01 joined07:56
e01 left07:56
e01 joined07:56
aavrug left07:59
m4sk1n joined07:59
pur3eval joined08:08
madewokherd left08:10
pur3eval left08:12
robattila256 left08:13
Murii joined08:25
afuentes joined08:33
theoceaniscool joined08:35
rgrinberg left08:35
Ardethian joined08:36
Hink left08:39
thinkpad joined08:40
thiago left08:42
WayToDoor joined08:44
theoceaniscool left08:44
Derperperd left08:49
dreiss left08:50
thinkpad left08:53
Hink joined08:54
thinkpad joined08:55
clemf left08:58
Hink left09:01
_main_ joined09:01
_main_ left09:01
__main__ left09:02
_main_ joined09:02
Hink joined09:02
Goplat left09:03
_main_ left09:03
glebihan joined09:04
__main__ joined09:04
jameser joined09:05
a3Dman left09:07
jameser left09:09
DBag joined09:12
dave0x6d left09:15
govg joined09:15
robotroll joined09:18
WayToDoor left09:19
dersand joined09:19
thinkpad left09:20
e01 left09:27
d1z hello09:27
xmajedz joined09:32
xmajedz git commit suicide09:32
venmx joined09:33
j7k6 joined09:38
thinkpad joined09:40
mohabaks joined09:41
Ozymandy joined09:41
thinkpad left09:41
metachr0n left09:43
d1z I have a git repository that I'm constantly working on (laptop), and I want it to be cloneable from my vps. I've already set the git user in my system, added a public key for the vps and proceeded to attempt a git clone (the server cloning my local git repo) via git clone [email@hidden.address] however I get a fatal error, make sure the repository exists09:43
metachr0n joined09:44
thinkpad joined09:45
Derperperd joined09:46
d1z bah09:47
it was a dumb mistake, I was actually doing [email@hidden.address] and I was getting the error that :PORT:/srv/git/myproject.git didn't exist... ofc09:48
Derperperd left09:51
thinkpad left09:52
pks left09:53
YuGiOhJCJ joined09:54
mohabaks left09:54
pur3eval joined09:56
thinkpad joined09:57
a3Dman joined09:58
cris_ joined09:58
pur3eval left10:01
DBag left10:06
robotroll left10:07
Oatmeal left10:11
Wulf left10:15
Wulf joined10:17
m4sk1n left10:17
synthmeat joined10:23
m4sk1n joined10:23
catsup joined10:24
shinnya left10:24
catsup left10:24
catsup joined10:24
jimi_ joined10:25
jimi_ left10:25
jimi_ joined10:25
a3Dman left10:32
miczac joined10:33
gitinfo set mode: +v10:33
j7k6 left10:35
pbrewczynski joined10:36
afuentes left10:37
flavius joined10:38
a3Dman joined10:39
DBag joined10:39
jimi_sanchez joined10:40
jimi_ left10:42
xmajedz left10:42
cris_ left10:46
cris_ joined10:46
Hudu joined10:46
mohabaks joined10:46
cris_ left10:47
govg left10:47
d1z is it possible to clone the git with working index as well? I mean the changes that haven't been commited10:47
Hudu left10:48
vivuroy joined10:52
_ikke_ nope10:53
King_Hual joined10:54
vivu left10:55
LiftLeft left10:55
CheckDavid joined10:55
vivuroy left10:57
leeN joined10:58
vivuroy joined11:01
govg joined11:03
vivuroy left11:06
vivuroy joined11:06
DDBag joined11:06
DBag left11:09
Limes joined11:14
Derperperd joined11:16
jnavila joined11:17
eroux joined11:17
j7k6 joined11:19
mehola left11:19
pks joined11:19
mehola joined11:19
pks left11:19
mehola left11:20
c0c0 joined11:20
pks joined11:21
Derperperd left11:21
pks left11:22
tmk joined11:22
pks joined11:23
pks left11:24
pks joined11:24
pks left11:24
pks joined11:25
pks left11:26
vivuroy left11:26
pks joined11:26
vivuroy joined11:27
Bizkit left11:29
elsevero joined11:29
KAAM2NX joined11:30
diogenese left11:31
diogenese joined11:33
cyphaw left11:33
govg left11:33
Wulf left11:34
j7k6 left11:35
flavius d1z: Clone or merge?11:37
mrBen2k2k2k joined11:38
flavius Your question doesn't make sense, if you have "an index", you've already cloned it11:38
mikecmpbll joined11:38
d1z flavius: sorry I meant the stage11:40
jnavila left11:40
d1z the actual file changes that haven't been commited, but are present at file system level11:40
flavius d1z: so your question is then: is it possible to merge, while having something on the stage?11:41
not clone, merge11:41
Limes left11:42
j7k6 joined11:43
pur3eval joined11:45
mohabaks left11:45
govg joined11:45
blackwind_123 left11:46
inflames left11:46
blackwind_123 joined11:46
apotry joined11:46
FiveBroDeepBook joined11:47
Jackneill_ joined11:48
slappymcfry left11:48
pur3eval left11:50
FiveBroDeepBook left11:50
ChiLL_SurF joined11:50
Ozymandy left11:52
ertesx joined11:53
dbl4k joined11:54
notebox joined11:54
elsevero left11:56
FiveBroDeepBook joined11:57
ertes left11:57
ertesxertes11:57
cojack joined11:57
acetakwas joined11:57
cojack hello guys, I have a simple question about git alias, im creating new alias like: git config --global alias.bump '!bump_version', where bump_version is function from external file included as: ~/.oh-my-zsh/custom/scripts/git/bump_version.sh and body of this function is here: https://gist.github.com/cojack/8347bd679f82997ebce65ab44e7b1fe4 could some one explain me why after reload zsh I've got an error like: fatal: While expanding alias 'bump':11:59
'bump_version': No such file or directory. Thanks in advance11:59
apotry left11:59
apotry joined12:00
jmd joined12:04
jmd How do I do a git bisect across a merge ?12:04
jozwior joined12:04
FiveBroDeepBook left12:07
d1z flavius: uhm, I don't know if that is exactly equivalent,. Basically I have a remote vps where I do the tests. And I have a repo in my laptop and at github. I'm trying to upload code from my laptop to the vps without actually having to commit the changes into the history (sometimes), so I need a setup where git helps upload even the workspace itself, but without copying the entire directory to a remote instead12:09
(via scp), as that also brings all the files that are gitignored whilst doing it somehow with git allows me to upload just the changes to the files12:09
jameser joined12:09
borkr joined12:10
d1z that are part of the git project. doing it outside git would have to be full of --ignores of files because there are many very well sized files inside the directory of the repo that cannot be constantly pulled up towards the server12:11
m0viefreak joined12:11
robotroll joined12:11
d1z s/pulled up/uploaded12:12
j7k6 left12:12
cagedwisdom left12:14
Vinnie_win left12:15
govg left12:19
mehola joined12:20
jameser left12:23
sbulage joined12:24
mehola left12:26
jottr joined12:26
govg joined12:27
j7k6 joined12:28
Wulf joined12:29
Limes joined12:30
efeuska joined12:31
DDDBag joined12:33
tibi77 joined12:33
afuentes joined12:34
inflames joined12:34
DDBag left12:36
j7k6 left12:36
jozwior left12:36
Glooomy joined12:38
nettoweb joined12:38
tibi77 left12:41
tibi771 joined12:41
mischat joined12:41
notebox left12:43
eroux left12:45
mischat left12:46
nostrora joined12:47
zzz left12:48
jnavila joined12:48
vivuroy left12:49
ankit01ojha joined12:50
santagada joined12:51
tibi771 left12:52
jmd left12:53
askb left12:57
tmk left12:58
zzz joined12:58
jottr_ joined13:00
tmk joined13:00
d1z left13:03
jottr left13:03
cdg joined13:03
notebox joined13:05
vivuroy joined13:07
miczac left13:08
inflames left13:09
mikecmpbll left13:09
xbob left13:10
zzz left13:10
manuelschneid3r joined13:11
nostrora left13:14
jottr joined13:16
miczac joined13:16
gitinfo set mode: +v13:17
jottr left13:18
Balliad joined13:18
jottr_ left13:18
WayToDoor joined13:19
d1z joined13:21
govg left13:22
basiclaser joined13:23
dviola joined13:23
jameser joined13:24
WayToDoor left13:25
cdg left13:26
nettoweb left13:27
jameser left13:27
WayToDoor joined13:28
jimi_sanchez left13:31
nostrora joined13:32
Tobbi joined13:32
pur3eval joined13:34
jnavila left13:38
manuelschneid3r left13:38
e01 joined13:39
pur3eval left13:39
satifant joined13:40
mischat joined13:42
Balliad left13:42
WayToDoor left13:43
cojack left13:44
tmk left13:44
manuelschneid3r joined13:45
mischat left13:46
mischat joined13:46
yqt joined13:47
jameser joined13:47
WayToDoor joined13:48
narendraj9 joined13:48
narendraj9 left13:52
j7k6 joined13:53
_ng left13:56
Limes left13:58
WayToDoor left13:59
xmajedz joined13:59
jameser left14:02
re1 joined14:02
cdg joined14:03
t0by joined14:04
t0by left14:04
t0by joined14:04
Gsham joined14:04
j7k6 left14:05
DBag joined14:07
j7k6 joined14:08
DDDBag left14:08
dsdeiz left14:10
Vampire0_ joined14:10
NullableTruth left14:10
NullableTruth joined14:11
Vampire0 left14:11
j7k6 left14:13
Vampire0 joined14:14
xbob joined14:14
Vampire0_ left14:14
Ranmaru joined14:15
jameser joined14:15
xlegoman joined14:16
jameser left14:18
mischat left14:18
cs_shadow joined14:19
nostrora left14:20
nostrora joined14:21
nostrora left14:21
rostam joined14:22
jameser joined14:22
rostam Hi git question. I have a git repo with two branch (master, DEMO1). If in one branh (master) I use git reset head (need to do this to sync with remote github) when I want to switch the other branch (DEMO), I get complains: error: your local changes to the following files would be overwitten by checkout. How can I manage this please?14:23
jameser left14:24
snits left14:25
_ikke_ rostam: git reset HEAD would not do very much (except for untaging staged changes)14:25
What command are you executing precisely?14:25
xmajedz left14:27
rostam _ikke_, git reset <commit id>14:27
eizua left14:29
Tobbi left14:32
rostam _ikke_, my git repo is a local clone of remote git repository (github). I have done some changes to my local file system, which is not needed to push to remote git. So I created a branch and reset the maser branch to the point without those changes in order to pull from remote git.14:32
e01 left14:32
e01 joined14:33
e01 left14:33
e01 joined14:33
byte512 joined14:34
_ng joined14:35
sunri5e left14:35
e01 left14:37
sunri5e joined14:38
Vampire0_ joined14:38
Vampire0 left14:39
dviola left14:43
Murii left14:43
Murii joined14:44
theoceaniscool joined14:45
dave0x6d joined14:46
jimi_ joined14:46
khisanth_ joined14:46
dviola joined14:48
e01 joined14:48
_ng left14:54
Murii left14:54
Murii joined14:55
Bizkit joined14:55
danielmahon joined14:55
_ikke_ rostam: right, git reset <commit> only resets where the current branch points to (and the index), but not the working tree14:57
Tobbi joined14:58
rostam _ikke_, how can I push selectively to uppers stream, by that I mean some of my local changes I don't wish to push upsream? thanks14:59
loopsmark joined15:02
loopsmark left15:02
GavinMagnus joined15:02
govg joined15:02
loopsmark joined15:02
_ikke_ rostam: commit them on a separate branch, or do not commit them at all15:02
Cogitabundus joined15:03
Cogitabundus left15:03
raynold left15:04
raijin joined15:04
borkr left15:05
gitinfo set mode: +v15:06
loopsmark Hi, one question, I don't know if my problem is the workflow or my knowledge, we work in modularized software, and we use branches for each module, then when the module changes are ok we do a merge request to the master15:06
Vampire0 joined15:06
loopsmark the problem is, when people are working on his module (branch) and the master moves ahead, this could be 100 of commits irrelevant to the module, we do a rebase from master, but that leaves every branch full of commits that are not relevant to the module15:06
Vampire0_ left15:07
loopsmark is there a way to keep the log clean? is the best solution to actually create a master for each module?15:07
nedbat loopsmark: sounds like you'd be better off with a separate repo for each module15:08
nicoulaj left15:08
DBag left15:09
YuGiOhJCJ left15:09
nicoulaj joined15:09
loopsmark nedbat: yes, this is what I though15:09
thought*15:09
ankit01ojha left15:10
rostam _ikke_, thanks15:11
loopsmark but this means a bit of overhead of keeping track of all the repos15:11
nedbat loopsmark: yes15:12
_ng joined15:13
d1z left15:13
justanotheruser joined15:14
loopsmark because I was also thinking if there was a possibility to make a branch in a way that only keep track of specific files while it keeps the other at a main repo level15:14
miczac left15:17
mischat joined15:19
Tobbi left15:19
loopsmark but maybe that doesn't make sense at all15:20
miczac joined15:20
dsdeiz joined15:21
gitinfo set mode: +v15:21
cdg_ joined15:22
pur3eval joined15:23
notebox left15:24
SwiftMatt joined15:24
mischat left15:24
cdg left15:24
robattila256 joined15:25
notebox joined15:25
Gravious joined15:26
Gravious hi15:26
gitinfo Gravious: 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.15:26
Kulrak joined15:26
Kulrak left15:26
Kulrak joined15:26
dsdeiz left15:26
Gravious wow nice thanks gitinfo :D15:26
gitinfo Gravious: you're welcome, but please note that I'm a bot. I'm not programmed to care.15:26
Gravious ok!15:26
why do some git commands return an exit code of 128?15:27
Guest9 left15:27
moritz example?15:27
Gravious according to http://www.tldp.org/LDP/abs/html/exitcodes.html this is reserved for invalid arg to exit15:27
moritz, here, http://git.baserock.org/cgit/delta/git.git/tree/builtin/apply.c#n2915:27
pur3eval left15:28
moritz Gravious: sounds about right15:29
Gravious seems pretty deliberate that they're returning 128 there, so i wondered if there's maybe some obscure reason for it15:29
d1z joined15:30
shgysk8zer0_ joined15:31
DBag joined15:32
moritz Gravious: the documentation you've found refers to bash's built-in exit() function, not to the C exit function15:32
Gravious this is true15:32
but still, it seems that perhaps it's not the best choice of exit code?15:33
kaldoran left15:33
moritz dunno15:34
efeuska left15:35
kaldoran joined15:36
tmk joined15:38
dcy joined15:39
grayjoc joined15:39
j7k6 joined15:41
Levex joined15:44
alexandre9099 left15:45
sbulage left15:46
nedbat Gravious: why do you mind that error code?15:47
j7k6 left15:47
santagada left15:47
Gravious because in bash it's ambiguous15:47
nedbat, http://www.tldp.org/LDP/abs/html/exitcodes.html15:47
nedbat Gravious: as moritz said, that's just saying what the exit builtin will return.15:48
Gravious: it has no bearing on other commands15:49
Gravious so now i have to know what something was implemented in to interpret the exit code?15:49
moritz Gravious: there's no global convention that you can rely on for exit code meaning, ecept 0 == success, 1 == some sort of error/failure15:50
sgen joined15:50
moritz erm, != 0 implies some sort of error/failure15:50
Gravious if it's ok to return 128 why not start returning 139 which is what bash will give you if a program segfaults?15:51
jimi_ left15:51
Tobbi joined15:51
moritz Gravious: if you care so deeply, make a pull request that changes the exit code to something that you find more tasteful. It's likely that it'll either be merged, or somebody explains why it's like it is right now15:52
Gravious nods15:52
nedbat Gravious: there is not a strong convention for the meaning of status codes across applications.15:52
Gravious okay cool, i'll make a patch :)15:52
nedbat, sure but we may as well at least *try* :)15:52
moritz but I find that fascination with a simple number in a pretty big code base quite puzzling15:52
nedbat Gravious: i agree that uniform status codes would be better, and hardcoded 128 seems strange.15:53
Gravious moritz, i just happened across it is all, and some of us were surprised by a return value of 12815:53
souther joined15:53
theoceaniscool left15:55
jnavila joined15:56
SteffanW joined15:58
cojack joined15:59
raijin left16:00
MineCoins left16:00
MineCoins joined16:01
_sfiguser joined16:02
_sfiguser hello all, a question about merge management...16:03
if i'm working on a git repo, i just downloaded it... then i work and make some modifications... then i want to merge with a remote branch ... but at this point another one has already modified the branch, how should i manage ?16:04
diogenese left16:06
pbrewczynski left16:06
venmx left16:07
moritz _sfiguser: that depends on the upstream branch; some prefer that you merge the changes, others that you rebase16:08
*upstream project16:08
madewokherd joined16:10
_sfiguser moritz, but if we rebase we lose the changes made by someone else...16:10
SteffanW left16:11
moritz _sfiguser: a rebase generally doesn't lose any changes, you just have to be careful with tracking meta data when multiple people work on the same branch16:11
cagomez joined16:11
re1 left16:14
osse st. moritz16:15
cojack left16:15
cagomez left16:16
osse _sfiguser: And after cloning you use fetch to update the remote branches later16:16
FiveBroDeepBook joined16:17
mischat joined16:20
Levex left16:21
_sfiguser ok guys but should i use rebase or merge ?16:21
^7heo Either or16:22
moritz _sfiguser: ask the developers of the upstream project what they prefer16:22
mehola joined16:22
j7k6 joined16:23
pur3eval joined16:23
dcy left16:23
ThunderChicken left16:24
mischat left16:25
ThunderChicken joined16:25
diogenese joined16:26
Gsham left16:26
wrouesnel1 left16:26
efeuska joined16:26
jnavila left16:27
pur3eval left16:28
mehola left16:28
Limes joined16:31
grayjoc left16:31
FiveBroDeepBook left16:32
Wulf left16:32
Levex joined16:34
Wulf joined16:34
Bizkit left16:34
skinkitten joined16:36
skinkitten_ joined16:36
arnoldoree joined16:36
_sfiguser hello all i have a github account and working on my project... i want another user to be allowed to push to my repo... how can i do this ?16:36
TomyLobo joined16:37
prg318 joined16:39
moritz _sfiguser: in the github web interface: settings -> Collaborators16:41
Guest9 joined16:41
ash_workz joined16:42
Gsham joined16:44
d1z left16:44
noteness joined16:45
_sfiguser moritz once i do a git pull, how can i fix conflicts ?16:45
cs_shadow left16:46
FiveBroDeepBook joined16:46
FiveBroDeepBook left16:46
moritz _sfiguser: !conflict16:46
gitinfo _sfiguser: [!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=zz7NuSCH6II16:46
[Brain] joined16:54
mikecmpbll joined16:55
mda1 left16:56
mda1_ joined16:56
tmk left16:57
Brain joined16:58
FiveBroDeepBook joined16:59
Bizkit joined17:00
FiveBroDeepBook left17:00
mda1 joined17:01
[Brain] left17:02
mda1_ left17:03
cdg_ left17:03
Levex left17:09
JanC_ joined17:10
JanCGuest8601717:10
Guest86017 left17:10
JanC_JanC17:10
Levex joined17:11
muldover joined17:12
muldover left17:12
muldover joined17:13
muldover left17:13
muldover joined17:14
muldover left17:14
PioneerAxon left17:14
Jellyg00se joined17:15
muldover joined17:16
muldover left17:16
IntruderSRB joined17:19
PioneerAxon joined17:19
mischat joined17:21
muldover01 joined17:23
muldover01 left17:23
nowhereman joined17:24
PioneerAxon left17:24
DBag left17:24
Jellyg00se left17:25
sarri left17:25
mischat left17:25
xbob left17:26
navidr joined17:27
clemf joined17:28
PioneerAxon joined17:29
thiago joined17:30
Starky joined17:30
d1z joined17:33
cyphase left17:33
dyce[m] left17:33
Remramm left17:34
dikiaap left17:34
j7k6 left17:34
flo[m]1 left17:34
dreiss joined17:36
jon-mac left17:36
jost_ joined17:37
cyphase joined17:38
SwiftMatt left17:38
GT4066 joined17:38
nettoweb joined17:39
jost__ left17:39
Levex left17:41
Levex joined17:44
dviola left17:44
vdv joined17:45
menip joined17:46
BackEndCoder left17:46
halpmi joined17:48
gitinfo set mode: +v17:48
BackEndCoder joined17:48
santagada joined17:49
djb-irc joined17:49
meZee joined17:50
halpmi is there a way to run a diff between a previous commit on the master branch (eg jd29dh3h) and the final commit on a separate branch?17:50
_ikke_ halpmi: git diff master~ branchname17:50
halpmi hi _ikke_, thanks. what does the ~ represent?17:52
_ikke_ The first 'ancestor' of the commit (ie, it's parent)17:52
jnavila joined17:52
_ikke_ halpmi: see man gitrevisions17:53
gitinfo halpmi: the gitrevisions manpage is available at http://jk.gs/gitrevisions.html17:53
atomi left17:53
atomi joined17:54
djb-irc left17:54
d1z left17:56
rgrinberg joined17:57
halpmi _ikke_: got it, thanks again!17:57
YuGiOhJCJ joined18:00
DBag joined18:00
xall joined18:01
DDBag joined18:01
ertes left18:03
DBag left18:03
mda1 left18:04
loopsmark left18:05
cdown joined18:07
djb-irc joined18:07
mda1 joined18:08
pur3eval joined18:12
ozmage joined18:13
pur3eval left18:17
Nilesh_ left18:19
mischat joined18:21
j7k6 joined18:23
halpmi left18:25
mehola joined18:26
mischat left18:27
Gsham left18:28
Levex left18:29
mehola left18:30
astrofog joined18:32
kasual joined18:32
raijin joined18:34
qguv joined18:35
jon-mac joined18:36
Noldorin joined18:36
jnavila left18:37
notebox left18:38
skinkitten_ left18:39
skinkitten left18:39
notebox joined18:40
phantombeta joined18:41
PioneerAxon left18:41
phantombeta left18:41
PioneerAxon joined18:46
xall left18:47
Levex joined18:48
notebox left18:52
Whiskey joined18:55
raijin left18:56
notebox joined18:57
raijin joined18:57
mda1_ joined18:57
eb0t joined18:57
Derperperd joined18:57
ozmage left18:59
mda1 left18:59
Anonymous2016 joined19:00
Whiskey Hay everyone19:00
I try to ignore folders in my gitignore but i don´t get it to work19:00
nettoweb left19:01
cagomez joined19:01
Whiskey the folders are "Backup|Old|Deleted" and are in diffrent folders in the source19:01
rewt have they been committed already?19:01
Whiskey rewt i have just try to start use git so no not really, its just not start to ignore it when i do my first comment19:02
i did try to ignore them whit "**/Backup/*19:02
rewt so in `git status`, they show under "Untracked files"?19:02
Whiskey well i don´t have that option i just don´t see it in my git status19:03
but i guss thats the same19:03
i have another thing i ignore that works and don´t show under git status so thats work19:03
rewt if they don't show up at all, then they're ignored19:04
Whiskey I told about others now19:04
to just say how i see it19:04
rewt pastebin the output of `git status`19:04
Whiskey No i know what it does19:04
cagomez left19:05
tmk joined19:05
rewt you're not being clear, so the easiest way to help is to see exactly what you see19:05
Whiskey but something i don´t know about is that i addded a new folder in my root directory of my git19:06
"Test/Delete/testfile.something" and "git add -A" and "git status" don´t show it at all hmmm19:06
Sheogorath[m] joined19:07
Whiskey it just ignore the the "Delete" folder if it works right? and show test as empty folder19:07
I don´t take images19:08
upload it somewhere jesus19:08
rewt if it doesn't show in git status, it's ignored (or same as the committed version)19:09
Whiskey rewt, is it someway to make git always do git add -A automatic and always be indexed before a commit insted of do it manuall?19:10
yeh it was ignored strange19:11
e01 left19:11
e01 joined19:11
e01 left19:11
e01 joined19:11
ChiLL_SurF left19:13
pur3eval joined19:13
tmk left19:15
Anonymous2016 left19:15
arnoldoree left19:16
tmk joined19:16
alexandre9099 joined19:16
pur3eval left19:17
Gsham joined19:18
mohabaks joined19:19
menip left19:19
blokeybloke joined19:22
Spuri0us joined19:22
sprremix joined19:22
kasual left19:23
Somelauw joined19:24
Somelauw git doesn't respect locale, because doing git commit prints date as Feb 12 instead of printing the date normally.19:25
loopsmark joined19:26
e01 left19:26
Timvde left19:26
e01 joined19:27
e01 left19:27
e01 joined19:27
elijah joined19:27
peterR`` joined19:27
d1z joined19:28
LiftLeft joined19:28
peterR`` can you work on two "experimental" branches at the same time and switch between then with wild abandon?19:28
j7k6 left19:28
Timvde joined19:28
e01 left19:29
Hello71 peterR``: why not19:29
nedbat peterR``: it be better to switch between them with discipline and care, but sure.19:29
e01 joined19:29
e01 left19:29
e01 joined19:29
peterR`` lol, OK19:29
but is it just one command to switch?19:29
Hello71 git checkout19:30
nedbat peterR``: you have to commit your changes if you are changing files.19:30
loopsmark left19:30
peterR`` oh19:30
so you can't have two branches with uncommitted changes right?19:30
matoro left19:31
Hello71 you can't put "uncommited changes" on a branch19:31
branches hold commits (sort of)19:31
rewt or stash them temporarily19:31
Hello71 that's not really a good example of something wrong with what I said19:32
rewt yeah, misread the can't for can19:32
Hello71 it's that you can put a commit on multiple branches, and branches technically only *point* to cmmits19:32
I see.19:32
peterR`` OK, I see19:32
thanks19:32
BlessJah left19:32
Hello71 you can use git stash to make a "temporary commit"19:32
Whiskey How do i remove a commit=?19:32
Hello71 which is stored on a sort of 'git stash branch'19:33
(in this context)19:33
!undo19:33
gitinfo [!fixup] So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history!19:33
SwiftMatt joined19:33
raijin left19:33
dviola joined19:33
peterR`` I will just commit - I just didn't know what I was doing :)19:33
Whiskey like if i do "git commit -a -m "some commit" and then need to remove it19:34
most be a easy way to remove last commit19:34
Hello71 git reset HEAD^19:35
SwiftMatt left19:35
Whiskey but is it always first commit that be deleted if lets say i have made 519:35
git revert commit-id maybe?19:36
Hello71 !undo19:37
gitinfo [!fixup] So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history!19:37
j7k6 joined19:37
stevenbenner joined19:37
danemacmillan joined19:38
Vgr left19:38
WayToDoor joined19:39
mohabaks left19:39
mda1_ left19:41
Vgr joined19:42
Vgr left19:42
Vgr joined19:42
Vgr left19:42
Vgr joined19:42
Vgr left19:42
Vgr joined19:42
spinningarrow[m] joined19:43
dyce[m] joined19:43
M-meznak joined19:43
Sri[m] joined19:43
kikijiki[m] joined19:43
am2on joined19:43
KevinMGranger[M] joined19:43
saintaquinas[m] joined19:43
elwan7[m] joined19:43
unclechu joined19:43
alaeri[m] joined19:43
aviraldg joined19:43
srkrishna[m] joined19:43
Jarrah[m] joined19:43
anand[m] joined19:44
dikiaap joined19:44
Remramm joined19:44
SpEcHiDe joined19:44
musicmatze[m] joined19:44
monomon[m] joined19:44
Salander27 joined19:44
unilovelight[m] joined19:44
Guest17683 joined19:44
daopu[m] joined19:44
UncleCJ joined19:44
patrickr[m] joined19:44
flo[m] joined19:44
hiq[m] joined19:44
hallogallo[m] joined19:44
matoro joined19:45
nettoweb joined19:46
mehola joined19:46
mellernoia joined19:47
mda1 joined19:47
zeroed joined19:48
zeroed left19:48
zeroed joined19:48
Shakeel_ joined19:48
onmeac joined19:48
Vgr left19:49
valize joined19:49
onmeac left19:49
j7k6 left19:50
SwiftMatt joined19:51
jagob joined19:52
djb-irc left19:52
WayToDoor left19:53
clemf left19:53
dersand left19:53
Levex left19:53
Gravious left19:54
b3kN joined19:54
Motoko joined19:59
j7k6 joined20:01
mehola left20:01
Levex joined20:01
mehola joined20:03
Lunatrius left20:04
Lunatrius joined20:05
BlessJah_ joined20:05
BlessJah_BlessJah20:05
matoro left20:07
nettoweb left20:09
denisMone joined20:10
durham joined20:10
levex_ joined20:11
clemf joined20:11
nettoweb joined20:11
durham left20:11
Levex left20:12
durham joined20:12
BlessJah left20:12
BlessJah joined20:12
mellernoia left20:15
pR0Ps left20:16
tmk left20:17
_ng left20:18
notebox left20:19
matoro joined20:20
Gravious joined20:23
mischat joined20:23
mda1 left20:24
snits joined20:25
Spuri0us left20:26
blokeybloke left20:26
b3kN left20:26
pR0Ps joined20:27
anuxivm joined20:27
mischat left20:28
chipotle joined20:28
sagerdearia left20:29
mischat joined20:30
j7k6 left20:31
e01 left20:32
acetakwas left20:32
e01 joined20:33
e01 left20:33
e01 joined20:33
mda1 joined20:33
d1z left20:33
byte512 left20:33
helmet33 joined20:35
Guest93151 joined20:36
d1z joined20:36
e01 left20:37
duderonomy left20:39
Doow joined20:40
j7k6 joined20:41
Gsham left20:42
menip joined20:43
jnavila joined20:43
Orbitrix joined20:45
Orbitrix left20:45
Orbitrix joined20:45
Gsham joined20:47
nedbat the help for git clone says, "--no-single-branch [will] fetch the histories near the tips of all branches." It seems like it also fetches the histories near tags. Is this true?20:48
Gsham left20:48
clemf left20:49
Phylock joined20:49
Balliad joined20:52
msonntag joined20:52
DDBag left20:52
pks left20:54
DBag joined20:54
Timvde left20:55
Guest93151 left20:55
raynold joined20:55
pks joined20:56
ismithers left20:56
YuGiOhJCJ left20:57
DBag left20:58
Timvde joined20:59
Balliad left21:01
pur3eval joined21:02
afuentes left21:05
d1z left21:05
borkr joined21:05
zeroed left21:06
pur3eval left21:07
jimklo joined21:11
GavinMagnus left21:14
CheckDavid left21:14
Balliad joined21:15
levex_ left21:16
canuk joined21:16
madduck left21:17
mehola left21:19
BSAlb joined21:20
BSaboia left21:21
Balliad left21:22
d1z joined21:23
Electrometro left21:23
Glooomy left21:24
Electrometro joined21:25
Balliad joined21:26
l4v2 joined21:27
notebox joined21:29
dviola left21:29
dreiss left21:29
mehola joined21:30
Goplat joined21:31
d1z left21:32
Starky left21:33
jnavila left21:34
l4v2 left21:34
askb joined21:34
Jellyg00se joined21:36
elsevero joined21:39
elsevero left21:39
santagada left21:39
elsevero joined21:39
dreaddymck joined21:39
nettoweb1 joined21:39
notebox left21:39
elsevero left21:39
nettoweb left21:40
flavius left21:40
Jellyg00se left21:42
Gsham joined21:44
Keverw joined21:45
Keverw left21:45
Tobbi left21:45
boombatower joined21:47
Balliad left21:48
Tobbi joined21:48
d1z joined21:49
arecaceae joined21:51
arecaceae left21:52
jon-mac left21:54
miicha joined21:54
jimklo left21:57
jimklo joined21:57
Vampire0_ joined21:58
Vampire0 left21:59
BSAlb left21:59
tristanp joined22:00
SwiftMatt left22:00
Doow left22:00
boombatower left22:02
jimklo left22:02
pur3eval joined22:02
jlawall joined22:04
Gsham left22:06
gitinfo set mode: +v22:06
pur3eval left22:07
Murii left22:07
jlawall Hello, I have the impression that it is not possible to recover line numbers reliably with word diff. I am looking at an example where a blank line is added. There are no words, so there is just a blank line, with no indication of whether it is added or removed. Is there any way to get the line numbers just be printed on each line, so one doesn't have to try to infer them?22:09
justan0theruser joined22:10
justanotheruser left22:10
diogenese left22:10
madduck joined22:12
diogenese joined22:12
SiliconDon joined22:13
ISmithers joined22:13
ISmithers left22:13
ISmithers joined22:14
mda1_ joined22:16
zzz joined22:18
nettoweb1 left22:19
mda1 left22:19
SiliconDon left22:23
rgrinberg left22:24
SiliconDon joined22:25
thiago left22:25
WayToDoor joined22:27
rgrinberg joined22:28
IntruderSRB left22:29
sgen left22:30
clemf joined22:30
Levex joined22:33
Jellyg00se joined22:34
Jellyg00se left22:34
Jackneill_ left22:34
WaReZ joined22:35
valize left22:35
SiliconDon left22:36
thiago joined22:36
SiliconDon joined22:37
Levex left22:37
SiliconDon left22:38
matoro left22:38
SiliconDon joined22:38
Levex joined22:38
zzz left22:39
LBV_User joined22:39
_sfiguser left22:39
aidalgol joined22:40
Levex left22:40
SiliconDon left22:40
SiliconDon joined22:41
CheckDavid joined22:41
canuk left22:42
nettoweb joined22:42
SiliconDon left22:42
nowhereman left22:43
nowhereman joined22:43
SiliconDon joined22:43
SiliconDon left22:45
miicha left22:45
Levex joined22:45
SiliconDon joined22:46
jlawall left22:51
_sfiguser joined22:51
_sfiguser left22:51
_sfiguser joined22:52
madduck left22:52
madduck joined22:52
ubuntu joined22:53
ubuntuGuest9063322:53
matoro joined22:54
gitinfo set mode: +v22:56
Guest90633_Marek_22:56
Naan joined22:57
raijin joined22:58
Oatmeal joined22:59
Levex left22:59
fmeerkoetter left23:01
fmeerkoetter joined23:01
SiliconDon left23:02
raijin left23:02
sprremix left23:02
raijin joined23:02
SiliconDon joined23:02
Noldorin left23:05
Noldorin joined23:06
SiliconDon left23:08
raijin left23:08
raijin joined23:09
ertes joined23:09
LiftLeft left23:09
raijin left23:10
raijin joined23:11
_Marek_ /#join lfs23:13
geoid_ joined23:14
vdv left23:15
Gsham joined23:16
WaReZ left23:16
j7k6 left23:17
zzz joined23:17
apotry left23:18
Noldorin left23:18
johnny56 left23:18
moei joined23:19
satifant left23:19
denisMone left23:19
Vampire0_Vampire023:19
Gloomy joined23:20
johnny56 joined23:20
Taikibansei joined23:20
Levex joined23:21
_Marek_ left23:21
LiftLeft joined23:22
Guest85 left23:23
Noldorin joined23:24
borkr left23:24
DolpheenDream joined23:25
Levex left23:26
jagob left23:26
gry joined23:26
gry so i have two branches, and i would like to review commits from the one which is ahead one by one and add these commits to the one which is behind23:26
what are the keywords to search for to find a good tutorial?23:26
m4sk1n left23:27
WayToDoor left23:27
Levex joined23:27
Vampire0 gry, if you want to look at each commit and decide whether you want to copy it over, look at the commits and then use man git cherry-pick23:29
gitinfo gry: the git-cherry-pick manpage is available at http://jk.gs/git-cherry-pick.html23:29
Vampire0 gry, if you want to copy all commits over, but still look at each and probably modify it, you could make an interactive rebase, choosing edit stanza for all lines23:29
raijin left23:29
raijin joined23:30
Levex left23:30
levex_ joined23:31
Sasazuka joined23:31
ubuntu_ joined23:31
Sasazuka left23:33
TomyLobo left23:33
pur3eval joined23:33
bernardio joined23:34
Sasazuka joined23:34
bernardio left23:34
gry ok23:35
BSaboia joined23:35
justanotheruser joined23:36
elijah left23:36
F0rTh3J3st joined23:36
Raed|Mobile joined23:37
justan0theruser left23:37
l4v2 joined23:37
fatalhalt joined23:38
pur3eval left23:38
LBV_User left23:39
raijin left23:39
Sasazuka left23:40
Limes left23:42
t0by left23:44
c0c0 left23:45
gry the cherrypick man page is a bit overwhelming; say, if i am in 'master' and i have a few commits in branch 'vampire', and branch 'vampire' has two fresh commits which are absent in 'master'23:46
how do i cherrypick the first commit from the 'vampire' branch?23:47
_sfiguser left23:47
Gravious gry, cherry picking a commit to master is literally just, git checkout master; git cherry-pick <sha of commit you want>23:48
gry how do i tell it which branch the commit is in?23:48
Gravious it doesn't matter23:48
gry or does it take the sha and looks for it in all branches?23:49
Gravious the sha of a commit uniquely identifies it within the repo23:49
MonsterKiller left23:50
gry thank you so much for clarifying that, Gravious :-) appreciated23:50
Gravious no worries :)23:50
souther left23:50
MonsterKiller joined23:51
souther joined23:51
pbrewczynski joined23:53
Emperor_Earth left23:53
bernardio joined23:54
bernardio left23:54
Gloomy left23:56

Logs Search ←Prev date Next date→ Channels Documentation