background preloader

Git

Facebook Twitter

Matt Swanson - Making a commit with the Github API. The last time I was playing around with the Github API I was able to pull out all of the files and their contents for a given repository.

Matt Swanson - Making a commit with the Github API

The next task I want to be able to do was make a commit. The process looks fairly involved from the outside; you have to make the blob, find and update the trees and make the commit all manually. As mentioned on HN, the guys at Github acknowledged this was a pain point and may introduce some helper methods like those used for creating and editing Gists. I was kind of dreading doing all the git internal stuff because, frankly, I am not an expert on it and it's not exactly something I want to spend my weekend debugging. But I found a Perl library (which seems to be the first to support all of the v3 methods) that has an example of making a commit. A practical git introduction. In just a few years, git has become the dominant version control system in the software industry.

a practical git introduction

Despite its widespread use, it often still appears as either magical or cumbersome when its core concepts are not fully grasped. This post is a walkthrough of practical git usage that will detail how git internally handles things. Why a version control system? People not already using a version control system (vcs) often perform some manual operations to keep incremental revisions of some work. Keeping iterative versions of a document or a collection of documents may be done through naming schemes like [filename]_v{0-9}+.doc or [timestamp]_[filename]_[comment].zip (where e.g. using the ISO 8601 format for dates will sort version). This is where a vcs becomes handy if not mandatory to use. Development process, deployment, GitHub. Winton/gitcycle · GitHub. GitHub Flow – Scott Chacon. August 31, 2011 Issues with git-flow I travel all over the place teaching Git to people and nearly every class and workshop I’ve done recently has asked me what I think about git-flow.

GitHub Flow – Scott Chacon

How to GitHub: Fork, Branch, Track, Squash and Pull Request - Gun.io. Open source software to collaborate on code. Team Collaboration With GitHub. GitHub has become the corner stone for all things open source software.

Team Collaboration With GitHub

Developers love it, collaborate on it and are constantly building awesome projects through it. Apart from hosting our code, GitHub's main attraction is using it as a collaborative tool. In this tutorial, let's explore some of the most useful GitHub features, especially for working in teams, making it all the more efficient, productive and, most importantly, fun! One thing that I find very useful is integrating the Github Wiki into the main source code project. GitHub Pages. Simplify Your Life With an SSH Config File : Nerderati. If you’re anything like me, you probably log in and out of a half dozen remote servers (or these days, local virtual machines) on a daily basis.

Simplify Your Life With an SSH Config File : Nerderati

And if you’re even more like me, you have trouble remembering all of the various usernames, remote addresses and command line options for things like specifying a non-standard connection port or forwarding local ports to the remote machine. Shell Aliases Let’s say that you have a remote server named dev.example.com, which has not been set up with public/private keys for password-less logins. The username to the remote account is fooey, and to reduce the number of scripted login attempts, you’ve decided to change the default SSH port to 2200 from the normal default of 22. This means that a typical command would look like: $ ssh fooey@dev.example.com -p 22000 password: ************* Damgit! Git on Android FTW. Git Commit Message Conventions. A successful Git branching model » nvie.com. In this post I present the development model that I’ve introduced for some of my projects (both at work and private) about a year ago, and which has turned out to be very successful.

A successful Git branching model » nvie.com

I’ve been meaning to write about it for a while now, but I’ve never really found the time to do so thoroughly, until now. I won’t talk about any of the projects’ details, merely about the branching strategy and release management. It focuses around Git as the tool for the versioning of all of our source code. Git gui - What is a Git Revision Expression. Micro Tutorial de Git. Basic Branching and Merging. Let’s go through a simple example of branching and merging with a workflow that you might use in the real world.

Basic Branching and Merging

You’ll follow these steps: Do work on a web site.Create a branch for a new story you’re working on.Do some work in that branch. At this stage, you’ll receive a call that another issue is critical and you need a hotfix. You’ll do the following: Switch to your production branch.Create a branch to add the hotfix.After it’s tested, merge the hotfix branch, and push to production.Switch back to your original story and continue working. Git - the simple guide - no deep shit! - Iceweasel. Git - the simple guide just a simple guide for getting started with git. no deep shit ;) by Roger Dudler credits to @tfnico, @fhd and Namics this guide in deutsch, español, français, indonesian, italiano, nederlands, polski, português, русский, türkçe, မြန်မာ, 日本語, 中文, 한국어 Vietnamese please report issues on github setup.

git - the simple guide - no deep shit! - Iceweasel

Programs From My Head: Git Support in Komodo Edit. Been awhile since I posted in here.

Programs From My Head: Git Support in Komodo Edit.

Thanks for sticking around. First here is the link to the GitHub Project I have some great news. I have finally been getting around to updating all of my code and getting it into public source control, namely GitHub. The other day I moved over the youtube api files (as well as updated them). All this updating and source control got me thinking that I should make some Git Komodo Edit tools just like the subversion tools.