-
Fork the repository to your own GitHub account.
-
Clone the repository to your local machine
$ git clone "https://www.github.com/<YourGitHubUsername>/Dock-Mob.git"
- Create a branch where you can do your local work.
$ git branch <branchname>
$ git checkout <branchname>
- Do your work and stage your changes.
$ git add <filename>
- Commit you changes with a commit message containing your name, file(s) worked upon and the changes added.
$ git commit -m "Name| files| Changes"
- Push changes to your forked repository
$ git push -u origin branchname
- Create a pull request to the upstream repository.
- Create a remote upstream for this repository
$ git remote add upstream "https://github.com/Aman9026/Dock-Mob"
- Fetch upstream changes in local machine
$ git fetch upstream
- Switch to master branch
$ git checkout master
- Merge changes in local machine
$ git merge upstream/master
- Push changes to your forked GitHub repository
$ git push -f origin master