๐Ÿ’ป
Cheet Sheets
  • ๐ŸฆBaลŸlarken
  • ๐ŸŸงDevOps Pre-Requisite
    • โค๏ธWhy Linux? | Linux Basics #1
    • ๐Ÿ’›Vi Editor | Linux Basics #2
    • ๐Ÿ’™Basics Commands | Linux Basics #3
    • ๐ŸงกPackage Managers | Linux Basics #4
    • ๐Ÿ’šServices | Linux Basics #5
    • ๐Ÿ’›Networking Basics
    • ๐ŸคŽDNS Basics
    • ๐ŸฉถApplications Basics
    • ๐ŸŸจJava introduction
    • ๐ŸŸฉNodeJS Introduction
    • ๐ŸŸฆPython Introduction
    • ๐ŸŸชGIT Introduction
    • ๐ŸŸงApache Web Server Introduction
    • โฌ›Apache Tomcat
    • ๐ŸŸซPython Flask
    • ๐ŸŸฅNode.js Express App
    • ๐ŸŸจDatabases
    • ๐ŸŸฉMySQL
    • ๐ŸŸชMongoDB
    • ๐ŸŸจSSL & TLS
    • ๐ŸŸฆYAML & JSON - JSON Path
    • โฌ›Labs Resources
  • ๐ŸŽKubernetes
    • ๐ŸKubernetes: Nedir ?
    • ๐Ÿ’BileลŸenler
    • ๐ŸตKubectl ve Versiyon
    • โค๏ธPod
    • ๐Ÿท๏ธLabel ve Selector
    • ๐Ÿ”ŽAnnotation
    • ๐Ÿ“ฒNamespaces
    • ๐Ÿ“ฆDeployments
    • ๐Ÿ”ReplicaSet
    • ๐Ÿ”™Rollout & Rollback
    • ๐ŸŒNetworking - 1
    • ๐ŸŒService
    • ๐Ÿ› ๏ธLiveness Probe & Readiness Probe
    • ๐ŸฅResource Limits
    • ๐Ÿ’ฐEnvironment Variables
    • ๐Ÿ“ƒEphemeral Volumes
    • ๐Ÿ”‘Secrets
    • ๐ŸŒ‚ConfigMap
    • ๐Ÿ–ฅ๏ธNode Affinity
    • ๐Ÿ”ŒPod Affinity
    • โœ๏ธTaint and Toleration
    • ๐Ÿ”ฆDaemonSet
    • ๐Ÿง€PV/PVC
    • ๐ŸŒœStorage Class
    • ๐Ÿ—ฟStatefulSet
    • ๐Ÿ•น๏ธJob & Cronjob
    • ๐Ÿ”Authentication
    • ๐Ÿ“Role-based access control (RBAC)
    • ๐Ÿˆท๏ธService Account
    • ๐Ÿ“ˆIngress
    • ๐Ÿ“‚ImagePullPolicy & ImageSecret
    • ๐Ÿ“–Static Pods
    • ๐ŸŒNetwork Policy
    • ๐ŸซHelm Nedir?
    • ๐Ÿ“ฝ๏ธPrometheus Stack - Monitoring
    • ๐Ÿ’ผEFK Stack - Monitoring
    • ๐ŸฅณCRD & Operator
  • ๐Ÿง‘โ€โš•๏ธGIT & GITHUB
    • ๐Ÿ‘‰Girizgah
    • ๐ŸŒดBranch
    • ๐ŸคMerge
    • ๐Ÿค”Conflict - Rebase
    • ๐Ÿ‡ธ๐Ÿ‡ดAlias
    • ๐Ÿ›‘Gitignore
    • ๐ŸฅขDiff
    • โ—€๏ธCheckout
    • ๐Ÿ”ฆStash
    • ๐Ÿ‘‰Other
  • โ˜๏ธAWS
    • ๐ŸชฃS3
    • ๐Ÿš™EC2
    • โš–๏ธELB
    • ๐ŸคAuto Scaling
    • ๐Ÿ—„๏ธEFS
    • ๐Ÿ”VPC
    • ๐ŸŽ†CloudFront
    • โค๏ธRoute53
    • ๐ŸฆˆRDS
    • ๐ŸขElastiCache
    • ๐Ÿ”ญCloudWatch
    • ๐Ÿ‘€CloudTrail
    • ๐Ÿ“ƒCloudFormation
    • ๐Ÿ”•SNS
    • ๐Ÿ“ฌSQS
    • ๐ŸŽ‡SWF
    • ๐Ÿ“งSES
    • ๐Ÿ“ฆKinesis
    • ๐Ÿ“AWSConfig
    • ๐Ÿ‘ฉโ€๐ŸญOpsWork
    • ๐Ÿš€Lambda - Api Gateway
    • ๐Ÿ“ŒECS - EKS
    • ๐Ÿ”‘KMS
    • ๐Ÿ“‚Directory Service
    • ๐ŸSnowball
    • ๐Ÿ’พStorage Gateway
    • ๐Ÿ’ฝVolume Gateway
    • ๐Ÿ“ผTape Gateway
    • ๐Ÿ Organizations
    • ๐Ÿ”™Backup-Transfer-CloudShell
    • ๐Ÿ†”IAM
    • ๐Ÿ“€DataSync
    • ๐Ÿ—ƒ๏ธFSx
    • ๐ŸŽ’Aurora Serverless
    • ๐ŸŒGlobal Accelerator
    • ๐Ÿ’ชHPC
    • ๐ŸŽฐOutposts
    • ๐Ÿ—ผOthers
  • ๐Ÿ‘จโ€๐Ÿ”ฌAnsible
    • ๐Ÿ‘‰Girizhah
    • ๐Ÿ“”YAML
    • โš™๏ธKomponentler
    • ๐ŸŽ’Inventory
    • ๐Ÿ‘ad-hoc
    • โ–ถ๏ธPlaybook
  • ๐Ÿ‘จโ€โš•๏ธPROMETHEUS
    • ๐Ÿ“ˆTerminoloji
    • ๐ŸฆฏUbuntu 20.04 Prometheus Kurulum
    • ๐Ÿ—’๏ธprometheus.yml dosyasฤฑna ilk bakฤฑลŸ:
    • ๐ŸงญpromQL up query
    • ๐Ÿ“‡Exporters
    • ๐Ÿ”ฆpromQL Data Types
    • ๐ŸฆฏSelectors & Matchers
    • ๐Ÿ”ขBinary Operators
    • ๐Ÿ’€ignoring and on
    • โœ๏ธAggregation Operators
    • ๐Ÿง Functions
    • ๐Ÿ–Š๏ธAlฤฑลŸtฤฑrma
    • ๐Ÿ’ปClient Libraries
    • ๐ŸExamining the data of our Python application
    • ๐ŸExamining the data of our GO application
    • โบ๏ธRecording Rules
    • ๐Ÿ’กrate functions
    • โฐAlerting
    • โŒšAlert Routing
    • โฐSlack integration with Prometheus
    • ๐ŸคฏPagerDuty integration with Prometheus
    • โ—ผ๏ธBlackBox exporter
    • ๐Ÿ“Push Gateway
    • ๐Ÿช’Service Discovery
    • ๐ŸงŠkube cadvisor with external prometheus
    • ๐Ÿ‘‰aws with prometheus
    • โ˜๏ธCloudWatch Exporter
    • ๐Ÿ‘จโ€๐Ÿš’mysql exporter
    • ๐Ÿ›ƒCustom exporter with Python
    • โš™๏ธPrometheus with HTTP API
    • ๐Ÿค–Prometheus Federation For Kubernetes
    • ๐Ÿ“บGrafana
    • โ‰๏ธPrometheus: Ne zaman kullanฤฑlmalฤฑ? Ne zaman kullanฤฑlmamalฤฑdฤฑr?
  • ๐ŸชSheets
    • ๐Ÿ›ณ๏ธDocker Sheets
    • ๐ŸKube Sheets
  • ๐Ÿ”ข12 Factor APP
    • ๐Ÿ—๏ธIntroduction
    • 1๏ธโƒฃCodebase
    • 2๏ธโƒฃDependencies
    • 3๏ธโƒฃConcurrency
    • 4๏ธโƒฃProcesses
    • 5๏ธโƒฃBacking Services
    • 6๏ธโƒฃConfig
    • 7๏ธโƒฃBuild, release, run
    • 8๏ธโƒฃPort binding
    • 9๏ธโƒฃDisposability
    • ๐Ÿ”ŸDev/prod parity
    • ๐Ÿ•šLogs
    • ๐Ÿ•›Admin processes
  • โ˜๏ธAzure 104
    • ๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘งAzure Active Directory ( Entra ID )
    • ๐Ÿ’ฐSubscriptions
    • ๐ŸŒŽVirtual Network (VNET)
    • ๐Ÿ’ปVirtual Machines
    • ๐Ÿง‘โ€๐ŸŒพLoad Balancing
    • ๐ŸฅNetwork Advanced
    • ๐ŸชกAutomating Deployment and Configuration
    • ๐Ÿ’‚Securing Storage
    • ๐Ÿ““Administering Azure Blobs and Azure Files
    • ๐Ÿ”งManaging Storage
    • ๐ŸŽApp Service
    • ๐Ÿ›ณ๏ธAzure Container
    • ๐Ÿฅ‡Backup And Recovery
    • ๐ŸชNetwork Watcher
    • โฐResource Monitoring And Alerts
  • โ›…AZURE 305
    • ๐Ÿ†”identity and access management
    • ๐Ÿ’ผDesing Azure AD (Entra ID)
    • ๐Ÿ‘จโ€๐Ÿ’ผDesing for Azure B2B
    • ๐Ÿ›ƒDesing for Azure B2C
    • ๐Ÿ’ณDesign for MFA and Conditional Access
    • โ›‘๏ธDesign for Identity Protection
    • ๐ŸšถAccess Reviews
    • ๐ŸšฆManaged identity Demostration
    • ๐Ÿ”Key Vault Demostration
    • ๐Ÿ‘‘Governance hierarchy
    • ๐Ÿ’ Design for Management Groups
    • ๐Ÿ”‘Desing for Subscriptions
    • ๐Ÿ‡Desing for resource groups
    • ๐Ÿ“ŸDesign for resource tags
    • ๐ŸšทAzure Policy & RBAC
    • ๐ŸซDesing For Blueprints
    • ๐ŸชกDesing for Virtual Networks
    • ๐Ÿ›ซDesign for on-premises connectivity to Azure
    • ๐Ÿ”ฝDesign for network connectivity
    • ๐Ÿ“ฆDesign for application delivery
    • ๐ŸฅžDesign for network security and application protection
    • ๐Ÿ“•Choose a compute solution
    • ๐ŸŒŠDesign for virtual machines
    • ๐Ÿ”‹Azure Batch Demostration
    • ๐Ÿ›ฐ๏ธDesign for Azure App Service
    • โ›ฒDesign for Azure Container Instances
    • ๐ŸŽขDesign for Azure Kubernetes Service
    • ๐Ÿ“ Azure Functions Demostration
    • ๐Ÿ’ชAzure Logic Apps Demostration
    • ๐Ÿง‘โ€๐Ÿ’ผDesign for data storage
    • ๐ŸŽž๏ธDesign for Azure storage accounts
    • ๐ŸŒŸChoose the storage replication
    • ๐Ÿ“นAzure blob storage - Lifecycle & immutable demo
    • ๐ŸฅŒAzure Files Demostration
    • ๐Ÿ•ธ๏ธDesign Azure disks
    • ๐ŸฆผDesign for storage security
    • ๐Ÿ”ฎAzure Table Storage And Cosmos DB Demostration
    • ๐ŸŸงAzure SQL Solutions
    • ๐ŸŽกAzure SQL Database - Purchasing models
    • ๐Ÿ•ฏ๏ธDatabase availability
    • ๐Ÿ“œData security strategy
    • ๐ŸงฎAzure SQL Edge
    • ๐ŸšฒAzure Data Factory
    • ๐Ÿ”…Azure Data Lake Storage
    • ๐Ÿง˜โ€โ™‚๏ธAzure Databricks
    • ๐ŸŽ’Azure Synapse Analytics
    • ๐Ÿ…ฐ๏ธAzure Stream Analytics
    • ๐Ÿ“ผData flow strategy
    • ๐ŸฅCloud Adoption Framework
    • โ˜ฃ๏ธAzure Migration Framework
    • ๐ŸฆฟAssessing workloads
    • ๐ŸชกMigration tools
    • ๐Ÿค–Azure Database migration
    • ๐Ÿ‘ฅStorage migration
    • ๐Ÿ‘œAzure Backup
    • โฒ๏ธAzure Blob Backup and Recovery
    • ๐Ÿ’ˆAzure files backup and recovery
    • ๐ŸŽž๏ธAzure VM backup and recovery
    • ๐ŸงบAzure SQL backup and recovery
    • โฐAzure Site Recovery
    • ๐Ÿ“ฉDifferentiate event and message
    • โœˆ๏ธAzure messaging solutions
    • ๐ŸšœEvent Hub
    • ๐ŸฅApplication optimization solution
    • ๐ŸŽApplication lifecycle
    • ๐Ÿ“บAzure Monitor
    • ๐Ÿ…ฑ๏ธLog Analytics
    • ๐Ÿ‘ฅAzure workbooks and Insights
    • ๐ŸšŒAzure Data Explorer
  • Github Actions
    • Github Actions Nedir?
    • Workflow & Schedule Triggers
    • Single and Multiple Events
    • Manuel Events
    • Webhook Events
    • Conditional Keywords For Steps
    • Expressions - 1
    • Expressions - 2
    • Runners
    • Workflow Commands
    • Workflow Context
    • Dependent Jobs
    • Encrypted Secrets
    • Configuration Variables
    • Default & Custom Env Varb
    • Set Env Varb with Workflow Commands
    • Github Token Secret
    • Add Script to workflow
    • Push Package #1
    • Push Package #2 Docker
    • Service Containers
    • Routing workflow to runner
    • CodeQL Step
    • Caching Package and Dependency Files
    • Remove workflow Artifact
    • Workflow Status Badge
    • Env Protection
    • Job Matrix Configuration
    • Disable & Delete Workflows
    • Actions type for Action
    • Inputs and Outputs for actions
    • Action Versions
    • Files and Directories for Actions
    • Exit Codes
    • Reusable Workflow & Reuse Templates for Actions and Workflows
    • Configure Self Hosted Runners for Enterprise
  • Loki
    • What is Loki?
    • Architecture of Loki
    • Install Loki For Ubuntu
    • Install Promtail For Ubuntu
    • Querying Logs
    • Loki in Kubernetes
    • Deploying Loki in Kubernetes
    • Connecting to Grafana
    • Viewing Kubernetes logs
    • Promtail Customize & Pipeline
  • Ansible
    • Ansible Introduction
    • Introduction to Ansible Configuration Files
    • Ansible Inventory
    • Inventory Formats
    • Ansible Variables
    • Variable Types
    • Registering Variables and Variable Precedence
    • Variable Scoping
    • Magic Variables
    • Ansible Facts
    • Ansible Playbooks
    • Verifying Playbooks
    • Ansible lint
    • Ansible Conditionals
    • Ansible Conditionals based on facts, variables, re-use
    • Ansible Loops
    • Ansible Modules
    • Introduction to Ansible Plugins
    • Modules and Plugins Index
    • Introduction to Handlers
    • Ansible Roles
    • Ansible Collections
    • Introduction to Templating
    • Jinja2 Templates for Dynamic Configs
  • ๐Ÿ…ฐ๏ธAnsible Advanced
    • Playbook run options
    • Facts
    • Configuration files
Powered by GitBook
On this page

Was this helpful?

  1. GIT & GITHUB

Branch

PreviousGirizgahNextMerge

Last updated 3 years ago

Was this helpful?

  • Branch'ler projemize dallara ayฤฑrmamฤฑzฤฑ saฤŸlar.

Misal, Projemize yeni bir รถzellik eklemek istiyoruz. Ama projenin yaลŸamamasฤฑ, yeni รถzelliฤŸi bu projeyi etkilememesini istiyoruz. Ama bu รถzelliฤŸi de test etmek istiyoruz. Gibi durumlarda kullanabilir. Projemizin bรผtรผnlรผฤŸรผnรผ bozmadan deฤŸiลŸiklikler yapmak istersek. Branch bu konuda bize yardฤฑmcฤฑ olacaktฤฑr.

git init komutunu verdiฤŸimizde bizim iรงin master adฤฑnda branch oluลŸuyor. EฤŸer biz ayarlarฤฑmฤฑzda bir deฤŸiลŸiklik yapmazsak, bรผtรผn geliลŸtirmeyi master branch รผzerinde yapฤฑyoruz. GeliลŸtirmeler farklฤฑ bir branch รผzerinde yapฤฑlฤฑr, bir problem olmazsa master branch ile merge edilebilir (birleลŸtirir)

Bir branch iรงerisinde, farklฤฑ branch 'ler oluลŸturulabilir.

Bir branch oluลŸturduฤŸumuzda mevcut projemizin, en son halini bu branch 'e kopyalanฤฑr.

git branch -l # Var olan branch listesini gรถsterir.
git branch database # Database branch oluลŸturur.
git checkout -b web # Web branch yoksa oluลŸturur, mevcutsa o branch 'e geรงer.
git checkout [branch adฤฑ] # BelirttiฤŸimiz branch 'e geรงeriz.

รœzerinde bulunduฤŸumuz branch 'deki en son alฤฑnan commit 'e head denir.

๐Ÿง‘โ€โš•๏ธ
๐ŸŒด
Example branch