windows:createaremotegitrepositoryinwindows
Differences
This shows you the differences between two versions of the page.
Previous revision | |||
— | windows:createaremotegitrepositoryinwindows [2022/12/02 22:02] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Create a Remote Git Repository in Windows ====== | ||
+ | |||
+ | Here: | ||
+ | |||
+ | http:// | ||
+ | |||
+ | You can find detailed instructions to create a remote git repository in windows **using shared folders**, but, to be honest, I found some of them strange, so I decided to write down my own ones. I humbly think they are shorter. | ||
+ | |||
+ | ===== Create a shared folder per project you want to store ===== | ||
+ | |||
+ | I've decided to create a put-them-all folder called '' | ||
+ | |||
+ | < | ||
+ | c:\shared resources> | ||
+ | c:\shared resources> | ||
+ | c:\shared resources\git> | ||
+ | </ | ||
+ | |||
+ | ===== Initialize the remote repository ===== | ||
+ | |||
+ | You have to do this per project: enter in the '' | ||
+ | |||
+ | < | ||
+ | c:\shared resources\git> | ||
+ | c:\shared resources\git\myproject> | ||
+ | </ | ||
+ | |||
+ | ===== Share the project ===== | ||
+ | |||
+ | And then share the folder to someone you want. You have to replace the " | ||
+ | |||
+ | < | ||
+ | C:\> net share myproject=" | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ==== Pushing the project (instructions for eclipse) ==== | ||
+ | |||
+ | Step one: | ||
+ | |||
+ | Right-click on your project, and... | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Step two: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | ~~DISQUS~~ | ||
+ | |||
+ | |||