Setting up Git and GitHub on Windows 7

Setting up Git and GitHub on Windows 7

FIle made with publisher. Just incase you need a little visual reference when installing these two.


No, Really. GitHub and DropBox together… lifesavers.

I was in a rush on Saturday I’m staying over my girlfriends apartment for part of the weekend, and I was going to work off of my macbook air. I believe I saved all of the data, and made sure to commit my last saved updates from QT creator. Unfortunately, I did not save all of the files before committing. So, this morning, I was trying to see if the commit just didn’t sync last night, and it was not. 

Needless to say, I was in a little bit of a panic, thinking I would have to delay any productivity until I synced from my home machine. BUT! I gave it a second thought. Remembering that, though I ignored the autosaves from being committed to the repository. Still think adding the autosaves to the repository was a good choice. They would’ve cluttered up the repository quickly, especially if you have 4 people working on the project at the same time. This way, the dropbox seemed like the perfect place for the autosaves. Though, I didn’t really think much about the autosaves in the first places. I did recover all the saves and realized what was going on. Since the dropbox folder was autosyncing to both machines, it was, more or less, as if I were working in the same directory. Which, in this case, turned out to be quite beneficial. 

Work saved, unintentionally, but none the less, time was saved! And, I am glad I worked off of the dropbox folder, instead of two separate repositories. 

Quick tip: Github + Dropbox = Awesome!

Just figured this out myself. As I’m trying to get both of my machines up and running with all of the latest goodies. Git, gitHub and QT have been installed. Of course, I’m using these for the course project in one of my courses. So, I simply commit, save and move to the next machine. Qt notices the changes, and updates, and git keeps it real online. 

QT of course, does a little bit of the syncing as well. Not quite sure what it is, since I still have to commit through gitHub. I’ve more or less streamlined this process. My main machine is on a treadmill desk, and then I have my mac book air, which I use for notes and coding. 64 gb doesn’t give you room for much else. So, working with what I’ve got, and dropbox/git are making it a little easier. 

Personally, I prefer the gitHub software for the mac, it’s more intuitive. Though, once you realize what’s going on with the windows version, not too bad. Had a little issue syncing at first… then I realized it’s not just about putting commands on the terminal. Seems faster than clicking, but I think I’ll stick to the app for the quick updates. Loving version control so far! 

Installing git on Windows

Simple enough, I believe. I started off with git, from their site. LINK
That installed without a hitch, very easy instructions. And then I installed the github program (also for windows). Since I’m learning more about a variety of programming languages, and have started using F# and C#, now learning about SQLite I’d get full use of both machines. I’ve been programming, mainly on my Macbook Air; using mono. Mainly since it was easy to use SSh, command line compilation, and everything is a general one place shop for developing. Though, gdb seems to be a problem now on OS X 10.8. 

Another incentive for installing on both machines. I see a lot of job applications, or internship applications saying that they are looking for people with experience in .NET and mono is the same, from what I can tell. I would suggest both being used, for anyone learning. Especially since you don’t really know what hardware or software you’ll be working on, for the most part. Be ready for anything. 

Playing with git and gitHub

I’ve set up the repository earlier, and have just cloned it onto my machine. Aside from that, I installed the gitHub app for mac on my Air (there is apparently a windows version, and a mobile version?) First thoughts, I like it. It’s direct, and shows me what’s on the site, without having to be on the browser. Having a little fun with a test file, and am ready to help anyone install and do some basic commands. Looking to learn how to use the branch and merge commands to git. I do most of my coding on the command line, but will also be practicing with QT.

Continuation of CS 340 computer design project

So far we’ve come up with the ideas for the project, and have a generally sketched idea as to what it will look like. 

I’ve been thinking about what structs and functions to create. Also, what exactly will be needed inside of the structs. I’ll have to interact with all of the other frames within the game, and need to figure out how to integrate our parts together. Currently, I’m expecting there to be a shift in frame during key points. If something is selected, like p for pause, the pause menu will come up. If a person searches, and an adversary is found, then the battle screen will come up. Once the final boss is beaten, then the credits will roll! Never used QT before, but it doesn’t seem like that will be a problem.

I was thinking I could use the bubbles as nodes, since only one can be checked at a time. Also, I will need a function to make a next node available, along with one that changes the node from visible, to unvisited, to visited. A function will take a HERO node, and change the iamhere pointer to the current world. The world is going to be a list of nodes with a pointer to top, bottom, left, right. Once that is created, I can set each one to a specific coordinate in the qt window. The HERO will be able to traverse in the directions mentioned above. The node strut will need a few booleans, at least: inspected?, available?, requireKey?, color?. 

We currently have a seminar today, and have notified the rest of the group members that I will not be going to the today. The seminar is on operating systems, which is 1. related to a course that I am taking, and 2. a very interesting topic! The lab today is going to ask us to create a github account and install git. I’ve already created a repository on bitBucket, but had to change it yesterday to gitHub since the professor insists on using this. I’ve already created a new repository. The other members have created their new accounts, and are now contributors for our project.

I am requesting a meetup soon, since we need to see how everyone is doing. Discuss the structs, styles and other brainstorming for the project. If any of the other members decide to go to the seminar, I am also going to help them set up git on their machines, if they need help doing so.  (reading gitPro)