https://git-scm.com/docs http://ndpsoftware.com/git-cheatsheet.html#loc=remote_repo; Setup and Config git config help Getting and Creating Projects init clone Basic Snapshotting add status diff commit reset rm mv Branching and Merging branch checkout merge mergetool log stash tag Sharing and Updating Projects fetch pull push remote submodule Inspection and Comparison show log diff shortlog describe Patching apply cherry-pick diff rebase … Continue reading git cheat sheet
Month: October 2017
Configuration of Nginx Server
Consider the code given below: server { listen 80 default_site; root /var/www; index index.html index.htm; ! server_name server_name.com http://www.server_name.com; ! location / { try_files $uri $uri/ =404; } } The above code shows a basic configuration of Nginx so as to serve files on a particular website. It listens on port number 80, which is … Continue reading Configuration of Nginx Server
Basic Docker Commands
If you wish to view all available commands in docker, use the following command: sudo docker or docker mohammedrafi@NOC-RAFI:~$ docker Usage: docker [OPTIONS] COMMAND [arg...] A self-sufficient runtime for linux containers. Options: --api-cors-header= Set CORS headers in the remote API -b, --bridge= Attach containers to a network bridge --bip= Specify network bridge IP -D, --debug=false … Continue reading Basic Docker Commands
