An open API service indexing awesome lists of open source software.

https://github.com/zipcodecore/myfirstfork

First Git microlab to get people familiarized with git
https://github.com/zipcodecore/myfirstfork

Last synced: 10 months ago
JSON representation

First Git microlab to get people familiarized with git

Awesome Lists containing this project

README

          

# My First Fork (and clone)

## How to Download

### Part 1 - Forking the Project
* To _fork_ the project, click the `Fork` button located at the top right of the project.
* this makes a copy of the code IN YOUR Github ACCOUNT

### Part 2 - Navigating to _forked_ Repository
* Navigate to **your github account** to find the _newly forked repository_.
* This is your copy of the code, not the original copy of ZipCode's
* Copy the URL of the project to the clipboard.

### Part 3 - Cloning _forked_ repository
* Clone the repository from **your account** into the `~/Projects` directory.
* if you do not have a `~/Projects` directory, make one by executing the following command:
* `mkdir ~/Projects`
* navigate to the `~/Projects` directory by executing the following command:
* `cd ~/Projects`
* clone the project by executing the following command:
* `git clone https://github.com/ZipCodeCore/MyFirstFork`

_Please note, __Projects__, is just a suggestion. Over the years, some have made it __Code__, __Source__, __src__ or even __p__.
Generally, though, you should keep all your source code together in a _folder/directory_. _

## Make Changes
* edit the `my-name` file inside the _MyFirstFork_ directory, by adding your name to the file.

## How to Submit

### Part 1 - _Pushing_ local changes to remote repository
* from a _terminal_ navigate to the root directory of the _cloned_ project.
* from the root directory of the project, execute the following commands:
* add all changes
* `git add .`
* commit changes to be pushed
* `git commit -m 'I have added changes'`
* push changes to your repository
* `git push`
* now, check that the code has been copied UP to the Github site.
* navigate to your fork of the repo, the one in your account and cloned.
* make sure the commit message is correct and up to date
* look in the my-name file up on the github site to make sure your name is there.

### Part 2 - Submitting assignment
* from the browser, navigate to the _forked_ project from **your** github account.
* copy the URL of the repo using the button
* go to the student portal and submit the URL (your url) for the lab.

You can do it, we know you can. Ask around if confused, you're not the only one confused.