Your daily dose of Word Bites. Share your daily knowledge!
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
- Fork the project and star the.
- Clone the project.
git clone https://<your-github-username>@github.com/<your-github-username>/word-bank
- Enter the project directory.
cd client
- Open directory, you wish to open.
start .
- Changes to be done and save it.
- Create a new branch before adding the file.
git checkout -b <Enter branch name>
- Go to branch if you are not in your branch.
git checkout <Your branch name>
- Add the file.
git add <File-Name>
- See the status.
git s
- Do commit with appropriate message to show what have been changed.
git commit -m "<Type exactly what did you change>"
- Push the file to the remote.
git push -u origin <Your branch name> Counting objects: 34, done. Delta compression using up to 2 threads. Compressing objects: 100% (21/21), done. Writing objects: 100% (28/28), 6.87 KiB, done. Total 28 (delta 13), reused 12 (delta 7) To [email protected]:AbhiVikrant/word-bank.git * [new branch] 5-contribution-update -> 5-contribution-update
- Go to https://github.com//word-bank
- Check that your new branch is there.
- Check that your latest change to your file let it be Readme.md is in it.
- You can make more changes locally, and continue committing them, and pushing them to GitHub. When you’ve made all the changes that you’d like to accept though, it’s time to send a pull request.
- Click on create a new pull request.
- Now, Yoi have created the pull request. And if project's owner like the changes and after reviewing, he/she will merge them.
Important: make sure that you send it from your new branch (not from your master) the way you did before.
- Check all the log.
git log
- Show local branch.
git branch
- Switch between local branches.
git checkout
- Switch back to master branch.
git checkout master
- Change the last commit.
git commit --amend
- Change the last commit with updated message.
git commit --amend -m "<Type Updated message>"
- Update local version of repo from remote version.
git pull
- Use command as:
git checkout master
- Use git pull.
git pull Already up to date.
- Use command for adding remote upstream.
git remote add upstream https://<UserName@>github.com/praveenscience/word-bank.git
- Use command as
git remote -v Already up to date.
- Use command to update changes according to origin or master.
git pull upstream master Already up to date.