Girl in IT-wolrd

Everything has been downloaded. Quit download loop.

Category Archives: git

GIT Interview Questions & Answers

1)      What is GIT?

GIT is a distributed version control system and source code management (SCM) system with an emphasis to handle small and large projects with speed and efficiency.

2)      What is a repository in GIT?

A repository contains a directory named .git, where git keeps all of its metadata for the repository. The content of the .git directory are private to git.

3)      What is the command you can use to write a commit message?

Git

The command that is used to write a commit message is “git commit –a”.  The –a on the command line instructs git to commit the new content of all tracked files that have been modified. You can use “git add” before git commit –a if new files need to be committed for the first time.
Read more of this post

Advertisements

Adding an existing project to GitHub using the command line

Create New Repository drop-down

  1. Create a new repository on GitHub. To avoid errors, do not initialize the new repository with README, license, or gitignore files. You can add these files after you
    r project has been pushed to GitHub.
  2. Open Git Bash.
  3. Change the current working directory to your local project.

Read more of this post