Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/unixmonkey/learngit
https://github.com/unixmonkey/learngit
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/unixmonkey/learngit
- Owner: unixmonkey
- Created: 2013-10-09T19:17:35.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-07-15T21:15:20.000Z (over 8 years ago)
- Last Synced: 2024-10-14T20:55:38.108Z (2 months ago)
- Language: GCC Machine Description
- Size: 90.8 KB
- Stars: 6
- Watchers: 3
- Forks: 59
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Learngit
===The goal of this project is to help YOU learn how to contribute to someone's project on GitHub.
This is a playground, and an educational tool.
Feel free to send pull requests and open issues.
If you do not already have an account with [GitHub](https://github.com), please sign up.
Add the output of this (your SSH public key) to Github under "Account Settings" -> "SSH Keys'
cat ~/.ssh/id_rsa.pubFork the other project to your own Github account (in the top-right corner of the page, click Fork) and clone to work with locally
git clone [email protected]:YOUR_GITHUB_NAME/learngit.git
cd learngit/
git remote -vAdd a git remote for the upstream repository
git remote -v
git remote add upstream [email protected]:unixmonkey/learngit.git
git remote -v
git pull upstream masterCreate a topic/feature branch (so you aren't working off of master)
git checkout -b my_awesome_new_feature
git branchEdit some stuff and commit
vi stuff.md
vi README.md
git status
git add README.md stuff.md
git status
git commit
git status
git logPush your changes to your Github fork
git push origin my_awesome_new_featureGo to Github and create a pull request from your commit
Wait for change to be merged in by original maintainer
Pull in merged changes
git checkout master
git pull upstream masterDelete your local topic branch
git branch -d my_awesome_new_feature
git log