theblazehen | hi all | 12:19 |
---|---|---|
theblazehen | hi sleap | 12:27 |
theblazehen | zleap* | 12:27 |
zleap | hi | 12:30 |
theblazehen | whats up? | 12:31 |
zleap | not much just setting up github | 12:31 |
theblazehen | awesome :) got any code to show yet? | 12:31 |
zleap | nope | 12:31 |
theblazehen | What language do you want to get into? | 12:32 |
zleap | python | 12:32 |
zleap | and may upload scratch stuff, but i can upload that to the scratch website anyway | 12:32 |
theblazehen | nice. Could never really get the hang of it. I use php | 12:32 |
zleap | https://github.com/zleap/projects- | 12:32 |
theblazehen | checking it out now. http://github.com/theblazehen | 12:32 |
zleap | i need to figure out how to use it, and also set up the same account on the pi | 12:33 |
theblazehen | you are doing it wrong btw | 12:33 |
theblazehen | you create a repository for each project. Dont bundle them all together unless one project depends on another | 12:33 |
zleap | ok | 12:33 |
zleap | well so far i am just starting off with everything | 12:34 |
theblazehen | Have a look at mine to see how i did it | 12:34 |
theblazehen | Yea :). | 12:34 |
theblazehen | Do you like the syntax of python? | 12:34 |
zleap | its not too bad, i am fillowing the ubuntu special edition stuff | 12:35 |
theblazehen | ok. If you want to try php i reccomend tizag.com though | 12:35 |
zleap | so 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 way | 12:35 |
zleap | ok | 12:35 |
theblazehen | Why are you cloning it on the pi as well? why not just work on main pc? | 12:36 |
zleap | so i can upload code from the pi | 12:36 |
theblazehen | also you might want to install gitg for a git GUI | 12:36 |
zleap | ok | 12:36 |
theblazehen | why can't you upload from main pc? | 12:36 |
zleap | i can | 12:36 |
zleap | so i copy from pi to main pc then upload from there | 12:36 |
theblazehen | Then why also from the pi? | 12:36 |
theblazehen | oh | 12:36 |
theblazehen | whats your timezone ? | 12:37 |
zleap | uk | 12:37 |
theblazehen | ok. I'm from south africa. | 12:37 |
theblazehen | Run archlinux. Ubuntu community better though | 12:37 |
zleap | just installing gitg | 12:38 |
theblazehen | awesome | 12:38 |
theblazehen | heard of bitcoin before? | 12:40 |
zleap | yeah think so | 12:40 |
theblazehen | Want to start trading? | 12:40 |
zleap | ok dumb question, if I open gitg and do file open what am i trying to find | 12:40 |
zleap | not signed up to bitcoin as yet | 12:40 |
theblazehen | open a terminal and run git init | 12:41 |
theblazehen | then open that folder in gitg to see commit history | 12:41 |
zleap | ok | 12:42 |
theblazehen | how old are you btw? I'm 16 | 12:42 |
zleap | 37 | 12:42 |
theblazehen | ok | 12:42 |
zleap | ok so this isn't showing hidden files for some reason | 12:43 |
theblazehen | gitg? | 12:43 |
zleap | yea | 12:43 |
zleap | running init creates a hiddeh folder .gitg | 12:43 |
theblazehen | dont go in the .git folder just the folder containing the .git folder | 12:43 |
theblazehen | yes | 12:44 |
theblazehen | touch example.txt | 12:44 |
theblazehen | git add . | 12:44 |
theblazehen | git commit -m "sample commit" | 12:44 |
zleap | ok | 12:44 |
zleap | erm | 12:45 |
theblazehen | what? | 12:45 |
zleap | do i type what you just told me to | 12:46 |
theblazehen | yes | 12:46 |
zleap | ok git add . takes a while then | 12:46 |
theblazehen | should be fast | 12:46 |
theblazehen | is it in its own folder? | 12:47 |
zleap | ok | 12:47 |
zleap | so what is that doing exactly | 12:47 |
zleap | i know touch example.txt creates a file called example.txt | 12:47 |
theblazehen | creating an empty file called example.txt and adding it to what git will commit | 12:47 |
theblazehen | git commit then basically makes a snapshot of the directory | 12:48 |
zleap | ok so i need to do this from .git other wjse its from the home directory | 12:48 |
theblazehen | ok do this: mkdir gitexamples | 12:49 |
theblazehen | touch example.txt | 12:49 |
theblazehen | git add example.txt | 12:49 |
theblazehen | that says it must include in next snapshot | 12:49 |
theblazehen | then git commit -m "message here" | 12:49 |
zleap | ok done | 12:50 |
theblazehen | ok | 12:50 |
theblazehen | now run gitg in the terminal | 12:50 |
zleap | ah got it | 12:51 |
theblazehen | does it show your commit? | 12:51 |
zleap | so if I do things like that from ./python/myproject it will upload projects | 12:51 |
theblazehen | yes, sorta | 12:51 |
theblazehen | now it is a snapshot on your local machine | 12:52 |
theblazehen | to get it online create a repo on github | 12:52 |
zleap | like projects (lets use that as a test area) | 12:52 |
theblazehen | run git remote add origin https://github.com/zleap/reponame.git | 12:53 |
theblazehen | ok | 12:53 |
theblazehen | then run git push -u origin master | 12:54 |
zleap | ok thanks | 13:00 |
theblazehen | np | 13:00 |
zleap | i will get there | 13:02 |
theblazehen | Yea :) | 13:02 |
zleap | i need some source code to push first | 13:02 |
theblazehen | yep :p | 13:02 |
zleap | ok i have created a new reporo called helloworld | 13:03 |
theblazehen | ok | 13:03 |
zleap | http://rogerdudler.github.com/git-guide/ | 13:04 |
zleap | mega easy guide for noobs like me | 13:04 |
theblazehen | yea | 13:05 |
zleap | ok if I copy someting like hello.py in to gitexmples/helloworld | 13:05 |
theblazehen | yea? | 13:06 |
theblazehen | git add hello.py | 13:06 |
theblazehen | git commit -m "added hello" | 13:06 |
theblazehen | git push | 13:06 |
zleap | ok | 13:10 |
zleap | ok i am not doing something right here | 13:11 |
theblazehen | what do you mean? | 13:12 |
zleap | git pushcomes up with | 13:12 |
zleap | fatal: No configured push destination. | 13:12 |
zleap | Either specify the URL from the command-line or configure a remote repository using | 13:12 |
theblazehen | git remote add origin https://github.com/zleap/helloworld.git | 13:13 |
zleap | ok its uploaded python.py to git hub | 13:17 |
theblazehen | ok good | 13:17 |
zleap | ok just saved my last 78 history entries so i have a record of what i have done | 13:20 |
zleap | can sort out the right bits later | 13:20 |
theblazehen | ok | 13:20 |
zleap | so 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 stuff | 13:20 |
theblazehen | yep | 13:20 |
zleap | so am i limited to 5 repositories for a free account | 13:21 |
theblazehen | i think so | 13:21 |
zleap | ok | 13:22 |
zleap | so in that case i need to delete old ones | 13:22 |
theblazehen | yes | 13:22 |
zleap | thanks | 13:23 |
theblazehen | np | 13:23 |
zleap | we have a few git experts on my local lug too | 13:23 |
theblazehen | awesome | 13:23 |
zleap | so git clone downloads stuff, i make changes ten upload new new files | 13:23 |
theblazehen | yes | 13:24 |
zleap | mm gitg seems unstable | 13:25 |
zleap | if i click commit tab it hangs | 13:25 |
theblazehen | why? | 13:25 |
theblazehen | ok | 13:25 |
zleap | i will stick to the cli for now | 13:26 |
theblazehen | ok | 13:26 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!