Skip to content

A simple app using ListView to display a list of names.

Notifications You must be signed in to change notification settings

kiruba-r11/Names-Inventory

Repository files navigation

Names-Inventory

A simple app using ListView to display a list of names.

How to get started?

You can refer to the following articles on the basics of Git and GitHub, in case you are stuck:

Steps to follow 📜

1. Fork it 🍴

You can get your own fork/copy of Names-Inventory by using the Fork button.

2. Clone it 👥

You need to clone (download) it to local machine using

$ git clone https://github.com/Your_Username/Names-Inventory.git

This makes a local copy of repository in your machine.

3. Set it up ⬆️

Run the following commands to see that your local copy has a reference to your forked remote repository in GitHub :octocat:

$ git remote -v
origin  https://github.com/Your_Username/Names-Inventory.git (fetch)
origin  https://github.com/Your_Username/Names-Inventory.git (push)

Now, lets add a reference to the original Names-Inventory repository using

$ git remote add upstream https://github.com/kiruba-r11/Names-Inventory.git

This adds a new remote named upstream.

See the changes using

$ git remote -v
origin  https://github.com/Your_Username/Names-Inventory.git (fetch)
origin  https://github.com/Your_Username/Names-Inventory.git (push)
upstream  https://github.com/kiruba-r11/Names-Inventory.git (fetch)
upstream  https://github.com/kiruba-r11/Names-Inventory.git (push)

4. Sync it ♻️

Always keep your local copy of repository updated with the original repository. Before making any changes and/or in an appropriate interval, run the following commands carefully to update your local repository.

# Fetch all remote repositories and delete any deleted remote branches
$ git fetch --all --prune

# Switch to `main` branch
$ git checkout main

# Reset local `main` branch to match `upstream` repository's `main` branch
$ git reset --hard upstream/main

# Push changes to your forked `Names-Inventory` repo
$ git push origin main

5. Ready Steady Go... 🐢 🐇

Once you have completed these steps, you are ready to start contributing.

6. Create a new branch ‼️

Whenever you are going to make contribution. Please create seperate branch using command and keep your main branch clean (i.e. synced with remote branch).

# It will create a new branch with name Branch_Name and switch to that branch
$ git checkout -b Branch_Name

This will switch to the Branch_Name branch

To add the changes to the branch. Use

# To add all files to branch Branch_Name
$ git add .

Type in a message relevant for the code reveiwer using

# This message get associated with all files you have changed
$ git commit -m 'relevant message'

7. Share your work 🤩

Now, Push your awesome work (create a new text file with your full name) to your remote repository using

# To push your work to your remote repository
$ git push -u origin Branch_Name

Then, go to your repository in browser and click on compare and pull requests. Then add a title and description to your pull request.

Screenshots of the App

About

A simple app using ListView to display a list of names.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages