Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Usage: ./init-git.sh
- # NOTE: Run within your project directory
- # .gitignore
- cat > .gitignore << EOF
- target/
- .DS_Store
- .idea
- .idea_modules
- EOF
- # README.md
- cat > README.md << EOF
- # About
- Hello
- EOF
- # init git
- git init
- git add .
- git commit -m "Initial commit"
Add Comment
Please, Sign In to add comment