Learn Version Control with Git


If you’ll ever attend a hackathon, hack day, hackfest or codefest sooner or later you’ll have to deal with Git – a free version control system for coders / hackers. Then this hands-on session (33c3 / CoSin) is for you!

We’ll install Git, open your account at GitHub, create a new repository and start committing code / text to it. You’ll feel like the mad software developer next door. PS: Ideas for improvement welcome 🙂

Ressources

Basic Commands (Bonus)

// Clone repository
git clone https://github.com/birdy1976/hello-world.git

// Display changed files
git status

// Changes in the working copy
git diff

// Look up more options for diff
man git-diff

// Add changed file(s) to commit in the next step
git add „README.md“

// Commit the changes to the local repository
git commit -m „Changed some text“

// Publish changes on GitHub
git push

Recommendations by Participants


Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.