These are the instructions to perform a pull request. It is most often used to contribute to open source projects that you do not have access to.
git clone https://github.com/zhaol/git-practice-for-anyone.git
git checkout -b feature/your_branch
For this exercise, the suggested change is to add a file with some general content like an introduction, quote, etc. Name the file with your name or alias/username or alter-ego.
Also, insert your name into the guest list, guest-list.txt
. Preferably in alphbetical order.
git add . #add all of your changes
git add your_name.txt #add certain files
git commit -m 'add your commit message description'
git push origin feature/your_branch
then use the Github website to finish up the pull request.
Congratulations, you have just contributed to an open source repository using a pull request! :)
Feel free to add more changes using more pull requests.