Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
docs:git:starting_a_new_project [2009/11/06 12:11] – billh | docs:git:starting_a_new_project [2012/09/21 23:16] (current) – removed billh | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== starting a new project ====== | ||
- | * if this is the first time you are using git on this machine, tell it your information< | ||
- | git config --global user.name "Your Name" | ||
- | git config --global user.email "Your Email" | ||
- | </ | ||
- | * change inside your project directory (or make a new folder if this is from scratch) | ||
- | * create the git repository (the .git folder)< | ||
- | git init | ||
- | </ | ||
- | * add the project contents< | ||
- | git add . | ||
- | </ | ||
- | * make the initial commit< | ||
- | git commit -a | ||
- | </ | ||
- | ===== See Also ===== | ||
- | * [[fixing cygwin file mode changes]] |