git在idea中使用
(1)创建README.md文件 fengli@DESKTOP-FEQ1N4I MINGW32 /f/workspace/imallproject (master) $ touch README.md (2)创建.gitignore文件(用于忽略上传的文件) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 #提交到码云上面忽略的东西配置 *.class #package file *.war *.ear *.orig target/ .settings/ .project .classpath .idea/ /idea/ *.ipr *.iml *.iws *.log *.cache *. diff *.patch *.tmp .DS_Store Thumbs.db fengli@DESKTOP-FEQ1N4I MINGW32 /f/workspace/imallproject (master) $ touch .gitignore (3)初始化git fengli@DESKTOP-FEQ1N4I MINGW32 /f/workspace/imallproject (master) $ git init Initialized empty Git repository in F: