To create a repository,steps:
https://github.com/mapo89/Git-Exercices-polito-Software-Engineering-
to use init in bash or cmd:
git init <directory>(optional,details are in following website)
https://www.atlassian.com/git/tutorials/setting-up-a-repository
then can find .git(which is a hidden file in the repository(shared folder))
next,
change directory into it:cd F: cd ......
create file in bash:
touch README
vi README
to write content then press ESC : ,q!(discard) or x(save current content then exit)
http://www.cnblogs.com/88999660/articles/1581524.html
时间: 2024-11-02 09:16:54