Linux Techos Skip to main content

Posts

Showing posts from December, 2018

Use Git and Github from terminal

GIT is a online version control system for tracking the changes in files and collaborative development of project among multiple people. Install ation: Windows users should download the git setup from here .You can opt to use Git from Windows command prompt or use Git bash insted. For Linux Users: Debain or Debain based distribution should run following command from terminal: sudo apt-get install git Arch Linux or Arch Linux based distribution users : sudo pacman -S git Once installation is done open up the Linux terminal or windows cmd/bash terminal. Run the following command one by one, enter your own Github username and email id in double quotes. git config --global user.name "user_name" git config --global user.email "email_id" Now create a local repository on your system using the command: git init MyRepo Now create a files in your repo: cd MyRepo vim README This is my first repository on github. save this file. A file named README is gene