Git Fundamentals

Git Fundamentals   Topics To be Covered Installation 2. Setup 3. Creating a Project 4. Checking the status of the repository 5. Making changes 6. Staging the changes 7. Staging and committing 8. Commiting the changes 9. Changes, not files 10. History 11. Aliases 12. Getting older versions 13. Tagging versions 14. Discarding local changes […]

Read more
Setup and Run Jenkins

Installing Jenkins: Download latest or specific version you want to install from here. For example: $ wget https://updates.jenkins-ci.org/download/war/2.123/jenkins.war Starting Jenkins The easiest way to execute Jenkins is through the built in Jetty servlet container. You can execute Jenkins like this: $ java -jar jenkins.war Of course, you probably want to send the output of Jenkins to […]

Read more
How Remove Files completely from git repository history

It is straight forward to remove a file from the current commit or HEAD but if you want remove entirely from the repository’s history then you need to run couple of commands. It took some trial and error for me to find something that worked for me Find out the path fo the file in […]

Read more
Create a HTTPS proxy for jenkins using NGINX

Create a HTTPS proxy for jenkins using NGINX In situations where you have existing web sites on your server, you may find it useful to run Jenkins (or the servlet container that Jenkins runs in) behind Nginx, so that you can bind Jenkins to the part of a bigger website that you may have. This document discusses […]

Read more
ssh tunnel for RDS AWS

ssh tunnel for RDS via bastion host Our RDS db is hosted on Amazon. Our Bastion(Jumphost) can connect to the db. Connections to the db are not allowed outside of the internet.     Run ssh tunnel locally: This creates a tunnel from my local machine to the Bastion: ssh -N -L 3307:my-rds-db.us-east-1.rds.amazonaws.com:3306 ec2-my-bastion-server.compute-1.amazonaws.com This will forward […]

Read more

Hit Counter provided by dental implants orange county