Advertisement
Guest User

Untitled

a guest
May 3rd, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. cd
  2. git init
  3. echo '*' > .gitignore
  4. git add -f .gitignore
  5. git commit -m "Initialise repository and ignore everything"
  6. git add -f somedir/otherdir/file1
  7. git commit -m "Add file1"
  8. git add -f otherdir/somedir/file2
  9. git commit -m "Add file2"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement