More on docker run command (docker run -it, docker run -rm, etc.)įile sharing between host and container (docker run -d -p -v) Working with Docker images : brief introductionĭocker image and container via docker commands (search, pull, run, ps, restart, attach, and rm) Nginx image - share/copy files, Dockerfile (26) - NGINX SSL/TLS, Caching, and Session (19) - How to SSH login without password? (18) - phpMyAdmin with Nginx virtual host as a subdomain (16C) - Reverse proxy servers and load balancers - Nginx (16B) - Serving multiple domains using server block - Nginx (16A) - Serving multiple domains using Virtual Hosts - Apache (11) - SSH key pairs, SSL Certificate, and SSL Handshake (10) - Trouble Shooting: Load, Throughput, Response time and Leaks (9) - Linux System / Application Monitoring, Performance Tuning, Profiling Methods & Tools (6) - AWS VPC setup (public/private subnets with NAT) Kubernetes I - Running Kubernetes Locally via MinikubeĪWS : EKS (Elastic Container Service for Kubernetes) Introduction to Terraform with AWS elb & nginx OpenStack install on Ubuntu 16.04 server - DevStackĪWS EC2 Container Service (ECS) & EC2 Container Registry (ECR) | Docker Registry Zabbix 3 install on Ubuntu 14.04 & adding hosts / items / graphsĭatadog - Monitoring with PagerDuty/HipChat and APMĬontainer Orchestration : Docker Swarm vs Kubernetes vs Apache Mesos Nagios - The industry standard in IT infrastructure monitoring on Ubuntu Nagios on CentOS 7 with Nagios Remote Plugin Executor (NRPE) New Relic APM with NodeJS : simple agent setup on AWS instance Linux - General, shell programming, processes & signals. Samples of Continuous Integration (CI) / Continuous Delivery (CD) - Use casesĪrtifact repository and repository management Sponsor Open Source development activities and free contents for everyone. Git Cheat sheet - quick command reference.Git/GitHub via SourceTree IV : Git Reset.Git/GitHub via SourceTree III : Git Work Flow.Git/GitHub via SourceTree II : Branching & Merging.Git/GitHub via SourceTree I : Commit & Push.Setting up a remote repository / pushing local project and cloning the remote repo.GIT on Ubuntu and OS X - Focused on Branching.Undoing Things : File Checkout & Unstaging.One page express tutorial for GIT and GitHub.When we dig deeper, the reset comprised of two commands in SourceTree and it is labeled as "Reverting" : Then, if we click "Discard Changes", it undo the modifications we made on the file.Īt the "OK", we do not have any more "Uncommitted changes" as we can see the picture below: If we use SourceTree, it is what the "Reset" button on the top menu does: If we check the status again after the git status Simply unstaging it using git reset HEAD following the instruction given in the output from 'git git reset HEAD Book1.rtf.Then it will overwrite the file that's in the staging area. We can modify the file in our working directory and put it into staging area using git add command.Now, we want to add more info to the file that's already staged. We modified the 'Book1' and put it to staging git add Book1.rtf Nothing to commit, working directory clean Now, we got the one in the repo and everything is now git status It is going to go up to repository and say "hey repo, we need what you have for the 'Book1'. So, rather than fixing the mess, we want to get it back from the repo's previous version. Realizing the changes we made in 'Book1' was wrong, and we totally messed up the file. To check the difference between the two files we can use 'git diff'. No changes added to commit (use "git add" and/or "git commit -a") " to discard changes in working directory) We have 3 files in repository: Appendix, Book1, lsĪfter modifying the 'Book1', we check the git git status
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |