Open Hypaethral opened 7 years ago
Useful links: https://dannguyen.github.io/github-for-portfolios/lessons/clone-github-pages-repo/ https://git-scm.com/downloads https://git-scm.com/docs https://github.com/octocat/Spoon-Knife https://www.youtube.com/watch?v=8KCQe9Pm1kg&spfreload=10 (video explaining git) https://akrabat.com/the-beginners-guide-to-contributing-to-a-github-project/
I was able to successfully make changes to my local repo but when I tried to push changes to origin master I was met with this loverly error
Permission to egg-spaces/egg.spaces.git denied to "wrong_username".
fatal: unable to access 'https://github.com/egg-spaces/egg.spaces.git/': The requested URL returned error: 403
https://git-scm.com/docs/git-credential-store this might help
Tried running
$ git config credential.helper store --file .stupid-egg-spaces-credentials
expected username and pwd input prompt. got manpage for git config
If smileyface committers are making a branch before committing, note that your local branch needs to be pushed with a special parameter to create a remote if one doesn't already exist:
git push -u origin <branch>
Wait, do I need to fork this?
You have a couple workflow options available to you -- since you're a collaborator, you can clone and directly contribute to master if you want.
It's a better practice to clone, make a local branch, commit to your local branch, push to the remote, and then create a pull request. Check out the bottom of https://docs.google.com/document/d/1rzNCgIKifRXT_ZwGKEQ_aupxuX8I045R96ZmclcOv6g/edit for common workflows
Check out #6 for a good discussion about pull requests
This is an exercise in using Git to make sure everyone is on the same page!
Without using the web interface, please add your name to the readme.md file.
If you run into any issues, post them here!