Creating a Repository
Creating a Repository
If you want to track your own project, create a repository:
Create your project (or create a new directory)
-
In Windows Explorer, right-click in the directory and select Git Init here
OR
From the command-prompt, go to the directory then:
C:\your-project-directory\> git init
-
Run C:\Program Files\GitExtensions\GitExtensions.exe or from the command-line type: gitex
-
Click on Edit .gitignore
-
Click Add default ignores (This is for Visual Studio projects)
OR
If you you are doing some other type of project click on "More gitignore patterns" and copy from there based on your project.
-
Click Save
-
Click Commit
-
Click on each file and stage the file
-
Click Commit
NOTE: This will only store file history locally.
Links
Exercises
- TBD