Monday, May 1, 2017

GIT in GitHub




GitHub
  • GitHub is a web-based Version Control System(Git).
  • It's Working on Distributed Version Control System.
  • A user must create an account in order to contribute content to the site.
  • And public repositories can be browsed and downloaded by anyone. With a registered user account.
  • Users are able to discuss, manage, create repositories, submit contributions to others' repositories also.
Setting Up For The First Time In GitHub

Home page of GitHub
1.Creating An Account.
  1. Go to the GitHub sign up page. This page is used to sign you up for a free GitHub plan. You can review paid GitHub plans also.
  2. Enter a username, valid email address, and password.
  3. Click the “Create an account” button to complete the process.
  4. Next You have to Verify your E-mail Address.
    1. GitHub will send you an email with a link in it. After you click that link, you'll be taken to an email confirmation page.Confirmation page
    2. Confirm On the Email Setting page, Click "Confirm"
  5. After these Your Account will be created.
  6. Then you have to design your Profile.
    • Adding a bio
      • Add a bio to your profile to share information about yourself with other GitHub users.
2.Creating Repository.
  1. In the upper-right corner of any page, click , and then click New repository
  2. Type a short, memorable name for your repository.
  3. Field for entering a repository name
  4. Optionly you can add a Description about your folder also
  5. Choose between creating a repository Public or Private.
    • Public:
      • These are visible to any user on GitHub, so you can benefit from a collaborative community.
    • Private:
      • Private repositories are only available for paid accounts.
      • They're only available to you, the Owner.
    • Radio buttons to select private or public status
  6. Initialize this repository with a README Select and Click Create Respository.
Checkbox to create a README when the repository is created
3.Creating File For The First Time.
  1. In your repository's list of files, click Readme
    • Readme file in file list
  2. Above the file's content, click 🖉
  3. On the tab Edit file, type some information about yourself.New content in file
  4. Above the new content, click Preview Changes
    • File preview button
  5. Review the changes you made to the file. You'll see the new content in green. File preview view
  6. At the bottom of the page, type a short, meaningful commit message that describes the change you made to the file.
    • Commit message for your change
  7. Below the commit message fields, decide whether to add your commit to the current branch or to a new branch. If your current branch is 'master', you should choose to create a new branch for your commit and then create a pull request Commit branch options
  8. Click Propose file change
    • Propose file change button


4.Creating Branches
  1. In our repository's branch selector, just start typing a new branch name.
  2. We can also delete branch using delete button in our repository's Branches page.




No comments:

Post a Comment

My First Day with Uki DN Cohort 1

 "Hello WORLD!"