Guest User

Untitled

a guest
Jun 23rd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #!/bin/bash
  2. # Usage: ./init-git.sh
  3. # NOTE: Run within your project directory
  4.  
  5. # .gitignore
  6. cat > .gitignore << EOF
  7. target/
  8. .DS_Store
  9. .idea
  10. .idea_modules
  11. EOF
  12.  
  13. # README.md
  14. cat > README.md << EOF
  15. # About
  16. Hello
  17. EOF
  18.  
  19. # init git
  20. git init
  21. git add .
  22. git commit -m "Initial commit"
Add Comment
Please, Sign In to add comment