This is a repository for demo on how to use git and Github. For more details check out the README.
git clone https://github.com/your_username/learn-to-use-github
in your terminal, where your_username
is your GitHub username.git checkout -b branch_name
, where branch_name
is a descriptive name for your branch.your_github_username.txt
like codernakul.txt
and contents of the file should be your_full_name - your_github_username
like Nakul Singh - codernakul
git add .
to stage all your changes and git commit -m "message"
to commit them with a message, where message
is a brief summary of what you did for instance git commit -m "Create codernakul.txt"
git push origin branch_name
, where branch_name
is the name of your branch.That’s it! You have created a pull request for a public git repo. Now you need to wait for the maintainers to review and merge your pull request. We might also ask you for some feedback or changes before merging it. You can communicate with us through the comments section of your pull request.
.___ .____ ___.
| |__ _| | _____ \_ |__ ______
| \ \/ / | \__ \ | __ \ / ___/
| |\ /| |___ / __ \| \_\ \\___ \
|___| \_/ |_______ (____ /___ /____ >
\/ \/ \/ \/