Skip to content

Instantly share code, notes, and snippets.

$ git checkout <branch-name>
$ git branch <branch-name>
$ git log
$ git status
$ git commit -m "Beschreibung des Commits"
$ git add <dateiname>
$ git clone <repository-URL>
@BMU-Verlag
BMU-Verlag / git_befehle
Created January 21, 2024 14:58
git_befehle_blog
$ git init
using System;
using System.Linq;
using System.Collections.Generic;
class Program {
static void Main() {
List<int> zahlen = new List<int> { 1, 2, 3, 4, 5 };
var gefilterteZahlen = from zahl in zahlen
where zahl % 2 == 0
#include <iostream>
template<int N>
struct Faktorial {
enum { Wert = N * Faktorial<N - 1>::Wert };
};
template<>
struct Faktorial<0> {
enum { Wert = 1 };