/srv/irclogs.ubuntu.com/2013/03/19/#ubuntu-youth.txt

theblazehenhi all12:19
theblazehenhi sleap12:27
theblazehenzleap*12:27
zleaphi12:30
theblazehenwhats up?12:31
zleapnot much just setting up github12:31
theblazehenawesome :) got any code to show yet?12:31
zleapnope12:31
theblazehenWhat language do you want to get into?12:32
zleappython12:32
zleapand may upload scratch stuff,  but i can upload that to the scratch website anyway12:32
theblazehennice. Could never really get the hang of it. I use php12:32
zleaphttps://github.com/zleap/projects-12:32
theblazehenchecking it out now. http://github.com/theblazehen12:32
zleapi need to figure out how to use it,  and also set up the same account on the pi12:33
theblazehenyou are doing it wrong btw12:33
theblazehenyou create a repository for each project. Dont bundle them all together unless one project depends on another12:33
zleapok12:33
zleapwell so far i am just starting off with everything12:34
theblazehenHave a look at mine to see how i did it12:34
theblazehenYea :).12:34
theblazehenDo you like the syntax of python?12:34
zleapits not too bad,  i am fillowing the ubuntu special edition stuff12:35
theblazehenok. If you want to try php i reccomend tizag.com though12:35
zleapso all the commadn line stuff i did on my main pc i just replicate on the pi so the pi is set up in the same way12:35
zleapok12:35
theblazehenWhy are you cloning it on the pi as well? why not just work on main pc?12:36
zleapso i can upload code from the pi12:36
theblazehenalso you might want to install gitg for a git GUI12:36
zleapok12:36
theblazehenwhy can't you upload from main pc?12:36
zleapi can12:36
zleapso i copy from pi to main pc then upload from there12:36
theblazehenThen why also from the pi?12:36
theblazehenoh12:36
theblazehenwhats your timezone ?12:37
zleapuk12:37
theblazehenok. I'm from south africa.12:37
theblazehenRun archlinux. Ubuntu community better though12:37
zleapjust installing gitg12:38
theblazehenawesome12:38
theblazehenheard of bitcoin before?12:40
zleapyeah think so12:40
theblazehenWant to start trading?12:40
zleapok dumb question, if I open gitg  and do file open what am i trying to find12:40
zleapnot signed up to bitcoin as yet12:40
theblazehenopen a terminal and run git init12:41
theblazehenthen open that folder in gitg to see commit history12:41
zleapok12:42
theblazehenhow old are you btw? I'm 1612:42
zleap3712:42
theblazehenok12:42
zleapok so this isn't showing hidden files for some reason12:43
theblazehengitg?12:43
zleapyea12:43
zleaprunning init creates a hiddeh folder .gitg12:43
theblazehendont go in the .git folder just the folder containing the .git folder12:43
theblazehenyes12:44
theblazehentouch example.txt12:44
theblazehengit add .12:44
theblazehengit commit -m "sample commit"12:44
zleapok12:44
zleaperm12:45
theblazehenwhat?12:45
zleapdo i type what you just told me to12:46
theblazehenyes12:46
zleapok git add . takes a while then12:46
theblazehenshould be fast12:46
theblazehenis it in its own folder?12:47
zleapok12:47
zleapso what is that doing exactly12:47
zleapi know touch example.txt creates a file called example.txt12:47
theblazehencreating an empty file called example.txt and adding it to what git will commit12:47
theblazehengit commit then basically makes a snapshot of the directory12:48
zleapok so i need to do this from .git other wjse its from the home directory12:48
theblazehenok do this: mkdir gitexamples12:49
theblazehentouch example.txt12:49
theblazehengit add example.txt12:49
theblazehenthat says it must include in next snapshot12:49
theblazehenthen git commit -m "message here"12:49
zleapok done12:50
theblazehenok12:50
theblazehennow run gitg in the terminal12:50
zleapah got it12:51
theblazehendoes it show your commit?12:51
zleapso if I do things like that from ./python/myproject it will upload projects12:51
theblazehenyes, sorta12:51
theblazehennow it is a snapshot on your local machine12:52
theblazehento get it online create a repo on github12:52
zleaplike projects (lets use that as a test area)12:52
theblazehenrun git remote add origin https://github.com/zleap/reponame.git12:53
theblazehenok12:53
theblazehenthen run git push -u origin master12:54
zleapok thanks13:00
theblazehennp13:00
zleapi will get there13:02
theblazehenYea :)13:02
zleapi need some source code to push first13:02
theblazehenyep :p13:02
zleapok i have created a new reporo called helloworld13:03
theblazehenok13:03
zleaphttp://rogerdudler.github.com/git-guide/13:04
zleapmega easy guide for noobs like me13:04
theblazehenyea13:05
zleapok if I copy someting like hello.py in to gitexmples/helloworld13:05
theblazehenyea?13:06
theblazehengit add hello.py13:06
theblazehengit commit -m "added hello"13:06
theblazehengit push13:06
zleapok13:10
zleapok i am not doing something right here13:11
theblazehenwhat do you mean?13:12
zleapgit pushcomes up with13:12
zleapfatal: No configured push destination.13:12
zleapEither specify the URL from the command-line or configure a remote repository using13:12
theblazehengit remote add origin https://github.com/zleap/helloworld.git13:13
zleapok its uploaded python.py to git hub13:17
theblazehenok good13:17
zleapok just saved my last 78 history entries so i have a record of what i have done13:20
zleapcan sort out the right bits later13:20
theblazehenok13:20
zleapso for anyother project i do mkdir new project name  cd to that directory and do git init and then repeat the other steps to upload stuff13:20
theblazehenyep13:20
zleapso am i limited to 5 repositories for a free account13:21
theblazeheni think so13:21
zleapok13:22
zleapso in that case i need to delete old ones13:22
theblazehenyes13:22
zleapthanks13:23
theblazehennp13:23
zleapwe have a few git experts on my local lug too13:23
theblazehenawesome13:23
zleapso git clone downloads stuff, i make changes ten upload new new files13:23
theblazehenyes13:24
zleapmm gitg seems unstable13:25
zleapif i click commit tab it hangs13:25
theblazehenwhy?13:25
theblazehenok13:25
zleapi will stick to the cli for now13:26
theblazehenok13:26

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!