All members are requested to add their name in this repository to get push access to all pulug repositories. This repository can be used to practice your first pull, commit, push.
Due to the way in which github works you need to first fork this repository, push your commits to your fork and then submit a pull request on the website.
Steps:
- Click fork button on the top right corner
- Go to your fork and find the cloning address in the right side panel
- In your terminal type
git clone https://github.com/UserName/members.git
- Go in the cloned repository i.e members folder in the current directory
cd members/
- Open the list.txt file and save your name, email etc. in it
vim list.txt
or
gedit list.txt
or
kate list.txt
or
xdg-open list.txt
or whichever editor you like. - Use following command to add your changes for the upcoming commit
git add list.txt
- Commit all your changes using the following command
git commit -a
Note:git commit -a
stages all your changes whether or not you usedgit add
for them. - Edit the commit message to clearly describe your changes and save it.
- Now if everything went well, you should probably see your commit message in the
git log
. - Use following command to push your changes to your forked repository online
git push origin master
- Now open your browser again and submit a pull request using the pull request tab/option on the right hand side
Follow these steps and send that pull request to start contributing :)
Good Luck ! ! !