Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cd
- git init
- echo '*' > .gitignore
- git add -f .gitignore
- git commit -m "Initialise repository and ignore everything"
- git add -f somedir/otherdir/file1
- git commit -m "Add file1"
- git add -f otherdir/somedir/file2
- git commit -m "Add file2"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement