Thursday, March 8, 2018

Git Commands ( Part 01 ) Basic command


  • git version






  • type whoami into the terminal.The command's output is the ID of the current user












  • To find out what is in your home directory, type lsIt prints the names of the files and directories in the current directory in alphabetical order, arranged neatly into columns.












  •  A number of commands have extra options or features which we can call through the use of a flag. A flag is usually a dash followed by a single letter, such as -v. For example The -l flag on the ls command is short for long format and it displays a more detailed listing of the files within the current working directory, including file size and date last modified. Note that there is a space between ls and -l: without it, the shell thinks we're trying to run a command called ls-l, which doesn't exist.













  • After downloading Git, an easy way to check if it is installed and working properly is git help now i want to change the working  directory.












  •  cd directory_path













  • ls -la .git how many file on git folder
































No comments:

Post a Comment