Tuesday, October 30, 2018

Git - Single repo

$ git config user.name "John Doe"
$ git config user.email "johndoe@example.com"
$ git remote set-url origin https://github.com/USERNAME/REPOSITORY.git

When .gitignore's changes doesn't work

git rm -r --cached .git add .git commit -m ".gitignore is now working"

No comments: