News

From within the project folder, issue the git init command in the terminal window as shown below. This creates a new Git repository, evidenced by the creation of a hidden subfolder named .git. $ git ...
Create a Git repo in an existing project A folder does not need to be empty to issue the git init command and create a new repository. If a folder already contains files, here’s what you do: Simply ...
cd /home/git/git_repo Create a new project directory (we’ll name it PROJECTX) with: mkdir PROJECTX Change into that new directory with: cd PROJECTX Initialize the new (bare) git repository: ...