Git Reminder

# Créer une nouvelle branche git checkout -b new-branch # Changer de branche git checkout feature_name # Envoyer une branche sur un repo distant git push -u origin feature_name # Merger régulièrement les autres branches (si nécessaire) git checkout feature_2 git pull origin # Penser à faire le pull d'abord ! git checkout feature_1 git merge feature_2 # Copie des commits du feature_1 dans feature_2
Commandes de base pour les branches Git

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.