心理咨询网
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

git.txt 675B

1234567891011121314151617181920212223242526272829303132
  1. git init
  2. git add .
  3. git commit -m "first commit"
  4. git remote add origin http://47.120.56.77:3000/zhengxifeng/tyqngp.git
  5. git push -u origin master
  6. ===========================
  7. .gitignore规则
  8. # 忽略所有.log文件
  9. *.log
  10. # 忽略所有编译生成的.o文件
  11. *.o
  12. # 忽略名为temp的目录及其所有内容
  13. temp/
  14. # 忽略docs目录下的所有.md文件
  15. docs/*.md
  16. # 忽略所有子目录下的.txt文件
  17. **/*.txt
  18. ===============================
  19. git rm -r --cached .
  20. 修改 .gitignore 规则
  21. git add .
  22. git commit -m "clear cached"
  23. git push origin local-develop:develop
  24. ===============================
  25. git fetch --all
  26. git reset --hard origin/master
  27. git pull origin master