Reputation: 157
I am working on school project and they require .git file included.
I am running currently windows. I have used git app to commit my repositary on github.
How can i create a .git file? I fail to find any solution for this.
Is there a way how to do so on windows?
Upvotes: 1
Views: 2167
Reputation: 78556
Check the repo folder you committed, using show hidden files on windows explorer, there should already be a .git
folder
Upvotes: 1
Reputation: 138
Try this:
cd my_source_dir
git init
git add .
git commit -m "initial commit"
And now you can access it from
git clone /path/to/my_source_dir new_tree_name
Upvotes: 0